:root {
  --rc-bg: #f6f7fb;
  --rc-surface: #ffffff;
  --rc-surface-soft: #f8fafc;
  --rc-surface-muted: #f1f5f9;
  --rc-text: #111827;
  --rc-text-soft: #344054;
  --rc-muted: #667085;
  --rc-line: #e5e7eb;
  --rc-line-strong: #d0d5dd;
  --rc-primary: #4f46e5;
  --rc-primary-hover: #4338ca;
  --rc-primary-soft: rgba(79, 70, 229, 0.1);
  --rc-success: #15803d;
  --rc-success-soft: rgba(21, 128, 61, 0.11);
  --rc-warning: #b45309;
  --rc-warning-soft: rgba(180, 83, 9, 0.11);
  --rc-danger: #b91c1c;
  --rc-danger-soft: rgba(185, 28, 28, 0.1);
  --rc-info: #2563eb;
  --rc-info-soft: rgba(37, 99, 235, 0.1);
  --rc-radius: 8px;
  --rc-radius-sm: 6px;
  --rc-radius-lg: 12px;
  --rc-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  --rc-shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);

  --bg: var(--rc-bg);
  --bg-elevated: var(--rc-surface-soft);
  --surface: var(--rc-surface);
  --surface-soft: var(--rc-surface-soft);
  --line: var(--rc-line);
  --line-strong: var(--rc-line-strong);
  --text: var(--rc-text-soft);
  --text-strong: var(--rc-text);
  --text-soft: var(--rc-muted);
  --primary: var(--rc-primary);
  --primary-dark: var(--rc-primary-hover);
  --primary-soft: var(--rc-primary-soft);
  --shadow-sm: var(--rc-shadow);
  --shadow-md: var(--rc-shadow-md);
  --radius-lg: var(--rc-radius);
  --radius-xl: var(--rc-radius-lg);
  --radius-2xl: var(--rc-radius-lg);

  --product-bg: var(--rc-bg);
  --product-surface: var(--rc-surface);
  --product-surface-soft: var(--rc-surface-soft);
  --product-line: var(--rc-line);
  --product-line-strong: var(--rc-line-strong);
  --product-text: var(--rc-text);
  --product-muted: var(--rc-muted);
  --product-primary: var(--rc-primary);
  --product-primary-soft: var(--rc-primary-soft);
  --product-green: var(--rc-success);
  --product-green-soft: var(--rc-success-soft);
  --product-orange: var(--rc-warning);
  --product-orange-soft: var(--rc-warning-soft);
  --product-red: var(--rc-danger);
  --product-red-soft: var(--rc-danger-soft);
  --product-shadow: var(--rc-shadow-md);
  --product-radius: var(--rc-radius);
}

/* Login hierarchy: the toolbox remains the site brand while the hero names the selected tool. */
body[data-ui-system="research-console"] .auth-site-brand {
  position: absolute;
  top: clamp(24px, 4.2vh, 40px);
  left: clamp(28px, 4.5vw, 62px);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #10233f;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .02em;
  text-decoration: none;
}

body[data-ui-system="research-console"] .auth-site-brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 4px);
  gap: 3px;
  place-content: center;
  border-radius: 10px;
  background: #1769e0;
  box-shadow: 0 8px 22px rgba(23, 105, 224, .24);
}

body[data-ui-system="research-console"] .auth-site-brand-mark i {
  display: block;
  width: 4px;
  border-radius: 4px;
  background: #fff;
}

body[data-ui-system="research-console"] .auth-site-brand-mark i:nth-child(1) { height: 9px; }
body[data-ui-system="research-console"] .auth-site-brand-mark i:nth-child(2) { height: 16px; }
body[data-ui-system="research-console"] .auth-site-brand-mark i:nth-child(3) { height: 12px; }

body[data-ui-system="research-console"] .auth-site-brand:focus-visible {
  outline: 3px solid rgba(23, 105, 224, .24);
  outline-offset: 5px;
  border-radius: 8px;
}

body[data-ui-system="research-console"] .login-emblem-wrap .login-workspace-icon {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #1769e0;
  filter: none;
}

body[data-ui-system="research-console"] .login-workspace-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

body[data-ui-system="research-console"] .login-workspace-icon .workspace-icon-surface,
body[data-ui-system="research-console"] .login-workspace-icon .workspace-icon-panel,
body[data-ui-system="research-console"] .login-workspace-icon .workspace-icon-node {
  fill: transparent;
}

body[data-ui-system="research-console"] .login-workspace-icon .workspace-icon-outline {
  fill: none;
  stroke: #1769e0;
  stroke-width: 2.6;
}

body[data-ui-system="research-console"] .login-workspace-icon .workspace-icon-connector,
body[data-ui-system="research-console"] .login-workspace-icon .workspace-icon-node {
  stroke: #73aaf0;
  stroke-width: 2.4;
  stroke-linecap: round;
}

body[data-ui-system="research-console"] .login-workspace-icon .workspace-icon-rail,
body[data-ui-system="research-console"] .login-workspace-icon .workspace-icon-line,
body[data-ui-system="research-console"] .login-workspace-icon .workspace-icon-panel {
  fill: none;
  stroke: #315f9f;
  stroke-width: 2.3;
  stroke-linecap: round;
}

@media (max-width: 980px) {
  body[data-ui-system="research-console"] .auth-site-brand {
    top: 16px;
    left: 18px;
    font-size: 14px;
  }

  body[data-ui-system="research-console"] .auth-site-brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }
}

@media (max-width: 520px) {
  body[data-ui-system="research-console"] .auth-site-brand {
    left: 12px;
    gap: 8px;
    font-size: 12px;
  }
}

.product-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(245, 247, 251, 0.94) 42%, var(--product-bg) 100%);
}

.product-main {
  min-width: 0;
}

.product-sidebar {
  background: #f8fafc;
}

