:root {
    color-scheme: light;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    color: #1f2937;
    background: #f4f6f8;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

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

.panel {
    width: min(720px, 100%);
    border: 1px solid #d7dee8;
    border-radius: 8px;
    background: #ffffff;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(31, 41, 55, 0.08);
}

.eyebrow {
    margin: 0 0 8px;
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

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

h2 {
    margin: 0 0 16px;
    font-size: 20px;
}

.desc {
    margin: 16px 0 0;
    color: #4b5563;
    line-height: 1.7;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.form {
    display: grid;
    gap: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
}

label {
    display: grid;
    gap: 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 700;
}

input {
    width: 100%;
    min-height: 40px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 15px;
}

button {
    min-height: 40px;
    border-radius: 6px;
    padding: 0 16px;
    border: 1px solid #2563eb;
    font-size: 15px;
    cursor: pointer;
    color: #ffffff;
    background: #2563eb;
}

button:hover {
    background: #1d4ed8;
}

.profile {
    margin-top: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
}

.hidden {
    display: none;
}

dl {
    display: grid;
    gap: 12px;
    margin: 0 0 20px;
}

dl div {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
}

dt {
    color: #6b7280;
    font-weight: 700;
}

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

.message {
    min-height: 24px;
    margin: 18px 0 0;
    color: #b91c1c;
    font-weight: 700;
}

@media (max-width: 520px) {
    .panel {
        padding: 24px;
    }

    h1 {
        font-size: 28px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

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