* { box-sizing: border-box; }
:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  color: #342f2a;
  background: #f7f4ef;
}
body { margin: 0; min-height: 100vh; }
.shell { width: min(100% - 32px, 520px); margin: 0 auto; padding: 48px 0 28px; }
.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.mark { width: 52px; height: 52px; border-radius: 17px; display: grid; place-items: center; background: #8b9b82; color: white; font-size: 27px; font-weight: 700; }
.eyebrow { margin: 0 0 5px; color: #87917e; font-size: 11px; letter-spacing: .16em; font-weight: 700; }
h1 { margin: 0; font-size: 21px; }
h2 { margin: 0 0 8px; font-size: 22px; }
.panel { background: #fff; border: 1px solid #e9e4dc; border-radius: 20px; padding: 26px; box-shadow: 0 8px 28px rgba(60, 48, 35, .05); }
.hidden { display: none; }
.muted { color: #77736d; font-size: 14px; line-height: 1.7; }
form { display: grid; gap: 10px; margin-top: 22px; }
label { font-size: 13px; font-weight: 650; margin-top: 5px; }
input { width: 100%; border: 1px solid #d9d4cb; border-radius: 11px; padding: 13px 14px; font-size: 16px; background: #fffefa; color: #342f2a; }
input:focus { outline: 3px solid #dce5d7; border-color: #8b9b82; }
button { border: 0; border-radius: 11px; padding: 14px 18px; background: #788b70; color: white; font-size: 15px; font-weight: 700; cursor: pointer; margin-top: 12px; }
button:disabled { opacity: .6; cursor: wait; }
button.secondary { background: #eeeae3; color: #514b43; margin: 0; }
.message { min-height: 1.4em; color: #9a493d; font-size: 13px; line-height: 1.6; }
.welcome { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.user-email { overflow-wrap: anywhere; font-weight: 650; }
.notice { margin-top: 22px; padding: 16px; border-radius: 13px; background: #f2f5ef; font-size: 14px; line-height: 1.7; }
.notice p { margin: 5px 0 0; color: #666e60; }
footer { color: #8a857d; font-size: 11px; line-height: 1.6; text-align: center; margin: 22px 8px 0; }
@media (max-width: 420px) {
  .shell { padding-top: 28px; }
  .panel { padding: 21px; }
  .welcome { align-items: flex-start; flex-direction: column; }
}
