* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Microsoft YaHei", sans-serif; background: #0b1210; color: #cfe8d8; height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
header { background: linear-gradient(90deg,#0e1f16,#123524); border-bottom: 1px solid #1f4a33; padding: 10px 16px; display: flex; align-items: center; gap: 12px; }
header h1 { font-size: 18px; color: #7dffb0; letter-spacing: 4px; }
header .sub { font-size: 12px; color: #5a8a70; }
.main { flex: 1; display: flex; overflow: hidden; }
aside { width: 250px; background: #0d1a13; border-right: 1px solid #1f4a33; display: flex; flex-direction: column; }
aside .side-head { padding: 10px; font-size: 13px; color: #7dffb0; border-bottom: 1px solid #1f4a33; display: flex; justify-content: space-between; align-items: center; }
#scenList { flex: 1; overflow-y: auto; }
#scenList .item { padding: 8px 12px; border-bottom: 1px solid #14301f; cursor: pointer; }
#scenList .item:hover { background: #123524; }
#scenList .item.active { background: #1a4d31; border-left: 3px solid #7dffb0; }
#scenList .item .t { font-size: 13px; color: #dff5e8; }
#scenList .item .m { font-size: 11px; color: #5a8a70; margin-top: 2px; }
section { flex: 1; overflow-y: auto; padding: 14px 18px; }
fieldset { border: 1px solid #1f4a33; border-radius: 4px; margin-bottom: 14px; padding: 12px; }
legend { color: #7dffb0; font-size: 13px; padding: 0 8px; letter-spacing: 2px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.fld { display: flex; flex-direction: column; gap: 4px; }
.fld label { font-size: 12px; color: #6fae8c; }
input, select, textarea { background: #0a1710; border: 1px solid #275c3d; color: #dff5e8; border-radius: 3px; padding: 6px 8px; font-size: 13px; font-family: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #7dffb0; }
textarea { font-family: Consolas, monospace; font-size: 12px; line-height: 1.5; resize: vertical; }
.tall { min-height: 130px; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
button { background: #123524; color: #7dffb0; border: 1px solid #2e6b46; border-radius: 3px; padding: 6px 14px; font-size: 13px; cursor: pointer; }
button:hover { background: #1a4d31; }
button.primary { background: #1f6b3a; color: #eafff2; border-color: #3d9b5f; }
button.danger { color: #ff9d9d; border-color: #8a3b3b; }
button.danger:hover { background: #3d1a1a; }
#toast { position: fixed; top: 14px; right: 14px; padding: 8px 16px; border-radius: 4px; font-size: 13px; display: none; z-index: 99; }
#toast.ok { background: #1f6b3a; color: #eafff2; }
#toast.err { background: #7a2626; color: #ffd9d9; }
.empty { color: #40604f; font-size: 12px; text-align: center; padding: 20px 0; }
.mono { font-family: Consolas, monospace; }