/**
 * IP315 工作台骨架 — 仅浅色 · SF 系标题与章节紧凑样式
 */

html.ip315-page .ip315-workbench {
  display: block;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 12px 32px;
  box-sizing: border-box;
}

html.ip315-page .ip315-workbench__sheet.container {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

html.ip315-page .ip315-workbench-hd {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(60, 60, 67, 0.12);
  padding: 10px 0 12px;
  margin-bottom: 12px;
}

html.ip315-page .ip315-workbench-hd::before {
  display: none;
}

html.ip315-page .ip315-workbench-hd > * {
  position: relative;
  z-index: 1;
}

html.ip315-page .ip315-workbench-hd__title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.75rem, 4.2vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.15;
  color: #1d1d1f;
  margin: 0 0 6px;
}

html.ip315-page .ip315-workbench-hd__sub {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 400;
  color: #6e6e73;
  margin: 0;
  max-width: 36em;
}

html.ip315-page .ip315-workbench-hd .ip315-hero-metrics {
  margin: 10px 0 0;
  max-width: 100%;
  width: 100%;
}

html.ip315-page .ip315-chapter {
  margin: 8px 0 6px !important;
  scroll-margin-top: 96px;
}

html.ip315-page .ip315-chapter__rule {
  margin-bottom: 6px !important;
  opacity: 0.5;
}

html.ip315-page .ip315-chapter__grid {
  grid-template-columns: 2.5rem 1fr auto !important;
  gap: 8px 12px !important;
  align-items: baseline !important;
  padding: 4px 0 !important;
}

html.ip315-page .ip315-chapter__num {
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  -webkit-text-stroke: 0 !important;
  color: #86868b !important;
  padding-right: 0 !important;
  text-align: right;
}

html.ip315-page .ip315-chapter__en {
  font-size: 10px !important;
  letter-spacing: 0.12em !important;
  margin-bottom: 0 !important;
}

html.ip315-page .ip315-chapter__title {
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  color: #1d1d1f !important;
  margin-bottom: 0 !important;
  line-height: 1.35 !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

html.ip315-page .ip315-chapter__desc {
  font-size: 11px !important;
  line-height: 1.4 !important;
  max-width: 100% !important;
  max-height: 2.8em !important;
  overflow: hidden !important;
  opacity: 0.85;
  color: #6e6e73 !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

html.ip315-page .ip315-chapter__meta {
  font-size: 9px !important;
  padding-top: 0 !important;
  color: #86868b !important;
}

html.ip315-page .ip315-chapter__accent {
  height: 2px !important;
  margin-top: 4px !important;
  opacity: 0.6;
}

html.ip315-page .ip315-bottom-folds {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 12px 48px;
}

html.ip315-page .ip315-bottom-folds > .container {
  max-width: 100% !important;
  width: 100% !important;
}

/* 流水线下方状态行 */
html.ip315-page .ip315-editor-statusline {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4px 18px 6px;
  font-size: 11px;
  line-height: 1.35;
  color: #6e6e73;
  background: #f5f5f7;
  border-top: 1px solid rgba(60, 60, 67, 0.12);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "PingFang SC", monospace;
  white-space: pre;
  overflow-x: auto;
}