.product-topbar {
  border-bottom: 1px solid var(--product-line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.product-workspace {
  min-width: 0;
  width: 100%;
  padding: clamp(16px, 1.25vw, 24px) clamp(18px, 1.65vw, 34px) 34px;
}

.workspace > *,
.auth-main > * {
  min-width: 0;
}

.product-workspace > * {
  width: 100%;
  min-width: 0;
}

.page-shell,
.dashboard-shell,
.detail-shell,
.student-page,
.student-workspace,
.research-workbench,
.research-workbench-home,
.teacher-workspace,
.teacher-page-shell,
.admin-dashboard,
.admin-workbench,
.achievement-overview-dashboard,
.achievement-dashboard-shell,
.teacher-approval-workbench,
.doc-workspace,
.document-workbench,
.document-layout-v2,
.stats-workspace {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.role-internal_student .product-workspace,
.role-external_student .product-workspace {
  padding-inline: clamp(20px, 1.8vw, 36px);
}

.student-page,
.research-workbench-home,
.achievement-overview-dashboard,
.document-workbench,
.fund-workbench {
  gap: 16px;
}

.product-panel,
.card,
.metric-card,
.stat-card,
.stats-board-card,
.stats-table-card,
.admin-card,
.doc-card {
  border-color: var(--product-line);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.card,
.product-panel {
  border-radius: var(--product-radius);
}

.product-toolbar,
.card-header,
.stats-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.product-toolbar {
  padding: 14px 16px;
  border: 1px solid var(--product-line);
  border-radius: var(--product-radius);
  background: var(--product-surface);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.product-kpi-grid,
.metric-grid,
.stats-grid,
.student-grid-4,
.doc-kpi-grid,
.rw-metrics,
.achievement-overview-dashboard .achievement-kpi-grid {
  gap: 14px;
}

.product-status,
.badge,
.status-success,
.status-info,
.status-warning,
.status-danger,
.status-neutral {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}

.product-status.success,
.badge-success,
.status-success {
  color: var(--product-green);
  background: var(--product-green-soft);
  border-color: rgba(31, 138, 91, 0.22);
}

.product-status.info,
.badge-info,
.status-info {
  color: var(--product-primary);
  background: var(--product-primary-soft);
  border-color: rgba(37, 99, 235, 0.2);
}

.product-status.warning,
.badge-warning,
.status-warning {
  color: var(--product-orange);
  background: var(--product-orange-soft);
  border-color: rgba(217, 119, 6, 0.2);
}

.product-status.danger,
.badge-danger,
.status-danger {
  color: var(--product-red);
  background: var(--product-red-soft);
  border-color: rgba(220, 38, 38, 0.18);
}

.product-empty,
.empty-state,
.empty-note {
  border: 1px dashed var(--product-line-strong);
  background: var(--product-surface-soft);
  color: var(--product-muted);
}

.btn,
.btnx,
.btn-filter,
.icon-btn {
  border-radius: 10px;
  min-height: 36px;
}

.btn-primary,
.btnx.primary,
.btn-filter {
  background: var(--product-primary);
  border-color: var(--product-primary);
}

.topbar-search {
  min-width: min(360px, 32vw);
}

.topbar-search input {
  width: 100%;
}

.product-table-wrap,
.table-wrap,
.student-table-wrap,
.fund-table-wrap,
.admin-table-wrap,
.doc-table-wrap,
.stats-table-wrap,
.notice-table-wrap,
.achievement-table-wrap,
.project-files-table-wrap,
.retro-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.workspace table.table,
.workspace .table {
  width: 100%;
}

.workspace table {
  border-collapse: collapse;
}

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

.student-list-card,
.doc-tab-card,
.doc-section-card,
.fund-workbench .stat-card,
.fund-workbench .empty-box,
.achievement-overview-dashboard .achievement-kpi-card,
.achievement-overview-dashboard .achievement-flow-card,
.achievement-overview-dashboard .achievement-chart-card,
.achievement-overview-dashboard .achievement-table-card,
.achievement-overview-dashboard .achievement-quick-card {
  border-color: var(--product-line);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
}

.role-internal_student .student-stat-card,
.role-external_student .student-stat-card,
.role-internal_student .doc-kpi,
.role-external_student .doc-kpi {
  min-height: 92px;
}

.role-internal_student .student-table-title,
.role-external_student .student-table-title {
  max-width: clamp(360px, 34vw, 620px);
}

.fund-workbench {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.fund-workbench .fund-header {
  margin-bottom: 0;
}

.fund-workbench .stats-row {
  margin-bottom: 0;
  gap: 14px;
}

.fund-table-wrap {
  border: 1px solid var(--product-line);
  border-radius: var(--product-radius);
  background: var(--product-surface);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
}

.fund-table-wrap .fund-table {
  min-width: 860px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.role-teacher .product-workspace > .kpi {
  width: 100%;
  min-width: 0;
}

.role-teacher .product-workspace > .tbl {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.role-teacher .product-workspace > .tbl > table {
  min-width: 900px;
}

.achievement-overview-dashboard .achievement-dashboard-shell {
  gap: 14px;
}

.achievement-overview-dashboard .achievement-toolbar-strip {
  min-height: 42px;
}

.achievement-overview-dashboard .achievement-btn {
  min-height: 36px;
  padding-inline: 14px;
}

.achievement-overview-dashboard .achievement-kpi-card {
  min-height: 112px;
  padding: 16px;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
}

.achievement-overview-dashboard .achievement-kpi-icon {
  width: 48px;
  height: 48px;
}

.achievement-overview-dashboard .achievement-kpi-body strong {
  font-size: 30px;
}

.achievement-overview-dashboard .achievement-main-grid {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 370px);
  gap: 14px;
}

.achievement-overview-dashboard .achievement-left-grid {
  grid-template-rows: minmax(220px, auto) minmax(300px, auto);
  gap: 14px;
}

.achievement-overview-dashboard .achievement-side-stack {
  grid-template-rows: minmax(220px, auto) minmax(300px, 1fr);
  gap: 14px;
}

.achievement-overview-dashboard .achievement-flow-card,
.achievement-overview-dashboard .achievement-chart-card,
.achievement-overview-dashboard .achievement-table-card,
.achievement-overview-dashboard .achievement-quick-card {
  padding: 14px 16px;
}

.achievement-overview-dashboard .achievement-overview-table th,
.achievement-overview-dashboard .achievement-overview-table td {
  height: 42px;
  padding: 7px 12px;
  font-size: 13px;
}

.achievement-overview-dashboard .achievement-overview-table td:first-child a {
  max-width: clamp(360px, 30vw, 560px);
}

.document-layout-v2 {
  grid-template-columns: minmax(210px, 240px) minmax(0, 1fr);
  gap: 14px;
}

.doc-tab-card {
  padding: 12px;
}

.doc-section-head {
  min-height: 44px;
}

.doc-table {
  min-width: 900px;
}

.message-drawer-panel {
  box-shadow: var(--product-shadow);
}

.product-auth-panel {
  box-shadow: var(--product-shadow);
}

@media (max-width: 1180px) {
  .topbar-search {
    min-width: 220px;
  }

  .achievement-overview-dashboard .achievement-main-grid,
  .achievement-overview-dashboard .achievement-left-grid,
  .achievement-overview-dashboard .achievement-side-stack,
  .document-layout-v2 {
    grid-template-columns: 1fr;
  }

  .achievement-overview-dashboard .achievement-side-stack {
    grid-template-rows: auto;
  }
}

@media (max-width: 900px) {
  .role-teacher .product-workspace > .kpi {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .role-teacher .product-workspace > .kpi > .card {
    min-width: 0;
  }
}

@media (max-width: 960px) {
  .product-shell {
    display: block;
  }

  .product-sidebar {
    position: relative;
    height: auto;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--product-line);
  }

  .product-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    align-items: flex-start;
  }

  .topbar-tools {
    width: 100%;
    justify-content: flex-start;
  }

  .topbar-search {
    flex: 1 1 260px;
    min-width: 180px;
  }
}

@media (max-width: 768px) {
  .product-workspace,
  .role-internal_student .product-workspace,
  .role-external_student .product-workspace {
    padding: 14px 12px 24px;
  }

  .product-toolbar,
  .card-header,
  .stats-card-head,
  .topbar-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar-profile,
  .logout-form,
  .logout-form .btn {
    width: 100%;
  }

  .topbar-profile {
    justify-content: flex-start;
  }

  .workspace .table {
    min-width: 760px;
  }

  .achievement-list-filter-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
  }

  .achievement-list-filter-toolbar .filter-keyword {
    grid-column: 1 / -1;
  }

  .achievement-list-filter-toolbar .btn {
    width: 100%;
  }

  .achievement-overview-dashboard .achievement-kpi-card {
    min-height: 104px;
  }

  .achievement-overview-dashboard .achievement-flow-card,
  .achievement-overview-dashboard .achievement-chart-card,
  .achievement-overview-dashboard .achievement-table-card,
  .achievement-overview-dashboard .achievement-quick-card {
    padding: 12px;
  }

  .message-drawer-panel {
    width: min(100vw - 24px, 420px);
  }
}

.doc-archive-folder-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 9px 12px 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.doc-archive-grant-btn {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #f0fdf4;
  color: #166534;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.doc-archive-grant-btn:hover {
  border-color: #86efac;
  background: #dcfce7;
}

.doc-archive-grant-modal .doc-upload-section {
  padding-top: 0;
}

@media (max-width: 560px) {
  .achievement-list-filter-toolbar {
    grid-template-columns: 1fr;
  }

  .role-teacher .product-workspace > .kpi {
    grid-template-columns: 1fr;
  }
}

/* Research Workspace v1: approved core-page design language. */

body[data-ui-system="research-console"] {
  background: var(--rc-bg);
  color: var(--rc-text-soft);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

body[data-ui-system="research-console"] .product-shell {
  background: var(--rc-bg);
}

body[data-ui-system="research-console"] .app-layout {
  grid-template-columns: 260px minmax(0, 1fr);
}

body[data-ui-system="research-console"] .product-sidebar {
  background: var(--rc-surface);
  border-right: 1px solid var(--rc-line);
  padding: 16px 12px;
  gap: 12px;
}

body[data-ui-system="research-console"] .sidebar-brand {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 8px 14px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rc-line);
  border-radius: 0;
  box-shadow: none;
}

body[data-ui-system="research-console"] .brand-emblem.rc-brand-mark {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: var(--rc-radius);
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #111827;
  box-shadow: none;
}

body[data-ui-system="research-console"] .brand-emblem.rc-brand-mark .rc-svg-icon {
  width: 21px;
  height: 21px;
}

body[data-ui-system="research-console"] .brand-title {
  font-size: 14px;
  font-weight: 760;
  color: var(--rc-text);
}

body[data-ui-system="research-console"] .brand-subtitle {
  margin-top: 2px;
  font-size: 11px;
  color: var(--rc-muted);
  letter-spacing: 0;
}

body[data-ui-system="research-console"] .sidebar-nav {
  gap: 4px;
}

body[data-ui-system="research-console"] .menu-group {
  background: transparent;
  border: 0;
  border-radius: var(--rc-radius);
  box-shadow: none;
}

body[data-ui-system="research-console"] .menu-group-title {
  min-height: 34px;
  padding: 8px 10px;
  color: var(--rc-muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
}

body[data-ui-system="research-console"] .menu-group-title::after {
  color: #98a2b3;
  font-size: 10px;
}

body[data-ui-system="research-console"] .menu-title-main {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

body[data-ui-system="research-console"] .menu-title-icon,
body[data-ui-system="research-console"] .nav-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #98a2b3;
}

body[data-ui-system="research-console"] .menu-group-links {
  gap: 2px;
  padding: 0 4px 6px;
}

body[data-ui-system="research-console"] .nav-item {
  min-height: 34px;
  gap: 9px;
  padding: 8px 10px;
  border-radius: var(--rc-radius);
  color: #475467;
  font-size: 13px;
  font-weight: 640;
  border: 1px solid transparent;
  box-shadow: none;
}

body[data-ui-system="research-console"] .nav-item:hover {
  background: var(--rc-surface-soft);
  border-color: var(--rc-line);
  color: var(--rc-text);
}

body[data-ui-system="research-console"] .nav-item.active {
  background: var(--rc-primary-soft);
  border-color: rgba(79, 70, 229, 0.18);
  color: var(--rc-primary);
}

body[data-ui-system="research-console"] .nav-item.active .nav-icon,
body[data-ui-system="research-console"] .menu-group.active .menu-title-icon {
  color: var(--rc-primary);
}

body[data-ui-system="research-console"] .sidebar-footer-card {
  padding: 12px;
  border-radius: var(--rc-radius);
  border-color: var(--rc-line);
  background: var(--rc-surface-soft);
  box-shadow: none;
}

body[data-ui-system="research-console"] .sidebar-card-title {
  font-size: 11px;
  font-weight: 720;
  color: var(--rc-muted);
  letter-spacing: 0;
  text-transform: none;
}

body[data-ui-system="research-console"] .sidebar-cta {
  min-height: 32px;
  border-radius: var(--rc-radius);
  background: var(--rc-primary);
  color: #fff;
}

body[data-ui-system="research-console"] .product-topbar {
  min-height: 74px;
  align-items: center;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--rc-line);
  backdrop-filter: blur(10px);
}

body[data-ui-system="research-console"] .topbar-intro h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.24;
  font-weight: 760;
  color: var(--rc-text);
  letter-spacing: 0;
}

body[data-ui-system="research-console"] .page-eyebrow {
  display: none;
}

body[data-ui-system="research-console"] .topbar-intro p {
  margin-top: 4px;
  color: var(--rc-muted);
  font-size: 13px;
  line-height: 1.5;
}

body[data-ui-system="research-console"] .topbar-tools {
  gap: 8px;
  align-items: center;
}

body[data-ui-system="research-console"] .topbar-search {
  height: 36px;
  min-width: min(340px, 30vw);
  padding: 0 10px;
  background: var(--rc-surface-soft);
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius);
  box-shadow: none;
}

body[data-ui-system="research-console"] .topbar-search:focus-within {
  border-color: rgba(79, 70, 229, 0.45);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

body[data-ui-system="research-console"] .search-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  color: var(--rc-muted);
}

body[data-ui-system="research-console"] .icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--rc-radius);
  background: var(--rc-surface);
  border: 1px solid var(--rc-line);
  box-shadow: none;
  color: #475467;
}

body[data-ui-system="research-console"] .icon-btn:hover {
  color: var(--rc-primary);
  border-color: rgba(79, 70, 229, 0.22);
  background: var(--rc-primary-soft);
}

body[data-ui-system="research-console"] .topbar-profile {
  min-height: 36px;
  padding: 0 8px 0 4px;
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius);
  background: var(--rc-surface);
  text-decoration: none;
}

body[data-ui-system="research-console"] .topbar-user {
  min-width: 96px;
  padding: 4px 6px;
}

body[data-ui-system="research-console"] .topbar-user-name {
  font-size: 12px;
  font-weight: 720;
}

body[data-ui-system="research-console"] .topbar-user-role {
  font-size: 11px;
}

body[data-ui-system="research-console"] .workspace.product-workspace {
  padding: 18px 24px 30px;
}

body[data-ui-system="research-console"] .rc-svg-icon {
  width: 1em;
  height: 1em;
  display: block;
  flex: 0 0 auto;
}

body[data-ui-system="research-console"] .btn,
body[data-ui-system="research-console"] .btnx,
body[data-ui-system="research-console"] .soft-btn,
body[data-ui-system="research-console"] .btn-filter,
body[data-ui-system="research-console"] .qa-btn,
body[data-ui-system="research-console"] .approval-action,
body[data-ui-system="research-console"] .project-action-btn,
body[data-ui-system="research-console"] .approval-filter-submit,
body[data-ui-system="research-console"] .approval-filter-reset,
body[data-ui-system="research-console"] .project-filter-submit,
body[data-ui-system="research-console"] .project-filter-reset {
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--rc-radius);
  border: 1px solid var(--rc-line-strong);
  box-shadow: none;
  font-size: 13px;
  font-weight: 680;
  letter-spacing: 0;
}

body[data-ui-system="research-console"] .btn:hover,
body[data-ui-system="research-console"] .btnx:hover,
body[data-ui-system="research-console"] .soft-btn:hover,
body[data-ui-system="research-console"] .btn-filter:hover,
body[data-ui-system="research-console"] .qa-btn:hover {
  transform: none;
}

body[data-ui-system="research-console"] .btn-primary,
body[data-ui-system="research-console"] .btnx.primary,
body[data-ui-system="research-console"] .soft-btn.primary,
body[data-ui-system="research-console"] .btn-filter,
body[data-ui-system="research-console"] .qa-btn-approve,
body[data-ui-system="research-console"] .approval-action.primary,
body[data-ui-system="research-console"] .project-action-btn.primary,
body[data-ui-system="research-console"] .approval-filter-submit,
body[data-ui-system="research-console"] .project-filter-submit {
  background: var(--rc-primary);
  border-color: var(--rc-primary);
  color: #ffffff;
}

