:root {
  --wb-ink: #16364f;
  --wb-ink-strong: #0c2a43;
  --wb-muted: #60788b;
  --wb-blue: #167fc2;
  --wb-blue-dark: #0e6ea9;
  --wb-blue-soft: #e8f4fb;
  --wb-cyan: #18a8c7;
  --wb-teal: #1d8b83;
  --wb-green: #27855f;
  --wb-green-soft: #e8f6ef;
  --wb-amber: #b87912;
  --wb-amber-soft: #fff6df;
  --wb-paper: #ffffff;
  --wb-canvas: #f5faff;
  --wb-canvas-2: #eef7fd;
  --wb-line: #d9e7f0;
  --wb-line-strong: #bdd6e6;
  --wb-shadow: 0 10px 30px rgba(33, 86, 121, 0.08);
  --wb-radius: 6px;
  --wb-header-height: 70px;
}

.workbench-home {
  min-width: 320px;
  color: var(--wb-ink);
  background: var(--wb-canvas);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.workbench-home * {
  box-sizing: border-box;
}

.workbench-home a {
  color: inherit;
  text-decoration: none;
}

.workbench-home button,
.workbench-home input {
  font: inherit;
}

.workbench-home button {
  letter-spacing: 0;
}

.workbench-home h1,
.workbench-home h2,
.workbench-home h3,
.workbench-home p {
  margin-top: 0;
}

.workbench-home h1,
.workbench-home h2,
.workbench-home h3 {
  color: var(--wb-ink-strong);
  letter-spacing: 0;
}

.workbench-home h1 {
  margin-bottom: 6px;
  font-size: 27px;
  line-height: 1.25;
}

.workbench-home h2 {
  margin-bottom: 0;
  font-size: 21px;
  line-height: 1.35;
}

.workbench-home h3 {
  font-size: 16px;
}

.workbench-home :focus-visible {
  outline: 3px solid rgba(22, 127, 194, 0.28);
  outline-offset: 2px;
}

.wb-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--wb-header-height);
  border-bottom: 1px solid var(--wb-line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
}

.wb-header-inner {
  display: grid;
  grid-template-columns: auto minmax(490px, 1fr) minmax(220px, 320px);
  gap: 30px;
  width: min(calc(100% - 44px), 1480px);
  height: 100%;
  margin-inline: auto;
  align-items: center;
}

.wb-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 188px;
}

.wb-brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 5px;
  color: #fff;
  background: var(--wb-blue);
  font-size: 21px;
  font-weight: 800;
}

.wb-brand-copy {
  display: grid;
}

.wb-brand-copy strong {
  color: var(--wb-ink-strong);
  font-size: 16px;
  line-height: 1.3;
}

.wb-brand-copy small {
  color: #8094a3;
  font-size: 11px;
}

.wb-navigation {
  display: flex;
  min-width: 0;
  align-items: stretch;
  justify-content: center;
  gap: 2px;
  height: 100%;
}

.wb-navigation a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #35556d;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.wb-navigation a:hover,
.wb-navigation a:focus-visible,
.wb-navigation a.is-current {
  color: var(--wb-blue);
}

.wb-navigation a.is-current::after {
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 3px;
  background: var(--wb-blue);
  content: "";
}

.wb-header-search {
  display: flex;
  min-width: 0;
  height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 13px;
  border: 1px solid var(--wb-line);
  border-radius: var(--wb-radius);
  color: #8699a8;
  background: #fbfdff;
  font-size: 13px;
}

.wb-header-search:hover {
  border-color: var(--wb-line-strong);
  color: var(--wb-blue);
}

.wb-header-search span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wb-header-search i {
  font-size: 18px;
}

.wb-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--wb-line);
  border-radius: var(--wb-radius);
  color: var(--wb-ink);
  background: #fff;
  font-size: 22px;
}

.wb-shell {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr) 252px;
  gap: 22px;
  width: min(calc(100% - 44px), 1480px);
  margin-inline: auto;
  padding: 24px 0 42px;
  align-items: start;
}

