* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  background: #f5f5f5;
  padding: 20px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
h1 {
  text-align: center;
  color: #4A90E2;
  margin-bottom: 20px;
  font-size: 22px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
td, th {
  border: 1px solid #999;
  padding: 6px 8px;
  vertical-align: middle;
}
th {
  background: #D9E2F3;
  font-weight: normal;
  text-align: center;
  white-space: nowrap;
}
.label-red { color: #C00000; }
.section-title {
  background: #D9E2F3;
  text-align: center;
  font-weight: bold;
}
.bg-gray { background: #F2F2F2; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.col-a { width: 50px; }
.col-b { 
  width: 100px; 
  background-color: #FFFFFF;
}
.col-b.bg-blue { 
  width: 100px;
  background-color: #D9E2F3; 
}
.val {
  color: #333;
  word-break: break-all;
}
.hidden { display: none; }
h1.editable {
  border: 2px dashed #4A90E2;
  border-radius: 4px;
  padding: 4px 8px;
  cursor: text;
  background: #FDF8E1;
  outline: none;
}
h1.editable:hover {
  border-color: #2B6CB0;
  background: #FEF3C7;
}
h1.editable:empty::before {
  content: '请输入项目名称';
  color: #999;
}
h1.readonly {
  border: none;
  cursor: default;
  background: transparent;
}
.mode-tag {
  display: inline-block;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 10px;
  vertical-align: middle;
}
.mode-tag.add { background: #DEF7EC; color: #03543F; }
.mode-tag.edit { background: #E1EFFE; color: #1E429F; }
