* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; color: #222; background: #f6f8fa; }
.site-header { background: #2c3e50; color: #fff; }
.nav { max-width: 980px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; }
.nav-left { font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; }
.nav-links a { color: #dfe6ec; text-decoration: none; font-size: 14px; }
.btn-home { background: #409eff; color: #fff; text-decoration: none; padding: 8px 12px; border-radius: 4px; font-size: 14px; font-weight: 500; transition: background 0.3s; }
.btn-home:hover { background: #337ecc; }
.container { max-width: 980px; margin: 24px auto; padding: 0 16px; }
.breadcrumb { color: #667; font-size: 13px; margin-bottom: 12px; }
.page-title { font-size: 22px; font-weight: 600; color: #1f2d3d; text-align: center; margin: 16px 0 20px; }
.card { background: #fff; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.04); padding: 18px; margin-bottom: 20px; }
.card h2 { font-size: 18px; border-left: 3px solid #409eff; padding-left: 8px; color: #273444; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 16px; align-items: end; margin-top: 12px; }
.field label { display: block; font-size: 13px; color: #555; margin-bottom: 6px; }
.field input[type="date"], .field input[type="number"] { width: 100%; padding: 8px 10px; border: 1px solid #dcdfe6; border-radius: 4px; background: #fff; font-size: 14px; }
.field textarea { width: 100%; padding: 8px 10px; border: 1px solid #dcdfe6; border-radius: 4px; background: #fff; font-size: 14px; resize: vertical; }
.field-inline { align-self: center; }
.field-full { grid-column: 1 / -1; }
.btn { background: #409eff; color: #fff; border: 0; padding: 10px 14px; border-radius: 4px; cursor: pointer; }
.btn:hover { background: #337ecc; }
.btn-plain { background: #fff; color: #409eff; border: 1px solid #409eff; }
.btn-plain:hover { background: #ecf5ff; }
.file-label { display: inline-block; }
.actions { grid-column: 1 / -1; }
.result { margin-top: 12px; padding: 10px 12px; background: #f5f7fa; border: 1px solid #e4e7ed; border-radius: 4px; color: #333; }
.result.error { background: #fff5f5; border-color: #f5b7b1; color: #c0392b; }
.desc { color: #5e6d82; font-size: 14px; }
.help { font-size: 12px; color: #7a8a99; background: #f9fbfd; border: 1px dashed #dce7f3; padding: 8px 10px; border-radius: 4px; }
.expandable summary { cursor: pointer; font-weight: 600; color: #4a90e2; }
.expandable .help-body { margin-top: 8px; }
.timeline { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.t-item { background: #fff; border: 1px solid #cfd8e3; border-radius: 12px; padding: 4px 8px; font-size: 12px; }
.t-item.start { color: #2c3e50; }
.t-item.end { color: #2c3e50; }
.t-bar { flex: 1; height: 6px; background: linear-gradient(90deg, #ecf2ff, #d6e4ff); border-radius: 3px; }
.t-item.active { border-color: #409eff; box-shadow: 0 0 0 2px rgba(64,158,255,.15); }
.t-bar.active { background: linear-gradient(90deg, #8cc5ff, #409eff); }
.hint { color: #6b7c93; font-size: 12px; }

/* 版权信息样式 */
.site-footer { background: #2c3e50; color: #fff; text-align: center; padding: 20px 0; margin-top: 40px; }
.footer-content p { margin: 0; font-size: 14px; color: #dfe6ec; }

/* 移动端适配 */
@media (max-width: 768px) {
  .nav-right { flex-direction: column; gap: 8px; }
  .nav-links { display: none; }
  .btn-home { align-self: flex-end; }
  .form-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .page-title { font-size: 18px; }
  .card { padding: 16px; }
  .container { padding: 0 12px; }
  .field input[type="date"], .field input[type="number"] { font-size: 16px; }
  .actions { flex-direction: row; flex-wrap: wrap; gap: 6px; }
}

@media (max-width: 480px) {
  .page-title { font-size: 16px; }
  .card h2 { font-size: 16px; }
  .btn { padding: 8px 12px; font-size: 14px; }
  .form-grid { grid-template-columns: 1fr; gap: 6px; }
  .field input[type="date"], .field input[type="number"] { padding: 10px 8px; font-size: 16px; }
  .actions { flex-direction: column; }
}