.domain-rail,
.evidence-rail {
  position: sticky;
  top: calc(var(--wb-header-height) + 20px);
}

.domain-rail {
  min-height: calc(100vh - var(--wb-header-height) - 44px);
  padding-right: 18px;
  border-right: 1px solid var(--wb-line);
}

.rail-label {
  margin-bottom: 8px;
  color: #8a9ca9;
  font-size: 12px;
  font-weight: 800;
}

.domain-filter-group {
  display: grid;
  gap: 4px;
}

.domain-filter {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 8px;
  width: 100%;
  min-height: 43px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: var(--wb-radius);
  color: #31536b;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.domain-filter:hover {
  border-color: var(--wb-line);
  background: #fff;
}

.domain-filter.is-active {
  color: var(--wb-blue-dark);
  border-color: #cce4f2;
  background: var(--wb-blue-soft);
  font-weight: 800;
}

.domain-filter i {
  font-size: 18px;
}

.domain-filter small {
  min-width: 20px;
  color: #7d94a4;
  font-size: 11px;
  text-align: right;
}

.rail-divider {
  height: 1px;
  margin: 18px 0;
  background: var(--wb-line);
}

.roadmap-links {
  display: grid;
  gap: 2px;
}

.roadmap-links a {
  display: grid;
  gap: 1px;
  padding: 8px 10px;
  border-radius: var(--wb-radius);
  color: #46647a;
}

.roadmap-links a:hover {
  color: var(--wb-blue);
  background: #fff;
}

.roadmap-links span {
  font-size: 14px;
  font-weight: 700;
}

.roadmap-links small {
  color: #8b9ca8;
  font-size: 11px;
}

.rail-quick {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--wb-line);
}

.rail-quick a {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  color: #506c80;
  font-size: 13px;
}

.rail-quick a:hover {
  color: var(--wb-blue);
}

.rail-quick i {
  color: var(--wb-blue);
  font-size: 17px;
}

.workspace-column {
  min-width: 0;
}

.problem-search-section {
  padding-bottom: 18px;
}

.problem-heading {
  margin-bottom: 13px;
}

.problem-heading p:last-child {
  margin-bottom: 0;
  color: var(--wb-muted);
}

.section-kicker {
  margin-bottom: 5px;
  color: var(--wb-blue);
  font-size: 12px;
  font-weight: 800;
}

.problem-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 46px;
  border: 1px solid var(--wb-blue);
  border-radius: var(--wb-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 14px rgba(22, 127, 194, 0.09);
}

.search-field {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
}

.search-field i {
  color: #7d98ab;
  font-size: 18px;
}

.search-field input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--wb-ink);
  background: transparent;
  font-size: 14px;
}

.search-field input::placeholder {
  color: #91a5b3;
}

.problem-search > button {
  display: inline-flex;
  min-width: 124px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 19px;
  border: 0;
  color: #fff;
  background: var(--wb-blue);
  font-weight: 800;
  cursor: pointer;
}

.problem-search > button:hover {
  background: var(--wb-blue-dark);
}

.suggestion-row {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  border-bottom: 1px solid var(--wb-line);
  color: #6d8496;
  white-space: nowrap;
  scrollbar-width: none;
}

.suggestion-row::-webkit-scrollbar {
  display: none;
}

.suggestion-row > span {
  margin-right: 4px;
  font-size: 12px;
  font-weight: 700;
}

.suggestion-row button {
  padding: 5px 8px;
  border: 0;
  border-radius: 4px;
  color: var(--wb-blue-dark);
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.suggestion-row button:hover {
  background: var(--wb-blue-soft);
}

.suggestion-row .shuffle-suggestions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: #718899;
}

.diagnosis-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 16px 0 0;
  padding: 0;
  border: 1px solid var(--wb-line);
  border-radius: var(--wb-radius);
  overflow: hidden;
  background: #fff;
  list-style: none;
}

.diagnosis-flow li {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 76px;
  align-items: center;
  gap: 9px;
  padding: 12px;
  border-right: 1px solid var(--wb-line);
}

.diagnosis-flow li:last-child {
  border-right: 0;
}

