:root { color-scheme: light; font-family: system-ui, -apple-system, "Noto Sans JP", sans-serif; color: #203044; background: #f3f5f8; line-height: 1.65; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #334d91; text-underline-offset: .2em; }
header { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding: 1rem 3vw; background: #fff; border-top: 6px solid #f0cf57; border-bottom: 1px solid #d6dce6; }
.brand { color: #203044; font-size: 1.5rem; font-weight: 750; text-decoration: none; }
.brand span { font-size: .85rem; font-weight: 500; }
nav, .account { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
nav a { padding: .5rem 0; font-weight: 650; }
.account { margin-left: auto; }
main { max-width: 1160px; margin: 3rem auto; padding: 0 1.25rem; min-height: 60vh; }
h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.4; }
h2 { font-size: 1.3rem; margin-top: 0; }
.eyebrow { color: #526081; font-weight: 700; font-size: .9rem; }
.panel, .card { background: #fff; border: 1px solid #d6dce6; border-radius: 12px; padding: 1.5rem; }
.narrow { max-width: 620px; margin: 4rem auto; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.card { color: inherit; text-decoration: none; border-top: 4px solid #6063a6; }
.card:nth-child(2) { border-top-color: #263342; }
.card:nth-child(3) { border-top-color: #a35c34; }
.card:hover { border-color: #334d91; background: #fafbff; }
.card p { font-weight: 650; }
.card span, .muted { color: #596577; font-size: .9rem; }
button, .button { display: inline-block; border: 1px solid #334d91; border-radius: 6px; padding: .7rem 1rem; background: #334d91; color: #fff; font: inherit; text-decoration: none; cursor: pointer; min-height: 44px; }
.secondary { color: #334d91; background: #fff; }
select, input:not([type=hidden]) { font: inherit; padding: .6rem; min-height: 44px; min-width: 0; width: 100%; max-width: 100%; border: 1px solid #8c98ac; border-radius: 5px; background: #fff; color: #203044; }
.registration { margin: 1.5rem 0; }
.registration .controls { max-width: 650px; }
summary { cursor: pointer; font-weight: 700; padding: .4rem 0; }
.notice, .error { padding: 1rem; border-radius: 6px; }
.notice { background: #e8f3ed; color: #20553b; }
.error { background: #fff0ed; color: #8c2e26; overflow-wrap: anywhere; }
.users { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
dl { margin: 0 0 1rem; }
dt { color: #596577; font-size: .85rem; }
dd { margin: 0 0 .6rem; overflow-wrap: anywhere; }
.identifier { font-family: ui-monospace, monospace; font-size: .9rem; }
.controls { display: grid; align-items: center; grid-template-columns: auto minmax(0, 1fr); gap: .6rem; }
.controls button { grid-column: 2; justify-self: start; }
:focus-visible { outline: 3px solid #ac6d0b; outline-offset: 4px; }
footer { text-align: center; padding: 2rem 1rem; color: #596577; font-size: .85rem; }
.skip { position: absolute; top: -100px; padding: .5rem; background: #fff; }
.skip:focus { top: 0; }
@media (max-width: 760px) { .cards, .users { grid-template-columns: 1fr; } header { gap: .6rem; } nav { width: 100%; gap: 1.2rem; } .account { margin-left: 0; width: 100%; justify-content: space-between; } main { margin-top: 1.5rem; } .narrow { margin: 1rem auto; } }
