/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.19_@babel+core@7.29.7_@opentelemetry+api@1.9.1_@playwright+test@1.60.0_react-_eb05e3ee0e86d344b435219fadea6eec/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!../../node_modules/.pnpm/next@15.5.19_@babel+core@7.29.7_@opentelemetry+api@1.9.1_@playwright+test@1.60.0_react-_eb05e3ee0e86d344b435219fadea6eec/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/features/platform-shell/LearningTopbar.module.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.LearningTopbar_topbar__ZvIAh {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--border-default);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
}

.LearningTopbar_brand__i_tUh {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  text-decoration: none;
}

.LearningTopbar_brandMark__qAi0v {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.LearningTopbar_brand__i_tUh strong {
  display: block;
  line-height: 1.1;
}

.LearningTopbar_nav__OJ9El {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.LearningTopbar_nav__OJ9El a,
.LearningTopbar_userArea__FDe4K a,
.LearningTopbar_authButton__Mutic {
  min-height: 36px;
  border-radius: 8px;
  color: var(--text-secondary);
  padding: 8px 12px;
  text-decoration: none;
}

.LearningTopbar_nav__OJ9El a,
.LearningTopbar_userArea__FDe4K a {
  display: inline-flex;
  align-items: center;
}

.LearningTopbar_nav__OJ9El a:hover,
.LearningTopbar_userArea__FDe4K a:hover,
.LearningTopbar_authButton__Mutic:hover:not(:disabled),
.LearningTopbar_navActive___qLvh {
  background: var(--accent-soft);
  color: var(--accent-strong) !important;
}

.LearningTopbar_userArea__FDe4K {
  display: flex;
  align-items: center;
  gap: 4px;
}

.LearningTopbar_authButton__Mutic {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.LearningTopbar_authButton__Mutic:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

@media (max-width: 960px) {
  .LearningTopbar_nav__OJ9El {
    display: none;
  }
}

/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.19_@babel+core@7.29.7_@opentelemetry+api@1.9.1_@playwright+test@1.60.0_react-_eb05e3ee0e86d344b435219fadea6eec/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[2]!../../node_modules/.pnpm/next@15.5.19_@babel+core@7.29.7_@opentelemetry+api@1.9.1_@playwright+test@1.60.0_react-_eb05e3ee0e86d344b435219fadea6eec/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[5].use[3]!./src/features/problem-library/ProblemLibraryPage.module.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.ProblemLibraryPage_page__RXFaC {
  min-height: 100vh;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-hans), "Microsoft YaHei UI", "Noto Sans SC", system-ui, sans-serif;
}

.ProblemLibraryPage_layout__KaI_P {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  grid-gap: 20px;
  gap: 20px;
  width: min(1360px, calc(100vw - 64px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.ProblemLibraryPage_sidebar__1No2P {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ProblemLibraryPage_panel__BX9xp {
  border: 1px solid var(--border-default);
  border-radius: 6px;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.ProblemLibraryPage_panel__BX9xp h2 {
  margin: 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 15px;
  padding: 16px 18px 12px;
}

.ProblemLibraryPage_field__XrDMn {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  padding: 16px 18px 10px;
}

.ProblemLibraryPage_field__XrDMn input {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  padding: 10px 12px;
}

.ProblemLibraryPage_field__XrDMn input:focus {
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
}

.ProblemLibraryPage_primaryButton__gn970 {
  width: calc(100% - 36px);
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
  margin: 0 18px 18px;
  padding: 10px 14px;
  transition: background-color 140ms ease;
}

.ProblemLibraryPage_primaryButton__gn970:hover {
  background: var(--accent-strong);
}

.ProblemLibraryPage_filterEntry__7FYSl {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  padding: 16px 18px 18px;
}

.ProblemLibraryPage_filterEntrySummary__KsMUl {
  display: grid;
  grid-gap: 5px;
  gap: 5px;
}

.ProblemLibraryPage_filterEntrySummary__KsMUl span {
  color: var(--text-muted);
  font-size: 12px;
}

.ProblemLibraryPage_filterEntrySummary__KsMUl strong {
  color: var(--text-primary);
  font-size: 17px;
}

.ProblemLibraryPage_filterEntrySummary__KsMUl em {
  color: var(--accent-strong);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.ProblemLibraryPage_filterEntryButton___FQpi {
  height: 38px;
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.ProblemLibraryPage_filterEntryButton___FQpi:hover {
  border-color: var(--accent);
}

.ProblemLibraryPage_filterOverlay__h5G0x {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.36);
  padding: 24px;
}

.ProblemLibraryPage_filterDialog__Z23ER {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 860px;
  height: 540px;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: var(--bg-card);
  box-shadow: 0 24px 72px rgba(15, 23, 42, 0.24);
}

.ProblemLibraryPage_filterDialogBody__6e_NN {
  flex: 1 1;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  grid-gap: 28px;
  gap: 28px;
  min-height: 0;
  overflow: auto;
  padding: 34px 36px 28px;
}

.ProblemLibraryPage_filterColumn__PfuZD {
  min-width: 0;
}

.ProblemLibraryPage_filterSourceSection__AEqRG {
  grid-column: 1 / -1;
  min-width: 0;
  border-top: 1px solid var(--border-subtle);
  padding-top: 22px;
}

.ProblemLibraryPage_filterColumn__PfuZD h3,
.ProblemLibraryPage_filterSourceSection__AEqRG h3 {
  margin: 0 0 14px;
  color: var(--text-primary);
  font-size: 16px;
}

.ProblemLibraryPage_filterOptionGrid__w1ox7 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ProblemLibraryPage_filterOption__uZnNT,
.ProblemLibraryPage_filterOptionActive__qmgnb {
  border: 1px solid var(--border-default);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 15px;
  padding: 10px 14px;
}

.ProblemLibraryPage_filterOption__uZnNT:hover {
  border-color: var(--accent-border);
  color: var(--accent-strong);
}

.ProblemLibraryPage_filterOptionActive__qmgnb {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
}

.ProblemLibraryPage_filterEmptyText__gPG9E {
  margin: 0;
  border: 1px dashed var(--border-default);
  border-radius: 8px;
  background: var(--bg-inset);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  padding: 14px;
}

.ProblemLibraryPage_filterDialogFooter__fGOoV {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--border-subtle);
  padding: 16px 36px 20px;
}

.ProblemLibraryPage_filterSecondaryButton__CvTHS,
.ProblemLibraryPage_filterApplyButton__mb_2t {
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  padding: 0 18px;
}

.ProblemLibraryPage_filterSecondaryButton__CvTHS {
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-secondary);
}

.ProblemLibraryPage_filterSecondaryButton__CvTHS:hover {
  border-color: var(--accent-border);
  color: var(--accent-strong);
}

.ProblemLibraryPage_filterApplyButton__mb_2t {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.ProblemLibraryPage_filterApplyButton__mb_2t:hover {
  background: var(--accent-strong);
}

.ProblemLibraryPage_difficultyFilters__N3NKc {
  display: flex;
  gap: 8px;
  padding: 14px 18px 18px;
}

.ProblemLibraryPage_difficultyFilter__xS3Cl {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  font-weight: 800;
}

.ProblemLibraryPage_content__aGA_t {
  min-width: 0;
}

.ProblemLibraryPage_toolbar__8ZRQI {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 14px;
  padding: 18px 20px;
}

.ProblemLibraryPage_toolbar__8ZRQI h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 20px;
}

.ProblemLibraryPage_toolbar__8ZRQI p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

.ProblemLibraryPage_toolbarActions__Gxrtp {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ProblemLibraryPage_toolbarActions__Gxrtp button,
.ProblemLibraryPage_toolbarActions__Gxrtp select {
  height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text-secondary);
  padding: 0 12px;
}

.ProblemLibraryPage_problemTable__EEEvw {
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.ProblemLibraryPage_tableHeader__sWOcg,
.ProblemLibraryPage_problemRow__02nyM {
  display: grid;
  grid-template-columns: 96px minmax(300px, 1fr) 70px 96px 110px;
  grid-gap: 14px;
  gap: 14px;
  align-items: center;
}

.ProblemLibraryPage_tableHeader__sWOcg {
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-inset);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  padding: 12px 18px;
}

.ProblemLibraryPage_problemRow__02nyM {
  border-bottom: 1px solid var(--border-subtle);
  color: inherit;
  padding: 16px 18px;
  text-decoration: none;
}

.ProblemLibraryPage_problemRow__02nyM:last-child {
  border-bottom: 0;
}

.ProblemLibraryPage_problemRow__02nyM:hover {
  background: var(--bg-inset);
}

.ProblemLibraryPage_problemRow__02nyM:hover .ProblemLibraryPage_problemTitle__bL9fy {
  color: var(--accent);
}

.ProblemLibraryPage_statusCell__Z0U9z {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  white-space: nowrap;
}

.ProblemLibraryPage_statusDot__G_QW_ {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.ProblemLibraryPage_statusTodo__dhOEA {
  background: var(--text-faint);
}

.ProblemLibraryPage_statusAttempted__JN07t {
  background: #f59e0b;
}

.ProblemLibraryPage_statusAccepted__c8ucu {
  background: var(--success);
}

.ProblemLibraryPage_statusPerfect__0cpFT {
  background: #eab308;
}

.ProblemLibraryPage_problemMain__dkHRY {
  min-width: 0;
}

.ProblemLibraryPage_problemTitleLine__cLc6u {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.ProblemLibraryPage_problemId__cDMEL {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.ProblemLibraryPage_problemTitle__bL9fy {
  overflow: hidden;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ProblemLibraryPage_problemMain__dkHRY p {
  margin: 6px 0 10px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.ProblemLibraryPage_tags__9KCfg {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ProblemLibraryPage_tags__9KCfg span {
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-inset-strong);
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1;
  padding: 5px 8px;
  text-decoration: none;
}

.ProblemLibraryPage_tags__9KCfg .ProblemLibraryPage_knowledgeTag__I8G_H {
  border-color: #dcfce7;
  background: var(--success-soft);
  color: var(--success-strong);
}

.ProblemLibraryPage_tags__9KCfg .ProblemLibraryPage_domainTag__Dparm {
  border-color: var(--border-default);
  background: var(--bg-inset);
  color: var(--text-secondary);
}

.ProblemLibraryPage_difficultyBadge__ik9Fd {
  display: inline-grid;
  min-width: 36px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.ProblemLibraryPage_difficultyD__PtFCr {
  background: #64748b;
}

.ProblemLibraryPage_difficultyC__MzVnq {
  background: #0ea5e9;
}

.ProblemLibraryPage_difficultyB__9O385 {
  background: #2563eb;
}

.ProblemLibraryPage_difficultyA__7lFLf {
  background: #7c3aed;
}

.ProblemLibraryPage_difficultyS__6GR8X {
  background: #dc2626;
}

.ProblemLibraryPage_scoreCell__GzMNu,
.ProblemLibraryPage_averageCell__4ETuj {
  display: grid;
  grid-gap: 3px;
  gap: 3px;
}

.ProblemLibraryPage_scoreCell__GzMNu strong,
.ProblemLibraryPage_averageCell__4ETuj strong {
  color: var(--text-primary);
  font-size: 14px;
}

.ProblemLibraryPage_averageCell__4ETuj span {
  color: var(--text-faint);
  font-size: 12px;
}

.ProblemLibraryPage_pagination__PpY0t {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  margin-top: 18px;
  padding: 12px 14px;
}

.ProblemLibraryPage_paginationSummary__25QZP {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
  white-space: nowrap;
}

.ProblemLibraryPage_paginationSummary__25QZP strong {
  color: var(--text-primary);
  font-size: 13px;
}

.ProblemLibraryPage_paginationControls__yXlFM {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.ProblemLibraryPage_pageButton__82JoH,
.ProblemLibraryPage_pageButtonCurrent__zRjiQ,
.ProblemLibraryPage_pageButtonDisabled___UoSV {
  display: inline-grid;
  min-width: 38px;
  height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  place-items: center;
  padding: 0 12px;
  text-decoration: none;
}

.ProblemLibraryPage_pageButton__82JoH:hover {
  border-color: var(--accent-border);
  color: var(--accent-strong);
}

.ProblemLibraryPage_pageButtonDisabled___UoSV {
  color: var(--text-faint);
  cursor: default;
}

.ProblemLibraryPage_pageButtonCurrent__zRjiQ {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

@media (max-width: 1180px) {
  .ProblemLibraryPage_layout__KaI_P {
    grid-template-columns: 240px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .ProblemLibraryPage_layout__KaI_P {
    grid-template-columns: 1fr;
    width: min(100% - 36px, 1360px);
    padding: 20px 0 36px;
  }

  .ProblemLibraryPage_tableHeader__sWOcg {
    display: none;
  }

  .ProblemLibraryPage_problemRow__02nyM {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ProblemLibraryPage_toolbar__8ZRQI {
    align-items: flex-start;
    flex-direction: column;
  }

  .ProblemLibraryPage_filterDialogBody__6e_NN {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .ProblemLibraryPage_filterDialogFooter__fGOoV {
    flex-wrap: wrap;
    padding: 14px 24px 18px;
  }

  .ProblemLibraryPage_filterSecondaryButton__CvTHS,
  .ProblemLibraryPage_filterApplyButton__mb_2t {
    flex: 1 1 120px;
  }

  .ProblemLibraryPage_pagination__PpY0t {
    align-items: flex-start;
    flex-direction: column;
  }

  .ProblemLibraryPage_paginationSummary__25QZP {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    white-space: normal;
  }

  .ProblemLibraryPage_paginationControls__yXlFM {
    justify-content: flex-start;
  }
}