body[data-ui-system="research-console"] .btn-primary:hover,
body[data-ui-system="research-console"] .approval-action.primary:hover,
body[data-ui-system="research-console"] .project-action-btn.primary:hover {
  background: var(--rc-primary-hover);
  border-color: var(--rc-primary-hover);
}

body[data-ui-system="research-console"] .btn-light,
body[data-ui-system="research-console"] .btn-outline,
body[data-ui-system="research-console"] .btnx.soft,
body[data-ui-system="research-console"] .approval-action,
body[data-ui-system="research-console"] .project-action-btn,
body[data-ui-system="research-console"] .approval-filter-reset,
body[data-ui-system="research-console"] .project-filter-reset {
  background: var(--rc-surface);
  color: #344054;
}

body[data-ui-system="research-console"] input,
body[data-ui-system="research-console"] select,
body[data-ui-system="research-console"] textarea {
  border-color: var(--rc-line-strong);
  border-radius: var(--rc-radius);
  color: var(--rc-text);
  background-color: var(--rc-surface);
}

body[data-ui-system="research-console"] input:focus,
body[data-ui-system="research-console"] select:focus,
body[data-ui-system="research-console"] textarea:focus {
  outline: none;
  border-color: rgba(79, 70, 229, 0.5);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

body[data-ui-system="research-console"] .card,
body[data-ui-system="research-console"] .panel,
body[data-ui-system="research-console"] .soft-card,
body[data-ui-system="research-console"] .filter-panel,
body[data-ui-system="research-console"] .modal-card,
body[data-ui-system="research-console"] .product-panel,
body[data-ui-system="research-console"] .admin-card,
body[data-ui-system="research-console"] .teacher-card,
body[data-ui-system="research-console"] .rw-card,
body[data-ui-system="research-console"] .student-list-card,
body[data-ui-system="research-console"] .doc-tab-card,
body[data-ui-system="research-console"] .doc-section-card,
body[data-ui-system="research-console"] .achievement-status-tabs,
body[data-ui-system="research-console"] .achievement-list-filter-toolbar,
body[data-ui-system="research-console"] .approval-filter-card,
body[data-ui-system="research-console"] .approval-table-card-v2,
body[data-ui-system="research-console"] .project-filter-card,
body[data-ui-system="research-console"] .project-table-card {
  background: var(--rc-surface);
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius);
  box-shadow: var(--rc-shadow);
}

body[data-ui-system="research-console"] .card,
body[data-ui-system="research-console"] .panel,
body[data-ui-system="research-console"] .soft-card,
body[data-ui-system="research-console"] .filter-panel,
body[data-ui-system="research-console"] .admin-card,
body[data-ui-system="research-console"] .teacher-card,
body[data-ui-system="research-console"] .rw-card,
body[data-ui-system="research-console"] .doc-section-card {
  padding: 16px;
}

body[data-ui-system="research-console"] .hero-main,
body[data-ui-system="research-console"] .student-hero-lite,
body[data-ui-system="research-console"] .qa-request-card,
body[data-ui-system="research-console"] .rw-focus-strip,
body[data-ui-system="research-console"] .twb-screenshot-greeting {
  background: var(--rc-surface);
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius);
  box-shadow: var(--rc-shadow);
}

body[data-ui-system="research-console"] .card-header h2,
body[data-ui-system="research-console"] .card-header h3,
body[data-ui-system="research-console"] .panel-header h2,
body[data-ui-system="research-console"] .panel-header h3,
body[data-ui-system="research-console"] .section-header h2,
body[data-ui-system="research-console"] .section-header h3,
body[data-ui-system="research-console"] .admin-card-head h3,
body[data-ui-system="research-console"] .twb-card-title,
body[data-ui-system="research-console"] .rw-card-title h3,
body[data-ui-system="research-console"] .doc-section-head strong {
  color: var(--rc-text);
  font-size: 15px;
  font-weight: 760;
  letter-spacing: 0;
}

body[data-ui-system="research-console"] .card-desc,
body[data-ui-system="research-console"] .panel-desc,
body[data-ui-system="research-console"] .section-subtitle,
body[data-ui-system="research-console"] .admin-card-head p,
body[data-ui-system="research-console"] .doc-section-note {
  color: var(--rc-muted);
  font-size: 12px;
  line-height: 1.55;
}

body[data-ui-system="research-console"] .admin-workbench-page,
body[data-ui-system="research-console"] .teacher-workbench-dashboard,
body[data-ui-system="research-console"] .research-workbench-home,
body[data-ui-system="research-console"] .approval-center-page,
body[data-ui-system="research-console"] .project-management-page,
body[data-ui-system="research-console"] .achievement-list-page,
body[data-ui-system="research-console"] .document-workbench {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body[data-ui-system="research-console"] .admin-workbench-kpis,
body[data-ui-system="research-console"] .teacher-kpi-grid,
body[data-ui-system="research-console"] .rw-metrics,
body[data-ui-system="research-console"] .approval-kpi-grid,
body[data-ui-system="research-console"] .project-kpi-grid,
body[data-ui-system="research-console"] .doc-kpi-grid,
body[data-ui-system="research-console"] .achievement-status-tabs {
  gap: 10px;
}

body[data-ui-system="research-console"] .admin-workbench-kpi,
body[data-ui-system="research-console"] .teacher-kpi-card,
body[data-ui-system="research-console"] .rw-metric,
body[data-ui-system="research-console"] .approval-kpi-card,
body[data-ui-system="research-console"] .project-kpi-card,
body[data-ui-system="research-console"] .doc-kpi,
body[data-ui-system="research-console"] .achievement-status-tab {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius);
  background: var(--rc-surface);
  box-shadow: var(--rc-shadow);
  color: var(--rc-text-soft);
}

body[data-ui-system="research-console"] .admin-workbench-kpi:hover,
body[data-ui-system="research-console"] .teacher-kpi-card:hover,
body[data-ui-system="research-console"] .rw-metric:hover,
body[data-ui-system="research-console"] .approval-kpi-card:hover,
body[data-ui-system="research-console"] .project-kpi-card:hover,
body[data-ui-system="research-console"] .doc-kpi:hover,
body[data-ui-system="research-console"] .achievement-status-tab:hover {
  border-color: rgba(79, 70, 229, 0.25);
  transform: none;
}

body[data-ui-system="research-console"] .admin-workbench-kpi strong,
body[data-ui-system="research-console"] .teacher-kpi-card strong,
body[data-ui-system="research-console"] .rw-metric .value,
body[data-ui-system="research-console"] .approval-kpi-copy strong,
body[data-ui-system="research-console"] .project-kpi-value strong,
body[data-ui-system="research-console"] .doc-kpi strong,
body[data-ui-system="research-console"] .achievement-status-tab strong {
  color: var(--rc-text);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 760;
}

body[data-ui-system="research-console"] .admin-workbench-kpi span,
body[data-ui-system="research-console"] .teacher-kpi-card span,
body[data-ui-system="research-console"] .approval-kpi-copy em,
body[data-ui-system="research-console"] .project-kpi-copy em,
body[data-ui-system="research-console"] .doc-kpi span,
body[data-ui-system="research-console"] .achievement-status-tab span {
  color: var(--rc-muted);
  font-size: 12px;
  font-weight: 680;
}

body[data-ui-system="research-console"] .tone-green,
body[data-ui-system="research-console"] .tone-blue,
body[data-ui-system="research-console"] .tone-purple,
body[data-ui-system="research-console"] .tone-orange,
body[data-ui-system="research-console"] .tone-amber,
body[data-ui-system="research-console"] .tone-red,
body[data-ui-system="research-console"] .tone-slate,
body[data-ui-system="research-console"] .rw-blue,
body[data-ui-system="research-console"] .rw-orange,
body[data-ui-system="research-console"] .rw-purple {
  background: var(--rc-surface) !important;
  border-color: var(--rc-line) !important;
}

body[data-ui-system="research-console"] .rc-overview-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  padding: 10px;
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius);
  background: var(--rc-surface);
  box-shadow: var(--rc-shadow);
}

body[data-ui-system="research-console"] .rc-overview-kpis {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 10px;
}

body[data-ui-system="research-console"] .rc-overview-card {
  min-width: 0;
  min-height: 74px;
  padding: 12px;
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius);
  background: var(--rc-surface);
  box-shadow: none;
  color: var(--rc-text-soft);
}

body[data-ui-system="research-console"] .rc-overview-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: stretch;
  gap: 8px;
  min-width: max-content;
  flex-wrap: wrap;
}

body[data-ui-system="research-console"] .rc-function-row {
  display: flex;
  align-items: end;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius);
  background: var(--rc-surface);
  box-shadow: var(--rc-shadow);
  flex-wrap: wrap;
}

body[data-ui-system="research-console"] .rc-view-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  width: fit-content;
  padding: 0 10px;
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 999px;
  background: var(--rc-primary-soft);
  color: var(--rc-primary);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.2;
  white-space: nowrap;
}

body[data-ui-system="research-console"] .approval-overview,
body[data-ui-system="research-console"] .ttd-overview,
body[data-ui-system="research-console"] .task-overview-row,
body[data-ui-system="research-console"] .stk-bar,
body[data-ui-system="research-console"] .student-hero-lite.schedule-overview-row,
body[data-ui-system="research-console"] .rw-focus-strip {
  border-radius: var(--rc-radius);
  border-color: var(--rc-line);
  background: var(--rc-surface);
  box-shadow: var(--rc-shadow);
}

body[data-ui-system="research-console"] .approval-kpi-grid.rc-overview-kpis,
body[data-ui-system="research-console"] .ttd-kpis.rc-overview-kpis,
body[data-ui-system="research-console"] .task-kpi-grid.rc-overview-kpis,
body[data-ui-system="research-console"] .stk-pills.rc-overview-kpis,
body[data-ui-system="research-console"] .rw-focus-cards.rc-overview-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 10px;
}

body[data-ui-system="research-console"] .approval-kpi-card.rc-overview-card,
body[data-ui-system="research-console"] .ttd-kpi.rc-overview-card,
body[data-ui-system="research-console"] .task-kpi.rc-overview-card,
body[data-ui-system="research-console"] .stk-pill.rc-overview-card,
body[data-ui-system="research-console"] .rw-focus-card.rc-overview-card {
  min-height: 74px;
  border-radius: var(--rc-radius);
  border-color: var(--rc-line);
  background: var(--rc-surface);
  box-shadow: none;
}

body[data-ui-system="research-console"] .approval-kpi-card.rc-overview-card,
body[data-ui-system="research-console"] .rw-focus-card.rc-overview-card {
  text-decoration: none;
}

body[data-ui-system="research-console"] .approval-overview .approval-top-actions,
body[data-ui-system="research-console"] .ttd-overview .ttd-actions,
body[data-ui-system="research-console"] .task-overview-actions {
  padding-left: 4px;
}

body[data-ui-system="research-console"] .approval-action.primary,
body[data-ui-system="research-console"] .task-btn.primary,
body[data-ui-system="research-console"] .ttd-btn.primary,
body[data-ui-system="research-console"] .stk-btn.primary,
body[data-ui-system="research-console"] .student-hero-actions .btn-primary,
body[data-ui-system="research-console"] .rw-hero-btn {
  border-color: var(--rc-primary) !important;
  background: var(--rc-primary) !important;
  color: #ffffff !important;
}