.diagnosis-flow li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -8px;
  width: 14px;
  height: 14px;
  border-top: 1px solid var(--wb-line);
  border-right: 1px solid var(--wb-line);
  background: #fff;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.flow-icon {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #c8dce9;
  border-radius: 50%;
  color: var(--wb-blue);
  background: var(--wb-canvas);
  font-size: 18px;
}

.diagnosis-flow li:first-child .flow-icon {
  color: #fff;
  border-color: var(--wb-blue);
  background: var(--wb-blue);
}

.diagnosis-flow div {
  display: grid;
  min-width: 0;
}

.diagnosis-flow strong {
  color: var(--wb-ink);
  font-size: 13px;
}

.diagnosis-flow small {
  overflow: hidden;
  color: #8194a2;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.problem-workbench,
.featured-section,
.domain-status-section,
.regulations-section,
.tools-section {
  margin-top: 16px;
  scroll-margin-top: calc(var(--wb-header-height) + 18px);
}

.author-strip,
.evidence-rail {
  scroll-margin-top: calc(var(--wb-header-height) + 18px);
}

.section-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.section-bar > p {
  max-width: 470px;
  margin-bottom: 1px;
  color: var(--wb-muted);
  font-size: 12px;
  text-align: right;
}

.result-status {
  color: #718899;
}

.problem-table-wrap,
.tools-table-wrap {
  border: 1px solid var(--wb-line);
  border-radius: var(--wb-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--wb-shadow);
}

.problem-table,
.tools-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.problem-table th,
.problem-table td,
.tools-table th,
.tools-table td {
  padding: 10px 11px;
  border-bottom: 1px solid var(--wb-line);
  text-align: left;
  vertical-align: top;
}

.problem-table tr:last-child td,
.tools-table tr:last-child td {
  border-bottom: 0;
}

.problem-table th,
.tools-table th {
  color: #516d80;
  background: var(--wb-canvas-2);
  font-size: 12px;
  font-weight: 800;
}

.problem-table th:nth-child(1) {
  width: 23%;
}

.problem-table th:nth-child(2) {
  width: 27%;
}

.problem-table th:nth-child(3) {
  width: 23%;
}

.problem-table th:nth-child(4) {
  width: 20%;
}

.problem-table th:nth-child(5) {
  width: 7%;
}

.problem-table tbody tr:hover,
.tools-table tbody tr:hover {
  background: #fbfdff;
}

.problem-table td {
  color: #4d687b;
  font-size: 12px;
}

.problem-table td p {
  margin-bottom: 4px;
  color: #4d687b;
  font-size: 12px;
  line-height: 1.55;
}

.problem-table td a {
  color: var(--wb-blue-dark);
  font-weight: 700;
}

.problem-table td small {
  display: block;
  margin-top: 3px;
  color: #8b9ca8;
  font-size: 10px;
}

.problem-table .problem-title-link {
  display: block;
  margin-top: 5px;
  color: var(--wb-ink-strong);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.domain-badge {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
}

.domain-badge.equipment {
  color: #0f6f9e;
  background: #e5f3fa;
}

.domain-badge.facility {
  color: #19745a;
  background: #e4f5ed;
}

.problem-table time {
  color: #7a8f9e;
  font-variant-numeric: tabular-nums;
}

.empty-result {
  padding: 48px 24px;
  text-align: center;
}

.empty-result i {
  display: block;
  margin-bottom: 10px;
  color: var(--wb-blue);
  font-size: 34px;
}

.empty-result strong {
  display: block;
  margin-bottom: 6px;
  color: var(--wb-ink-strong);
}

.empty-result p {
  max-width: 560px;
  margin: 0 auto 16px;
  color: var(--wb-muted);
}

.empty-result button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--wb-blue);
  border-radius: var(--wb-radius);
  color: var(--wb-blue);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}

.mobile-domain-filters {
  display: none;
}

