/* Standalone V6 gate: do not load diary-theme.css here. All UI is printed. */
:root { color-scheme: light; background: #fff; }
.login-page, .login-page * { box-sizing: border-box; }
.login-page {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: #fff;
  color: #303e49;
  font-family: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
.login-page ::selection { background: #d8edfb; color: #284f69; }
.login-shell { width: min(100%, 1200px); margin-inline: auto; padding: 48px 48px 64px; }
.login-brand { display: flex; align-items: center; gap: 11px; }
.login-brand-icon { width: 34px; height: 34px; }
.login-wordmark { font-size: 21px; font-weight: 750; letter-spacing: .06em; }
.login-brand-name { margin-left: 3px; padding-left: 15px; border-left: 1px solid #dce5eb; color: #64717d; font-size: 14px; }
.login-layout { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); align-items: center; gap: clamp(48px, 7vw, 100px); min-height: min(720px, calc(100dvh - 146px)); padding-block: 64px; }
.login-art { min-width: 0; }
.login-art > svg { display: block; width: 100%; height: auto; }
.login-content { width: 100%; max-width: 360px; padding-block: 16px; }
.login-eyebrow { margin: 0 0 12px; color: #54809b; font-size: 12px; font-weight: 650; letter-spacing: .2em; }
.login-header h1 { margin: 0; font-size: clamp(32px, 3vw, 42px); line-height: 1.25; font-weight: 650; letter-spacing: -1.5px; }
.login-section { margin-top: 44px; }
.login-section h2 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.3px; }
.login-section p { margin: 8px 0 26px; color: #64717d; font-size: 14px; word-break: keep-all; overflow-wrap: anywhere; }
.login-google { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; width: 100%; padding: 15px 18px; border: 1px solid #c8dfed; border-radius: 12px; background: #e6f3fc; color: #284f69; text-decoration: none; font-size: 15px; font-weight: 600; transition: background-color .15s, border-color .15s; }
.login-google:hover { background: #d7ecfa; border-color: #a8cce2; }
.login-google:active { background: #cce5f5; }
.login-google-icon { flex: 0 0 22px; width: 22px; height: 22px; }
.login-google span { flex: 1; text-align: center; }
.login-arrow { flex: 0 0 20px; width: 20px; height: 20px; }
.login-page a:focus-visible { outline: 3px solid #287fb2; outline-offset: 4px; }
.login-footer { margin-top: 36px; padding-top: 20px; border-top: 1px solid #e5ecf1; }
.login-legacy { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: #506b7c; font-size: 13px; text-decoration: none; }
.login-legacy:hover { color: #285b7b; text-decoration: underline; text-underline-offset: 4px; }
.login-footer p { margin: 2px 0 0; color: #64717d; font-size: 12px; word-break: keep-all; overflow-wrap: anywhere; }
.login-page .bootstrap-error { margin: 16px auto; width: min(90%, 1104px); background: #fbecef; color: #91464e; border: 1px solid #ebc9ce; border-radius: 8px; padding: 16px; }
@media (max-width: 760px) {
  .login-shell { max-width: 480px; padding: 28px 28px 40px; }
  .login-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; min-height: auto; padding-block: 32px 0; }
  .login-art { height: 190px; overflow: hidden; border-radius: 20px; background: #eaf5fc; }
  .login-art > svg { width: 100%; height: 100%; object-fit: cover; }
  .login-content { max-width: none; padding: 0; }
  .login-eyebrow { display: none; }
  .login-header h1 { font-size: 32px; }
  .login-section { margin-top: 26px; }
  .login-section p { margin-bottom: 22px; }
  .login-footer { margin-top: 28px; padding-top: 14px; }
}
@media (max-width: 350px) {
  .login-shell { padding: 22px 22px 32px; }
  .login-layout { gap: 28px; padding-top: 26px; }
  .login-art { height: 148px; border-radius: 16px; }
  .login-section { margin-top: 22px; }
  .login-google { padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) { .login-page * { transition: none; scroll-behavior: auto; } }
