/*
 * LCode 手册 — WinForm 传统窗口素色风格
 * 适用于：门户首页、控件手册页、集成状态页、所有控件子页
 * 原则：无圆角、无过渡动画、无 CSS 变量、outset/inset 立体边框、系统色
 */

/* =========================================================================
   1. 全局基础
   ========================================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 15px;
  /* 不启用 smooth-scroll，保持 WinForm 原生的跳转感受 */
}

body {
  font-family: "Segoe UI", "Microsoft YaHei", "Tahoma", sans-serif;
  font-size: 13px;
  color: #000000;
  background: #D4D0C8;          /* WinForm 标准窗口背景色 */
  line-height: 1.6;
}

a {
  color: #003399;               /* WinForm 链接蓝 */
  text-decoration: underline;
}

a:hover {
  color: #003399;
}

/* =========================================================================
   2. 主布局：固定侧边栏 + 滚动内容区
   ========================================================================= */

.layout {
  display: flex;
  min-height: 100vh;
}

/* ---- 侧边栏：WinForm 面板风格 ---- */
.sidebar {
  width: 280px;
  min-width: 280px;
  background: #F0F0F0;
  color: #000000;
  padding: 0;
  position: fixed;
  top: 32px;
  left: 0;
  bottom: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  z-index: 100;
  border-right: 1px solid #808080;
  box-shadow: 2px 0 0 #FFFFFF inset;
}

/* 左侧栏顶栏：品牌 + 搜索固定（overflow 可见，避免裁切搜索下拉） */
.sidebar-header {
  flex-shrink: 0;
  position: relative;
  z-index: 160;
  background: #F0F0F0;
  border-bottom: 1px solid #808080;
  overflow: visible;
}

#sidebar-nav {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

/* 品牌区 */
.sidebar-brand {
  padding: 8px 10px;
  background: #F0F0F0;
  border-bottom: 1px solid #808080;
  margin: 0;
}

.sidebar-brand a {
  color: #000000;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
}

.sidebar-brand small {
  display: block;
  color: #666666;
  font-size: 11px;
  margin-top: 2px;
}

/* 搜索框（侧边栏内，全局搜索入口） */
.sidebar-search {
  padding: 6px 10px;
  position: relative;
  background: #F0F0F0;
}

.sidebar-search input {
  width: 100%;
  padding: 3px 6px 3px 22px;
  border: 1px inset #808080;
  border-radius: 0;
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3E%3Cpath fill='%23808080' d='M11 7a4 4 0 1 1-8 0 4 4 0 0 1 8 0zm-.7 3.3a6 6 0 1 0-.7.7l3.5 3.5.7-.7-3.5-3.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 4px center;
  color: #000000;
  font-family: "Segoe UI", "Microsoft YaHei", "Tahoma", sans-serif;
  font-size: 13px;
  outline: none;
  box-shadow: inset 1px 1px 0 #808080, inset -1px -1px 0 #FFFFFF;
  position: relative;
  z-index: 201;
}

.sidebar-search input:focus {
  border-color: #316AC5;
  outline: 1px solid #316AC5;
}

.sidebar-search input::placeholder {
  color: #808080;
}

.sidebar-search .search-shortcut {
  position: absolute;
  right: 14px;
  top: 9px;
  font-size: 10px;
  color: #999;
  pointer-events: none;
  font-family: monospace;
  background: #F0F0F0;
  padding: 0 3px;
  border: 1px solid #C0C0C0;
}

/* ---- 拖拽分隔条 ---- */
.sidebar-resizer {
  position: fixed;
  top: 32px;
  left: 280px;
  width: 4px;
  bottom: 0;
  cursor: col-resize;
  background: #D4D0C8;
  border-left: 1px solid #808080;
  border-right: 1px solid #FFFFFF;
  z-index: 99;
  user-select: none;
}

.sidebar.collapsed ~ .sidebar-resizer {
  display: none;
}

.sidebar-resizer:hover {
  background: #316AC5;
}

.sidebar-resizer.dragging {
  background: #316AC5;
}

/* ---- 内容区 ---- */
.main {
  margin-left: 280px;
  flex: 1;
  padding: 0;
  background: #FFFFFF;
  height: calc(100vh - 32px);
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #FFFFFF;
}

/* 内容区顶栏：返回/路径 + page-header，不随正文滚动 */
.main-chrome {
  flex-shrink: 0;
  background: #F0F0F0;
  border-bottom: 1px solid #808080;
  box-shadow: 0 1px 0 #FFFFFF inset;
}