.featured-section,
.domain-status-section,
.regulations-section,
.tools-section {
  padding-top: 30px;
  border-top: 1px solid var(--wb-line);
}

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.featured-case,
.featured-tool {
  padding: 18px;
  border: 1px solid var(--wb-line);
  border-radius: var(--wb-radius);
  background: #fff;
}

.featured-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}

.featured-label span {
  padding: 2px 7px;
  border-radius: 4px;
  color: #fff;
  background: var(--wb-blue);
  font-size: 11px;
  font-weight: 800;
}

.featured-label.tool span {
  background: var(--wb-green);
}

.featured-label small {
  color: #7e929f;
}

.featured-case h3,
.featured-tool h3 {
  margin-bottom: 7px;
  font-size: 17px;
}

.case-scene,
.featured-tool > p {
  margin-bottom: 12px;
  color: var(--wb-muted);
  font-size: 12px;
}

.case-evidence {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
}

.case-evidence div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 7px;
}

.case-evidence dt {
  color: #6c8496;
  font-size: 11px;
  font-weight: 800;
}

.case-evidence dd {
  margin: 0;
  color: #435f73;
  font-size: 11px;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--wb-line);
  color: #7b909f;
  font-size: 10px;
}

.featured-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.featured-meta a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  color: var(--wb-blue);
  font-size: 11px;
  font-weight: 800;
}

.featured-tool > ul {
  display: grid;
  gap: 5px;
  margin: 0 0 14px;
  padding-left: 18px;
  color: #4d687b;
  font-size: 11px;
}

.tool-file-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--wb-line);
  border-radius: var(--wb-radius);
  background: var(--wb-canvas);
}

.tool-file-row > i {
  color: var(--wb-green);
  font-size: 22px;
}

.tool-file-row div {
  display: grid;
}

.tool-file-row strong {
  color: var(--wb-ink);
  font-size: 12px;
}

.tool-file-row small {
  color: #8194a2;
  font-size: 10px;
}

.tool-file-row a {
  padding: 5px 10px;
  border: 1px solid var(--wb-green);
  border-radius: 4px;
  color: var(--wb-green);
  font-size: 11px;
  font-weight: 800;
}

.domain-status-list {
  display: grid;
  border-top: 1px solid var(--wb-line);
}

.domain-status-list article {
  display: grid;
  grid-template-columns: 150px minmax(220px, 0.8fr) minmax(260px, 1.2fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 84px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--wb-line);
}

.domain-status-list article > div {
  display: flex;
  gap: 9px;
  align-items: center;
}

.domain-status-list article > div > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--wb-line-strong);
  border-radius: 4px;
  color: var(--wb-blue);
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

.domain-status-list h3 {
  margin: 0;
  font-size: 14px;
}

.domain-status-list p {
  margin: 0;
  color: var(--wb-muted);
  font-size: 11px;
}

.domain-status-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0;
  padding: 0;
  color: #48667b;
  font-size: 11px;
  list-style: none;
}

.domain-status-list li {
  position: relative;
  padding-left: 10px;
}

.domain-status-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #85a7bc;
  content: "";
}

.domain-status-list article > strong {
  justify-self: end;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  white-space: nowrap;
}

.status-live {
  color: #1d7757;
  background: var(--wb-green-soft);
}

.status-writing {
  color: #9b6815;
  background: var(--wb-amber-soft);
}

.status-checking {
  color: #0f6f9e;
  background: var(--wb-blue-soft);
}

.status-planned {
  color: #6e7f8c;
  background: #edf1f4;
}

.regulation-library {
  overflow: hidden;
  border: 1px solid var(--wb-line);
  border-radius: var(--wb-radius);
  background: #fff;
  box-shadow: var(--wb-shadow);
}

.regulation-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--wb-line);
  background: var(--wb-canvas-2);
}

.regulation-tabs button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  min-height: 68px;
  align-items: center;
  padding: 10px 14px;
  border: 0;
  border-right: 1px solid var(--wb-line);
  color: #567184;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.regulation-tabs button:last-child {
  border-right: 0;
}

.regulation-tabs button:hover {
  background: #f8fcff;
}

