:root {
    color-scheme: light;
    color: #272b26;
    background: #f7f6f2;
    font: 1rem/1.5 system-ui, "Malgun Gothic", sans-serif;
}

body {
    display: grid;
    place-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
    padding: 1.25rem;
    margin: 0;
}

.access-panel {
    box-sizing: border-box;
    width: min(100%, 24rem);
    padding: clamp(1.4rem, 6vw, 2.2rem);
    border: 1px solid #deded5;
    border-radius: .8rem;
    background: #fff;
    box-shadow: 0 .45rem 1.6rem #252b2610;
}

h1 { margin: 0 0 1.25rem; font-size: 1.55rem; line-height: 1.2; }
form { display: grid; gap: .55rem; }
label { font-weight: 650; }

input, button {
    box-sizing: border-box;
    width: 100%;
    min-height: 2.85rem;
    padding: .55rem .75rem;
    border: 1px solid #888e84;
    border-radius: .4rem;
    font: inherit;
}

input { color: inherit; background: #fff; }
input:focus-visible, button:focus-visible { outline: 2px solid #426a59; outline-offset: 2px; }
input[aria-invalid=true] { border-color: #ae4b37; }
.access-message { margin: 0; font-size: .88rem; color: #8c3023; }

button {
    margin-top: .35rem;
    border-color: #254538;
    background: #254538;
    color: #fff;
    font-weight: 650;
    cursor: pointer;
}

button:hover { background: #345946; }
