*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: system-ui, sans-serif;
    line-height: 1.5;
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    color: #1a1a1a;
}

h1 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

header p {
    color: #555;
    margin-top: 0;
}

h2 {
    font-size: 1.25rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.25rem;
}

form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

label {
    font-weight: 600;
    font-size: 0.9rem;
}

select,
input[type='text'] {
    padding: 0.4rem 0.6rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    padding: 0.4rem 1rem;
    font-size: 1rem;
    background: #0060df;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background: #0250bb;
}

#results {
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1rem;
    overflow-x: auto;
    white-space: pre-wrap;
    font-size: 0.875rem;
    min-height: 3rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

th,
td {
    text-align: left;
    padding: 0.4rem 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background: #f0f0f0;
    font-weight: 600;
}

a {
    color: #0060df;
}

a:hover {
    text-decoration: underline;
}

.query-section,
.endpoints-section {
    margin-bottom: 2rem;
}