.regulation-tabs button.is-active {
  color: var(--wb-blue-dark);
  background: #fff;
  box-shadow: inset 0 -3px 0 var(--wb-blue);
}

.regulation-tabs button > i {
  color: var(--wb-blue);
  font-size: 22px;
}

.regulation-tabs button > span {
  display: grid;
  min-width: 0;
}

.regulation-tabs strong {
  color: var(--wb-ink-strong);
  font-size: 13px;
}

.regulation-tabs small {
  color: #8094a3;
  font-size: 10px;
}

.regulation-panel {
  padding: 18px;
}

.regulation-panel[hidden] {
  display: none;
}

.regulation-panel > header {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 13px;
}

.regulation-panel > header > div {
  display: flex;
  gap: 9px;
  align-items: center;
}

.regulation-panel > header > div > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--wb-line-strong);
  border-radius: 4px;
  color: var(--wb-blue);
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

.regulation-panel h3 {
  margin: 0;
  font-size: 16px;
}

.regulation-panel > header p {
  margin: 0;
  color: var(--wb-muted);
  font-size: 11px;
}

.regulation-source-list {
  display: grid;
  border-top: 1px solid var(--wb-line);
}

.regulation-source-list a {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--wb-line);
}

.regulation-source-list a:hover {
  background: #fbfdff;
}

.regulation-source-list a > span:nth-child(2) {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.regulation-source-list a > span:nth-child(2) strong {
  color: var(--wb-ink-strong);
  font-size: 12px;
}

.regulation-source-list a > span:nth-child(2) small {
  color: var(--wb-muted);
  font-size: 10px;
}

.regulation-source-list a > i {
  color: var(--wb-blue);
  font-size: 16px;
}

.regulation-type {
  justify-self: start;
  padding: 3px 7px;
  border-radius: 4px;
  color: #0f6f9e;
  background: var(--wb-blue-soft);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.regulation-panel > footer {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding-top: 12px;
  color: #7d919f;
  font-size: 10px;
}

.regulation-panel > footer strong {
  color: #536f82;
}

.tools-table th:nth-child(1) {
  width: 24%;
}

.tools-table th:nth-child(2) {
  width: 23%;
}

.tools-table th:nth-child(3) {
  width: 29%;
}

.tools-table th:nth-child(4) {
  width: 12%;
}

.tools-table th:nth-child(5) {
  width: 12%;
}

.tools-table td {
  color: #4d687b;
  font-size: 11px;
}

.tools-table td:first-child {
  color: var(--wb-ink);
  font-weight: 800;
}

.tools-table td span {
  padding: 3px 6px;
  border-radius: 4px;
  color: #1d7757;
  background: var(--wb-green-soft);
  font-weight: 800;
  white-space: nowrap;
}

.tools-table td a {
  color: var(--wb-blue);
  font-weight: 800;
  white-space: nowrap;
}

.evidence-panel {
  border: 1px solid var(--wb-line);
  border-radius: var(--wb-radius);
  overflow: hidden;
  background: #fff;
}

.evidence-panel > h2 {
  padding: 14px 15px;
  border-bottom: 1px solid var(--wb-line);
  background: var(--wb-canvas-2);
  font-size: 16px;
}

.evidence-panel section {
  padding: 14px 15px;
  border-bottom: 1px solid var(--wb-line);
}

.evidence-panel section h3 {
  margin-bottom: 9px;
  color: var(--wb-blue-dark);
  font-size: 12px;
}

.evidence-panel section > a {
  display: grid;
  gap: 1px;
  padding: 7px 0;
  border-bottom: 1px dashed #dce7ed;
}

.evidence-panel section > a:last-child {
  border-bottom: 0;
}

.evidence-panel section > a:hover strong {
  color: var(--wb-blue);
}

.evidence-panel section > a strong {
  color: var(--wb-ink);
  font-size: 11px;
}

.evidence-panel section > a span {
  color: var(--wb-muted);
  font-size: 10px;
}

.source-check {
  display: grid;
  gap: 8px;
  margin: 0;
}

.source-check div {
  display: grid;
  gap: 1px;
}

.source-check dt {
  color: #7c919f;
  font-size: 10px;
}

.source-check dd {
  margin: 0;
  color: #466479;
  font-size: 10px;
}

.update-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.update-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 6px;
  color: #536e81;
  font-size: 10px;
}

.update-list time {
  color: #8a9da9;
  font-variant-numeric: tabular-nums;
}

.evidence-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 15px;
  color: var(--wb-blue);
  font-size: 11px;
  font-weight: 800;
}

