:root {
  --bg: #eef2f6;
  --bg-accent: #d9e7f4;
  --panel: #ffffff;
  --panel-soft: #f7fafc;
  --text: #18212f;
  --muted: #667085;
  --line: #d6dee8;
  --primary: #1e6aa8;
  --primary-dark: #144d7a;
  --primary-soft: #dcecf8;
  --ok: #0f7b4f;
  --ok-soft: #e9f7f0;
  --warn: #b06a00;
  --warn-soft: #fff2df;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --shadow: 0 18px 42px rgba(24, 33, 47, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(30, 106, 168, 0.12), transparent 24rem),
    linear-gradient(180deg, var(--bg-accent) 0, var(--bg) 10rem, var(--bg) 100%);
  color: var(--text);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

code {
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 0.95em;
}

.topbar {
  background: rgba(16, 24, 40, 0.96);
  color: #fff;
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.18);
}

.topbar__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav a,
.nav__user {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 600;
}

.nav a:hover {
  color: #fff;
}

.nav__user {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 24px 56px;
}

.site-footer {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 auto;
  max-width: 1240px;
  padding: 0 24px 24px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.hero {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.98));
  border: 1px solid rgba(214, 222, 232, 0.88);
  border-radius: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
  padding: 24px 26px;
}

.hero--compact {
  padding: 18px 22px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 10px;
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
}

h2 {
  font-size: 1.25rem;
}

h3 {
  font-size: 1rem;
}

p {
  margin: 0 0 12px;
}

.muted {
  color: var(--muted);
}

.panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(214, 222, 232, 0.92);
  border-radius: 22px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
  padding: 22px;
}

.panel--soft {
  background: rgba(247, 250, 252, 0.92);
}

.panel--login {
  max-width: 420px;
  width: 100%;
}

.panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.stats-grid,
.grid.two {
  display: grid;
  gap: 16px;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin-bottom: 22px;
}

.stats-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.compact {
  gap: 14px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(214, 222, 232, 0.9);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 18px 20px;
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1.1;
}

.stat-card span {
  color: var(--muted);
  display: block;
  margin-top: 6px;
}

.stat-card--accent {
  background: linear-gradient(135deg, rgba(30, 106, 168, 0.12), rgba(255, 255, 255, 0.96));
  border-color: rgba(30, 106, 168, 0.22);
}

.login-shell {
  min-height: calc(100vh - 140px);
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: center;
}

.login-copy h1 {
  max-width: 12ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.hero-actions--stack {
  align-items: flex-end;
  flex-direction: column;
}

.monitor-refresh {
  background: rgba(16, 24, 40, 0.06);
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 14px;
}

.monitor-metrics {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 18px;
}

.monitor-metric {
  background: rgba(247, 250, 252, 0.94);
  border: 1px solid rgba(214, 222, 232, 0.92);
  border-radius: 18px;
  padding: 16px 18px;
}

.monitor-metric span,
.monitor-metric strong {
  display: block;
}

.monitor-metric span {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.monitor-metric strong {
  color: var(--text);
  font-size: 1.9rem;
  line-height: 1;
}

.monitor-metric p {
  margin: 10px 0 0;
}

.monitor-chart-wrap {
  overflow-x: auto;
}

.monitor-chart {
  align-items: end;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.96)),
    repeating-linear-gradient(
      to top,
      rgba(214, 222, 232, 0.38) 0,
      rgba(214, 222, 232, 0.38) 1px,
      transparent 1px,
      transparent 25%
    );
  border: 1px solid rgba(214, 222, 232, 0.92);
  border-radius: 20px;
  display: grid;
  gap: 6px;
  grid-auto-columns: minmax(18px, 1fr);
  grid-auto-flow: column;
  min-height: 250px;
  min-width: 760px;
  padding: 16px 14px 12px;
}

.monitor-chart__slot {
  align-items: end;
  display: grid;
  gap: 8px;
}

.monitor-chart__bars {
  align-items: end;
  display: flex;
  gap: 4px;
  height: 190px;
  justify-content: center;
}

.monitor-chart__bar {
  border-radius: 999px 999px 0 0;
  display: block;
  min-height: 0;
  width: 7px;
}