body[data-ui-system="research-console"] .approval-action,
body[data-ui-system="research-console"] .task-btn,
body[data-ui-system="research-console"] .ttd-btn,
body[data-ui-system="research-console"] .stk-btn,
body[data-ui-system="research-console"] .student-hero-actions .btn,
body[data-ui-system="research-console"] .rw-hero-btn {
  min-height: 34px;
  border-radius: var(--rc-radius);
  box-shadow: none;
}

body[data-ui-system="research-console"] .task-kpi.green .value,
body[data-ui-system="research-console"] .task-kpi.blue .value,
body[data-ui-system="research-console"] .task-kpi.orange .value,
body[data-ui-system="research-console"] .task-kpi.red .value,
body[data-ui-system="research-console"] .ttd-kpi strong,
body[data-ui-system="research-console"] .stk-pill strong {
  color: var(--rc-text);
}

body[data-ui-system="research-console"] .task-filter-toolbar.rc-function-row,
body[data-ui-system="research-console"] .stk-filter.rc-function-row {
  border-radius: var(--rc-radius);
  border-color: var(--rc-line);
  background: var(--rc-surface);
  box-shadow: var(--rc-shadow);
}

body[data-ui-system="research-console"] .task-filter-toolbar input,
body[data-ui-system="research-console"] .task-filter-toolbar select,
body[data-ui-system="research-console"] .stk-filter input,
body[data-ui-system="research-console"] .stk-filter select {
  min-height: 34px;
  border-radius: var(--rc-radius);
  border: 1px solid var(--rc-line-strong);
  background: var(--rc-surface-soft);
  box-shadow: none;
}

body[data-ui-system="research-console"] .student-hero-lite.schedule-overview-row {
  align-items: center;
  padding: 12px;
}

body[data-ui-system="research-console"] .student-hero-lite.schedule-overview-row p {
  margin-top: 8px;
  color: var(--rc-muted);
  font-size: 13px;
  line-height: 1.55;
}

body[data-ui-system="research-console"] .student-hero-actions.rc-overview-actions {
  align-self: center;
}

body[data-ui-system="research-console"] .profile-v3-card {
  border-radius: var(--rc-radius);
  border-color: var(--rc-line);
  box-shadow: var(--rc-shadow);
}

body[data-ui-system="research-console"] .profile-v3-head {
  align-items: center;
  padding: 14px 16px;
  border-bottom-color: var(--rc-line);
  background: var(--rc-surface-soft) !important;
}

body[data-ui-system="research-console"] .profile-v3-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body[data-ui-system="research-console"] .profile-v3-title p {
  margin: 0;
  color: var(--rc-muted);
  font-size: 13px;
}

body[data-ui-system="research-console"] .profile-v3-badge {
  border-radius: 999px;
  color: var(--rc-text-soft) !important;
}

body[data-ui-system="research-console"] .rw-focus-strip {
  grid-template-columns: none;
  min-height: 86px;
  overflow: visible;
}

body[data-ui-system="research-console"] .rw-focus-strip::after {
  display: none;
}

body[data-ui-system="research-console"] .rw-focus-copy {
  color: var(--rc-text);
}

body[data-ui-system="research-console"] .rw-focus-main-icon {
  background: var(--rc-primary-soft);
  border-color: rgba(79, 70, 229, 0.2);
  color: var(--rc-primary);
}

body[data-ui-system="research-console"] .rw-focus-title {
  color: var(--rc-text);
  font-size: 15px;
  font-weight: 760;
}

body[data-ui-system="research-console"] .rw-focus-sub {
  color: var(--rc-muted);
  white-space: normal;
}

body[data-ui-system="research-console"] .rw-focus-card .label,
body[data-ui-system="research-console"] .rw-focus-card .meta {
  color: var(--rc-muted);
}

body[data-ui-system="research-console"] .rw-focus-card .value,
body[data-ui-system="research-console"] .rw-focus-card .arrow {
  color: var(--rc-text);
}

body[data-ui-system="research-console"] .rw-focus-card .mini-icon {
  border-radius: var(--rc-radius);
  background: var(--rc-primary-soft);
  color: var(--rc-primary);
}

body[data-ui-system="research-console"] .rw-focus-actions {
  align-self: center;
}

@media (max-width: 1180px) {
  body[data-ui-system="research-console"] .rc-overview-actions {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
  }

  body[data-ui-system="research-console"] .approval-overview .approval-top-actions,
  body[data-ui-system="research-console"] .ttd-overview .ttd-actions,
  body[data-ui-system="research-console"] .task-overview-actions {
    padding-left: 0;
  }
}

@media (max-width: 680px) {
  body[data-ui-system="research-console"] .rc-overview-row,
  body[data-ui-system="research-console"] .rc-function-row {
    padding: 8px;
  }

  body[data-ui-system="research-console"] .rc-overview-kpis {
    grid-template-columns: 1fr;
  }

  body[data-ui-system="research-console"] .approval-kpi-grid.rc-overview-kpis,
  body[data-ui-system="research-console"] .ttd-kpis.rc-overview-kpis,
  body[data-ui-system="research-console"] .task-kpi-grid.rc-overview-kpis,
  body[data-ui-system="research-console"] .stk-pills.rc-overview-kpis,
  body[data-ui-system="research-console"] .rw-focus-cards.rc-overview-kpis {
    grid-template-columns: 1fr;
  }

  body[data-ui-system="research-console"] .rc-overview-actions > *,
  body[data-ui-system="research-console"] .rc-function-row > button,
  body[data-ui-system="research-console"] .rc-function-row > a {
    width: 100%;
    justify-content: center;
  }
}

body[data-ui-system="research-console"] .approval-filter-toolbar,
body[data-ui-system="research-console"] .project-filter-toolbar,
body[data-ui-system="research-console"] .achievement-list-filter-toolbar,
body[data-ui-system="research-console"] .doc-filter-line {
  gap: 10px;
  align-items: end;
}

body[data-ui-system="research-console"] .approval-filter-toolbar input,
body[data-ui-system="research-console"] .approval-filter-toolbar select,
body[data-ui-system="research-console"] .project-filter-toolbar input,
body[data-ui-system="research-console"] .project-filter-toolbar select,
body[data-ui-system="research-console"] .achievement-list-filter-toolbar input,
body[data-ui-system="research-console"] .achievement-list-filter-toolbar select,
body[data-ui-system="research-console"] .doc-filter-line input,
body[data-ui-system="research-console"] .doc-filter-line select {
  min-height: 34px;
  border-radius: var(--rc-radius);
  border: 1px solid var(--rc-line-strong);
  box-shadow: none;
  font-size: 13px;
}

body[data-ui-system="research-console"] .approval-type-tabs,
body[data-ui-system="research-console"] .twb-task-tabs {
  gap: 6px;
}

body[data-ui-system="research-console"] .approval-tab,
body[data-ui-system="research-console"] .twb-task-tabs button {
  min-height: 32px;
  border-radius: var(--rc-radius);
  border: 1px solid var(--rc-line);
  background: var(--rc-surface);
  color: #475467;
  box-shadow: none;
}

body[data-ui-system="research-console"] .approval-tab.active,
body[data-ui-system="research-console"] .twb-task-tabs button.active,
body[data-ui-system="research-console"] .achievement-status-tab.active,
body[data-ui-system="research-console"] .doc-kpi.active {
  background: var(--rc-primary-soft);
  border-color: rgba(79, 70, 229, 0.24);
  color: var(--rc-primary);
}

body[data-ui-system="research-console"] .admin-table,
body[data-ui-system="research-console"] .approval-table,
body[data-ui-system="research-console"] .project-table,
body[data-ui-system="research-console"] .achievement-table,
body[data-ui-system="research-console"] .achievement-export-table,
body[data-ui-system="research-console"] .student-table,
body[data-ui-system="research-console"] .doc-table,
body[data-ui-system="research-console"] .table {
  width: 100%;
  border-collapse: collapse;
  color: var(--rc-text-soft);
}

body[data-ui-system="research-console"] .admin-table th,
body[data-ui-system="research-console"] .admin-table td,
body[data-ui-system="research-console"] .approval-table th,
body[data-ui-system="research-console"] .approval-table td,
body[data-ui-system="research-console"] .project-table th,
body[data-ui-system="research-console"] .project-table td,
body[data-ui-system="research-console"] .achievement-table th,
body[data-ui-system="research-console"] .achievement-table td,
body[data-ui-system="research-console"] .achievement-export-table th,
body[data-ui-system="research-console"] .achievement-export-table td,
body[data-ui-system="research-console"] .student-table th,
body[data-ui-system="research-console"] .student-table td,
body[data-ui-system="research-console"] .doc-table th,
body[data-ui-system="research-console"] .doc-table td,
body[data-ui-system="research-console"] .table th,
body[data-ui-system="research-console"] .table td {
  min-height: 42px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--rc-line);
  vertical-align: middle;
  font-size: 13px;
}

body[data-ui-system="research-console"] .admin-table thead th,
body[data-ui-system="research-console"] .approval-table thead th,
body[data-ui-system="research-console"] .project-table thead th,
body[data-ui-system="research-console"] .achievement-table thead th,
body[data-ui-system="research-console"] .achievement-export-table thead th,
body[data-ui-system="research-console"] .student-table thead th,
body[data-ui-system="research-console"] .doc-table thead th,
body[data-ui-system="research-console"] .table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--rc-surface-soft);
  color: var(--rc-muted);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0;
}

body[data-ui-system="research-console"] .admin-table tbody tr:hover,
body[data-ui-system="research-console"] .approval-table tbody tr:hover,
body[data-ui-system="research-console"] .project-table tbody tr:hover,
body[data-ui-system="research-console"] .achievement-table tbody tr:hover,
body[data-ui-system="research-console"] .student-table tbody tr:hover,
body[data-ui-system="research-console"] .doc-table tbody tr:hover {
  background: #fafbff;
}

body[data-ui-system="research-console"] .badge,
body[data-ui-system="research-console"] .product-status,
body[data-ui-system="research-console"] .admin-chip,
body[data-ui-system="research-console"] .approval-type-chip,
body[data-ui-system="research-console"] .approval-status-chip,
body[data-ui-system="research-console"] .project-status-chip,
body[data-ui-system="research-console"] .twb-status {
  min-height: 24px;
  border-radius: 999px;
  padding: 3px 9px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 680;
  line-height: 1.25;
  white-space: nowrap;
}

body[data-ui-system="research-console"] .badge-info,
body[data-ui-system="research-console"] .status-info,
body[data-ui-system="research-console"] .product-status.info,
body[data-ui-system="research-console"] .soft-blue,
body[data-ui-system="research-console"] .tone-blue .approval-type-chip {
  color: var(--rc-info);
  background: var(--rc-info-soft);
  border-color: rgba(37, 99, 235, 0.18);
}

body[data-ui-system="research-console"] .badge-success,
body[data-ui-system="research-console"] .status-success,
body[data-ui-system="research-console"] .product-status.success,
body[data-ui-system="research-console"] .soft-green {
  color: var(--rc-success);
  background: var(--rc-success-soft);
  border-color: rgba(21, 128, 61, 0.18);
}

body[data-ui-system="research-console"] .badge-warning,
body[data-ui-system="research-console"] .status-warning,
body[data-ui-system="research-console"] .product-status.warning,
body[data-ui-system="research-console"] .soft-orange {
  color: var(--rc-warning);
  background: var(--rc-warning-soft);
  border-color: rgba(180, 83, 9, 0.18);
}