.author-strip {
  border-top: 1px solid var(--wb-line);
  border-bottom: 1px solid var(--wb-line);
  background: #fff;
}

.author-strip-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.1fr) minmax(260px, 0.8fr);
  gap: 34px;
  width: min(calc(100% - 44px), 1180px);
  margin-inline: auto;
  padding: 30px 0;
  align-items: center;
}

.author-strip h2 {
  font-size: 18px;
}

.author-strip-inner > p {
  margin: 0;
  color: var(--wb-muted);
  font-size: 12px;
}

.author-strip ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
  color: #48667a;
  font-size: 11px;
}

.wb-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  width: min(calc(100% - 44px), 1480px);
  min-height: 78px;
  margin-inline: auto;
  align-items: center;
  color: #6a8293;
  font-size: 11px;
}

.wb-footer > div {
  display: grid;
}

.wb-footer strong {
  color: var(--wb-ink);
  font-size: 13px;
}

.wb-footer p {
  margin: 0;
  text-align: center;
}

.wb-footer nav {
  display: flex;
  gap: 14px;
}

.wb-footer a:hover {
  color: var(--wb-blue);
}

.wb-toast {
  position: fixed;
  z-index: 200;
  right: 22px;
  bottom: 22px;
  max-width: min(380px, calc(100vw - 44px));
  padding: 10px 13px;
  border: 1px solid var(--wb-line-strong);
  border-radius: var(--wb-radius);
  color: var(--wb-ink);
  background: #fff;
  box-shadow: var(--wb-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.wb-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1240px) {
  .wb-header-inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .wb-header-search {
    display: none;
  }

  .wb-shell {
    grid-template-columns: 166px minmax(0, 1fr);
  }

  .evidence-rail {
    position: static;
    grid-column: 2;
  }

  .evidence-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .evidence-panel > h2,
  .evidence-more {
    grid-column: 1 / -1;
  }

  .evidence-panel section {
    border-right: 1px solid var(--wb-line);
  }

  .evidence-panel section:nth-of-type(3) {
    border-right: 0;
  }
}

@media (max-width: 980px) {
  .wb-header-inner {
    width: min(calc(100% - 32px), 940px);
  }

  .wb-navigation a {
    padding-inline: 8px;
    font-size: 12px;
  }

  .wb-shell {
    display: block;
    width: min(calc(100% - 32px), 940px);
  }

  .domain-rail {
    display: none;
  }

  .mobile-domain-filters {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    overflow-x: auto;
  }

  .mobile-domain-filters button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--wb-line);
    border-radius: var(--wb-radius);
    color: #4c687b;
    background: #fff;
    cursor: pointer;
  }

  .mobile-domain-filters button.is-active {
    color: var(--wb-blue);
    border-color: #bcdbea;
    background: var(--wb-blue-soft);
    font-weight: 800;
  }

  .evidence-rail {
    margin-top: 34px;
  }

  .author-strip-inner {
    width: min(calc(100% - 32px), 940px);
  }
}

