:root {
    color-scheme: dark;
    background: #050505;
    color: #f5f5f5;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #050505;
}

.shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.panel {
    width: min(100%, 420px);
}

.compact {
    text-align: center;
}

h1 {
    margin: 0 0 28px;
    font-size: 28px;
    font-weight: 650;
    letter-spacing: 0;
}

.form {
    display: grid;
    gap: 18px;
}

label {
    display: grid;
    gap: 8px;
}

span,
dt {
    color: #b7b7b7;
    font-size: 13px;
}

input,
textarea {
    width: 100%;
    border: 1px solid #242424;
    border-radius: 8px;
    background: #0d0d0d;
    color: #ffffff;
    padding: 0 14px;
    font: inherit;
    outline: none;
}

input {
    min-height: 48px;
}

textarea {
    min-height: 132px;
    padding: 14px;
    line-height: 1.45;
    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: #f5f5f5;
}

button {
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: #ffffff;
    color: #050505;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

button:hover {
    background: #e7e7e7;
}

.error {
    margin: 0;
    color: #ff6b6b;
    font-size: 14px;
    line-height: 1.45;
}

.muted {
    color: #b7b7b7;
}

.details {
    display: grid;
    gap: 12px;
    margin: 0;
}

dt {
    margin-top: 10px;
}

dd {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

a {
    color: #ffffff;
    text-decoration-color: #777777;
    text-underline-offset: 3px;
}

.copy-block {
    display: grid;
    gap: 10px;
}

.copy-text {
    min-height: 150px;
    cursor: copy;
}

.copy-button {
    width: 100%;
}

.copy-hint {
    min-height: 18px;
    color: #b7b7b7;
    font-size: 13px;
}

@media (max-width: 520px) {
    .shell {
        place-items: start stretch;
        padding-top: 72px;
    }
}