.monitor-chart__bar--submission {
  background: linear-gradient(180deg, #4e95d0, var(--primary));
  box-shadow: 0 6px 14px rgba(30, 106, 168, 0.18);
}

.monitor-chart__bar--completion {
  background: linear-gradient(180deg, #3bc78b, var(--ok));
  box-shadow: 0 6px 14px rgba(15, 123, 79, 0.18);
}

.monitor-chart__label {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  min-height: 1.1em;
  text-align: center;
  white-space: nowrap;
}

.monitor-chart__legend {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

.monitor-chart__legend span {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.monitor-chart__dot {
  border-radius: 999px;
  display: inline-block;
  height: 10px;
  width: 10px;
}

.monitor-chart__dot--submission {
  background: var(--primary);
}

.monitor-chart__dot--completion {
  background: var(--ok);
}

.monitor-chart__empty-note {
  margin: 14px 0 0;
}

.form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(30, 106, 168, 0.58);
  box-shadow: 0 0 0 4px rgba(30, 106, 168, 0.12);
  outline: none;
}

button,
.button {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #2879ba);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 800;
  min-height: 46px;
  padding: 11px 16px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

button:hover,
.button:hover {
  background: linear-gradient(135deg, var(--primary-dark), #1a5d92);
  box-shadow: 0 12px 26px rgba(20, 77, 122, 0.22);
  transform: translateY(-1px);
}

.button--secondary {
  background: linear-gradient(135deg, #335f84, #4a7596);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.small {
  min-height: 38px;
  padding: 8px 12px;
}

.inline {
  display: inline;
}

.actions,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-weight: 700;
  text-decoration: none;
}

.filter-chip--active {
  background: var(--primary-soft);
  border-color: rgba(30, 106, 168, 0.24);
  color: var(--primary-dark);
}

.notice {
  background: var(--ok-soft);
  border: 1px solid rgba(15, 123, 79, 0.2);
  border-radius: 16px;
  color: #125c3c;
  margin: 0;
  padding: 14px 16px;
}

.notice--info {
  background: rgba(30, 106, 168, 0.08);
  border-color: rgba(30, 106, 168, 0.2);
  color: var(--primary-dark);
}

.notice--success {
  background: var(--ok-soft);
  border-color: rgba(15, 123, 79, 0.2);
  color: #125c3c;
}

.alert {
  background: var(--danger-soft);
  border: 1px solid rgba(180, 35, 24, 0.18);
  border-radius: 16px;
  color: var(--danger);
  padding: 12px 14px;
}

.anchor {
  background: rgba(30, 106, 168, 0.06);
  border-left: 4px solid rgba(30, 106, 168, 0.85);
  border-radius: 0 14px 14px 0;
  color: #364152;
  margin: 8px 0 12px;
  padding: 10px 12px;
}

fieldset {
  border: 1px solid rgba(214, 222, 232, 0.96);
  border-radius: 18px;
  padding: 16px;
  margin: 0;
  background: var(--panel-soft);
}

legend {
  padding: 0 8px;
  font-weight: 800;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-row label {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(214, 222, 232, 0.98);
  border-radius: 14px;
  display: inline-flex;
  font-weight: 600;
  gap: 8px;
  padding: 10px 12px;
}

.radio-row input {
  width: auto;
  margin: 0;
}

.badge,
.status-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 6px 10px;
}

.badge {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.status-chip--pending {
  background: var(--warn-soft);
  color: var(--warn);
}

.status-chip--done {
  background: var(--ok-soft);
  color: var(--ok);
}

.status-chip--draft {
  background: rgba(30, 106, 168, 0.1);
  color: var(--primary-dark);
}

.status-chip--modified {
  background: rgba(51, 95, 132, 0.14);
  color: #274861;
}

.status-chip--alert {
  background: var(--danger-soft);
  color: var(--danger);
}

.task-grid,
.flag-list,
.review-matrix,
.log-list {
  display: grid;
  gap: 14px;
}

.task-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.task-card,
.flag-card,
.log-item,
.review-chip {
  background: #fff;
  border: 1px solid rgba(214, 222, 232, 0.95);
  border-radius: 18px;
  padding: 16px;
}

.task-card__head,
.flag-card__head,
.log-item__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.task-card__question,
.sample-text {
  white-space: pre-wrap;
}

.sample-text {
  margin: 0;
  word-break: break-word;
}

.sample-block + .sample-block {
  margin-top: 18px;
}

.sample-text-shell {
  --line-clamp: 6;
  display: grid;
  gap: 10px;
}

.sample-block--response .sample-text-shell {
  --line-clamp: 10;
}

.sample-text-shell:not(.sample-text-shell--expanded) .sample-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--line-clamp);
}

.sample-text-toggle {
  align-items: center;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(84, 108, 128, 0.16);
  border-radius: 999px;
  box-shadow: none;
  color: #234f71;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 700;
  gap: 8px;
  min-height: 0;
  padding: 8px 12px;
}

.sample-text-toggle:hover {
  background: rgba(255, 255, 255, 0.96);
}

.task-card__question {
  color: var(--text);
  min-height: 5.2em;
}

.flag-card__reason {
  margin-top: 10px;
  font-weight: 700;
}

.score-list {
  margin: 0;
  padding-left: 18px;
}

.score-list li {
  margin-bottom: 6px;
}

.review-matrix {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 16px;
}

.review-chip span {
  color: var(--muted);
  display: block;
}

.sample-panel,
.form-panel {
  min-width: 0;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 0.92fr);
  gap: 20px;
  align-items: start;
}

.back-link {
  color: var(--primary);
  display: inline-flex;
  font-weight: 700;
  margin: 0 0 16px;
  text-decoration: none;
}

.card-form {
  height: 100%;
}

.panel--tight {
  padding: 16px 18px;
}

.workspace-toolbar,
.workspace-footer {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.workspace-toolbar__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.progress-block {
  margin-top: 16px;
}

.progress-bar {
  background: rgba(214, 222, 232, 0.7);
  border-radius: 999px;
  height: 14px;
  overflow: hidden;
  position: relative;
}

.progress-bar__fill {
  border-radius: 999px;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
}

.progress-bar__fill--active {
  background: rgba(30, 106, 168, 0.28);
}

.progress-bar__fill--done {
  background: linear-gradient(135deg, var(--ok), #1b9c64);
}

.progress-meta {
  color: var(--muted);
  margin: 8px 0 0;
}

.save-indicator {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(214, 222, 232, 0.95);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  padding: 9px 14px;
}

.save-indicator[data-state="saving"] {
  background: var(--primary-soft);
  border-color: rgba(30, 106, 168, 0.22);
  color: var(--primary-dark);
}

.save-indicator[data-state="saved"] {
  background: var(--ok-soft);
  border-color: rgba(15, 123, 79, 0.18);
  color: #125c3c;
}

.save-indicator[data-state="error"] {
  background: var(--danger-soft);
  border-color: rgba(180, 35, 24, 0.18);
  color: var(--danger);
}

.workspace-stack {
  display: grid;
  gap: 20px;
}

.workspace-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(320px, 372px) minmax(0, 1fr) minmax(292px, 332px);
  margin-bottom: 22px;
}

.workspace-control-rail,
.workspace-shell,
.workspace-sidebar {
  min-width: 0;
  position: relative;
}

.workspace-control-rail__sticky,
.workspace-sidebar__sticky {
  max-height: calc(100vh - 112px);
  position: sticky;
  top: 96px;
}

.workspace-control-rail__sticky {
  overflow: visible;
}

.workspace-shell {
  isolation: isolate;
  padding: 18px;
  position: relative;
}

.workspace-shell::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 252, 0.92)),
    radial-gradient(circle at top right, rgba(30, 106, 168, 0.08), transparent 18rem);
  border: 1px solid rgba(214, 222, 232, 0.96);
  border-radius: 28px;
  box-shadow: var(--shadow);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -2;
}

.workspace-stack > .workspace-card,
.workspace-stack > .workspace-footer {
  margin-bottom: 0;
}

.workspace-sidebar {
  align-self: stretch;
  background: linear-gradient(180deg, rgba(244, 248, 251, 0.98), rgba(250, 252, 254, 0.9));
  border: 1px solid rgba(120, 144, 165, 0.14);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  display: flex;
  padding: 16px;
}

.workspace-sidebar__sticky {
  width: 100%;
}

.workspace-card {
  scroll-margin-top: 118px;
}

.workspace-card--highlight {
  border-color: rgba(30, 106, 168, 0.42);
  box-shadow: 0 0 0 4px rgba(30, 106, 168, 0.08), var(--shadow);
}

.workspace-card__head,
.workspace-card__title-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.workspace-card__head {
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.workspace-card__body {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.95fr);
}

.workspace-card__sample,
.workspace-card__form {
  min-width: 0;
}

.workspace-card__sample {
  background: rgba(247, 250, 252, 0.92);
  border: 1px solid rgba(214, 222, 232, 0.88);
  border-radius: 18px;
  padding: 18px;
}

.workspace-card__form {
  display: grid;
  gap: 16px;
}

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

.data-table {
  border-collapse: collapse;
  min-width: 780px;
  width: 100%;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid rgba(214, 222, 232, 0.9);
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.table-subtle {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 4px;
}

.mini-progress {
  background: rgba(214, 222, 232, 0.7);
  border-radius: 999px;
  display: inline-block;
  height: 8px;
  margin-right: 8px;
  overflow: hidden;
  vertical-align: middle;
  width: 96px;
}

.mini-progress__fill {
  background: linear-gradient(135deg, var(--primary), #2879ba);
  display: block;
  height: 100%;
}

.guide-list {
  margin: 0;
  padding-left: 18px;
}

.guide-list li {
  margin-bottom: 8px;
}

.guide-columns,
.guide-rubric-grid {
  display: grid;
  gap: 16px;
}

.guide-columns {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.guide-rubric-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.guide-rubric-card,
.guide-case {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(214, 222, 232, 0.92);
  border-radius: 18px;
  overflow: hidden;
  padding: 18px;
}

.guide-detail {
  margin-top: 16px;
}

.guide-detail summary {
  color: var(--primary-dark);
  cursor: pointer;
  font-weight: 800;
  margin-bottom: 10px;
}

.guide-case .workspace-card__title-row {
  align-items: flex-start;
}

.guide-case .workspace-card__title-row h3,
.guide-case .sample-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.guide-case .sample-block.panel {
  margin-bottom: 0;
}

@media (max-width: 920px) {
  .login-shell,
  .form-layout,
  .workspace-card__body,
  .guide-case .grid.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 16px;
  }

  .container {
    padding: 18px 12px 40px;
  }

  .hero,
  .panel,
  .stat-card {
    border-radius: 18px;
    padding: 18px;
  }

  .panel__header,
  .task-card__head,
  .flag-card__head,
  .log-item__meta,
  .workspace-card__head,
  .workspace-toolbar,
  .workspace-footer,
  .workspace-toolbar__actions,
  .hero-actions {
    flex-direction: column;
  }

  .task-grid,
  .review-matrix {
    grid-template-columns: 1fr;
  }

  .radio-row {
    gap: 8px;
  }

  .radio-row label {
    width: calc(50% - 4px);
    justify-content: flex-start;
  }

  .button,
  button {
    width: 100%;
  }

  .save-indicator {
    width: 100%;
  }

  .actions .button,
  .filter-row .filter-chip {
    width: auto;
  }

  .actions {
    flex-direction: column;
  }

  .monitor-metric strong {
    font-size: 1.6rem;
  }

  .monitor-chart {
    min-height: 224px;
    min-width: 640px;
  }
}

/* Refinement layer: clinical review console */

:root {
  --bg: #edf3f4;
  --bg-accent: #d8e6ea;
  --bg-warm: #f5efe6;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-soft: rgba(248, 250, 252, 0.9);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --text: #122131;
  --muted: #5b6d7d;
  --line: rgba(104, 129, 151, 0.2);
  --line-strong: rgba(37, 60, 82, 0.14);
  --primary: #184d76;
  --primary-dark: #0f324e;
  --primary-soft: rgba(24, 77, 118, 0.1);
  --ok: #0a7b61;
  --ok-soft: rgba(10, 123, 97, 0.12);
  --warn: #9b6a1d;
  --warn-soft: rgba(177, 122, 34, 0.12);
  --danger: #ab3428;
  --danger-soft: rgba(171, 52, 40, 0.1);
  --shadow: 0 24px 56px rgba(16, 29, 41, 0.08);
  --shadow-soft: 0 14px 30px rgba(16, 29, 41, 0.05);
}

html {
  scroll-behavior: smooth;
}

body.page {
  background:
    radial-gradient(circle at top left, rgba(24, 77, 118, 0.15), transparent 24rem),
    radial-gradient(circle at top right, rgba(210, 187, 146, 0.2), transparent 26rem),
    linear-gradient(180deg, var(--bg-accent) 0, var(--bg) 8rem, var(--bg-warm) 100%);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  min-height: 100vh;
  position: relative;
}

.page-chrome {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

.page-chrome__orb,
.page-chrome__grid {
  position: absolute;
}

.page-chrome__orb {
  border-radius: 999px;
  filter: blur(8px);
}

.page-chrome__orb--one {
  background: rgba(24, 77, 118, 0.08);
  height: 18rem;
  left: -5rem;
  top: 6rem;
  width: 18rem;
}

.page-chrome__orb--two {
  background: rgba(203, 173, 114, 0.12);
  height: 20rem;
  right: -8rem;
  top: 16rem;
  width: 20rem;
}

.page-chrome__grid {
  background-image:
    linear-gradient(rgba(18, 33, 49, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 33, 49, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  inset: 0;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 80%);
}

.container {
  max-width: 1320px;
  padding: 30px 24px 56px;
  position: relative;
  z-index: 1;
}

.page--guest .container {
  padding-bottom: 72px;
}

.page--guest .site-footer {
  background: linear-gradient(180deg, rgba(238, 242, 246, 0), rgba(238, 242, 246, 0.96) 42%);
  bottom: 0;
  left: 0;
  max-width: none;
  padding: 20px 24px 18px;
  position: fixed;
  right: 0;
  z-index: 10;
}

.topbar {
  background: rgba(10, 24, 38, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 34px rgba(7, 16, 26, 0.24);
}

.topbar__inner {
  max-width: 1320px;
  padding: 14px 24px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 14px;
}

.brand__mark {
  align-items: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
    linear-gradient(145deg, #204e73, #102b43);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: #f2f6f8;
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
  height: 46px;
  justify-content: center;
  letter-spacing: 0.16em;
  min-width: 52px;
  padding-left: 0.18em;
}

.brand__copy {
  display: grid;
  gap: 3px;
}

.brand__eyebrow {
  color: rgba(236, 244, 246, 0.7);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand__title {
  color: #fff;
  font-family: "STZhongsong", "Songti SC", "Noto Serif SC", serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav {
  align-items: center;
  flex: 1;
  justify-content: space-between;
}

.nav__links,
.nav__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 14px;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.nav a.is-active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.nav__role,
.nav__user {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  display: inline-flex;
  min-height: 38px;
  padding: 7px 12px;
}

.nav__role {
  background: rgba(98, 147, 187, 0.12);
  color: #dceef8;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav__user {
  background: rgba(255, 255, 255, 0.08);
}

.topbar .button--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.topbar .button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

h1,
h2,
h3,
.stat-card strong,
.overview-board strong {
  font-family: "STZhongsong", "Songti SC", "Noto Serif SC", serif;
}

h1 {
  letter-spacing: 0.03em;
}

.hero,
.panel,
.stat-card,
.guide-rubric-card,
.guide-case,
.flag-card,
.log-item,
.review-chip {
  backdrop-filter: blur(16px);
}

.hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 249, 251, 0.88)),
    linear-gradient(120deg, rgba(210, 223, 230, 0.24), transparent 48%);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 28px 30px;
  position: relative;
}

.hero::after {
  background: linear-gradient(90deg, rgba(24, 77, 118, 0.18), rgba(24, 77, 118, 0));
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.hero--split {
  display: grid;
  gap: 20px 24px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
}

.hero__content,
.hero__aside {
  min-width: 0;
}

.hero__band {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  gap: 10px 20px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 4px;
  padding-top: 16px;
}

.hero__band span {
  align-items: center;
  display: inline-flex;
  gap: 10px;
}

.hero__band span::before {
  background: linear-gradient(180deg, #3e729b, #173f63);
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 10px;
  width: 10px;
}

.overview-board {
  background:
    linear-gradient(180deg, rgba(17, 40, 60, 0.96), rgba(11, 28, 44, 0.94)),
    linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent 55%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #e8f2f7;
  min-height: 100%;
  padding: 22px;
}

.overview-board__label {
  color: rgba(230, 242, 248, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.overview-board__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.overview-board__grid article {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 14px;
}

.overview-board__grid span {
  color: rgba(230, 242, 248, 0.72);
  display: block;
  font-size: 0.84rem;
  margin-bottom: 8px;
}

.overview-board__grid strong {
  color: #fff;
  display: block;
  font-size: 1.6rem;
  line-height: 1.1;
}

.overview-board__note {
  color: rgba(230, 242, 248, 0.72);
  margin: 16px 0 0;
}

.overview-board--admin .overview-board__grid strong {
  color: #f7f1e4;
}

.eyebrow {
  color: #225e8c;
}

.muted {
  color: var(--muted);
}

.panel,
.stat-card,
.guide-rubric-card,
.guide-case,
.flag-card,
.log-item,
.review-chip {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
}

.panel {
  border-radius: 24px;
  padding: 24px;
}

.panel--soft,
.workspace-card__sample,
fieldset,
.monitor-metric {
  background: rgba(248, 250, 252, 0.88);
}

.stat-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.stat-card::before {
  background: linear-gradient(90deg, rgba(24, 77, 118, 0.16), rgba(24, 77, 118, 0));
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.stat-card strong {
  font-size: 2.15rem;
}

.stat-card--accent {
  background:
    linear-gradient(140deg, rgba(24, 77, 118, 0.14), rgba(255, 255, 255, 0.96)),
    rgba(255, 255, 255, 0.94);
}

.login-shell {
  align-items: stretch;
}

.login-copy {
  align-self: center;
}

.login-copy h1 {
  max-width: 10ch;
}

.login-highlights {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.info-tile {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-left: 4px solid rgba(24, 77, 118, 0.58);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 16px 18px;
}

.info-tile__label {
  color: #225e8c;
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.info-tile strong {
  color: var(--text);
  display: block;
  font-size: 1rem;
  line-height: 1.7;
}

.login-panel {
  align-self: center;
  padding: 24px;
}

.login-panel__header {
  margin-bottom: 12px;
}

.login-panel__header .eyebrow {
  margin-bottom: 6px;
}

.login-footnote {
  color: var(--muted);
  margin-bottom: 0;
}

label {
  color: var(--text);
  font-weight: 700;
}

input,
textarea,
select {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(110, 136, 160, 0.2);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button,
.button {
  background: linear-gradient(140deg, #1c567f, #123954);
  border: 1px solid rgba(17, 46, 68, 0.4);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 24px rgba(18, 57, 84, 0.16);
}

button:hover,
.button:hover {
  background: linear-gradient(140deg, #174769, #0f3048);
}

.button--secondary {
  background: linear-gradient(140deg, #436983, #284257);
  border-color: rgba(40, 66, 87, 0.38);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(84, 108, 128, 0.18);
  color: var(--text);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.94);
}

.actions {
  gap: 14px;
}

.actions--stacked .button {
  min-width: 230px;
}

.notice,
.alert {
  border-radius: 18px;
}

.badge,
.status-chip {
  letter-spacing: 0.02em;
}

.badge {
  background: rgba(24, 77, 118, 0.09);
  border: 1px solid rgba(24, 77, 118, 0.12);
}

.workspace-toolbar {
  align-items: stretch;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.88)),
    rgba(255, 255, 255, 0.92);
  gap: 18px;
  position: sticky;
  top: 84px;
  z-index: 14;
}

.workspace-toolbar__main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.workspace-toolbar__copy .eyebrow {
  margin-bottom: 6px;
}

.workspace-toolbar__actions {
  align-content: flex-start;
  grid-auto-rows: min-content;
  min-width: 240px;
}

.workspace-shortcuts {
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 2px 0 0;
}

.workspace-progress-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workspace-progress-card {
  background: rgba(247, 250, 252, 0.88);
  border: 1px solid rgba(105, 131, 154, 0.12);
  border-radius: 18px;
  padding: 14px 16px;
}

.workspace-progress-card span {
  color: var(--muted);
  display: block;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.workspace-progress-card strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.1;
}

.progress-bar {
  background: rgba(192, 207, 218, 0.45);
  border: 1px solid rgba(105, 131, 154, 0.12);
  box-shadow: inset 0 1px 2px rgba(14, 33, 50, 0.08);
  height: 16px;
}

.progress-bar__fill--active {
  background: rgba(24, 77, 118, 0.24);
}

.progress-bar__fill--done {
  background: linear-gradient(90deg, #0b7d63, #2ca37f);
}

.progress-meta {
  font-size: 0.94rem;
}

.save-indicator {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(105, 131, 154, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.workspace-card {
  overflow: hidden;
  position: relative;
}

.workspace-card::before {
  background: linear-gradient(180deg, rgba(24, 77, 118, 0.18), transparent 72%);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 3px;
}

.workspace-card--highlight {
  box-shadow: 0 0 0 5px rgba(24, 77, 118, 0.08), var(--shadow);
}

.workspace-card--active {
  border-color: rgba(24, 77, 118, 0.2);
  box-shadow: 0 0 0 2px rgba(24, 77, 118, 0.08), var(--shadow-soft);
}

.workspace-card__identity,
.workspace-card__signal {
  min-width: 0;
}

.workspace-card__signal {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.workspace-card__headline {
  margin-top: 10px;
}

.workspace-card__sequence {
  background: rgba(24, 77, 118, 0.08);
  border: 1px solid rgba(24, 77, 118, 0.12);
  border-radius: 999px;
  color: #234f71;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 6px 10px;
}

.workspace-card__sample {
  border: 1px solid rgba(120, 144, 165, 0.16);
  padding: 20px;
}

.sample-block {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(124, 147, 168, 0.14);
  border-radius: 18px;
  padding: 16px;
}

.sample-block h3 {
  color: #234f71;
  margin-bottom: 12px;
}

.sample-block--question {
  background: linear-gradient(180deg, rgba(248, 252, 254, 0.96), rgba(240, 247, 251, 0.9));
}

.sample-block--response {
  background: linear-gradient(180deg, rgba(253, 250, 244, 0.96), rgba(249, 244, 234, 0.9));
}

fieldset {
    border: 1px solid rgba(120, 144, 165, 0.16);
    border-radius: 20px;
    padding: 18px;
}

fieldset[hidden] {
    display: none;
}

legend {
  color: var(--primary-dark);
}

.anchor {
  background: rgba(24, 77, 118, 0.07);
  border-left-color: rgba(24, 77, 118, 0.78);
}

.radio-row label {
  border: 1px solid rgba(120, 144, 165, 0.18);
  border-radius: 16px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.radio-row label:hover {
  border-color: rgba(24, 77, 118, 0.28);
  transform: translateY(-1px);
}

.radio-row label:has(input:checked) {
  background: rgba(24, 77, 118, 0.09);
  border-color: rgba(24, 77, 118, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
  color: var(--primary-dark);
}

.data-table {
  min-width: 860px;
}

.data-table th {
  background: rgba(241, 246, 249, 0.88);
  position: sticky;
  top: 0;
  z-index: 1;
}

.data-table tbody tr {
  transition: background 0.16s ease;
}

.data-table tbody tr:hover {
  background: rgba(24, 77, 118, 0.04);
}

.table-subtle {
  font-size: 0.88rem;
}

.monitor-refresh {
  background: rgba(13, 33, 50, 0.05);
  border: 1px solid rgba(13, 33, 50, 0.08);
  color: #23435e;
}

.monitor-metric,
.monitor-chart {
  border-color: rgba(120, 144, 165, 0.16);
  border-radius: 22px;
}

.monitor-chart {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 249, 251, 0.94)),
    repeating-linear-gradient(
      to top,
      rgba(156, 177, 194, 0.26) 0,
      rgba(156, 177, 194, 0.26) 1px,
      transparent 1px,
      transparent 25%
    );
}

.monitor-chart__bar {
  width: 8px;
}

.monitor-chart__legend {
  font-size: 0.94rem;
}

.back-link {
  align-items: center;
  gap: 8px;
}

.back-link::before {
  content: "←";
}

.guide-rubric-card,
.guide-case {
  border-radius: 22px;
}

.guide-detail summary {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.guide-detail summary::before {
  content: "+";
  font-size: 1rem;
  line-height: 1;
}

.flag-card__reason {
  color: var(--danger);
}

.score-list li {
  color: var(--text);
}

@keyframes panel-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero,
.stats-grid > *,
.workspace-toolbar,
.login-panel,
.login-highlights > * {
  animation: panel-enter 0.45s ease both;
}

.stats-grid > *:nth-child(2),
.login-highlights > *:nth-child(2) {
  animation-delay: 0.04s;
}

.stats-grid > *:nth-child(3),
.login-highlights > *:nth-child(3) {
  animation-delay: 0.08s;
}

.stats-grid > *:nth-child(4) {
  animation-delay: 0.12s;
}

.stats-grid > *:nth-child(5) {
  animation-delay: 0.16s;
}

.stats-grid > *:nth-child(6) {
  animation-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero,
  .stats-grid > *,
  .workspace-toolbar,
  .login-panel,
  .login-highlights > * {
    animation: none;
  }
}

@media (max-width: 1160px) {
  .hero--split {
    grid-template-columns: 1fr;
  }

  .workspace-toolbar {
    position: static;
  }
}

@media (max-width: 920px) {
  .topbar__inner,
  .nav,
  .nav__meta {
    align-items: flex-start;
  }

  .nav {
    flex-direction: column;
  }

  .workspace-progress-grid {
    grid-template-columns: 1fr;
  }

  .workspace-toolbar__actions {
    justify-content: flex-start;
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 18px 12px 40px;
  }

  .brand {
    gap: 10px;
  }

  .brand__title {
    font-size: 0.98rem;
  }

  .brand__eyebrow {
    font-size: 0.66rem;
  }

  .hero,
  .panel,
  .stat-card {
    border-radius: 20px;
    padding: 18px;
  }

  .overview-board {
    border-radius: 20px;
    padding: 18px;
  }

  .overview-board__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__band,
  .nav__links,
  .nav__meta {
    grid-template-columns: 1fr;
  }

  .nav__links,
  .nav__meta {
    width: 100%;
  }

  .nav a,
  .nav__role,
  .nav__user {
    width: 100%;
  }

  .radio-row label {
    width: 100%;
  }

  .actions--stacked .button,
  .workspace-toolbar__actions .button,
  .workspace-toolbar__actions .save-indicator {
    width: 100%;
  }

  .workspace-card__signal {
    align-items: flex-start;
  }

  .data-table {
    min-width: 720px;
  }
}

.filter-chip {
  cursor: pointer;
}

.filter-chip--ghost {
  background: rgba(248, 250, 252, 0.92);
}

.workspace-toolbar {
  align-items: stretch;
  display: grid;
  gap: 18px;
  margin-bottom: 0;
  position: static;
}

.workspace-toolbar__actions {
  display: grid;
  gap: 12px;
}

.workspace-toolbar__actions .button {
  justify-content: center;
}

.workspace-map-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 16px;
  grid-template-rows: auto auto minmax(0, 1fr);
  max-height: 100%;
  overflow: hidden;
  padding: 0;
}

.workspace-map-panel__head,
.workspace-filter-bar,
.workspace-filter-group {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.workspace-map-panel__head,
.workspace-filter-bar {
  justify-content: space-between;
}

.workspace-filter-group {
  justify-content: flex-start;
}

.workspace-map-panel__head h3,
.workspace-filter-summary {
  margin: 0;
}

.workspace-map {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(46px, 1fr));
  max-height: 100%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

.workspace-map::-webkit-scrollbar {
  width: 8px;
}

.workspace-map::-webkit-scrollbar-thumb {
  background: rgba(84, 108, 128, 0.24);
  border-radius: 999px;
}

.workspace-map__item {
  appearance: none;
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(120, 144, 165, 0.18);
  border-radius: 16px;
  color: #234f71;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  min-height: 46px;
  padding: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.workspace-map__item:hover {
  border-color: rgba(24, 77, 118, 0.32);
  transform: translateY(-1px);
}

.workspace-map__item[data-state="pending"] {
  background: linear-gradient(180deg, rgba(255, 247, 232, 0.98), rgba(255, 242, 223, 0.98));
  border-color: rgba(176, 106, 0, 0.18);
  color: var(--warn);
}

.workspace-map__item[data-state="draft"] {
  background: linear-gradient(180deg, rgba(236, 244, 251, 0.98), rgba(220, 236, 248, 0.98));
  border-color: rgba(30, 106, 168, 0.2);
  color: var(--primary-dark);
}

.workspace-map__item[data-state="modified"] {
  background: linear-gradient(180deg, rgba(236, 241, 245, 0.98), rgba(224, 233, 240, 0.98));
  border-color: rgba(51, 95, 132, 0.18);
  color: #274861;
}

.workspace-map__item[data-state="completed"] {
  background: linear-gradient(180deg, rgba(240, 251, 246, 0.98), rgba(233, 247, 240, 0.98));
  border-color: rgba(15, 123, 79, 0.18);
  color: var(--ok);
}

.workspace-map__item[data-active="1"] {
  box-shadow: 0 0 0 3px rgba(24, 77, 118, 0.12);
  transform: translateY(-1px);
}

.workspace-map__item[data-hidden-by-filter="1"] {
  opacity: 0.38;
}

.workspace-map__index {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
}

.save-indicator {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  width: 100%;
}

.save-indicator__dot {
  background: rgba(105, 131, 154, 0.38);
  border-radius: 999px;
  display: inline-block;
  height: 10px;
  width: 10px;
}

.save-indicator__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.save-indicator__copy strong,
.save-indicator__copy span {
  display: block;
}

.save-indicator__copy strong {
  color: var(--text);
  font-size: 0.94rem;
}

.save-indicator__copy span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.save-indicator__count {
  background: rgba(16, 24, 40, 0.08);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  min-width: 1.9rem;
  padding: 4px 8px;
  text-align: center;
}

.save-indicator[data-state="saving"] .save-indicator__dot {
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(30, 106, 168, 0.12);
}

.save-indicator[data-state="saved"] .save-indicator__dot {
  background: var(--ok);
  box-shadow: 0 0 0 5px rgba(15, 123, 79, 0.1);
}

.save-indicator[data-state="error"] .save-indicator__dot {
  background: var(--danger);
  box-shadow: 0 0 0 5px rgba(180, 35, 24, 0.1);
}

.workspace-mobile-bar {
  display: none;
}

.workspace-mobile-bar__meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.workspace-mobile-bar__meta strong {
  color: var(--text);
  display: block;
  font-size: 0.95rem;
}

.workspace-mobile-bar__meta span {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
}

.workspace-mobile-bar__actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workspace-mobile-bar__actions .button {
  justify-content: center;
  margin: 0;
  min-width: 0;
}

.workspace-card[data-status-key="pending"]::before {
  background: linear-gradient(180deg, rgba(176, 106, 0, 0.42), transparent 72%);
}

.workspace-card[data-status-key="draft"]::before {
  background: linear-gradient(180deg, rgba(24, 77, 118, 0.42), transparent 72%);
}

.workspace-card[data-status-key="modified"]::before {
  background: linear-gradient(180deg, rgba(51, 95, 132, 0.42), transparent 72%);
}

.workspace-card[data-status-key="completed"]::before {
  background: linear-gradient(180deg, rgba(15, 123, 79, 0.42), transparent 72%);
}

.workspace-card--collapsed .workspace-card__body {
  display: none;
}

.workspace-card--collapsed .workspace-card__head {
  margin-bottom: 0;
}

@media (max-width: 1400px) {
  .workspace-layout {
    grid-template-columns: minmax(300px, 344px) minmax(0, 1fr) minmax(272px, 312px);
  }
}

@media (max-width: 1240px) {
  .workspace-layout {
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  }

  .workspace-control-rail {
    grid-column: 1 / -1;
  }

  .workspace-control-rail__sticky {
    max-height: none;
    position: static;
  }

  .workspace-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  }

  .workspace-sidebar__sticky {
    max-height: calc(100vh - 112px);
  }
}

@media (max-width: 980px) {
  .workspace-layout {
    grid-template-columns: 1fr;
  }

  .workspace-shell {
    padding: 16px;
  }

  .workspace-sidebar__sticky {
    max-height: none;
    position: static;
  }

  .workspace-sidebar {
    min-height: 0;
  }

  .workspace-map-panel {
    max-height: none;
  }

  .workspace-map {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

@media (max-width: 920px) {
  .workspace-map-panel__head,
  .workspace-filter-bar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .workspace-layout {
    display: block;
  }

  .workspace-control-rail {
    display: block;
  }

  .workspace-control-rail__sticky {
    max-height: none;
    position: static;
  }

  .workspace-shell {
    display: block;
    margin-bottom: 0;
    padding: 0;
  }

  .workspace-shell::before {
    content: none;
  }

  .workspace-sidebar {
    display: none;
  }

  .workspace-filter-group {
    width: 100%;
  }

  .workspace-filter-group .filter-chip,
  .workspace-filter-bar > .filter-chip {
    width: auto;
  }

  .workspace-map {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

body.modal-open {
  overflow: hidden;
}

.workspace-empty {
  text-align: left;
}

.workspace-empty h2 {
  margin-bottom: 10px;
}

.workspace-qc-modal[hidden] {
  display: none;
}

.workspace-qc-modal {
  inset: 0;
  position: fixed;
  z-index: 60;
}

.workspace-qc-modal__backdrop {
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(6px);
  inset: 0;
  position: absolute;
}

.workspace-qc-modal__dialog {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.98));
  border: 1px solid rgba(120, 144, 165, 0.16);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  left: 50%;
  max-height: min(88vh, 920px);
  max-width: min(920px, calc(100vw - 24px));
  overflow: hidden;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.workspace-qc-modal__header,
.workspace-qc-modal__footer {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 22px 24px;
}

.workspace-qc-modal__header {
  border-bottom: 1px solid rgba(120, 144, 165, 0.12);
}

.workspace-qc-modal__footer {
  border-top: 1px solid rgba(120, 144, 165, 0.12);
  flex-wrap: wrap;
}

.workspace-qc-modal__metrics,
.workspace-qc-modal__body {
  padding: 0 24px 24px;
}

.workspace-qc-modal__metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 20px;
}

.workspace-qc-metric {
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(120, 144, 165, 0.14);
  border-radius: 18px;
  padding: 14px 16px;
}

.workspace-qc-metric span {
  color: var(--muted);
  display: block;
  font-size: 0.86rem;
  margin-bottom: 8px;
}

.workspace-qc-metric strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.05;
}

.workspace-qc-metric--success {
  background: linear-gradient(180deg, rgba(240, 251, 246, 0.98), rgba(233, 247, 240, 0.98));
  border-color: rgba(15, 123, 79, 0.16);
}

.workspace-qc-metric--warn {
  background: linear-gradient(180deg, rgba(255, 247, 232, 0.98), rgba(255, 242, 223, 0.98));
  border-color: rgba(176, 106, 0, 0.16);
}

.workspace-qc-metric--danger {
  background: linear-gradient(180deg, rgba(253, 241, 240, 0.98), rgba(252, 236, 234, 0.98));
  border-color: rgba(180, 35, 24, 0.16);
}

.workspace-qc-metric--info {
  background: linear-gradient(180deg, rgba(236, 244, 251, 0.98), rgba(220, 236, 248, 0.98));
  border-color: rgba(30, 106, 168, 0.16);
}

.workspace-qc-modal__body {
  display: grid;
  gap: 14px;
  max-height: min(54vh, 520px);
  overflow: auto;
}

.workspace-qc-section {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(120, 144, 165, 0.14);
  border-radius: 20px;
  padding: 18px;
}

.workspace-qc-section--danger {
  background: rgba(253, 241, 240, 0.72);
  border-color: rgba(180, 35, 24, 0.16);
}

.workspace-qc-section h3 {
  margin-bottom: 8px;
}

.workspace-qc-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.workspace-qc-chip {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 700;
  gap: 8px;
  padding: 8px 12px;
}

.workspace-qc-chip--default {
  background: rgba(248, 250, 252, 0.98);
  border: 1px solid rgba(120, 144, 165, 0.14);
  color: var(--text);
}

.workspace-qc-chip--success {
  background: rgba(233, 247, 240, 0.98);
  border: 1px solid rgba(15, 123, 79, 0.14);
  color: var(--ok);
}

.workspace-qc-chip--warn {
  background: rgba(255, 242, 223, 0.98);
  border: 1px solid rgba(176, 106, 0, 0.14);
  color: var(--warn);
}

.workspace-qc-chip--danger {
  background: rgba(252, 236, 234, 0.98);
  border: 1px solid rgba(180, 35, 24, 0.14);
  color: var(--danger);
}

.workspace-qc-chip--info {
  background: rgba(220, 236, 248, 0.98);
  border: 1px solid rgba(30, 106, 168, 0.14);
  color: var(--primary-dark);
}

.workspace-qc-list {
  margin: 0;
  padding-left: 20px;
}

.workspace-qc-list li + li {
  margin-top: 8px;
}

@media (max-width: 920px) {
  .workspace-qc-modal__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .workspace-stack {
    padding-bottom: 124px;
  }

  .workspace-shortcuts {
    display: none;
  }

  .workspace-qc-modal__dialog {
    max-width: calc(100vw - 12px);
  }

  .workspace-qc-modal__header,
  .workspace-qc-modal__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .workspace-qc-modal__metrics {
    grid-template-columns: 1fr;
  }

  .workspace-qc-modal__footer .button {
    width: 100%;
  }

  .workspace-mobile-bar {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 251, 0.98));
    border: 1px solid rgba(120, 144, 165, 0.14);
    border-radius: 22px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
    display: grid;
    gap: 12px;
    left: 12px;
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
    position: fixed;
    right: 12px;
    z-index: 40;
  }

  .workspace-mobile-bar .button {
    min-height: 46px;
    padding: 12px 8px;
  }
}

@media (max-width: 720px) {
  .page:not(.page--guest) .topbar__inner {
    align-items: center;
    flex-direction: row;
    gap: 10px;
    padding: 10px 12px;
  }

  .page:not(.page--guest) .brand {
    flex: 0 0 auto;
    gap: 0;
  }

  .page:not(.page--guest) .brand__copy {
    display: none;
  }

  .page:not(.page--guest) .brand__mark {
    border-radius: 16px;
    font-size: 0.94rem;
    height: 42px;
    min-width: 46px;
  }

  .page:not(.page--guest) .nav {
    align-items: center;
    flex: 1 1 auto;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: flex-end;
    min-width: 0;
  }

  .page:not(.page--guest) .nav__links,
  .page:not(.page--guest) .nav__meta {
    align-items: center;
    display: flex;
    flex: 0 1 auto;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0;
    width: auto;
  }

  .page:not(.page--guest) .nav__meta {
    justify-content: flex-end;
  }

  .page:not(.page--guest) .nav a,
  .page:not(.page--guest) .nav__role,
  .page:not(.page--guest) .nav__user,
  .page:not(.page--guest) .topbar .button--ghost.small {
    font-size: 0.78rem;
    min-height: 32px;
    padding: 6px 10px;
    width: auto;
  }

  .page:not(.page--guest) .nav__role,
  .page:not(.page--guest) .nav__user {
    padding-inline: 9px;
  }

  .page:not(.page--guest) .nav__user {
    max-width: 34vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .page:not(.page--guest) .topbar .inline {
    display: inline-flex;
  }

  .guide-case {
    padding: 16px;
  }

  .guide-case .workspace-card__title-row {
    gap: 10px;
  }

  .guide-case .workspace-card__title-row h3 {
    font-size: 1.1rem;
    line-height: 1.4;
  }

  .guide-case .grid.two.compact {
    gap: 12px;
  }

  .guide-case .sample-block.panel {
    border-radius: 18px;
    padding: 16px;
  }
}

.workspace-mobile-intro {
  display: none;
}

.workspace-mobile-intro__head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.workspace-mobile-intro__head h2 {
  margin-bottom: 0;
}

.workspace-mobile-intro__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.workspace-mobile-intro__stats span {
  align-items: center;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(120, 144, 165, 0.14);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  gap: 6px;
  padding: 8px 12px;
}

.workspace-mobile-intro__stats strong {
  color: var(--text);
  font-size: 0.98rem;
}

.hero--guide-intro {
  align-items: stretch;
}

.guide-intro__text {
  max-width: 64ch;
}

.guide-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.guide-session-card {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(240, 246, 250, 0.96));
  border: 1px solid rgba(120, 144, 165, 0.14);
  border-radius: 22px;
  display: grid;
  gap: 14px;
  padding: 20px;
}

.guide-session-card__label {
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.guide-session-card__stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-session-card__stats article {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(120, 144, 165, 0.12);
  border-radius: 18px;
  padding: 14px 16px;
}

.guide-session-card__stats span,
.guide-session-card__stats strong {
  display: block;
}

.guide-session-card__stats span {
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 8px;
}

.guide-session-card__stats strong {
  font-size: 1.5rem;
  line-height: 1.05;
}

.guide-session-card__note {
  margin: 0;
}

.guide-practice-panel {
  background:
    radial-gradient(circle at top right, rgba(30, 106, 168, 0.08), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.96));
}

.guide-practice-panel__header {
  align-items: flex-start;
}

.guide-case-stack {
  display: grid;
  gap: 14px;
}

.guide-case--accordion {
  padding: 0;
}

.guide-case__summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  list-style: none;
  padding: 18px 20px;
}

.guide-case__summary::-webkit-details-marker {
  display: none;
}

.guide-case__summary-index {
  align-items: center;
  background: rgba(24, 77, 118, 0.09);
  border: 1px solid rgba(24, 77, 118, 0.12);
  border-radius: 999px;
  color: var(--primary-dark);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 800;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
}

.guide-case__summary-copy {
  min-width: 0;
}

.guide-case__summary-copy h3 {
  margin-bottom: 4px;
}

.guide-case__summary-copy p {
  margin-bottom: 0;
}

.guide-case__summary-hint {
  align-items: center;
  background: rgba(247, 250, 252, 0.96);
  border: 1px solid rgba(120, 144, 165, 0.14);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 12px;
  white-space: nowrap;
}

.guide-case--accordion[open] .guide-case__summary-hint {
  color: var(--primary-dark);
}

.guide-case__content {
  border-top: 1px solid rgba(120, 144, 165, 0.12);
  display: grid;
  gap: 16px;
  padding: 18px 20px 20px;
}

.guide-case__lead {
  margin: 0;
}

.guide-reference {
  display: grid;
  gap: 12px;
}

.guide-support-grid {
  align-items: start;
}

@media (max-width: 720px) {
  .hero--workspace-intro,
  .workspace-summary-strip {
    display: none;
  }

  .workspace-mobile-intro {
    display: block;
    margin-bottom: 12px;
    padding: 14px 16px;
  }

  .workspace-mobile-intro .eyebrow {
    font-size: 0.68rem;
    margin-bottom: 4px;
  }

  .workspace-mobile-intro__head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .workspace-mobile-intro__head h2 {
    font-size: 1rem;
  }

  .workspace-toolbar {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 12px;
    padding: 14px 16px;
  }

  .workspace-toolbar__main {
    gap: 10px;
  }

  .workspace-toolbar__copy .eyebrow,
  .workspace-toolbar__copy .muted,
  .workspace-progress-grid,
  .workspace-toolbar__actions .save-indicator,
  .workspace-toolbar__actions [data-jump-next],
  .workspace-toolbar__actions button[form],
  .workspace-toolbar__actions .workspace-shortcuts {
    display: none;
  }

  .workspace-toolbar__copy h2 {
    font-size: 1rem;
    margin-bottom: 0;
  }

  .progress-bar {
    height: 12px;
  }

  .progress-meta {
    font-size: 0.82rem;
    margin-bottom: 0;
  }

  .workspace-toolbar__actions {
    align-items: flex-start;
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    margin-top: -2px;
    min-width: 0;
  }

  .workspace-toolbar__actions [data-restore-last] {
    min-height: 34px;
    padding: 6px 10px;
    width: auto;
  }

  .hero--guide-intro {
    gap: 14px;
    margin-bottom: 14px;
    padding: 16px;
  }

  .guide-intro__text {
    font-size: 0.92rem;
    margin-bottom: 0;
  }

  .guide-intro__actions {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-intro__actions .button {
    min-height: 38px;
    width: auto;
  }

  .guide-session-card {
    display: none;
  }

  .guide-practice-panel__header {
    gap: 10px;
  }

  .guide-practice-panel__header .button {
    display: none;
  }

  .guide-case__summary {
    gap: 10px;
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .guide-case__summary-index,
  .guide-case__summary-hint {
    width: fit-content;
  }

  .guide-case__summary-hint {
    display: none;
  }

  .guide-case__content {
    gap: 14px;
    padding: 14px 16px 16px;
  }
}

/* Desktop workspace readability pass */

@media (min-width: 981px) {
  .container {
    max-width: 1520px;
  }

  .workspace-layout {
    column-gap: 14px;
    grid-template-columns: minmax(240px, 272px) minmax(0, 1.7fr) minmax(190px, 228px);
  }

  .workspace-control-rail {
    align-self: stretch;
    display: flex;
  }

  .workspace-control-rail__sticky {
    overflow: visible;
    position: sticky;
    width: 100%;
    top: 96px;
  }

  .workspace-toolbar {
    align-self: start;
    gap: 16px;
    max-height: none;
    overflow: visible;
    padding: 18px 18px 20px;
  }

  .workspace-toolbar__copy h2 {
    font-size: 1.28rem;
    margin-bottom: 8px;
  }

  .workspace-toolbar__copy .muted {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .workspace-toolbar__actions {
    gap: 10px;
  }

  .workspace-toolbar .button {
    min-height: 42px;
  }

  .workspace-shell {
    padding: 16px;
  }

  .workspace-sidebar {
    padding: 12px;
  }

  .workspace-sidebar__sticky {
    top: 96px;
  }

  .workspace-map-panel {
    gap: 14px;
  }

  .workspace-filter-bar,
  .workspace-map-panel__head {
    gap: 10px;
  }

  .workspace-filter-summary,
  .workspace-filter-bar .filter-chip,
  .workspace-map-panel .eyebrow {
    font-size: 0.8rem;
  }

  .workspace-map {
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace-map__item {
    border-radius: 14px;
    min-height: 44px;
  }

  .workspace-card {
    scroll-margin-top: 108px;
  }

  .workspace-card__head {
    margin-bottom: 20px;
  }

  .workspace-card__headline h2 {
    font-size: 1.42rem;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
  }

  .workspace-card__body {
    gap: 20px;
    grid-template-columns: 1fr;
  }

  .workspace-card__sample {
    border-radius: 22px;
    padding: 24px 26px;
  }

  .sample-block {
    border-radius: 20px;
    padding: 18px 20px;
  }

  .sample-block h3 {
    font-size: 0.96rem;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
  }

  .sample-text-shell {
    gap: 12px;
  }

  .sample-block--question .sample-text-shell {
    --line-clamp: 9;
  }

  .sample-block--response .sample-text-shell {
    --line-clamp: 12;
  }

  .sample-block--question .sample-text {
    color: #0f1f30;
    font-size: 1.18rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.9;
  }

  .sample-block--response .sample-text {
    color: #223548;
    font-size: 1.02rem;
    line-height: 1.85;
  }

  .sample-text-toggle {
    font-size: 0.8rem;
    min-height: 34px;
    padding: 7px 12px;
  }

  .workspace-card__form {
    gap: 12px;
  }

  .workspace-card__form > .notice--info {
    font-size: 0.86rem;
    line-height: 1.6;
    margin: 0;
    padding: 10px 12px;
  }

  fieldset {
    border-radius: 18px;
    padding: 14px 16px 16px;
  }

  legend {
    font-size: 1rem;
    padding: 0 6px;
  }

  fieldset > .muted {
    font-size: 0.84rem;
    line-height: 1.55;
    margin: 0 0 8px;
  }

  .anchor {
    border-left-width: 3px;
    font-size: 0.82rem;
    line-height: 1.55;
    margin: 0 0 10px;
    padding: 8px 10px;
  }

  .radio-row {
    gap: 8px;
  }

  .radio-row label {
    border-radius: 14px;
    font-size: 0.9rem;
    gap: 8px;
    min-height: 42px;
    padding: 8px 12px;
  }

  .workspace-card__form label:has(textarea) {
    font-size: 0.92rem;
  }

  .workspace-card__form textarea {
    min-height: 110px;
    margin-top: 8px;
  }
}

@media (min-width: 981px) and (max-width: 1320px) {
  .workspace-layout {
    grid-template-columns: minmax(228px, 252px) minmax(0, 1.55fr) minmax(176px, 208px);
  }

  .workspace-toolbar__copy .muted,
  .workspace-shortcuts {
    font-size: 0.84rem;
  }
}
