:root { color-scheme: light dark; font-family: system-ui, sans-serif; }
body { max-width: 40rem; margin: 12vh auto; padding: 0 1.5rem; line-height: 1.6; }
h1 { font-size: 3rem; margin-bottom: 0; }
code { background: light-dark(#eee, #333); padding: .15rem .35rem; border-radius: .25rem; }
table { border-collapse: collapse; width: 100%; margin-top: 1rem; }
th, td { border-bottom: 1px solid #8886; padding: .5rem; text-align: left; vertical-align: top; }
th:first-child, td:first-child { white-space: nowrap; }
.settings { border: 1px solid #888; border-collapse: separate; border-spacing: 0; border-radius: .5rem; overflow: hidden; }
.settings th, .settings td { border: 0; }
.copyable { display: inline-flex; align-items: center; gap: .5rem; }
.copy-button { border: 1px solid #8888; border-radius: .35rem; background: #8882; padding: .2rem .45rem; cursor: pointer; font-size: 1rem; line-height: 1; }
.copy-button:hover { background: #8884; }
.copy-button:active { background: #8886; }
.error { color: #c33; }
header, .dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
header h1 { margin: 0; }
button, input, select { font: inherit; }
button { border: 1px solid #8888; border-radius: .4rem; background: #8882; color: inherit; padding: .4rem .75rem; cursor: pointer; }
button:hover { background: #8884; }
button:active { background: #8886; }
button:disabled { opacity: .6; cursor: default; }
:focus-visible { outline: 2px solid light-dark(#315eaa, #93b7ff); outline-offset: 3px; }
dialog { width: min(32rem, calc(100vw - 4rem)); max-height: 85vh; overflow: auto; border: 1px solid #8888; border-radius: .75rem; padding: 1.5rem; }
dialog::backdrop { background: #0007; }
dialog h2 { margin: 0; }
dialog label { display: block; margin: 1rem 0; }
dialog input { display: block; box-sizing: border-box; width: 100%; padding: .5rem; margin-top: .25rem; border: 1px solid #8888; border-radius: .35rem; }
dialog .settings code { overflow-wrap: anywhere; }
dialog .copyable { min-width: 0; }
.hint { font-size: .9rem; }
.breadcrumb { display: inline-block; padding: .15rem .4rem; background: light-dark(#f1f4fa, #202a39); border: 1px solid light-dark(#d9e0e9, #435166); border-radius: .4rem; }
.client-selector { display: flex; flex-wrap: nowrap; gap: .2rem; min-width: 0; border: 0; padding: .2rem 0; margin: 1rem 0; container-type: inline-size; }
.client-selector legend { margin-bottom: .5rem; }
.client-selector label { position: relative; flex: 1 1 0; min-width: 0; text-align: center; white-space: nowrap; font-size: min(.85rem, 2.8cqi); margin: 0; padding: .4rem 0; border: 1px solid #8888; border-radius: .4rem; cursor: pointer; }
.client-selector label:has(:checked) { background: light-dark(#e5ecff, #273553); border-color: light-dark(#315eaa, #93b7ff); }
.client-selector label:has(:focus-visible) { outline: 2px solid light-dark(#315eaa, #93b7ff); outline-offset: 1px; }
.client-selector input { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; border: 0; clip-path: inset(50%); overflow: hidden; }
