
* { box-sizing: border-box; }
body { margin: 0; font-family: "PingFang SC","Microsoft YaHei",system-ui,sans-serif; color: #22303c; background: #f4f5f2; }
.topbar { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 20px; background: #fff; border-bottom: 1px solid #e2e6e0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; }
.brandmark { border-radius: 10px; flex: none; }
.brandline strong { font-size: 22px; letter-spacing: .3px; color: #173F5F; } .brandline span { margin-left: 10px; color: #5a6b5e; }
.tagline { font-size: 13px; color: #2E7D6B; margin-top: 2px; }
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 20px; background: #173F5F; color: #dfe9f2; font-size: 13px; }
.foot a { color: #fff; }
.planline { font-size: 14px; font-weight: 600; color: #173F5F; margin: 4px 0 10px; }
.plans { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-top: 10px; }
.plans th, .plans td { border: 1px solid #d5ddd2; padding: 6px 8px; text-align: left; vertical-align: top; line-height: 1.5; }
.plans th { background: #eef3ec; color: #173F5F; }
button.locked { opacity: .55; }
#licenseInput { flex: 1; min-width: 0; padding: 9px 10px; border: 1px solid #c9d2c7; border-radius: 8px; font-size: 13px; }
.byline { color: #84908a; font-size: 13px; }
.layout { display: grid; grid-template-columns: 340px 1fr; gap: 0; min-height: calc(100vh - 58px); }
.panel { background: #fff; padding: 16px; overflow-y: auto; border-right: 1px solid #e2e6e0; }
.panel h2 { font-size: 15px; margin: 18px 0 10px; } .panel section:first-child h2 { margin-top: 0; }
.searchrow { display: flex; gap: 8px; } .searchrow input { flex: 1; min-width: 0; padding: 9px 10px; border: 1px solid #c9d2c7; border-radius: 8px; }
button { padding: 9px 14px; border: 1px solid #b9c6b6; background: #fff; border-radius: 8px; cursor: pointer; font-size: 14px; }
button.primary { width: 100%; background: #2f5d50; color: #fff; border-color: #2f5d50; margin-top: 10px; }
button.ghost { width: 100%; margin-top: 8px; }
button:hover { filter: brightness(.97); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.chip { padding: 5px 10px; font-size: 13px; border-radius: 999px; background: #eef3ec; }
#minimap { height: 210px; border-radius: 10px; overflow: hidden; border: 1px solid #d5ddd2; }
.hint { color: #7a8780; font-size: 12.5px; line-height: 1.6; } .hint.center { text-align: center; }
.sizes { display: flex; gap: 14px; margin-bottom: 10px; }
.field { display: block; font-size: 14px; } .field select { width: 100%; margin-top: 6px; padding: 9px; border-radius: 8px; border: 1px solid #c9d2c7; }
.status { font-size: 13px; line-height: 1.6; color: #40534a; background: #f0f4ef; border-radius: 8px; padding: 9px 11px; }
.row { display: flex; gap: 8px; } .row button { flex: 1; }
.check { display: flex; gap: 8px; align-items: center; margin: 12px 0 4px; font-size: 14px; }
.note p { font-size: 13px; line-height: 1.7; color: #5c6d63; }
.stagewrap { display: flex; flex-direction: column; padding: 14px; }
#stage { flex: 1; min-height: 420px; border-radius: 14px; overflow: hidden; background: #dfe9dc; box-shadow: 0 10px 30px rgba(40,60,50,.12); }
#stage canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; } .panel { order: 2; border-right: none; }
  .stagewrap { order: 1; } #stage { min-height: 52vh; }
}