body[data-ui-system="research-console"] .badge-danger,
body[data-ui-system="research-console"] .status-danger,
body[data-ui-system="research-console"] .product-status.danger {
  color: var(--rc-danger);
  background: var(--rc-danger-soft);
  border-color: rgba(185, 28, 28, 0.16);
}

body[data-ui-system="research-console"] .admin-workbench-main,
body[data-ui-system="research-console"] .twb-overview-grid,
body[data-ui-system="research-console"] .twb-bottom-grid,
body[data-ui-system="research-console"] .rw-main-grid,
body[data-ui-system="research-console"] .rw-bottom-grid,
body[data-ui-system="research-console"] .document-layout-v2 {
  gap: 14px;
}

body[data-ui-system="research-console"] .admin-feed-row,
body[data-ui-system="research-console"] .admin-mini-row,
body[data-ui-system="research-console"] .twb-agenda-row,
body[data-ui-system="research-console"] .twb-task-row,
body[data-ui-system="research-console"] .rw-priority-item,
body[data-ui-system="research-console"] .rw-message,
body[data-ui-system="research-console"] .doc-sidebar-compact a {
  border-radius: var(--rc-radius);
}

body[data-ui-system="research-console"] .doc-sidebar-compact {
  border: 1px solid var(--rc-line);
  border-radius: var(--rc-radius);
  background: var(--rc-surface);
  box-shadow: var(--rc-shadow);
}

body[data-ui-system="research-console"] .doc-sidebar-compact a.active {
  background: var(--rc-primary-soft);
  color: var(--rc-primary);
}

body[data-ui-system="research-console"] .modal-box,
body[data-ui-system="research-console"] .qa-modal,
body[data-ui-system="research-console"] .message-drawer-panel,
body[data-ui-system="research-console"] .achievement-export-panel {
  border-radius: var(--rc-radius-lg);
  border: 1px solid var(--rc-line);
  box-shadow: var(--rc-shadow-md);
}

body[data-ui-system="research-console"] .auth-layout.product-auth-layout {
  --auth-primary: #172152;
  --auth-primary-dark: #050814;
  --auth-primary-soft: #eef3ff;
  --auth-ink: #0f172a;
  --auth-muted: #536174;
  --auth-line: #dce3f1;
  --auth-panel: #ffffff;
  min-height: 100dvh;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  padding: clamp(24px, 5vh, 54px) clamp(22px, 5vw, 72px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 248, 252, 0.98) 58%, #eef3ff 100%);
}

body[data-ui-system="research-console"] .auth-layout.product-auth-layout::before {
  background:
    linear-gradient(90deg, rgba(17, 26, 69, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 26, 69, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.44;
}

body[data-ui-system="research-console"] .auth-layout.product-auth-layout::after {
  left: -8vw;
  right: -8vw;
  bottom: -20vh;
  height: 30vh;
  min-height: 190px;
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  background: linear-gradient(135deg, #172152 0%, #111a45 58%, #050814 100%);
  box-shadow: 0 -8px 0 rgba(255, 255, 255, 0.88);
  transform: rotate(1.4deg);
}

body[data-ui-system="research-console"] .product-auth-panel {
  width: min(1180px, 100%);
  height: auto;
  min-height: min(720px, calc(100dvh - 88px));
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 440px);
  gap: 0;
  align-items: stretch;
  border-radius: var(--rc-radius);
  border: 1px solid rgba(17, 26, 69, 0.13);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.11);
  overflow: visible;
}

body[data-ui-system="research-console"] .auth-side {
  height: auto;
  padding: clamp(34px, 5vw, 58px);
  gap: clamp(26px, 4vh, 42px);
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(248, 250, 253, 0.98) 0%, rgba(240, 244, 252, 0.98) 100%);
  border-right: 1px solid var(--auth-line);
  color: var(--auth-ink);
}

body[data-ui-system="research-console"] .auth-side::after {
  display: none;
}

body[data-ui-system="research-console"] .auth-brand-block {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

body[data-ui-system="research-console"] .auth-emblem-wrap {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-ui-system="research-console"] .auth-emblem-wrap img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  display: block;
}

body[data-ui-system="research-console"] .auth-brand-copy h1,
body[data-ui-system="research-console"] .auth-side .auth-side-note h1 {
  margin: 0;
  color: var(--auth-primary-dark);
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

body[data-ui-system="research-console"] .auth-system-subtitle {
  margin: 12px 0 0;
  max-width: 560px;
  color: #334155;
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.55;
  font-weight: 520;
}

body[data-ui-system="research-console"] .auth-side-note {
  max-width: 620px;
}

body[data-ui-system="research-console"] .auth-side .auth-side-note h2 {
  margin: 0;
  max-width: 560px;
  color: var(--auth-ink);
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0;
}

body[data-ui-system="research-console"] .auth-side .auth-side-note > p:not(.auth-system-subtitle) {
  max-width: 520px;
  margin: 14px 0 0;
  color: var(--auth-muted);
  font-size: 15px;
  line-height: 1.75;
}

body[data-ui-system="research-console"] .auth-side .auth-title-rule {
  width: 52px;
  height: 4px;
  margin: 0 0 22px;
  background: var(--auth-primary);
}

body[data-ui-system="research-console"] .auth-feature-grid {
  width: min(100%, 600px);
  gap: 12px;
}

body[data-ui-system="research-console"] .auth-capability-card {
  border-radius: var(--rc-radius);
  border-color: rgba(220, 227, 241, 0.96);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.055);
  backdrop-filter: none;
}

body[data-ui-system="research-console"] .auth-feature-icon {
  width: 48px;
  height: 48px;
  color: #ffffff;
  background: var(--auth-primary);
  box-shadow: 0 10px 22px rgba(17, 26, 69, 0.18);
}

body[data-ui-system="research-console"] .auth-feature-icon svg {
  width: 24px;
  height: 24px;
}

body[data-ui-system="research-console"] .auth-side .auth-feature-card strong {
  margin-top: 12px;
  color: var(--auth-primary);
  font-size: 15px;
  line-height: 1.35;
}

body[data-ui-system="research-console"] .auth-side .auth-feature-card p {
  color: var(--auth-muted);
  font-size: 12px;
  line-height: 1.55;
}

body[data-ui-system="research-console"] .auth-side-foot {
  width: min(100%, 600px);
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(17, 26, 69, 0.14);
  border-radius: var(--rc-radius);
  background: rgba(238, 243, 255, 0.82);
  color: #26335f;
}

body[data-ui-system="research-console"] .auth-side-foot span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--auth-primary);
}

body[data-ui-system="research-console"] .auth-side-foot p {
  margin: 0;
  color: #2e3d70;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 620;
}

body[data-ui-system="research-console"] .auth-main {
  height: auto;
  min-height: 0;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.84);
  overflow: visible;
}

body[data-ui-system="research-console"] .auth-main .flash-area {
  width: min(100%, 420px);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 auto;
}

body[data-ui-system="research-console"] .auth-main .flash-area .alert {
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--rc-radius);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  box-shadow: 0 10px 24px rgba(185, 28, 28, 0.08);
}

body[data-ui-system="research-console"] .auth-main .login-card {
  width: min(100%, 420px);
  max-height: none;
  gap: 14px;
  padding: 24px;
  flex: 0 0 auto;
  border-radius: var(--rc-radius);
  border: 1px solid var(--auth-line);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.095);
  backdrop-filter: none;
}

body[data-ui-system="research-console"] .login-security {
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8edf6;
  color: var(--auth-ink);
}

body[data-ui-system="research-console"] .login-security-icon {
  width: 42px;
  height: 42px;
  color: var(--auth-primary);
}

body[data-ui-system="research-console"] .login-security-icon svg {
  width: 42px;
  height: 42px;
}

body[data-ui-system="research-console"] .login-security strong {
  font-size: 15px;
  line-height: 1.25;
  color: var(--auth-ink);
}

body[data-ui-system="research-console"] .login-security em {
  margin-top: 3px;
  color: var(--auth-muted);
  font-size: 12px;
  line-height: 1.35;
}

body[data-ui-system="research-console"] .login-head {
  padding-top: 2px;
}

body[data-ui-system="research-console"] .login-head h2 {
  color: var(--auth-ink);
  font-size: 28px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0;
}

body[data-ui-system="research-console"] .login-head p {
  margin-top: 8px;
  color: var(--auth-muted);
  font-size: 14px;
  line-height: 1.58;
}

body[data-ui-system="research-console"] .login-form {
  gap: 12px;
}

body[data-ui-system="research-console"] .login-field label {
  color: var(--auth-ink);
  font-size: 13px;
  font-weight: 800;
}

body[data-ui-system="research-console"] .login-card .login-field input {
  min-height: 46px;
  padding-left: 48px;
  border-color: #cbd7e3;
  border-radius: var(--rc-radius);
  background: #fbfdff;
  color: var(--auth-ink);
  font-size: 14px;
  box-shadow: none;
}

