:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif; background: #0c0e12; color: #e7eaf0; --muted: #a2aab9; --border: #2a303b; --accent: #ffa267; }
* { box-sizing: border-box; }
body { margin: 0; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: 1px solid transparent; border-radius: 7px; padding: .65rem .9rem; color: inherit; background: transparent; }
button:disabled { opacity: .5; cursor: not-allowed; }
button:hover:enabled { background: #262c37; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
a { color: var(--accent); overflow-wrap: anywhere; }
.topbar { height: 76px; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); gap: 1rem; }
.brand { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; font-weight: 750; font-size: 1.25rem; color: inherit; text-decoration: none; }
.brand-mark { color: var(--accent); font-size: 2rem; }
.badge { display: inline-block; border: 1px solid var(--border); border-radius: 5px; padding: .3rem .5rem; color: var(--muted); font-size: .68rem; font-weight: 650; letter-spacing: .04em; }
.workspace { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: calc(100vh - 76px); }
.sidebar { border-right: 1px solid var(--border); padding: 2rem 1.1rem; }
.eyebrow { color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .13em; }
.nav-item { display: block; width: 100%; text-align: left; margin: .3rem 0; color: var(--muted); }
.nav-item.active { background: #29221f; color: var(--accent); }
.sidebar-note { margin-top: 4rem; font-size: .8rem; line-height: 1.8; color: var(--muted); }
main { padding: 2rem; max-width: 1600px; width: 100%; margin: auto; }
.notice { background: #29241a; border: 1px solid #6a5730; color: #f3d294; padding: 1rem; border-radius: 9px; line-height: 1.6; font-size: .85rem; margin-bottom: 2rem; }
h1 { font-size: 2rem; letter-spacing: -.04em; margin: .45rem 0; }
h2 { font-size: 1rem; margin: 0 0 1rem; }
h3 { font-size: .9rem; }
p { line-height: 1.6; }
.muted, .help { color: var(--muted); }
.help { font-size: .78rem; margin: .5rem 0 1rem; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.tabs { display: flex; gap: .4rem; border-bottom: 1px solid var(--border); margin-bottom: 1.25rem; overflow-x: auto; }
.tabs button { border-radius: 0; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; }
.tabs [aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.compact { gap: 0; }
.compact button { padding: .7rem .5rem; font-size: .75rem; }
.playground-grid { display: grid; grid-template-columns: minmax(270px, .85fr) minmax(0, 1.3fr); gap: 1.25rem; align-items: start; }
.card { border: 1px solid var(--border); border-radius: 11px; padding: 1.3rem; background: #12161c; margin-bottom: 1.25rem; min-width: 0; }
.card-heading { display: flex; justify-content: space-between; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.card-heading h2 { margin: 0; }
label { display: block; font-size: .8rem; margin-bottom: .55rem; }
input:not([type="checkbox"]), textarea, select { width: 100%; background: #0d1016; border: 1px solid #343c4a; color: #e7eaf0; padding: .7rem .8rem; border-radius: 7px; }
textarea { resize: vertical; }
input[type="checkbox"] { accent-color: var(--accent); }
fieldset { border: 1px solid var(--border); margin: 1.2rem 0; padding: .9rem; border-radius: 7px; min-width: 0; }
legend { padding: 0 .4rem; font-size: .8rem; color: var(--muted); }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.check-grid label { margin: 0; }
.field-row { display: flex; gap: 1rem; align-items: center; margin: 1rem 0; }
.field-row > * { flex: 1; min-width: 0; }
.check-label { margin-top: 1.4rem; }
.primary { background: var(--accent); color: #21170f; font-weight: 700; }
.primary:hover:enabled { background: #ffb686; }
.secondary { border-color: #414b5b; background: #1b212b; }
.danger { color: #ffaaaa; border-color: #754448; }
.full-width { width: 100%; }
.results { min-height: 480px; }
.empty-state { color: var(--muted); padding: 4rem 1rem; text-align: center; font-size: .9rem; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .8rem; line-height: 1.7; background: #0c1016; padding: 1rem; border-radius: 7px; max-height: 600px; overflow: auto; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.snippets select { width: auto; max-width: 100%; }
.error { color: #ffaaaa; font-size: .85rem; }
.input-action { display: flex; gap: .8rem; }
progress { width: 100%; accent-color: var(--accent); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.metric { font-size: 2rem; margin: 0; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .85rem; text-align: left; }
caption { text-align: left; margin-bottom: 1rem; font-weight: 650; }
th, td { padding: 1rem .6rem; border-bottom: 1px solid var(--border); }
th { color: var(--muted); }
dialog { color: inherit; background: #161b23; border: 1px solid #414b5b; border-radius: 12px; max-width: 540px; width: calc(100% - 2rem); padding: 1.7rem; }
dialog::backdrop { background: #000b; }
.dialog-actions { display: flex; gap: .6rem; justify-content: flex-end; flex-wrap: wrap; margin-top: 1.5rem; }
iframe { width: 100%; min-height: 400px; border: 1px solid var(--border); background: white; }
.screenshot { max-width: 100%; height: auto; }
.markdown { line-height: 1.75; overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 1100px) { .workspace { grid-template-columns: 180px minmax(0, 1fr); } main { padding: 1.3rem; } .playground-grid { grid-template-columns: 1fr; } .metrics { grid-template-columns: 1fr 1fr; } }
@media (max-width: 650px) { .topbar { padding: 1rem; height: auto; flex-wrap: wrap; } .brand .badge { display: none; } .workspace { display: block; } .sidebar { display: flex; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--border); padding: .5rem; gap: .25rem; } .sidebar .eyebrow, .sidebar-note, #credential-state { display: none; } .nav-item { width: auto; font-size: .75rem; padding: .65rem; } .page-heading { align-items: flex-start; } .metrics { grid-template-columns: 1fr; } .field-row { flex-wrap: wrap; } .field-row > * { flex-basis: 100%; } .input-action { flex-wrap: wrap; } }

#keys-list input { min-width: 110px; }
#keys-list td:last-child { white-space: nowrap; }
#keys-list button + button { margin-left: .4rem; }
#job-pages button { max-width: 100%; overflow-wrap: anywhere; text-align: left; margin-bottom: .5rem; }
#jobs-list p { overflow-wrap: anywhere; }
#jobs-filter-form { margin-bottom: 1rem; }