.main-chrome .breadcrumb {
  margin: 0;
  border: none;
  border-bottom: 1px solid #C0C0C0;
  border-radius: 0;
  box-shadow: none;
}

.main-chrome .page-header {
  margin: 0;
  padding: 10px 24px 8px;
  border-bottom: none;
  background: #FFFFFF;
}

.main-body {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 16px 24px;
  max-width: 980px;
  background: #FFFFFF;
}

/* 内容区页脚：固定在内容区底部 */
.main-footer,
.site-footer.main-footer {
  flex-shrink: 0;
  padding: 4px 12px;
  font-size: 11px;
  line-height: 18px;
  color: #333333;
  text-align: center;
  background: #F0F0F0;
  border-top: 1px solid #808080;
  box-shadow: 0 1px 0 #FFFFFF inset;
  user-select: text;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portal-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  padding: 4px 12px;
  font-size: 11px;
  line-height: 18px;
  color: #333333;
  text-align: center;
  background: #F0F0F0;
  border-top: 1px solid #808080;
  box-shadow: 0 1px 0 #FFFFFF inset;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.has-portal-footer {
  padding-bottom: 28px;
}

body.has-portal-footer .portal {
  padding-bottom: 40px;
}

/* =========================================================================
   3. 侧边栏导航 — WinForm ListBox/TreeView 风格
   ========================================================================= */

.nav-group {
  margin-bottom: 2px;
}

.nav-group-title {
  padding: 3px 10px;
  font-size: 11px;
  font-weight: bold;
  color: #000000;
  background: #F0F0F0;
  border-top: 1px solid #FFFFFF;
  border-bottom: 1px solid #808080;
  letter-spacing: 0;
  text-transform: none;
}

.nav-group a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  color: #000000;
  text-decoration: none;
  font-size: 13px;
  border-left: 3px solid transparent;
  border-bottom: 1px solid #E0E0E0;
}

.nav-group a:hover {
  background: #E8F4FD;           /* WinForm 行悬停蓝 */
  color: #000000;
  border-left-color: #316AC5;
}

.nav-group a.active {
  background: #316AC5;           /* WinForm 选中蓝 */
  color: #FFFFFF;
  border-left-color: #316AC5;
  font-weight: normal;
}

.nav-group a .badge-missing {
  font-size: 10px;
  background: #808080;
  color: #FFFFFF;
  padding: 0 3px;
  border-radius: 0;
  margin-left: auto;
  border: 1px outset #D4D0C8;
}

/* =========================================================================
   4. 搜索下拉结果 — 侧边栏内局部浮层
   ========================================================================= */

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  min-width: 260px;
  background: #FFFFFF;
  border: 1px solid #808080;
  border-radius: 0;
  margin-top: 2px;
  max-height: 60vh;
  overflow-y: auto;
  display: none;
  z-index: 200;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.sidebar-search {
  position: relative;
  z-index: 150;
}

.search-results.visible {
  display: block;
}

/* 分组标题 */
.search-results .sr-group-title {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: bold;
  color: #000000;
  background: linear-gradient(to bottom, #F0F0F0 0%, #E0E0E0 100%);
  border-top: 1px solid #C0C0C0;
  border-bottom: 1px solid #C0C0C0;
  letter-spacing: 0;
}

.search-results .sr-group-title:first-child {
  border-top: none;
}

/* 单条结果 */
.search-results a {
  display: block;
  padding: 5px 12px;
  color: #000000;
  text-decoration: none;
  font-size: 13px;
  border-bottom: 1px solid #E8E8E8;
  line-height: 1.5;
}

.search-results a:hover {
  background: #E8F4FD;
  color: #000000;
}

/* 标题行 */
.search-results .sr-title {
  font-weight: bold;
  color: #003399;
  display: block;
}

/* 描述行 */
.search-results .sr-desc {
  font-size: 12px;
  color: #666666;
  display: block;
  margin-top: 1px;
}

/* 匹配来源标签 */
.search-results .sr-source {
  font-size: 10px;
  color: #FFFFFF;
  background: #808080;
  padding: 0 4px;
  margin-left: 6px;
  display: inline-block;
  vertical-align: middle;
}

/* 高亮匹配词 */
.search-results mark {
  background: #FFFF00;
  color: #000000;
  font-weight: bold;
}

/* 空结果 */
.search-results .sr-empty {
  padding: 12px;
  text-align: center;
  color: #808080;
  font-size: 13px;
}

/* 底部统计 */
.search-results .sr-footer {
  padding: 4px 10px;
  font-size: 11px;
  color: #808080;
  text-align: right;
  border-top: 1px solid #C0C0C0;
  background: #F5F5F5;
}

/* =========================================================================
   5. 顶部固定导航栏（nav.js 动态生成）
   ========================================================================= */

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: #F0F0F0;
  border-bottom: 1px solid #808080;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
}

