:root {
    color-scheme: light;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f8;
    color: #1f2933;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

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

.panel {
    width: min(720px, 100%);
    background: #ffffff;
    border: 1px solid #d8dee6;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 12px 34px rgba(31, 41, 51, 0.08);
}

.header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.eyebrow {
    margin: 0 0 6px;
    color: #52616f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
}

.status {
    flex: 0 0 auto;
    border: 1px solid #b7c2cf;
    border-radius: 999px;
    padding: 6px 10px;
    color: #34495e;
    font-size: 13px;
    font-weight: 700;
}

.summary {
    margin: 0 0 20px;
    border-top: 1px solid #e4e8ee;
    border-bottom: 1px solid #e4e8ee;
}

.summary div {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 16px;
    padding: 14px 0;
}

dt {
    color: #52616f;
    font-weight: 700;
}

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

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

button,
.secondary {
    min-height: 40px;
    border-radius: 6px;
    border: 1px solid #1f6feb;
    padding: 10px 14px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

button {
    background: #1f6feb;
    color: #ffffff;
}

button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.secondary {
    display: inline-flex;
    align-items: center;
    color: #1f6feb;
    text-decoration: none;
    background: #ffffff;
}

.message {
    border: 1px solid #c9d6e2;
    border-radius: 6px;
    background: #f8fafc;
    padding: 14px;
    color: #243b53;
}

.message.error {
    border-color: #e29a9a;
    background: #fff5f5;
    color: #9b1c1c;
}

.hint {
    color: #52616f;
    line-height: 1.5;
}

code {
    font-family: Consolas, Monaco, monospace;
    background: #eef2f7;
    border-radius: 4px;
    padding: 2px 4px;
}

@media (max-width: 560px) {
    .panel {
        padding: 18px;
    }

    .header {
        display: block;
    }

    .status {
        display: inline-block;
        margin-top: 14px;
    }

    .summary div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
