:root { font-family: Segoe UI, system-ui, sans-serif; color: #1a1a1a; background: #f4f6f8; }
body { margin: 0; padding: 1.5rem; max-width: 960px; }
h1 { margin-top: 0; font-size: 1.4rem; }
h2 { font-size: 1.05rem; margin: 0 0 0.65rem; }
.card { background: #fff; border: 1px solid #d0d7de; border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: 1rem; }
button { margin: 0.25rem 0.35rem 0.25rem 0; padding: 0.45rem 0.85rem; cursor: pointer; border-radius: 6px; border: 1px solid #8c959f; background: #f6f8fa; }
button.primary { background: #0969da; color: #fff; border-color: #0969da; }
button.success { background: #1a7f37; color: #fff; border-color: #1a7f37; }
button.danger { background: #cf222e; color: #fff; border-color: #cf222e; }
button:disabled { opacity: 0.5; cursor: not-allowed; }
button.small { padding: 0.25rem 0.55rem; font-size: 0.82rem; }
select, input[type="text"] { padding: 0.35rem; min-width: 12rem; }
.muted { color: #57606a; font-size: 0.9rem; }
.err { color: #a40e26; font-size: 0.9rem; }
.ok { color: #1a7f37; font-size: 0.9rem; }
label { display: inline-flex; align-items: center; gap: 0.35rem; margin-right: 1rem; margin-bottom: 0.35rem; }
.row { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; align-items: center; margin-bottom: 0.35rem; }
pre { background: #0d1117; color: #c9d1d9; padding: 0.75rem; border-radius: 6px; overflow: auto; max-height: 8rem; font-size: 0.82rem; white-space: pre-wrap; word-break: break-all; }
.tableWrap { overflow: auto; max-height: 18rem; border: 1px solid #eaeef2; border-radius: 6px; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
table.data th, table.data td { text-align: left; padding: 0.4rem 0.5rem; border-bottom: 1px solid #eaeef2; }
table.data tbody tr { cursor: pointer; }
table.data tbody tr:hover { background: #f6f8fa; }
table.data tbody tr.selected { background: #ddf4ff; }
.secretBox { width: 100%; max-width: 100%; box-sizing: border-box; font-family: ui-monospace, Consolas, monospace; font-size: 0.85rem; padding: 0.45rem; }
.ticketBox {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 0.5rem;
  padding: 0.65rem 0.75rem;
  font-family: Segoe UI, system-ui, sans-serif;
  font-size: 0.88rem;
  line-height: 1.45;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  resize: vertical;
  min-height: 14rem;
}
footer { margin-top: 1rem; color: #57606a; font-size: 0.85rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