@media (max-width: 760px) {
  .wb-header {
    height: 62px;
  }

  .wb-header-inner {
    grid-template-columns: 1fr auto;
    width: calc(100% - 28px);
  }

  .wb-brand {
    min-width: 0;
  }

  .wb-brand-mark {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .wb-brand-copy strong {
    font-size: 14px;
  }

  .wb-brand-copy small {
    font-size: 10px;
  }

  .wb-menu-toggle {
    display: inline-flex;
  }

  .wb-navigation {
    position: absolute;
    top: 62px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    justify-content: stretch;
    height: auto;
    padding: 8px 14px 14px;
    border-bottom: 1px solid var(--wb-line);
    background: #fff;
    box-shadow: 0 12px 22px rgba(33, 86, 121, 0.1);
  }

  .wb-navigation.is-open {
    display: grid;
  }

  .wb-navigation a {
    width: 100%;
    max-width: 360px;
    min-height: 42px;
    margin-inline: auto;
    padding: 0 10px;
    border-bottom: 1px solid #edf3f7;
    font-size: 13px;
  }

  .wb-navigation a.is-current::after {
    display: none;
  }

  .wb-shell {
    width: calc(100% - 28px);
    padding-top: 20px;
  }

  .workbench-home h1 {
    font-size: 23px;
  }

  .problem-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .problem-search > button {
    min-width: 46px;
    padding: 0 13px;
  }

  .problem-search > button span {
    display: none;
  }

  .search-field {
    padding-inline: 11px;
  }

  .search-field input {
    font-size: 13px;
  }

  .suggestion-row .shuffle-suggestions {
    margin-left: 0;
  }

  .diagnosis-flow {
    grid-template-columns: 1fr;
  }

  .diagnosis-flow li {
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid var(--wb-line);
  }

  .diagnosis-flow li:last-child {
    border-bottom: 0;
  }

  .diagnosis-flow li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -8px;
    left: 30px;
    transform: rotate(135deg);
  }

  .diagnosis-flow small {
    white-space: normal;
  }

  .section-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .section-bar > p {
    text-align: left;
  }

  .problem-table-wrap {
    border: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  .problem-table,
  .problem-table tbody,
  .problem-table tr,
  .problem-table td {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .problem-table thead {
    display: none;
  }

  .problem-table tbody {
    display: grid;
    gap: 10px;
  }

  .problem-table tr {
    padding: 14px;
    border: 1px solid var(--wb-line);
    border-radius: var(--wb-radius);
    background: #fff;
    box-shadow: 0 5px 16px rgba(33, 86, 121, 0.06);
  }

  .problem-table td {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 9px;
    padding: 8px 0;
    border-bottom: 1px solid #eaf1f5;
  }

  .problem-table td::before {
    color: #8295a3;
    font-size: 10px;
    font-weight: 800;
    content: attr(data-label);
  }

  .problem-table td:first-child {
    display: block;
    padding-top: 0;
  }

  .problem-table td:first-child::before {
    display: none;
  }

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

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-meta {
    flex-wrap: wrap;
  }

  .featured-meta a {
    margin-left: 0;
  }

  .domain-status-list {
    gap: 10px;
    border-top: 0;
  }

  .domain-status-list article {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--wb-line);
    border-radius: var(--wb-radius);
    background: #fff;
  }

  .domain-status-list article > strong {
    justify-self: start;
  }

  .regulation-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .regulation-tabs button {
    min-height: 64px;
    border-bottom: 1px solid var(--wb-line);
  }

  .regulation-tabs button:nth-child(2n) {
    border-right: 0;
  }

  .regulation-tabs button:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .regulation-panel {
    padding: 14px;
  }

  .regulation-panel > header {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .regulation-source-list a {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 10px;
    padding-block: 12px;
  }

  .regulation-type {
    grid-column: 1 / -1;
  }

  .regulation-source-list a > span:nth-child(2) {
    grid-column: 1;
  }

  .regulation-source-list a > i {
    grid-column: 2;
  }

  .regulation-panel > footer {
    display: grid;
    gap: 3px;
  }

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

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

  .evidence-panel {
    display: block;
  }

  .evidence-panel section {
    border-right: 0;
  }

  .author-strip-inner {
    grid-template-columns: 1fr;
    gap: 15px;
    width: calc(100% - 28px);
    padding: 24px 0;
  }

  .wb-footer {
    grid-template-columns: 1fr;
    gap: 12px;
    width: calc(100% - 28px);
    padding: 24px 0;
  }

  .wb-footer p {
    text-align: left;
  }

  .wb-footer nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workbench-home *,
  .workbench-home *::before,
  .workbench-home *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
