* { margin: 0; padding: 0; box-sizing: border-box; }
:root { color-scheme: light; }
body {
  font-family: "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif;
  color: #2d344b; background: #f4f7fb; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; padding: 40px 24px; line-height: 1.7;
}
.login-shell {
  width: min(1040px, 100%); display: grid; grid-template-columns: 1.1fr 1fr;
  background: #fff; border: 1px solid #dfe6ef; border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 70px -35px #0054ac30;
}
.intro { padding: 48px; background: #0054ac; color: #fff; display: flex; flex-direction: column; }
.intro .brand { color: #fff; font-size: 32px; }
.eyebrow { font-size: 11px; letter-spacing: .18em; font-weight: 700; color: #d0e5ff; margin-top: 56px; }
.intro h1 { font-size: clamp(29px, 3.1vw, 40px); letter-spacing: -.055em; line-height: 1.55; font-weight: 900; margin-top: 14px; }
.intro-copy { font-size: 14px; line-height: 1.9; color: #e1edff; margin-top: 20px; }
.report-visual { margin-top: 40px; border-top: 1px solid #ffffff30; padding-top: 24px; }
.visual-label { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: #e1edff; }
.visual-label span:last-child { color: #ffb300; }
.bar-chart { height: 86px; display: flex; align-items: end; gap: 10px; margin: 20px 0; border-bottom: 1px solid #ffffff30; }
.bar-chart span { flex: 1; background: #669bd4; border-radius: 4px 4px 0 0; }
.bar-chart span:nth-last-child(-n+3) { background: #ffb300; }
.visual-metrics { display: flex; justify-content: space-between; font-size: 12px; color: #e1edff; }
.signin { display: flex; flex-direction: column; justify-content: center; padding: 56px 48px; }
.signin-kicker { font-size: 12px; font-weight: 700; color: #0054ac; letter-spacing: .06em; margin-bottom: 12px; }
.signin h2 { font-size: 26px; font-weight: 800; letter-spacing: -.04em; line-height: 1.45; }
.signin-copy { font-size: 14px; color: #5d687d; margin-top: 14px; }
.login-action { margin-top: 36px; }
#gsi { min-height: 44px; display: flex; justify-content: center; }
.loading { font-size: 13px; color: #5d687d; text-align: center; margin-bottom: 12px; }
.err { color: #a52626; background: #fff3f2; border-radius: 8px; font-size: 13px; margin-top: 16px; padding: 12px; overflow-wrap: anywhere; }
.err:empty { display: none; }
.retry { display: block; margin: 12px auto 0; min-height: 44px; background: #fff; border: 1px solid #cbd8e9; color: #0054ac; padding: 8px 18px; border-radius: 8px; font: inherit; font-size: 14px; cursor: pointer; }
.retry:focus-visible { outline: 3px solid #79abe0; outline-offset: 3px; }
.note { margin-top: 28px; padding-top: 24px; border-top: 1px solid #e5eaf1; font-size: 13px; line-height: 1.85; color: #5d687d; }
.note strong { color: #2d344b; display: block; margin-bottom: 6px; font-weight: 600; }
.login-footer { color: #68758b; font-size: 12px; text-align: center; margin-top: 20px; }
[hidden] { display: none !important; }
@media (max-width: 767px) {
  body { display: block; padding: 20px 16px; }
  .login-shell { display: block; max-width: 440px; margin: 0 auto; border-radius: 20px; }
  .intro { padding: 28px; }
  .intro .brand { font-size: 28px; }
  .eyebrow, .report-visual, .intro-copy { display: none; }
  .intro h1 { font-size: 26px; line-height: 1.55; margin-top: 24px; }
  .intro h1 br { display: block; }
  .signin { padding: 30px 28px; }
  .signin h2 { font-size: 23px; }
  .signin-kicker { margin-bottom: 8px; }
  .signin-copy { margin-top: 10px; }
  .login-action { margin-top: 24px; }
  .note { margin-top: 22px; padding-top: 18px; }
}
@media (max-width: 359px) {
  body { padding: 12px; }
  .intro { padding: 22px; }
  .intro h1 { font-size: 23px; margin-top: 18px; }
  .signin { padding: 24px 20px; }
}
/* A definite wrapper width prevents Google's fixed-width iframe from setting
   the page's intrinsic width when rotating from desktop to a narrow screen. */
body > div { width: min(1040px, 100%); min-width: 0; }
.login-shell, .signin, .login-action { min-width: 0; }