body[data-ui-system="research-console"] .login-card .login-field input:focus {
  border-color: var(--auth-primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(17, 26, 69, 0.10);
}

body[data-ui-system="research-console"] .login-input-icon {
  left: 16px;
  color: #72819a;
}

body[data-ui-system="research-console"] .auth-main .login-submit {
  min-height: 46px;
  border-radius: var(--rc-radius);
  background: linear-gradient(180deg, #172152 0%, #111a45 100%);
  border-color: #172152;
  box-shadow: 0 12px 22px rgba(17, 26, 69, 0.20);
  font-size: 14px;
  font-weight: 850;
}

body[data-ui-system="research-console"] .auth-main .login-submit:hover {
  background: linear-gradient(180deg, #111a45 0%, #050814 100%);
  border-color: #111a45;
}

body[data-ui-system="research-console"] .login-divider {
  background: #e8edf6;
}

body[data-ui-system="research-console"] .login-support-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body[data-ui-system="research-console"] .login-support-row span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dce3f1;
  border-radius: var(--rc-radius);
  background: #fbfcff;
  color: #293869;
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

body[data-ui-system="research-console"] .login-note {
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 14px;
  padding: 14px;
  border-color: #cbd6ee;
  border-radius: var(--rc-radius);
  background: #f4f7ff;
  color: #334155;
  font-size: 12px;
  line-height: 1.58;
}

body[data-ui-system="research-console"] .login-note strong {
  color: var(--auth-primary);
  font-size: 13px;
}

body[data-ui-system="research-console"] .login-note-icon,
body[data-ui-system="research-console"] .login-note-icon svg {
  width: 44px;
  height: 44px;
}

body[data-ui-system="research-console"] .login-note-icon {
  color: rgba(17, 26, 69, 0.48);
}

@media (max-width: 900px) {
  body[data-ui-system="research-console"] .auth-layout.product-auth-layout {
    padding: 16px;
  }

  body[data-ui-system="research-console"] .auth-layout.product-auth-layout::after {
    min-height: 150px;
  }

  body[data-ui-system="research-console"] .product-auth-panel {
    width: min(430px, 100%);
    height: auto;
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, auto);
    overflow: hidden;
  }

  body[data-ui-system="research-console"] .auth-side {
    padding: 24px 22px 18px;
    gap: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--auth-line);
  }

  body[data-ui-system="research-console"] .auth-brand-block {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
  }

  body[data-ui-system="research-console"] .auth-emblem-wrap {
    width: 52px;
    height: 52px;
  }

  body[data-ui-system="research-console"] .auth-emblem-wrap img {
    width: 52px;
    height: 52px;
  }

  body[data-ui-system="research-console"] .auth-brand-copy h1 {
    font-size: 25px;
    line-height: 1.12;
  }

  body[data-ui-system="research-console"] .auth-system-subtitle {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.45;
  }

  body[data-ui-system="research-console"] .auth-side-note {
    display: none;
  }

  body[data-ui-system="research-console"] .auth-feature-grid,
  body[data-ui-system="research-console"] .auth-side-foot {
    display: none;
  }

  body[data-ui-system="research-console"] .auth-main {
    padding: 14px 18px 20px;
    justify-content: flex-start;
    gap: 12px;
  }

  body[data-ui-system="research-console"] .auth-main .flash-area {
    width: 100%;
  }

  body[data-ui-system="research-console"] .auth-main .login-card {
    width: 100%;
    padding: 10px 0 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body[data-ui-system="research-console"] .login-security {
    gap: 10px;
  }

  body[data-ui-system="research-console"] .login-head h2 {
    font-size: 28px;
  }

  body[data-ui-system="research-console"] .login-note {
    grid-template-columns: 1fr;
  }

  body[data-ui-system="research-console"] .login-note-icon {
    display: none;
  }
}

body[data-ui-system="research-console"].role-admin .admin-workbench-page::before,
body[data-ui-system="research-console"].role-admin .admin-report-page::before,
body[data-ui-system="research-console"].role-admin .admin-file-v2-page::before,
body[data-ui-system="research-console"].role-admin .admin-fund-page::before,
body[data-ui-system="research-console"].role-admin .admin-user-page::before,
body[data-ui-system="research-console"].role-admin .project-management-page::before,
body[data-ui-system="research-console"].role-admin .student-management-page::before,
body[data-ui-system="research-console"].role-admin .task-center-page::before,
body[data-ui-system="research-console"].role-admin .achievement-hub::before,
body[data-ui-system="research-console"].role-admin .notice-workbench::before,
body[data-ui-system="research-console"].role-admin .approval-center-page::before,
body[data-ui-system="research-console"].role-admin .topic-approval-page::before,
body[data-ui-system="research-console"].role-admin .project-detail-workbench::before,
body[data-ui-system="research-console"].role-admin .task-detail-page::before {
  border-left-color: var(--rc-primary) !important;
  color: var(--rc-primary) !important;
}

body[data-ui-system="research-console"].role-admin .admin-workbench-kpi::before,
body[data-ui-system="research-console"].role-admin .admin-report-kpi::before,
body[data-ui-system="research-console"].role-admin .admin-fund-kpi::before,
body[data-ui-system="research-console"].role-admin .admin-user-kpi::before {
  background: var(--rc-primary) !important;
}

body[data-ui-system="research-console"].role-admin .admin-card-head a,
body[data-ui-system="research-console"].role-admin .admin-actions a,
body[data-ui-system="research-console"].role-admin .admin-actions button,
body[data-ui-system="research-console"].role-admin .admin-quick-item em,
body[data-ui-system="research-console"].role-admin .pd-eyebrow,
body[data-ui-system="research-console"].role-admin .pd-section-head span,
body[data-ui-system="research-console"].role-admin .gd2-eyebrow,
body[data-ui-system="research-console"].role-admin .catalog-pill.active,
body[data-ui-system="research-console"].role-admin .catalog-action-btn,
body[data-ui-system="research-console"].role-admin .retro-link,
body[data-ui-system="research-console"].role-admin .topic-approval-title a,
body[data-ui-system="research-console"].role-admin .td-link,
body[data-ui-system="research-console"].role-admin .pdr-progress-head strong,
body[data-ui-system="research-console"].role-admin .pdr-tabs button.is-active {
  color: var(--rc-primary) !important;
}

body[data-ui-system="research-console"].role-admin .admin-reset-actions {
  min-width: 310px;
}

body[data-ui-system="research-console"].role-admin .admin-reset-actions form {
  display: grid;
  grid-template-columns: minmax(96px, 1fr) minmax(120px, 1.2fr) auto;
  gap: 8px;
  align-items: center;
  margin: 0 0 8px;
}

body[data-ui-system="research-console"].role-admin .admin-reset-actions form:last-child {
  grid-template-columns: minmax(180px, 1fr) auto;
  margin-bottom: 0;
}

body[data-ui-system="research-console"].role-admin .admin-reset-actions input {
  min-height: 34px;
  width: 100%;
  padding: 0 10px;
  border: 1px solid #d6deeb;
  border-radius: 6px;
  background: #fff;
  color: #10233f;
  font-size: 13px;
}

body[data-ui-system="research-console"].role-admin .admin-reset-actions button {
  white-space: nowrap;
}

body[data-ui-system="research-console"].role-admin .btn-primary,
body[data-ui-system="research-console"].role-admin .sm-btn.primary,
body[data-ui-system="research-console"].role-admin .task-btn.primary,
body[data-ui-system="research-console"].role-admin .notice-btn.primary,
body[data-ui-system="research-console"].role-admin .approval-action.primary,
body[data-ui-system="research-console"].role-admin .project-action-btn.primary,
body[data-ui-system="research-console"].role-admin .project-filter-submit,
body[data-ui-system="research-console"].role-admin .retro-btn.primary,
body[data-ui-system="research-console"].role-admin .hub-pill.active,
body[data-ui-system="research-console"] .approval-page-size a.active,
body[data-ui-system="research-console"] .approval-page-btn.active,
body[data-ui-system="research-console"] .project-page-size a.active,
body[data-ui-system="research-console"] .project-page-btn.active,
body[data-ui-system="research-console"] .project-page-jump button,
body[data-ui-system="research-console"] .topic-approval-page-size a.active,
body[data-ui-system="research-console"] .topic-approval-pages a.active,
body[data-ui-system="research-console"] .student-page-size a.active,
body[data-ui-system="research-console"] .student-pages a.active,
body[data-ui-system="research-console"] .catalog-v2 .catalog-pagination nav a.active {
  border-color: var(--rc-primary) !important;
  background: var(--rc-primary) !important;
  color: #ffffff !important;
}

body[data-ui-system="research-console"] .approval-page-size a.active:hover,
body[data-ui-system="research-console"] .approval-page-btn.active:hover,
body[data-ui-system="research-console"] .project-page-size a.active:hover,
body[data-ui-system="research-console"] .project-page-btn.active:hover,
body[data-ui-system="research-console"] .project-page-jump button:hover {
  border-color: var(--rc-primary-hover) !important;
  background: var(--rc-primary-hover) !important;
}

body[data-ui-system="research-console"].role-admin .doc-sidebar-compact a.active,
body[data-ui-system="research-console"].role-admin .student-status-tabs a.active,
body[data-ui-system="research-console"].role-admin .approval-tab.active,
body[data-ui-system="research-console"].role-admin .pd-tab-nav button.is-active,
body[data-ui-system="research-console"].role-admin .catalog-pill.active,
body[data-ui-system="research-console"].role-admin .achievement-status-tab.active,
body[data-ui-system="research-console"].role-admin .retro-tabs a.active,
body[data-ui-system="research-console"] .doc-sidebar-compact a.active,
body[data-ui-system="research-console"] .doc-sidebar-compact a:hover {
  border-color: rgba(79, 70, 229, 0.24) !important;
  background: var(--rc-primary-soft) !important;
  color: var(--rc-primary) !important;
}

body[data-ui-system="research-console"] .sidebar-v2 .nav-item.active,
body[data-ui-system="research-console"].role-internal_student .sidebar-v2 .nav-item.active,
body[data-ui-system="research-console"].role-external_student .sidebar-v2 .nav-item.active,
body[data-ui-system="research-console"].role-internal_student .student-flat-nav .nav-item.active,
body[data-ui-system="research-console"].role-external_student .student-flat-nav .nav-item.active {
  background: var(--rc-primary-soft) !important;
  border-color: rgba(79, 70, 229, 0.2) !important;
  color: var(--rc-primary) !important;
}

body[data-ui-system="research-console"] .sidebar-v2 .nav-item.active .nav-icon,
body[data-ui-system="research-console"] .sidebar-v2 .nav-item.active .nav-caret,
body[data-ui-system="research-console"].role-internal_student .student-flat-nav .nav-item.active .nav-icon,
body[data-ui-system="research-console"].role-external_student .student-flat-nav .nav-item.active .nav-icon,
body[data-ui-system="research-console"].role-internal_student .student-flat-nav .nav-item.active .nav-caret,
body[data-ui-system="research-console"].role-external_student .student-flat-nav .nav-item.active .nav-caret {
  color: var(--rc-primary) !important;
}

@media (max-width: 960px) {
  body[data-ui-system="research-console"] .app-layout {
    display: block;
  }

  body[data-ui-system="research-console"] .product-sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--rc-line);
  }

  body[data-ui-system="research-console"] .sidebar-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body[data-ui-system="research-console"] .product-topbar {
    align-items: flex-start;
  }

  body[data-ui-system="research-console"] .topbar-tools {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  body[data-ui-system="research-console"] .workspace.product-workspace {
    padding: 14px 12px 24px;
  }

  body[data-ui-system="research-console"] .sidebar-nav {
    grid-template-columns: 1fr;
  }

  body[data-ui-system="research-console"] .product-topbar {
    padding: 12px;
  }

  body[data-ui-system="research-console"] .topbar-search {
    min-width: 100%;
  }

  body[data-ui-system="research-console"] .topbar-profile,
  body[data-ui-system="research-console"] .logout-form,
  body[data-ui-system="research-console"] .logout-form .btn {
    width: 100%;
  }

  body[data-ui-system="research-console"] .admin-workbench-kpi,
  body[data-ui-system="research-console"] .teacher-kpi-card,
  body[data-ui-system="research-console"] .rw-metric,
  body[data-ui-system="research-console"] .approval-kpi-card,
  body[data-ui-system="research-console"] .project-kpi-card,
  body[data-ui-system="research-console"] .doc-kpi {
    min-height: 76px;
  }
}

/* Login sample restoration */
body[data-ui-system="research-console"] .login-auth-layout {
  --login-blue: #0b43a0;
  --login-blue-deep: #053585;
  --login-ink: #071735;
  --login-muted: #3c557e;
  --login-line: #d7deea;
  position: relative;
  display: block;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  padding: 0;
  overflow: hidden;
  background: #f7fbff url("../img/login-campus-bg.png") center / cover no-repeat;
}

body[data-ui-system="research-console"] .login-auth-layout::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0) 46%);
}

body[data-ui-system="research-console"] .login-auth-layout::after {
  display: none;
}

body[data-ui-system="research-console"] .auth-top-tools {
  position: absolute;
  top: clamp(24px, 4.2vh, 40px);
  right: clamp(28px, 4.5vw, 62px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 28px;
}

body[data-ui-system="research-console"] .auth-help-btn,
body[data-ui-system="research-console"] .auth-language-control {
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--login-blue-deep);
  font-size: 16px;
  font-weight: 760;
  line-height: 1;
  cursor: default;
}

body[data-ui-system="research-console"] .auth-help-btn {
  gap: 11px;
}

body[data-ui-system="research-console"] .auth-help-icon {
  width: 23px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
}

body[data-ui-system="research-console"] .auth-language-control {
  position: relative;
  min-width: 130px;
  padding: 0;
  border: 1px solid rgba(11, 67, 160, 0.15);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(39, 72, 128, 0.08);
  cursor: pointer;
}

body[data-ui-system="research-console"] .auth-language-control.is-open,
body[data-ui-system="research-console"] .auth-language-control:focus-within {
  border-color: rgba(11, 67, 160, 0.34);
  box-shadow: 0 0 0 3px rgba(20, 92, 199, 0.13), 0 10px 24px rgba(39, 72, 128, 0.08);
}