body.has-manual-shell {
  overflow: hidden;
  height: 100%;
  padding-top: 32px !important;
}

body.has-manual-shell .layout {
  height: calc(100vh - 32px);
  min-height: 0;
}

.sidebar {
  top: 32px;
}

.main {
  margin-top: 0;
}

.top-nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 6px;
  gap: 4px;
}

.top-nav-title {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  color: #000000;
  line-height: 22px;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-btn {
  width: 24px;
  height: 22px;
  padding: 0;
  border: 1px outset #D4D0C8;
  background: #F0F0F0;
  color: #000000;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  box-shadow: 1px 1px 0 #FFFFFF inset, -1px -1px 0 #808080 inset;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background: #F5F5F5;
}

.nav-btn:active {
  border: 1px inset #D4D0C8;
  background: #E0E0E0;
  box-shadow: inset 1px 1px 0 #808080, inset -1px -1px 0 #FFFFFF;
}

.nav-home-btn .nav-home-icon {
  display: block;
  color: #000000;
}

.top-bc-sep {
  margin: 0 5px;
  color: #808080;
  font-size: 9px;
}

.top-bc-current {
  color: #000000;
  font-weight: bold;
}

/* =========================================================================
   6. 面包屑导航 — WinForm 地址栏风格（页面内）
   ========================================================================= */

.breadcrumb {
  padding: 3px 8px;
  margin: 0 0 12px 0;
  background: #F0F0F0;
  border: 1px outset #D4D0C8;
  font-size: 12px;
  line-height: 22px;
  color: #000000;
  user-select: none;
  box-shadow: 1px 1px 0 #FFFFFF inset, -1px -1px 0 #808080 inset;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.breadcrumb-content {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumb a {
  color: #003399;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .breadcrumb-back {
  display: inline-block;
  padding: 0 6px;
  margin-right: 6px;
  color: #000000;
  border: 1px outset #D4D0C8;
  background: #F0F0F0;
  font-size: 11px;
  line-height: 18px;
  box-shadow: 1px 1px 0 #FFFFFF inset, -1px -1px 0 #808080 inset;
  text-decoration: none;
}

.breadcrumb .breadcrumb-back:hover {
  background: #F5F5F5;
  text-decoration: none;
}

.breadcrumb .breadcrumb-back:active {
  border: 1px inset #D4D0C8;
  background: #E0E0E0;
  box-shadow: inset 1px 1px 0 #808080, inset -1px -1px 0 #FFFFFF;
}

.breadcrumb-sep {
  margin: 0 6px;
  color: #808080;
  font-size: 9px;
  vertical-align: middle;
}

.breadcrumb-current {
  color: #000000;
  font-weight: bold;
}

/* =========================================================================
   6. 内容区排版
   ========================================================================= */
/* （旧编号 5，因面包屑导航插入上移一位） */

.page-header {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #808080;
}

.page-header h1 {
  font-size: 21px;
  color: #000000;
  font-weight: bold;
}

.page-header .subtitle {
  color: #666666;
  margin-top: 2px;
  font-size: 13px;
}

/* Badge 标签 */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: bold;
  padding: 1px 6px;
  border-radius: 0;
  vertical-align: middle;
  margin-left: 6px;
  border: 1px outset #D4D0C8;
}

.badge-ok {
  background: #C0FFC0;
  color: #006000;
}

.badge-warn {
  background: #FFFFC0;
  color: #806000;
}

.badge-category {
  background: #C0C0FF;
  color: #000080;
}

/* 标题 */
h2 {
  font-size: 16px;
  color: #000000;
  font-weight: bold;
  margin: 20px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid #808080;
}

h3 {
  font-size: 13px;
  color: #000000;
  font-weight: bold;
  margin: 14px 0 4px;
}

p {
  margin-bottom: 8px;
}

ul {
  margin: 4px 0 12px 20px;
}

li {
  margin-bottom: 2px;
}

/* =========================================================================
   7. 截图
   ========================================================================= */

.screenshot {
  margin: 12px 0;
  text-align: center;
}

.screenshot img {
  max-width: 100%;
  border: 1px solid #808080;
  border-radius: 0;
  box-shadow: none;
}

