body.document-shell {
  margin: 0;
  background: #f5f4ef;
  color: #262b28;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.9;
}

.document-shell .doc-toolbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  height: 58px;
  padding: 0 max(20px, calc((100vw - 1120px) / 2));
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e1e1dc;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
}

.document-shell .doc-toolbar a { color: #202523; font-weight: 800; text-decoration: none; }
.document-shell .doc-toolbar button { border: 1px solid #d7d7d2; border-radius: 999px; background: white; padding: 8px 14px; cursor: pointer; }
.document-shell .wrapper, .document-shell > .container, .document-shell .agree-content { width: min(calc(100% - 40px), 960px) !important; max-width: 960px !important; margin: 36px auto 80px !important; background: white; }
.document-shell .wrapper { padding: 0 !important; border: 1px solid #e3e2dc; border-radius: 10px; overflow: hidden; }
.document-shell .wrapper > .header { position: static !important; width: auto !important; }
.document-shell .agree-content { width: auto !important; margin: 0 !important; padding: 48px 56px 72px !important; }
.document-shell h1 { margin: 0 0 16px; color: #171a18; font-size: clamp(30px,5vw,46px); line-height: 1.22; text-align: left; }
.document-shell h2 { margin: 48px 0 16px; scroll-margin-top: 82px; color: #202523; font-size: 25px; line-height: 1.45; }
.document-shell h3 { scroll-margin-top: 82px; }
.document-shell p, .document-shell li { color: #4d524f; }
.document-shell a { color: #315caa; overflow-wrap: anywhere; }
.document-shell table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.document-shell img { max-width: 100%; height: auto; }
.document-shell .doc-outline { width: min(calc(100% - 40px), 960px); margin: 22px auto -18px; padding: 18px 20px; border: 1px solid #dfe3df; border-radius: 8px; background: #edf1ed; }
.document-shell .doc-outline strong { display: block; margin-bottom: 8px; }
.document-shell .doc-outline div { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.document-shell .doc-outline a { color: #40544c; font-size: 13px; text-decoration: none; }

@media (max-width: 700px) {
  body.document-shell { font-size: 15px; }
  .document-shell .doc-toolbar { height: 54px; padding: 0 16px; }
  .document-shell .wrapper, .document-shell > .container, .document-shell .agree-content { width: min(calc(100% - 20px),960px) !important; }
  .document-shell .agree-content { width: auto !important; padding: 28px 20px 48px !important; }
  .document-shell .doc-outline { width: calc(100% - 20px); }
}

@media print {
  .document-shell .doc-toolbar, .document-shell .doc-outline { display: none !important; }
  body.document-shell { background: white; }
  .document-shell .wrapper, .document-shell .agree-content { width: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
}
