/* Must work on Chrome/WebView 61+: no flexbox "gap", no CSS features newer than 2018 (requirements §8). */

body {
    font-family: Segoe UI, Roboto, Arial, sans-serif;
    max-width: 960px;
    margin: 1rem auto;
    padding: 0 1rem;
    color: #1b1b1b;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 1rem;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

button,
.button {
    display: inline-block;
    margin: 0 0.5rem 0.5rem 0;
    padding: 0.4rem 0.8rem;
    border: 1px solid #0f6cbd;
    border-radius: 4px;
    background: #0f6cbd;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
}

.button.disabled {
    background: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

input[type="text"] {
    margin: 0 0.5rem 0.5rem 0;
    padding: 0.35rem;
    font: inherit;
}

label {
    margin-right: 0.5rem;
}

.env-row {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

.env-row strong {
    margin-right: 0.5rem;
}

.env-row small {
    color: #666;
}

.env-controls {
    margin-top: 0.5rem;
}

.message {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.message.ok {
    background: #dff6dd;
}

.message.error {
    background: #fde7e9;
}

[hidden] {
    display: none !important;
}
