
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; color: #1f2937; background: #f8fafc; }
.topbar { padding: 20px 16px; background: #0ea5e9; color: white; text-align: center; }
.topbar h1 { margin: 0; font-size: 22px; }
.topbar .subtitle { margin-top: 6px; opacity: .9; font-size: 13px; }
.container { max-width: 1100px; margin: 20px auto; padding: 0 16px; }
.card { background: white; border: 1px solid #e5e7eb; border-radius: 14px; padding: 16px; margin-bottom: 16px; box-shadow: 0 2px 10px rgba(0,0,0,.03); }
.card-title { font-weight: 700; margin-bottom: 12px; }
.controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.controls label { display: flex; flex-direction: column; font-size: 12px; color: #374151; gap: 6px; min-width: 260px; }
.controls input[type="text"], .controls input[list] { height: 36px; padding: 6px 10px; border: 1px solid #d1d5db; border-radius: 10px; font-size: 14px; }
.checkbox { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; padding: 6px 8px; border: 1px dashed #d1d5db; border-radius: 10px; }
.btn { height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid #0ea5e9; background: #0ea5e9; color: white; cursor: pointer; }
.btn:hover { filter: brightness(0.95); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-ghost { background: white; color: #0ea5e9; }
.status { margin-top: 8px; font-size: 13px; color: #6b7280; display: flex; gap: 10px; align-items: center; }
.tabs { display: flex; gap: 10px; margin-top: 12px; }
.tab-btn { background: #f1f5f9; border: 1px solid #e5e7eb; padding: 8px 12px; border-radius: 10px; cursor: pointer; }
.tab-btn.active { background: #0ea5e9; color: white; border-color: #0ea5e9; }
.tab-panel { margin-top: 12px; }
.hidden { display: none; }
.table-wrap { overflow: auto; border: 1px solid #e5e7eb; border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead { background: #f1f5f9; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #f1f5f9; white-space: nowrap; }
tbody tr:nth-child(even) { background: #f9fafb; }
.badge { display: inline-block; background: #eef2ff; color: #4338ca; padding: 2px 8px; border-radius: 999px; font-size: 12px; margin-left: 6px; }
.list { display: flex; flex-direction: column; gap: 10px; }
.list .item { border: 1px solid #e5e7eb; border-radius: 12px; padding: 10px; background: #f9fafb; }
.muted { color: #6b7280; font-size: 12px; }
.title { font-weight: 600; margin-bottom: 6px; }
.strong { font-weight: 600; margin-top: 4px; }