body[data-ui-system="research-console"] .auth-language-trigger {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 38px 0 18px;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

body[data-ui-system="research-console"] .auth-language-trigger:focus-visible {
  outline: 0;
}

body[data-ui-system="research-console"] .auth-language-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 12;
  min-width: 142px;
  padding: 6px;
  border: 1px solid rgba(11, 67, 160, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 34px rgba(25, 54, 104, 0.16);
  transform: translateX(-50%);
  display: none;
}

body[data-ui-system="research-console"] .auth-language-control.is-open .auth-language-menu {
  display: grid;
  gap: 4px;
}

body[data-ui-system="research-console"] .auth-language-option {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--login-blue-deep);
  font: inherit;
  font-size: 15px;
  font-weight: 760;
  text-align: center;
  cursor: pointer;
}

body[data-ui-system="research-console"] .auth-language-option:hover,
body[data-ui-system="research-console"] .auth-language-option:focus-visible,
body[data-ui-system="research-console"] .auth-language-option.is-active {
  outline: 0;
  background: #eaf1ff;
  color: #07317d;
}

body[data-ui-system="research-console"] .auth-language-control svg,
body[data-ui-system="research-console"] .auth-announcement-close svg,
body[data-ui-system="research-console"] .login-password-toggle svg,
body[data-ui-system="research-console"] .login-captcha-refresh svg,
body[data-ui-system="research-console"] .login-head-icon svg,
body[data-ui-system="research-console"] .login-alt-btn svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-ui-system="research-console"] .auth-language-control svg {
  position: absolute;
  right: 18px;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

body[data-ui-system="research-console"] .login-auth-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(650px, 1fr) minmax(380px, 462px);
  gap: clamp(54px, 6vw, 96px);
  align-items: center;
  padding: clamp(92px, 11vh, 110px) clamp(56px, 6.5vw, 108px) clamp(52px, 7vh, 76px) clamp(88px, 10.5vw, 176px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body[data-ui-system="research-console"] .login-hero {
  position: relative;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--login-ink);
}

body[data-ui-system="research-console"] .login-hero::after {
  display: none;
}

body[data-ui-system="research-console"] .login-brand-block {
  display: grid;
  grid-template-columns: clamp(132px, 10.9vw, 184px) minmax(0, max-content);
  gap: clamp(26px, 2.8vw, 46px);
  align-items: center;
}

body[data-ui-system="research-console"] .login-emblem-wrap,
body[data-ui-system="research-console"] .login-emblem-wrap img {
  width: clamp(132px, 10.9vw, 184px);
  height: clamp(132px, 10.9vw, 184px);
}

body[data-ui-system="research-console"] .login-emblem-wrap {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-ui-system="research-console"] .login-emblem-wrap img {
  display: block;
  object-fit: contain;
}

body[data-ui-system="research-console"] .login-brand-copy h1 {
  margin: 0;
  color: var(--login-ink);
  font-size: clamp(52px, 5vw, 78px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

body[data-ui-system="research-console"] .login-brand-copy .auth-system-subtitle {
  margin: clamp(16px, 2vh, 22px) 0 0;
  max-width: none;
  color: #233f73;
  font-size: clamp(22px, 1.65vw, 28px);
  line-height: 1.32;
  font-weight: 430;
  letter-spacing: 0;
  white-space: nowrap;
}

html[lang="en"] body[data-ui-system="research-console"] .login-brand-block {
  width: min(940px, 100%);
  grid-template-columns: clamp(120px, 9.2vw, 166px) minmax(0, 1fr);
  gap: clamp(22px, 2.4vw, 38px);
}

html[lang="en"] body[data-ui-system="research-console"] .login-emblem-wrap,
html[lang="en"] body[data-ui-system="research-console"] .login-emblem-wrap img {
  width: clamp(120px, 9.2vw, 166px);
  height: clamp(120px, 9.2vw, 166px);
}

html[lang="en"] body[data-ui-system="research-console"] .login-brand-copy {
  min-width: 0;
  max-width: 720px;
}

html[lang="en"] body[data-ui-system="research-console"] .login-brand-copy h1 {
  max-width: 720px;
  font-size: clamp(42px, 3.45vw, 60px);
  line-height: 1.04;
  white-space: normal;
  text-wrap: balance;
}

html[lang="en"] body[data-ui-system="research-console"] .login-brand-copy .auth-system-subtitle {
  max-width: 760px;
  font-size: clamp(18px, 1.25vw, 23px);
  line-height: 1.38;
  white-space: normal;
  text-wrap: balance;
}

body[data-ui-system="research-console"] .auth-announcement {
  width: min(565px, 58vw);
  margin-top: clamp(32px, 5.6vh, 56px);
  margin-left: clamp(146px, 17vw, 264px);
  border: 1px solid rgba(212, 220, 235, 0.78);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 54px rgba(28, 51, 92, 0.15);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

body[data-ui-system="research-console"] .auth-announcement.is-hidden {
  display: none;
}

body[data-ui-system="research-console"] .auth-announcement-head {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.86);
}

body[data-ui-system="research-console"] .auth-announcement-title {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--login-ink);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
}

body[data-ui-system="research-console"] .auth-announcement-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--login-blue);
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 900;
}

body[data-ui-system="research-console"] .auth-announcement-close {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #06142f;
  cursor: pointer;
}

body[data-ui-system="research-console"] .auth-announcement-close svg {
  width: 25px;
  height: 25px;
  stroke-width: 2.1;
}

body[data-ui-system="research-console"] .auth-announcement-body {
  padding: 22px 30px 18px;
  color: #071735;
  font-size: 17px;
  line-height: 1.66;
  font-weight: 430;
}

body[data-ui-system="research-console"] .auth-announcement-body p {
  margin: 0;
}

body[data-ui-system="research-console"] .auth-announcement-actions {
  margin: 0 30px;
  padding: 22px 0 24px;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  border-top: 1px solid rgba(226, 232, 240, 0.92);
}

body[data-ui-system="research-console"] .auth-secondary-btn,
body[data-ui-system="research-console"] .auth-primary-btn {
  min-width: 126px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 7px;
  font-size: 16px;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
}

body[data-ui-system="research-console"] .auth-secondary-btn {
  border: 1px solid #d3d9e5;
  background: #ffffff;
  color: #1e3159;
}

body[data-ui-system="research-console"] .auth-primary-btn {
  border: 1px solid var(--login-blue-deep);
  background: var(--login-blue-deep);
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(5, 53, 133, 0.18);
}

body[data-ui-system="research-console"] .login-auth-main {
  position: relative;
  z-index: 2;
  height: auto;
  min-height: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  background: transparent;
  overflow: visible;
}

body[data-ui-system="research-console"] .login-auth-main .flash-area {
  width: min(100%, 462px);
  margin: 0;
}

body[data-ui-system="research-console"] .login-auth-main .flash-area .alert {
  width: 100%;
  margin: 0;
  border-radius: 9px;
  box-shadow: 0 12px 30px rgba(185, 28, 28, 0.09);
}

body[data-ui-system="research-console"] .sample-login-card {
  width: min(100%, 462px);
  max-height: none;
  padding: 38px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 58px rgba(20, 45, 90, 0.15);
  backdrop-filter: blur(10px);
}

body[data-ui-system="research-console"] .sample-login-card .login-head {
  padding: 0;
}

body[data-ui-system="research-console"] .sample-login-card .login-head h2 {
  margin: 0;
  color: var(--login-ink);
  font-size: 32px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0;
}

body[data-ui-system="research-console"] .sample-login-card .login-head p {
  margin: 16px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5b6e92;
  font-size: 15px;
  line-height: 1.35;
}

body[data-ui-system="research-console"] .login-head-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--login-blue-deep);
  flex: 0 0 auto;
}

body[data-ui-system="research-console"] .login-head-icon svg {
  width: 18px;
  height: 18px;
}

body[data-ui-system="research-console"] .sample-login-card .login-form {
  gap: 20px;
}

body[data-ui-system="research-console"] .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body[data-ui-system="research-console"] .login-field-quiet {
  gap: 0;
}

body[data-ui-system="research-console"] .sample-login-card .login-input-wrap {
  position: relative;
}

body[data-ui-system="research-console"] .sample-login-card .login-input-icon {
  left: 18px;
  width: 22px;
  height: 22px;
  color: #1a4a9e;
}

body[data-ui-system="research-console"] .sample-login-card .login-input-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
}

body[data-ui-system="research-console"] .sample-login-card .login-field input {
  width: 100%;
  min-height: 55px;
  padding: 0 16px 0 52px;
  border: 1px solid #d6dbe5;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--login-ink);
  font-size: 15px;
  line-height: 1.2;
  box-shadow: none;
}

body[data-ui-system="research-console"] .sample-login-card .login-field input::placeholder {
  color: #8aa0bd;
}

body[data-ui-system="research-console"] .sample-login-card .login-field input:focus {
  border-color: var(--login-blue);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(11, 67, 160, 0.10);
}

body[data-ui-system="research-console"] .login-password-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #1a4a9e;
  cursor: pointer;
}

body[data-ui-system="research-console"] .login-password-toggle svg {
  width: 20px;
  height: 20px;
}

body[data-ui-system="research-console"] .login-captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px 32px;
  gap: 12px;
  align-items: center;
}

body[data-ui-system="research-console"] .login-captcha-code {
  min-height: 55px;
  border: 1px solid #d6dbe5;
  border-radius: 6px;
  background:
    radial-gradient(circle at 16% 30%, rgba(31, 79, 160, 0.16) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 68%, rgba(31, 79, 160, 0.16) 0 1px, transparent 2px),
    linear-gradient(12deg, transparent 0 46%, rgba(31, 79, 160, 0.13) 47% 49%, transparent 50% 100%),
    #f9fbff;
  color: #0c55cf;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 1px;
  cursor: pointer;
}

body[data-ui-system="research-console"] .login-captcha-refresh {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #082658;
  cursor: pointer;
}

body[data-ui-system="research-console"] .login-captcha-refresh svg {
  width: 25px;
  height: 25px;
  stroke-width: 2;
}

body[data-ui-system="research-console"] .login-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #1f365d;
  font-size: 15px;
  line-height: 1.2;
}

body[data-ui-system="research-console"] .login-remember {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

body[data-ui-system="research-console"] .login-remember input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--login-blue-deep);
}

body[data-ui-system="research-console"] .login-link-btn {
  border: 0;
  background: transparent;
  color: #0c55cf;
  font-size: 15px;
  font-weight: 760;
  cursor: pointer;
}

body[data-ui-system="research-console"] .sample-login-card .login-submit {
  width: 100%;
  min-height: 55px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(180deg, #1549a9 0%, #0b3c97 100%);
  box-shadow: 0 13px 26px rgba(11, 60, 151, 0.22);
  color: #ffffff;
  font-size: 20px;
  font-weight: 850;
  line-height: 1;
}

body[data-ui-system="research-console"] .sample-login-card .login-submit:hover {
  background: linear-gradient(180deg, #0f419d 0%, #07317d 100%);
}

body[data-ui-system="research-console"] .login-alt {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

body[data-ui-system="research-console"] .login-alt-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  color: #7a8ca9;
  font-size: 13px;
  line-height: 1;
}

body[data-ui-system="research-console"] .login-alt-divider::before,
body[data-ui-system="research-console"] .login-alt-divider::after {
  content: "";
  height: 1px;
  background: #dfe4ec;
}

body[data-ui-system="research-console"] .login-alt-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-ui-system="research-console"] .login-alt-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid #d6dbe5;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: #173763;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}

body[data-ui-system="research-console"] .login-alt-btn svg {
  width: 20px;
  height: 20px;
  color: #0c55cf;
}

body[data-ui-system="research-console"].login-reset-open {
  overflow: hidden;
}

body[data-ui-system="research-console"] .login-reset-modal[hidden] {
  display: none;
}

body[data-ui-system="research-console"] .login-reset-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
}