.screenshot figcaption {
  font-size: 12px;
  color: #666666;
  margin-top: 4px;
}

/* =========================================================================
   8. 属性表 — XP 素淡灰（准绳：XP风格.html 灰色要素；表头纯淡灰、标题不换行）
   ========================================================================= */

.prop-table {
  width: auto;
  max-width: 100%;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
  margin: 8px 0;
  font-size: 13px;
  background: #F5F5F5;
}

.prop-table th {
  background: #E8E8E8;
  text-align: left;
  padding: 4px 8px;
  border: 1px solid #C0C0C0;
  border-top: none;
  font-weight: normal;
  color: #000000;
  white-space: nowrap;
  width: auto;
  vertical-align: middle;
}

.prop-table th:first-child {
  border-left: 1px solid #C0C0C0;
}

.prop-table td {
  padding: 3px 8px;
  border-right: 1px solid #D0D0D0;
  border-bottom: 1px solid #D0D0D0;
  vertical-align: top;
  background: #F5F5F5;
}

.prop-table td:first-child {
  border-left: 1px solid #D0D0D0;
  white-space: nowrap;
  width: 1%;
}

.prop-table tr:nth-child(even) td {
  background: #EEEEEE;
}

.prop-table tr:hover td {
  background: #E8F4FD;
}

.prop-table code {
  background: #F0F0F0;
  padding: 1px 4px;
  border-radius: 0;
  font-family: "Cascadia Code", "Fira Code", Consolas, "Courier New", monospace;
  font-size: 12px;
  color: #800000;
  border: 1px solid #D0D0D0;
}

/* =========================================================================
   9. 代码块 — 简单文本编辑器风格
   ========================================================================= */

pre {
  background: #F5F5F5;
  color: #000000;
  padding: 8px 12px;
  border-radius: 0;
  border: 1px inset #808080;
  overflow-x: auto;
  margin: 8px 0;
  font-size: 12px;
  line-height: 1.5;
}

pre code {
  font-family: "Cascadia Code", "Fira Code", Consolas, "Courier New", monospace;
  background: none;
  padding: 0;
  border: none;
  color: inherit;
  font-size: 12px;
}

/* 内联代码 */
code {
  font-family: "Cascadia Code", "Fira Code", Consolas, "Courier New", monospace;
  background: #F0F0F0;
  padding: 1px 4px;
  border-radius: 0;
  font-size: 12px;
  border: 1px solid #D0D0D0;
}

/* =========================================================================
   10. 提示框与警告框
   ========================================================================= */

.tip, .warning {
  padding: 8px 12px;
  border-radius: 0;
  margin: 8px 0;
  font-size: 13px;
  border: 1px solid #808080;
  background: #FFFFFF;
}

.tip {
  border-left: 4px solid #000080;
  background: #F0F0FF;
}

.warning {
  border-left: 4px solid #808000;
  background: #FFFFF0;
}

/* =========================================================================
   11. 相关控件链接
   ========================================================================= */

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.related-links a {
  display: inline-block;
  padding: 2px 8px;
  background: #F0F0F0;
  border: 1px outset #D4D0C8;
  border-radius: 0;
  color: #000000;
  text-decoration: none;
  font-size: 13px;
  box-shadow: 1px 1px 0 #FFFFFF inset, -1px -1px 0 #808080 inset;
}

.related-links a:active {
  border: 1px inset #D4D0C8;
  background: #E0E0E0;
  box-shadow: inset 1px 1px 0 #808080, inset -1px -1px 0 #FFFFFF;
}

.related-links a:hover:not(:active) {
  background: #F5F5F5;
}

/* =========================================================================
   12. 门户首页 — WinForm 窗口风格
   ========================================================================= */

.portal {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px;
  text-align: center;
}

.portal-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 4px;
}

.portal-title .portal-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.portal h1 {
  font-size: 24px;
  color: #000000;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
}

.portal .tagline {
  color: #666666;
  font-size: 13px;
  margin-bottom: 24px;
}

.portal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  text-align: left;
}

.portal-card {
  position: relative;
  border: 1px solid #808080;
  border-radius: 0;
  padding: 16px 28px 16px 16px;
  text-decoration: none;
  color: #000000;
  background: #FFFFFF;
  border-top: 1px solid #FFFFFF;
  border-left: 1px solid #FFFFFF;
  box-shadow: -1px -1px 0 #D4D0C8, 1px 1px 0 #808080;
}

