:root { font-family: Segoe UI, system-ui, sans-serif; color: #1a1a1a; background: #f4f6f8; }
body { margin: 0; padding: 1.5rem; max-width: 1100px; }
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:disabled { opacity: 0.5; cursor: not-allowed; }
button.small { padding: 0.25rem 0.55rem; font-size: 0.82rem; }
select, input[type="text"], input[type="password"], input[type="number"], input[type="datetime-local"], input[type="file"] { padding: 0.35rem; min-width: 10rem; }
.muted { color: #57606a; font-size: 0.9rem; }
#setupSteps { margin-top: 0.75rem; }
#setupSteps ol { margin: 0; padding-left: 1.25rem; }
#setupSteps li { margin: 0.4rem 0; }
.err { color: #a40e26; 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: 11rem; font-size: 0.82rem; }
pre#rowDetail { max-height: 16rem; white-space: pre-wrap; }
code { font-size: 0.85rem; }
.tabs { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-bottom: 0.5rem; }
.tabs button.active, button.pullPreset.active { background: #0969da; color: #fff; border-color: #0969da; }
.tableWrap { overflow: auto; max-height: 28rem; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
table.data th, table.data td { text-align: left; padding: 0.35rem 0.45rem; border-bottom: 1px solid #eaeef2; vertical-align: top; }
table.data tbody tr { cursor: pointer; }
table.data tbody tr:hover { background: #f6f8fa; }
table.data td.clip { max-width: 24rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.facetGroup { margin: 0.35rem 0 0.6rem; }
.chip { display: inline-flex; align-items: center; gap: 0.25rem; background: #ffebe9; border: 1px solid #cf222e; border-radius: 999px; padding: 0.1rem 0.45rem; margin: 0.15rem; font-size: 0.82rem; }
.chip button { margin: 0; padding: 0 0.25rem; border: 0; background: transparent; color: #a40e26; }