body[data-ui-system="research-console"] .login-reset-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 25, 44, 0.22);
  backdrop-filter: blur(8px);
}

body[data-ui-system="research-console"] .login-reset-dialog {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  padding: 30px;
  border: 1px solid rgba(197, 210, 232, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 70px rgba(20, 42, 82, 0.24);
}

body[data-ui-system="research-console"] .login-reset-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #0b2a5b;
  cursor: pointer;
}

body[data-ui-system="research-console"] .login-reset-close:hover,
body[data-ui-system="research-console"] .login-reset-close:focus-visible {
  outline: 0;
  background: #edf4ff;
}

body[data-ui-system="research-console"] .login-reset-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

body[data-ui-system="research-console"] .login-reset-head {
  padding-right: 36px;
}

body[data-ui-system="research-console"] .login-reset-head h3 {
  margin: 0;
  color: var(--login-ink);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
}

body[data-ui-system="research-console"] .login-reset-head p {
  margin: 10px 0 0;
  color: #5b6e92;
  font-size: 14px;
  line-height: 1.55;
}

body[data-ui-system="research-console"] .login-reset-form {
  margin-top: 22px;
  display: grid;
  gap: 16px;
}

body[data-ui-system="research-console"] .login-reset-form label {
  display: grid;
  gap: 8px;
  color: #173763;
  font-size: 14px;
  font-weight: 760;
}

body[data-ui-system="research-console"] .login-reset-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #ccd8ec;
  border-radius: 6px;
  background: #f8fbff;
  color: #07192c;
  font-size: 15px;
  outline: none;
}

body[data-ui-system="research-console"] .login-reset-form input:focus {
  border-color: rgba(16, 88, 208, 0.5);
  box-shadow: 0 0 0 3px rgba(20, 92, 199, 0.12);
}

body[data-ui-system="research-console"] .login-reset-actions {
  margin-top: 6px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

body[data-ui-system="research-console"] .auth-layout.product-auth-layout.login-auth-layout {
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #f7fbff url("../img/login-campus-bg.png") center / cover no-repeat;
}

body[data-ui-system="research-console"] .auth-layout.product-auth-layout.login-auth-layout::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 22%, rgba(255, 255, 255, 0.55) 44%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 48%);
  background-size: auto;
  opacity: 1;
}

body[data-ui-system="research-console"] .auth-layout.product-auth-layout.login-auth-layout::after {
  display: none;
}

body[data-ui-system="research-console"] .login-auth-main .sample-login-card {
  width: min(100%, 462px);
  padding: 38px 36px 36px;
  gap: 24px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 58px rgba(20, 45, 90, 0.15);
}

@media (max-width: 1280px) {
  body[data-ui-system="research-console"] .login-auth-panel {
    grid-template-columns: minmax(560px, 1fr) minmax(360px, 430px);
    gap: 42px;
    padding-left: 72px;
    padding-right: 58px;
  }

  body[data-ui-system="research-console"] .login-brand-block {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 26px;
  }

  body[data-ui-system="research-console"] .login-emblem-wrap,
  body[data-ui-system="research-console"] .login-emblem-wrap img {
    width: 132px;
    height: 132px;
  }

  body[data-ui-system="research-console"] .login-brand-copy h1 {
    font-size: 54px;
  }

  body[data-ui-system="research-console"] .login-brand-copy .auth-system-subtitle {
    font-size: 20px;
    white-space: normal;
  }

  html[lang="en"] body[data-ui-system="research-console"] .login-brand-block {
    width: min(690px, 100%);
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 22px;
  }

  html[lang="en"] body[data-ui-system="research-console"] .login-emblem-wrap,
  html[lang="en"] body[data-ui-system="research-console"] .login-emblem-wrap img {
    width: 118px;
    height: 118px;
  }

  html[lang="en"] body[data-ui-system="research-console"] .login-brand-copy h1 {
    font-size: 42px;
  }

  html[lang="en"] body[data-ui-system="research-console"] .login-brand-copy .auth-system-subtitle {
    font-size: 18px;
  }

  body[data-ui-system="research-console"] .auth-announcement {
    width: min(520px, 52vw);
    margin-left: 178px;
  }
}

@media (max-width: 980px) {
  body[data-ui-system="research-console"] .login-auth-layout {
    height: auto;
    min-height: 100dvh;
    overflow-y: auto;
    background-position: left bottom;
  }

  body[data-ui-system="research-console"] .auth-top-tools {
    top: 16px;
    right: 16px;
    gap: 10px;
  }

  body[data-ui-system="research-console"] .auth-help-btn {
    display: none;
  }

  body[data-ui-system="research-console"] .auth-language-control {
    min-width: 112px;
    height: 38px;
    padding: 0;
    font-size: 14px;
  }

  body[data-ui-system="research-console"] .auth-language-trigger {
    padding: 0 32px 0 13px;
  }

  body[data-ui-system="research-console"] .auth-language-control svg {
    right: 13px;
  }

  body[data-ui-system="research-console"] .login-auth-panel {
    min-height: 100dvh;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 64px 18px 28px;
    align-items: start;
  }

  body[data-ui-system="research-console"] .login-hero {
    height: auto;
    align-items: center;
    text-align: left;
  }

  body[data-ui-system="research-console"] .login-brand-block {
    width: min(430px, 100%);
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 14px;
  }

  body[data-ui-system="research-console"] .login-emblem-wrap,
  body[data-ui-system="research-console"] .login-emblem-wrap img {
    width: 62px;
    height: 62px;
  }

  body[data-ui-system="research-console"] .login-brand-copy h1 {
    font-size: 30px;
    white-space: normal;
  }

  body[data-ui-system="research-console"] .login-brand-copy .auth-system-subtitle {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.45;
    white-space: normal;
  }

  html[lang="en"] body[data-ui-system="research-console"] .login-brand-block {
    width: min(460px, 100%);
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
  }

  html[lang="en"] body[data-ui-system="research-console"] .login-emblem-wrap,
  html[lang="en"] body[data-ui-system="research-console"] .login-emblem-wrap img {
    width: 58px;
    height: 58px;
  }

  html[lang="en"] body[data-ui-system="research-console"] .login-brand-copy h1 {
    font-size: 26px;
    line-height: 1.08;
  }

  html[lang="en"] body[data-ui-system="research-console"] .login-brand-copy .auth-system-subtitle {
    font-size: 12px;
    line-height: 1.35;
  }

  body[data-ui-system="research-console"] .auth-announcement {
    width: min(430px, 100%);
    margin: 16px 0 0;
  }

  body[data-ui-system="research-console"] .auth-announcement-head {
    min-height: 52px;
    padding: 0 18px;
  }

  body[data-ui-system="research-console"] .auth-announcement-title {
    font-size: 16px;
  }

  body[data-ui-system="research-console"] .auth-announcement-icon {
    width: 22px;
    height: 22px;
    font-size: 15px;
  }

  body[data-ui-system="research-console"] .auth-announcement-body {
    padding: 15px 18px 12px;
    font-size: 13px;
    line-height: 1.55;
  }

  body[data-ui-system="research-console"] .auth-announcement-actions {
    margin: 0 18px;
    padding: 14px 0 16px;
  }

  body[data-ui-system="research-console"] .auth-secondary-btn,
  body[data-ui-system="research-console"] .auth-primary-btn {
    min-width: 98px;
    min-height: 38px;
    padding: 0 16px;
    font-size: 14px;
  }

  body[data-ui-system="research-console"] .login-auth-main {
    width: min(430px, 100%);
    justify-self: center;
  }

  body[data-ui-system="research-console"] .sample-login-card {
    width: 100%;
    padding: 24px 22px;
    gap: 18px;
    border-radius: 12px;
  }

  body[data-ui-system="research-console"] .sample-login-card .login-head h2 {
    font-size: 28px;
  }

  body[data-ui-system="research-console"] .sample-login-card .login-head p {
    margin-top: 10px;
    font-size: 13px;
  }

  body[data-ui-system="research-console"] .sample-login-card .login-form {
    gap: 14px;
  }

  body[data-ui-system="research-console"] .sample-login-card .login-field input,
  body[data-ui-system="research-console"] .login-captcha-code,
  body[data-ui-system="research-console"] .sample-login-card .login-submit {
    min-height: 48px;
  }

  body[data-ui-system="research-console"] .login-captcha-row {
    grid-template-columns: minmax(0, 1fr) 92px 30px;
    gap: 8px;
  }

  body[data-ui-system="research-console"] .login-captcha-code {
    font-size: 22px;
  }
}

@media (max-width: 520px) {
  body[data-ui-system="research-console"] .login-auth-panel {
    padding: 58px 12px 18px;
    gap: 14px;
  }

  body[data-ui-system="research-console"] .login-brand-block {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
  }

  body[data-ui-system="research-console"] .login-emblem-wrap,
  body[data-ui-system="research-console"] .login-emblem-wrap img {
    width: 52px;
    height: 52px;
  }

  body[data-ui-system="research-console"] .login-brand-copy h1 {
    font-size: 25px;
  }

  body[data-ui-system="research-console"] .login-brand-copy .auth-system-subtitle {
    font-size: 12px;
  }

  html[lang="en"] body[data-ui-system="research-console"] .login-brand-copy h1 {
    font-size: 22px;
  }

  html[lang="en"] body[data-ui-system="research-console"] .login-brand-copy .auth-system-subtitle {
    font-size: 11px;
  }

  body[data-ui-system="research-console"] .auth-announcement {
    display: none;
  }

  body[data-ui-system="research-console"] .sample-login-card {
    padding: 20px 16px;
  }

  body[data-ui-system="research-console"] .login-captcha-row {
    grid-template-columns: 1fr 88px 30px;
  }

  body[data-ui-system="research-console"] .login-options-row {
    font-size: 13px;
  }

  body[data-ui-system="research-console"] .login-alt-actions {
    grid-template-columns: 1fr;
  }
}

/* Personal research branding: allow the longer confirmed product name to wrap safely. */
@media (min-width: 1101px) {
  body[data-ui-system="research-console"] .login-brand-block {
    width: min(760px, 100%);
    grid-template-columns: clamp(112px, 9vw, 150px) minmax(0, 1fr);
    gap: clamp(22px, 2.2vw, 34px);
  }

  body[data-ui-system="research-console"] .login-emblem-wrap,
  body[data-ui-system="research-console"] .login-emblem-wrap img {
    width: clamp(112px, 9vw, 150px);
    height: clamp(112px, 9vw, 150px);
  }

  body[data-ui-system="research-console"] .login-brand-copy h1 {
    max-width: 590px;
    font-size: clamp(38px, 3.25vw, 52px);
    line-height: 1.12;
    white-space: pre-line;
    text-wrap: balance;
  }

  body[data-ui-system="research-console"] .login-brand-copy .auth-system-subtitle {
    max-width: 590px;
    font-size: clamp(17px, 1.3vw, 21px);
    white-space: normal;
  }
}