.portal-card:hover {
  background: #F0F0FF;
  color: #000000;
  box-shadow: -1px -1px 0 #D4D0C8, 1px 1px 0 #808080;
}

.portal-card:hover .portal-card-arrow {
  color: #333333;
}

.portal-card h3 {
  font-size: 15px;
  margin: 0 0 6px;
  color: #000000;
  font-weight: bold;
}

.portal-card p {
  font-size: 13px;
  color: #444444;
  margin: 0;
}

.portal-card .card-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.portal-card-arrow {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 18px;
  line-height: 1;
  color: #808080;
  font-weight: normal;
  pointer-events: none;
  user-select: none;
}

.portal-about {
  margin-top: 28px;
  text-align: left;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 16px;
  border-top: 1px solid #C0C0C0;
}

.portal-about p {
  font-size: 12px;
  line-height: 1.65;
  color: #666666;
  margin: 0 0 10px;
}

.portal-about .portal-support {
  margin-top: 14px;
  margin-bottom: 10px;
}

.portal-support-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.portal-about .portal-qr {
  display: block;
  width: 108px;
  height: 108px;
  object-fit: contain;
  margin: 0;
  border: 1px solid #C0C0C0;
  background: #FFFFFF;
  flex-shrink: 0;
}

.portal-contact {
  text-align: left;
  font-size: 12px;
  line-height: 1.7;
  color: #666666;
}

.portal-contact div {
  margin: 0;
}

/* =========================================================================
   13. 布局状态：侧边栏展开/收起
   ========================================================================= */

.sidebar {
  top: 32px;
  transition: none;
}

.sidebar.collapsed {
  transform: translateX(-100%);
}

.main.collapsed {
  margin-left: 0 !important;
}

/* 拖拽分隔条 */
.sidebar-resizer {
  top: 32px;
  height: calc(100vh - 32px);
}

/* =========================================================================
   14. 响应式布局
   ========================================================================= */

@media (max-width: 900px) {
  .sidebar-resizer {
    display: none;
  }

  .main {
    margin-left: 0;
  }

  .main-body {
    padding: 12px 16px;
  }

  .main-chrome .page-header {
    padding: 8px 16px;
  }

  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.collapsed {
    transform: translateX(-100%);
  }

  .sidebar:not(.collapsed) {
    transform: translateX(0);
  }
}

@media (max-width: 480px) {
  .main-body {
    padding: 8px 10px;
  }

  .portal {
    padding: 16px 10px;
  }

  .prop-table {
    font-size: 12px;
  }

  .prop-table th,
  .prop-table td {
    padding: 2px 4px;
  }
}

/* ===== 使用手册：双语言代码对（向后兼容增补） ===== */
.code-pair {
  margin: 8px 0 16px;
}
.code-pair-label {
  font-size: 12px;
  font-weight: bold;
  color: #000080;
  margin: 8px 0 4px;
}
.badge-wip {
  display: inline-block;
  margin-left: 6px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: normal;
  color: #605000;
  background: #FFFFF0;
  border: 1px solid #808000;
}
.nav-group a .badge-wip {
  margin-left: 4px;
}

/* XP 素淡灰兜底：正文区裸 table（非 .prop-table） */
.main table:not(.prop-table) {
  width: auto;
  max-width: 100%;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
  margin: 8px 0;
  font-size: 13px;
  background: #F5F5F5;
}
.main table:not(.prop-table) th {
  background: #E8E8E8;
  text-align: left;
  padding: 4px 8px;
  border: 1px solid #C0C0C0;
  border-top: none;
  font-weight: normal;
  color: #000000;
  white-space: nowrap;
  width: auto;
  vertical-align: middle;
}
.main table:not(.prop-table) th:first-child {
  border-left: 1px solid #C0C0C0;
}
.main table:not(.prop-table) td {
  padding: 3px 8px;
  border-right: 1px solid #D0D0D0;
  border-bottom: 1px solid #D0D0D0;
  vertical-align: top;
  background: #F5F5F5;
}
.main table:not(.prop-table) td:first-child {
  border-left: 1px solid #D0D0D0;
  white-space: nowrap;
  width: 1%;
}
.main table:not(.prop-table) tr:nth-child(even) td {
  background: #EEEEEE;
}

/* 使用手册：文档内演示用表单线（不影响控件手册交互控件） */
.guide-form-line {
  border: 1px inset #808080;
  border-radius: 0;
  background: #F5F5F5;
  box-shadow: inset 1px 1px 0 #C0C0C0, inset -1px -1px 0 #FFFFFF;
}
