/* Current-v2 class board manager and student hub parity. Data remains in the v3 repositories. */

/* Teacher board manager */
.board-admin-page .teacher-sidebar {
  width: 294px;
  padding: 24px 16px;
  border-right: 1px solid #223855;
  background: #07111f;
}

.board-admin-page .teacher-stage { margin-left: 294px; }
.board-admin-page .board-parity-brand { display: grid; gap: 20px; }
.board-admin-page .board-parity-brand strong {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  color: #dcecff; background: #1b3459; font-size: 19px;
}
.board-admin-page .board-parity-brand button { display: none; }
.board-admin-page .board-parity-primary-nav { margin-top: 18px; }
.board-admin-page .board-parity-primary-nav a { min-height: 50px; border: 1px solid #3d6598; border-radius: 14px; }

.board-parity-folder-panel {
  margin-top: 12px; padding: 16px 12px; border: 1px solid #1f324c; border-radius: 14px;
  background: #060f1b; color: #e6effb;
}
.board-parity-folder-panel > div:first-child { position: relative; }
.board-parity-folder-panel span { color: #74c7ff; font-size: 11px; font-weight: 900; letter-spacing: .05em; }
.board-parity-folder-panel h2 { margin: 4px 0 14px; font-size: 16px; }
.board-parity-folder-panel small { position: absolute; top: 16px; right: 0; color: #8192a9; }
.board-parity-folder-panel form label { display: grid; gap: 7px; color: #aab9cd; font-size: 11px; font-weight: 800; }
.board-parity-folder-panel form label > div { display: grid; grid-template-columns: 1fr 46px; gap: 7px; }
.board-parity-folder-panel input { min-width: 0; height: 44px; padding: 0 12px; border: 1px solid #304762; border-radius: 12px; color: #ecf4ff; background: #081322; }
.board-parity-folder-panel form button { border: 0; border-radius: 12px; color: white; background: #6a68ff; font-weight: 900; cursor: pointer; }
.board-parity-folder-panel .board-chip-list { display: grid; gap: 6px; margin-top: 10px; }
.board-parity-folder-panel .board-chip { justify-content: space-between; min-height: 42px; padding: 8px 10px; border: 0; border-radius: 10px; color: #dfe9f7; background: transparent; }
.board-parity-folder-panel .board-chip:first-child { background: #182642; }
.board-parity-folder-panel .board-chip > span { color: inherit; letter-spacing: 0; }
.board-parity-folder-panel .board-chip button { display: none; width: 26px; min-height: 26px; color: #d8e6f8; background: #172943; }
.board-parity-folder-panel .board-chip:hover button,
.board-parity-folder-panel .board-chip:focus-within button { display: inline-grid; }
.board-parity-folder-panel .board-folder-count { margin-left: auto; padding: 3px 7px; border-radius: 999px; color: #d8e6f8; background: #243856; font-size: 10px; font-weight: 900; }

.board-admin-page .teacher-sidebar-tools button {
  display: flex; width: 100%; min-height: 44px; align-items: center; gap: 10px; border: 0;
  color: #c9d8eb; background: transparent; font-weight: 900; cursor: pointer;
}
.board-admin-page .teacher-topbar { min-height: 120px; padding: 25px 34px 18px; border-bottom: 0; background: transparent; }
.board-admin-page .teacher-mode-copy { align-items: center; gap: 16px; }
.board-admin-page .teacher-mode-copy > div > span { color: #78cdfd; font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.board-admin-page .teacher-mode-copy h1 { margin: 2px 0; font-size: 32px; }
.board-admin-page .teacher-mode-copy h1 small { display: inline-grid; place-items: center; width: 34px; height: 26px; border: 1px solid #405a82; border-radius: 999px; color: #91a5c2; font-size: 11px; }
.board-admin-page .board-parity-home { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #283d5b; border-radius: 13px; color: #e9f2ff; background: #14243c; }
.board-admin-page .board-parity-new { border-color: #706bff; color: #fff; background: linear-gradient(135deg, #775cff, #557dff); }
.board-admin-page .teacher-button--logout { width: 44px; padding: 0; }
.board-admin-page .board-parity-student-link,
.board-admin-page #boardTenantToggle,
.board-admin-page .teacher-button--logout { display: none; }
.board-parity-teacher-chip { display: flex; align-items: center; gap: 10px; }
.board-parity-teacher-chip > b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #1f2940; background: linear-gradient(135deg, #ffd8ca, #9e92ff); }
.board-parity-teacher-chip span { display: grid; gap: 2px; }
.board-parity-teacher-chip small { color: #8698b0; }
.board-admin-page .board-admin-main { padding: 0 34px 70px; }
.board-admin-page .board-admin-guide { display: none; }
.board-admin-page .board-admin-guide.is-open {
  display: grid; position: fixed; z-index: 160; inset: 130px 34px auto 328px; box-shadow: 0 22px 70px #0008;
}
.board-admin-page[data-board-ready="true"] .board-admin-tenant { display: none; }
.board-admin-page .board-admin-tenant.is-open { display: grid; position: fixed; z-index: 170; top: 105px; right: 34px; width: min(720px, calc(100vw - 360px)); box-shadow: 0 24px 70px #0009; }
.board-admin-page #boardAdminOverview,
.board-admin-page .board-admin-workflow { display: none; }
.board-admin-page #boardWorkspace > #boardListSection { order: 1; }

.board-admin-page #boardListSection {
  padding: 24px; border: 1px solid #2b4464; border-left: 4px solid #725dff; border-radius: 22px; background: #101c2f;
}
.board-admin-page #boardListSection .management-section-heading { align-items: center; }
.board-admin-page #boardListSection .management-section-heading h2 { margin: 4px 0; font-size: 25px; }
.board-admin-page #boardListSection .management-section-heading h2 small { color: #85a3cb; font-size: 15px; }
.board-admin-page #boardListSection .management-section-heading p { margin: 0; color: #91a4bd; font-size: 12px; }
.board-parity-summary { display: flex; align-items: center; gap: 8px; }
.board-parity-summary span,
.board-parity-summary button { min-height: 36px; padding: 0 13px; border: 1px solid #2c4665; border-radius: 999px; color: #9db0c9; background: #13233a; font-size: 12px; font-weight: 800; }
.board-parity-summary button { color: #dce9fb; cursor: pointer; }
.board-parity-toolbar { display: grid; grid-template-columns: minmax(260px, 1fr) auto 132px auto auto; gap: 10px; margin: 26px 0 18px; padding: 20px; border: 1px solid #263d5c; border-radius: 20px; background: #0d192a; }
.board-parity-toolbar > label:first-child { display: flex; min-height: 48px; align-items: center; gap: 11px; padding: 0 14px; border: 1px solid #385675; border-radius: 14px; }
.board-parity-toolbar input[type="search"] { width: 100%; border: 0; outline: 0; color: #eaf3ff; background: transparent; }
.board-parity-toolbar > div { display: flex; gap: 6px; }
.board-parity-toolbar button,
.board-parity-toolbar select { min-height: 48px; padding: 0 16px; border: 1px solid #304b6b; border-radius: 999px; color: #aebfd3; background: #14233a; font-weight: 900; }
.board-parity-toolbar button.is-active { border-color: #16b7a3; color: #d5fff8; background: #0d4548; }
.board-parity-toolbar select { border-radius: 13px; color: #eef5ff; background: #091322; }
.board-parity-toolbar .board-inline-check { color: #a8b8cc; font-size: 12px; }
.board-parity-view-switch { display: flex; overflow: hidden; border: 1px solid #304b6b; border-radius: 13px; }
.board-parity-toolbar .board-parity-view-switch button { min-height: 46px; border: 0; border-radius: 0; background: #091322; }
.board-parity-toolbar .board-parity-view-switch button.is-active { color: #fff; background: #243856; }

.board-admin-page .board-catalog-controls {
  display: grid; grid-template-columns: minmax(260px, 1fr) auto 132px auto auto; gap: 10px;
  margin: 26px 0 18px; padding: 20px; border: 1px solid #263d5c; border-radius: 20px; background: #0d192a;
}
.board-admin-page .board-catalog-search { min-height: 48px; border-radius: 14px; }
.board-admin-page .board-status-filter,
.board-admin-page .board-catalog-view { min-height: 48px; border-radius: 999px; }
.board-admin-page .board-status-filter button,
.board-admin-page .board-catalog-view button { min-height: 40px; border-radius: 999px; font-weight: 900; }
.board-admin-page .board-status-filter button[aria-pressed="true"] { border-color: #16b7a3; color: #d5fff8; background: #0d4548; }
.board-admin-page .board-catalog-sort { border-radius: 13px; }
.board-admin-page .board-inline-check { display: flex; align-items: center; gap: 7px; color: #a8b8cc; font-size: 12px; }

.board-admin-page .board-admin-card-list { grid-template-columns: repeat(3, minmax(250px, 1fr)); gap: 16px; }
.board-admin-page .board-admin-catalog-card {
  min-height: 282px; gap: 14px; padding: 20px; border-color: #2b425f; border-radius: 18px; background: #13233a;
}
.board-admin-page .board-admin-catalog-card-heading h3 { color: #f1f6ff; font-size: 18px; }
.board-admin-page .board-admin-catalog-card-heading p { color: #8ea5c0; font-size: 11px; }
.board-admin-page .board-admin-catalog-policy {
  min-height: 76px; padding: 14px; border: 1px solid #2c405b; border-radius: 13px; color: #b6c5d8; font-size: 12px; line-height: 1.65; white-space: pre-line;
}
.board-admin-page .board-admin-catalog-activity { margin: 0; padding: 10px 12px; border-radius: 9px; color: #c7d5e6; background: #192b44; font-size: 12px; }
.board-admin-page .board-admin-catalog-card .board-row-actions { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; }
.board-admin-page .board-admin-catalog-card .board-row-actions > .compact-button:first-child { border-color: #706bff; color: white; background: linear-gradient(135deg, #725cff, #587cff); }

.board-admin-page #boardListSection .management-table-wrap { overflow: visible; border: 0; background: transparent; }
.board-admin-page .board-table { display: block; width: 100%; border-spacing: 0; background: transparent; }
.board-admin-page .board-table thead { display: none; }
.board-admin-page .board-table tbody { display: grid; width: 100%; grid-template-columns: repeat(3, minmax(250px, 1fr)); gap: 16px; background: transparent; }
.board-admin-page .board-table tr { display: flex; min-width: 0; min-height: 282px; flex-direction: column; padding: 20px; border: 1px solid #2b425f; border-radius: 18px; background: #13233a; }
.board-admin-page .board-table td { display: block; width: 100%; padding: 0; border: 0; color: #dfe9f6; }
.board-admin-page .board-table td:first-child { order: 2; margin: 14px 0 4px; color: #8ea5c0; font-size: 12px; }
.board-admin-page .board-table td:nth-child(2) { order: 1; min-width: 0; }
.board-admin-page .board-table td:nth-child(3) { order: 3; min-height: 76px; padding: 14px; border: 1px solid #2c405b; border-radius: 13px; color: #b6c5d8; font-size: 12px; line-height: 1.65; }
.board-admin-page .board-table td:nth-child(4) { order: 4; margin-top: 14px; padding: 10px 12px; border-radius: 9px; background: #192b44; font-size: 12px; }
.board-admin-page .board-table td:nth-child(5) { order: 5; margin-top: auto; padding-top: 14px; }
.board-admin-page .board-row-title { color: #f1f6ff; font-size: 18px; }
.board-admin-page .board-row-actions { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; }
.board-admin-page .board-row-actions .compact-button { min-height: 42px; border-radius: 12px; }
.board-admin-page .board-row-actions > .compact-button:first-child { border-color: #706bff; color: white; background: linear-gradient(135deg, #725cff, #587cff); }
.board-card-more-wrap { position: relative; }
.board-admin-page .board-row-actions .board-card-more-action { width: 44px; padding: 0; }
.board-card-more-menu { display: grid; position: absolute; z-index: 20; right: 0; bottom: 50px; width: 150px; gap: 6px; padding: 8px; border: 1px solid #395273; border-radius: 12px; background: #0a1525; box-shadow: 0 16px 45px #0008; }
.board-card-more-menu[hidden] { display: none; }
.board-admin-page .board-card-more-menu .compact-button { width: 100%; }
.board-admin-page .board-table tbody.is-list-view { grid-template-columns: 1fr; }
.board-admin-page .board-table tbody.is-list-view tr { min-height: 0; display: grid; grid-template-columns: 110px minmax(240px, 1fr) minmax(250px, 1fr) 150px 240px; align-items: center; gap: 14px; }
.board-admin-page .board-table tbody.is-list-view td { order: initial; margin: 0; min-height: 0; padding: 0; }
.board-admin-page .board-table tbody.is-list-view td:nth-child(3) { min-height: 0; }
.board-admin-page .board-table tbody.is-list-view td:nth-child(5) { padding: 0; }

.board-parity-modal:not([hidden]) {
  display: block; position: fixed; z-index: 180; inset: 50% auto auto 50%; width: min(1040px, calc(100vw - 80px)); max-height: calc(100vh - 80px); overflow: auto; transform: translate(-50%, -50%); box-shadow: 0 28px 90px #000c;
}
.board-admin-page .board-parity-modal .board-catalog-grid { grid-template-columns: 1fr; }
.board-admin-page #boardPostPanel:not([hidden]),
.board-admin-page #boardCommentPanel:not([hidden]) { display: block; position: fixed; z-index: 180; inset: 50% auto auto 50%; width: min(1120px, calc(100vw - 80px)); max-height: calc(100vh - 80px); overflow: auto; transform: translate(-50%, -50%); box-shadow: 0 28px 90px #000c; }

/* Student board hub */
.student-board-page { background: #edf3fa; }
.student-board-page:not(.is-detail-open) > .student-board-shell { max-width: none; padding: 12px; }
.student-board-page:not(.is-detail-open) .student-board-header,
.student-board-page:not(.is-detail-open) .student-board-guide,
.student-board-page:not(.is-detail-open) #studentBoardMessage,
.student-board-page:not(.is-detail-open) .student-board-list-card { display: none; }
.student-board-page.is-detail-open #studentBoardHub { display: none; }
.student-board-page.is-detail-open .student-board-layout { display: block; }
@media (min-width: 1451px) {
  .student-board-page.is-detail-open > .student-board-shell { width: min(1810px, calc(100% - 64px)); }
  .student-board-page.is-detail-open .student-board-header { min-height: 102px; }
  .student-board-page.is-detail-open .student-board-view-policy { min-height: 106px; align-content: center; }
  .student-board-page.is-detail-open .student-board-toolbar { padding: 16px 10px; }
  .student-board-page.is-detail-open .student-board-post-copy,
  .student-board-page.is-detail-open .student-board-post-counts { margin-block: 24px; }
  .student-board-page.is-detail-open .board-row-actions .compact-button { min-height: 47px; }
  .student-board-page.is-detail-open .board-file-card img { width: 100%; height: 320px; max-height: 320px; aspect-ratio: auto; object-fit: cover; }
}
.student-board-page.is-detail-open .student-board-post-list[data-view="gallery"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.student-board-view-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #d8e0ea;
  border-radius: 10px;
  background: #f7f9fc;
  padding: 4px;
}
.student-board-view-switch button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 8px;
  color: #66758b;
  background: transparent;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 850;
  cursor: default;
}
.student-board-view-switch button.is-active { color: #244dbb; background: #e8eefc; }
.student-board-page[data-board-theme="dark"] .student-board-view-switch { border-color: #2b425e; background: #101f33; }
.student-board-page[data-board-theme="dark"] .student-board-view-switch button { color: #aebdd2; }
.student-board-page[data-board-theme="dark"] .student-board-view-switch button.is-active { color: #dce8ff; background: #274571; }
.student-board-page.is-detail-open .student-board-post-list[data-view="detail"] {
  width: min(1180px, 100%);
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.student-board-page.is-detail-open .student-board-post-list[data-view="shelf"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}
.student-board-shelf-lane {
  min-width: 0;
  border: 1px solid #cfdbea;
  border-radius: 15px;
  background: #eef3f9;
  padding: 12px;
}
.student-board-shelf-lane > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 3px 11px;
}
.student-board-shelf-lane > header h3 { margin: 0; color: #172745; font-size: 15px; }
.student-board-shelf-lane > header span { color: #5e7190; font-size: 11px; font-weight: 900; }
.student-board-shelf-posts { display: grid; gap: 12px; }
.student-board-shelf-posts > p { margin: 0; padding: 22px 10px; color: #6b7890; text-align: center; font-size: 12px; }
.student-board-page[data-board-theme="dark"] .student-board-shelf-lane { border-color: #42516a; background: #152239; }
.student-board-page[data-board-theme="dark"] .student-board-shelf-lane > header h3 { color: #f4f7fb; }
.student-board-role { cursor: pointer; }
.student-board-role:hover,
.student-board-role:focus-visible { border-color: #9eb3e8; background: #f5f8ff; }
.student-board-admin-dialog .student-teacher-login-card { width: min(430px, calc(100vw - 32px)); }
@media (min-width: 901px) and (max-width: 1200px) {
  .student-board-page.is-detail-open .student-board-post-list[data-view="gallery"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 761px) and (max-width: 900px) {
  .student-board-page.is-detail-open .student-board-post-list[data-view="gallery"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .student-board-page.is-detail-open .student-board-post-list[data-view="gallery"],
  .student-board-page.is-detail-open .student-board-post-list[data-view="detail"],
  .student-board-page.is-detail-open .student-board-post-list[data-view="shelf"] { width: 100%; grid-template-columns: 1fr; }
}
.board-hub { display: grid; min-height: calc(100vh - 24px); grid-template-columns: 248px minmax(0, 1fr); gap: 14px; }
.board-hub-rail,
.board-hub-workspace { border: 1px solid #cfdae8; border-radius: 20px; background: #fff; }
.board-hub-rail { display: flex; flex-direction: column; padding: 16px; }
.board-hub-brand { display: flex; align-items: center; gap: 14px; padding: 2px; }
.board-hub-brand a { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #9fc2ff; border-radius: 14px; color: #2263db; background: #eef5ff; }
.board-hub-brand h1 { margin: 0; color: #15233c; font-size: 25px; }
.board-hub-brand p { margin: 4px 0 0; color: #52667f; font-size: 12px; font-weight: 800; }
.board-hub-progress { margin-top: 24px; padding: 16px; border: 1px solid #c7d6eb; border-radius: 15px; background: #f5f8fc; }
.board-hub-progress > div { display: flex; justify-content: space-between; color: #18253d; }
.board-hub-progress h2 { margin: 0; font-size: 13px; }
.board-hub-progress > span { display: block; height: 8px; margin: 12px 0; overflow: hidden; border-radius: 999px; background: #dbe7f5; }
.board-hub-progress > span i { display: block; width: 0; height: 100%; border-radius: inherit; background: #2f6de3; transition: width .2s ease; }
.board-hub-progress dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 0; }
.board-hub-progress dl div { padding: 10px 4px; border-radius: 10px; text-align: center; background: #eaf1f9; }
.board-hub-progress dt { color: #65748a; font-size: 9px; font-weight: 800; }
.board-hub-progress dd { margin: 5px 0 0; color: #16243e; font-size: 21px; font-weight: 900; }
.board-hub-nav { display: grid; gap: 9px; margin-top: 18px; }
.board-hub-nav button { display: grid; min-height: 58px; grid-template-columns: 24px 1fr 16px; align-items: center; gap: 8px; padding: 0 15px; border: 1px solid #c8d6e9; border-radius: 13px; color: #25344d; background: white; text-align: left; font-weight: 900; cursor: pointer; }
.board-hub-nav button.is-active { border-color: #2f6de3; color: white; background: #2f6de3; }
.board-hub-refresh { min-height: 56px; margin-top: auto; border: 1px solid #c8d6e9; border-radius: 13px; color: #25344d; background: white; font-weight: 900; cursor: pointer; }
.board-hub-workspace { padding: 20px; overflow: hidden; }
.board-hub-workspace > header p { margin: 0; color: #2263db; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.board-hub-workspace > header h1 { margin: 5px 0 2px; color: #17243c; font-size: 27px; }
.board-hub-workspace > header span { color: #53657c; font-size: 12px; font-weight: 800; }
.board-hub-section { margin-top: 14px; padding: 18px; border: 1px solid #cdd9e8; border-radius: 16px; background: white; }
.board-hub-section-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.board-hub-section-heading b { color: #2263db; font-size: 10px; }
.board-hub-section-heading h2 { margin: 4px 0; color: #18253d; font-size: 21px; }
.board-hub-section-heading p { margin: 0; color: #53657c; font-size: 11px; font-weight: 700; }
.board-hub-section-heading > strong { padding: 5px 9px; border-radius: 999px; color: #34506e; background: #eef3f9; font-size: 11px; }
.board-hub-missions { padding: 0; border: 0; background: transparent; }
.board-hub-missions .board-hub-section-heading { display: none; }
.board-hub-mission-grid { display: grid; gap: 9px; margin-top: 14px; }
.board-hub-mission { display: grid; min-height: 114px; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 17px; border: 1px solid #c7d8ef; border-radius: 16px; background: #fff; }
.board-hub-mission:first-child { min-height: 150px; }
.board-hub-mission.is-todo { border: 2px solid #99bcff; background: #f2f7ff; }
.board-hub-mission.is-done { border-color: #a9ddc2; background: #fbfffc; }
.board-hub-mission > i { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid #a9c7fb; border-radius: 50%; color: #2b6fe1; background: #f3f7ff; font-size: 22px; }
.board-hub-mission h3 { display: inline; margin: 0 8px; color: #17243d; font-size: 18px; }
.board-hub-badge { padding: 4px 8px; border-radius: 999px; color: #8e6000; background: #fff0c8; font-size: 10px; font-weight: 900; }
.board-hub-badge.is-done { color: #137a4b; background: #ddf6e8; }
.board-hub-badge.is-read { color: #5c6b7e; background: #e9eef5; }
.board-hub-mission p { margin: 8px 0; color: #52657d; font-size: 12px; font-weight: 700; }
.board-hub-mission small { color: #53677f; font-weight: 800; }
.board-hub-mission-actions { display: flex; gap: 8px; }
.board-hub-mission-actions button { min-height: 46px; padding: 0 16px; border: 1px solid #b9cbea; border-radius: 12px; color: #18314f; background: white; font-weight: 900; cursor: pointer; }
.board-hub-mission-actions button:first-child { border-color: #2f6de3; color: white; background: #2f6de3; }
.board-hub-mission.is-done .board-hub-mission-actions button:first-child { border-color: #178b59; background: #178b59; }
.board-hub-toolbar { display: grid; grid-template-columns: 1fr 120px auto; gap: 9px; margin-top: 14px; padding: 10px; border: 1px solid #cad8e9; border-radius: 15px; background: #f5f8fc; }
.board-hub-toolbar label { display: flex; min-height: 48px; align-items: center; gap: 11px; padding: 0 13px; border: 1px solid #bdcde2; border-radius: 12px; background: white; }
.board-hub-toolbar input { width: 100%; border: 0; outline: 0; color: #24344d; background: transparent; font-weight: 800; }
.board-hub-toolbar select,
.board-hub-toolbar button { min-height: 48px; padding: 0 13px; border: 1px solid #bdcde2; border-radius: 11px; color: #25344c; background: white; font-weight: 900; }
.board-hub-toolbar > div { display: flex; }
.board-hub-toolbar > div button { border-radius: 0; border-left: 0; }
.board-hub-toolbar > div button:first-child { border-left: 1px solid #bdcde2; border-radius: 11px 0 0 11px; }
.board-hub-toolbar > div button:last-child { border-radius: 0 11px 11px 0; }
.board-hub-toolbar button.is-active { color: white; background: #2f6de3; }
.board-hub-feedback-tabs { display: flex; gap: 24px; margin-top: 15px; border-bottom: 1px solid #d5dfeb; }
.board-hub-feedback-tabs button { min-height: 46px; border: 0; border-bottom: 3px solid transparent; color: #52647b; background: transparent; font-weight: 900; }
.board-hub-feedback-tabs button.is-active { border-bottom-color: #2f6de3; color: #2263db; }
.board-hub-comment-list,
.board-hub-timeline { display: grid; }
.board-hub-comment,
.board-hub-timeline-row { display: grid; min-height: 68px; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; padding: 10px; border-bottom: 1px solid #e0e7f0; }
.board-hub-comment > i,
.board-hub-timeline-row > i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #2263db; background: #edf4ff; }
.board-hub-comment strong,
.board-hub-timeline-row strong { display: block; color: #1c2a43; }
.board-hub-comment span,
.board-hub-timeline-row span { color: #586980; font-size: 11px; }
.board-hub-comment button,
.board-hub-timeline-row button { width: 44px; height: 44px; border: 1px solid #bdd0ea; border-radius: 12px; color: #2263db; background: #f5f9ff; }
.board-hub-library { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.board-hub-book { padding: 14px; border: 1px solid #c9d7e8; border-radius: 14px; }
.board-hub-book h3 { margin: 8px 0; color: #1b2941; }
.board-hub-book button { min-height: 44px; margin-top: 10px; border: 1px solid #b8cbed; border-radius: 10px; color: #2263db; background: #f5f9ff; font-weight: 900; }
.board-hub-empty { padding: 22px; color: #607187; text-align: center; }
.student-board-hub-back { min-height: 44px; margin-bottom: 12px; border: 1px solid #bed0e7; border-radius: 11px; color: #2263db; background: #f5f9ff; font-weight: 900; }

@media (max-width: 980px) {
  .board-hub { grid-template-columns: 1fr; }
  .board-hub-rail { display: grid; grid-template-columns: auto 1fr 54px; gap: 10px; }
  .board-hub-progress { margin: 0; padding: 8px; }
  .board-hub-progress > div,
  .board-hub-progress > span { display: none; }
  .board-hub-nav { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); margin: 0; }
  .board-hub-nav { grid-row: 2; }
  .board-hub-nav button { min-height: 52px; grid-template-columns: 24px 1fr 12px; }
  .board-hub-refresh { width: 54px; min-height: 54px; grid-row: 1; grid-column: 3; margin: 0; }
  .board-hub-refresh span { display: none; }
  .board-hub-refresh i { font-size: 16px; }
  .board-hub-workspace { padding: 18px; }
  .board-hub-library { grid-template-columns: repeat(2, 1fr); }
  .board-hub-mission:first-child { min-height: 174px; }
}

@media (max-width: 720px) {
  .board-admin-page .teacher-sidebar { display: none; }
  .board-admin-page .teacher-stage { margin-left: 0; }
  .board-admin-page .board-table tbody { grid-template-columns: 1fr; }
  .board-parity-toolbar { grid-template-columns: 1fr; }
  .board-hub-nav { grid-template-columns: repeat(2, 1fr); }
  .board-hub-toolbar { grid-template-columns: 1fr; }
  .board-hub-library { grid-template-columns: 1fr; }
  .board-hub-mission { grid-template-columns: 50px 1fr; }
  .board-hub-mission-actions { grid-column: 1 / -1; }
}
