.account-body { min-height:100vh; background:linear-gradient(160deg,#e2f1fc,#f6f9fd 60%); color:#101d39; }
.account-top { background:#0d4d7d; color:#fff; }
.account-top--entry .wrap { position:relative; }
.account-body:has(.account-card input[name="password"]) .account-top--entry .wrap::before {
  content:""; position:absolute; inset:0 17% 0 auto; width:min(45%,26rem); pointer-events:none;
  background:linear-gradient(90deg,#0d4d7d 0%,transparent 22% 78%,#0d4d7d 100%),
    url('/assets/scene-plans.webp') center 39% / cover no-repeat;
}
.account-top--entry a { position:relative; }
.account-top .wrap { display:flex; align-items:center; justify-content:space-between; gap:1rem; min-height:4.6rem; }
.account-top .brand { gap:.5rem; }
.account-top .brand img { width:2rem; height:2rem; }
.account-top [data-language] { font-weight:700; padding:.7rem 0; }
.account-top a { color:inherit; }
.account-shell { width:min(100% - 2rem, 29rem); margin:clamp(1.5rem,7vw,5rem) auto; }
.account-card { background:#fff; border-radius:22px; padding:clamp(1.1rem,5vw,2.2rem); box-shadow:0 14px 45px #12386416; }
.account-card h1 { font-size:clamp(1.8rem,7vw,2.5rem); letter-spacing:-.035em; line-height:1.08; margin:0 0 .7rem; }
.account-subtitle { color:#48617c; margin:0 0 1.45rem; }
.account-card form { display:grid; gap:1rem; }
.account-card form[hidden],.account-google[hidden] { display:none; }
.account-card label { display:grid; gap:.35rem; font-weight:700; }
.account-card input { font:inherit; font-size:1rem; color:inherit; background:#f8fbff; border:1px solid #8ca5be; border-radius:10px; width:100%; min-height:48px; padding:.65rem .8rem; }
.account-card small { color:#48617c; margin-top:-.6rem; }
.account-card button { width:100%; min-height:48px; font-family:inherit; }
.account-card .orange { background:#b94b00; color:#fff; }
.account-card .orange:hover { background:#9c3e00; }
.account-card .account-google { margin-top:.8rem; border:1px solid #8ca5be; background:#fff; color:#15355f; }
.account-card button:disabled { opacity:.65; cursor:wait; }
.account-links { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.25rem 1rem; margin-top:.8rem; }
.account-card a,.account-back { color:#075182; text-decoration:underline; text-underline-offset:.16em; padding:.45rem 0; }
.account-message:empty { display:none; }
.account-message { color:#075747; margin:.65rem 0 0; }
.account-message[data-error=true] { color:#a52d1d; }
.account-back { display:inline-block; margin-top:.65rem; }
.account-course-panel { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:.35rem .7rem; padding:.44rem .9rem; background:#edf7fb; color:#163d5d; font-size:.85rem; }
.account-course-panel button { font:inherit; font-weight:700; min-height:44px; padding:.4rem .75rem; border:1px solid #97b7cc; border-radius:.7rem; background:white; color:#123d5c; }
.account-course-panel button[hidden] { display:none; }
/* Account agreement */
.account-legal-fields { display:grid; gap:.7rem; }
.account-legal-summary { margin:0; color:#48617c; font-size:.89rem; line-height:1.45; }
.account-card .account-legal-check {
  display:grid; grid-template-columns:1.4rem minmax(0,1fr); align-items:start;
  gap:.65rem; min-height:44px; padding:.65rem; border:1px solid #b6c8d9; border-radius:10px;
  background:#f5f9fd; font-weight:600; line-height:1.4; cursor:pointer;
}
.account-card .account-legal-check input {
  width:1.25rem; height:1.25rem; min-height:0; padding:0; margin:.08rem 0 0;
  accent-color:#075182; cursor:pointer;
}
.account-card .account-legal-check a, .account-card .account-legal-summary a { padding:0; }
.account-legal-version { color:#48617c; font-size:.84rem; margin:0; }
.account-card [data-sign-out] { justify-self:start; }
.account-card .account-legal-fields :focus-visible { outline:2px solid #075182; outline-offset:3px; }
