/* M.yoshimura 2026-10-27: KC/Runway login skins for isolated SMS+SSO tests.
   Layout/colors derived from the sites' public login presentation only.
   KC source: assets/kc-login-20261020/login.css and public runway-background override.
   Runway source attribution: HQ-DESIGN-20261019 public login design.
   No production dashboard CSS, scripts, external fonts, or network dependencies. */

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: #fff; color: #231815; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
.auth-shell { display: flex; min-height: 100vh; min-height: 100svh; }
.brand-pane { position: relative; min-width: 0; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: center; }
.brand-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.auth-side { min-width: 0; }
.auth-panel { width: 100%; }
.auth-heading h1 { margin: 0; line-height: 1.45; overflow-wrap: anywhere; }
.auth-content p { margin: 0 0 14px; }
.auth-content .field { min-width: 0; margin-top: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.auth-content input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), .auth-content select { display: block; width: 100%; min-width: 0; min-height: 54px; padding: 12px 15px; border: 1px solid #aeb0b8; border-radius: 8px; background: #fff; color: #202025; font-size: 16px; }
.auth-content input::placeholder { color: #777; opacity: 1; }
.auth-content input[type="checkbox"], .auth-content input[type="radio"] { accent-color: var(--accent); }
.auth-content input:focus, .auth-content select:focus { border-color: var(--accent); outline: 3px solid var(--focus); outline-offset: 2px; }
.auth-content input[data-sms-code] { text-align: center; font-size: 26px; letter-spacing: .18em; font-variant-numeric: tabular-nums; }
.auth-content button, .auth-content .button { display: inline-flex; justify-content: center; align-items: center; width: 100%; min-height: 56px; margin-top: 26px; padding: 12px 18px; border: 0; border-radius: 8px; background: var(--accent); color: #fff; font-size: 18px; font-weight: 700; line-height: 1.5; letter-spacing: .08em; text-align: center; text-decoration: none; cursor: pointer; }
.auth-content button:hover:not(:disabled), .auth-content .button:hover { background: var(--accent-hover); }
.auth-content button:disabled { cursor: not-allowed; opacity: .55; }
.auth-content button:focus-visible, .auth-content a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.auth-content .secondary, .auth-content .button.secondary, .auth-content button.secondary { width: auto; min-height: 36px; margin-top: 12px; padding: 6px 0; background: transparent; color: var(--link); font-size: 13px; font-weight: 400; letter-spacing: 0; text-decoration: underline; text-underline-offset: 3px; }
.auth-content .secondary:hover, .auth-content button.secondary:hover { background: transparent; color: var(--accent-hover); }
.auth-content .subtle, .auth-content .hint { margin-top: 12px; color: #68636a; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.auth-content .error { margin-bottom: 16px; color: #b32232; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.auth-content .error:empty { display: none; }
.auth-content .notice { margin: 18px 0; padding: 14px; border: 1px solid #e2dce0; border-radius: 8px; background: #faf8f9; font-size: 13px; overflow-wrap: anywhere; }
.auth-content .notice p:last-child { margin-bottom: 0; }
.auth-content .toolbar, .auth-content .row { display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.auth-content .toolbar form { margin: 0; }
.auth-content .toolbar .subtle { margin: 0; }
.auth-content a { color: var(--link); }
.auth-content code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
/* M.yoshimura | 2026-10-28 | Preserve the approved red remaining-time text for email OTP. */
.auth-content [data-email-countdown-value] { color: #d00; font-variant-numeric: tabular-nums; }
.auth-footer { color: #5d5552; font-size: 12px; text-align: center; }
.auth-footer p { margin: 0; }
.auth-footer .test-label { margin-top: 12px; color: #777078; font-size: 11px; }
.test-tools { margin-top: 22px; font-size: 12px; }
.test-tools summary { color: var(--link); cursor: pointer; }
.test-tools button { margin-top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-kc { --accent: #dc226c; --accent-hover: #bf185a; --focus: #fbe0eb; --link: #9c2856; color: #181818; }
.site-kc .brand-pane { flex: 0 0 60%; min-height: 100vh; min-height: 100svh; background: #fae7e8; }
.site-kc .brand-background { object-fit: fill; }
.kc-art-content { display: flex; flex-direction: column; align-items: center; width: 100%; position: relative; }
.kc-art-logo { display: block; width: 94%; max-width: 950px; height: auto; mix-blend-mode: multiply; }
.kc-art-caption { display: flex; align-items: center; gap: 20px; width: 64%; margin: 12px 0 0; color: #24191e; font: 16px/1.5 Georgia, "Times New Roman", serif; letter-spacing: .38em; white-space: nowrap; }
.kc-art-caption::before, .kc-art-caption::after { content: ""; height: 1px; background: #a99c9f; flex: 1; }
.site-kc .auth-side { flex: 0 0 40%; padding: clamp(32px,9vh,100px) clamp(24px,4.6vw,78px) 40px; }
.site-kc .auth-heading { margin-bottom: 32px; text-align: center; }
.kc-form-logo { display: block; width: 230px; max-width: 100%; height: auto; margin: 0 auto 24px; }
.kc-brand-subtitle { margin: 0; color: #666; font-size: 14px; font-weight: 500; letter-spacing: .22em; }
.site-kc .auth-heading h1 { margin-top: 14px; font-size: clamp(28px,3vw,40px); font-weight: 700; letter-spacing: .1em; }
.site-kc .field label { color: #292929; letter-spacing: .06em; }
.site-kc .auth-footer { margin-top: 34px; }

.site-runway { --accent: #231815; --accent-hover: #3d322e; --focus: #ece7e4; --link: #5d4540; }
.site-runway .brand-pane { flex: 0 0 50%; padding: 24px; }
.runway-board { position: relative; width: min(580px,82%); padding: clamp(24px,3vw,44px) clamp(20px,3.9vw,56px) clamp(26px,3.2vw,46px); background: #fff; border-radius: 6px; box-shadow: 0 10px 36px rgba(0,0,0,.18); text-align: center; }
.runway-board-logo { display: block; width: 100%; max-width: 460px; height: auto; margin: 0 auto; }
.runway-bar { height: 4px; margin: 30px auto 26px; max-width: 440px; background: linear-gradient(90deg,#e60012 0 14.29%,#005bac 0 28.57%,#00a040 0 42.86%,#ec6800 0 57.14%,#7f1084 0 71.43%,#fabe00 0 85.71%,#1a96d5 0); }
.runway-board-title { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; color: #231815; font-size: clamp(18px,2.1vw,30px); font-weight: 800; line-height: 1.3; white-space: nowrap; }
.runway-board-title span { padding: 2px 10px; border-radius: 4px; background: #231815; color: #fff; font-size: clamp(14px,1.7vw,24px); }
.site-runway .auth-side { display: flex; flex: 0 0 50%; align-items: center; justify-content: center; padding: 40px 24px; }
.site-runway .auth-panel { max-width: 404px; }
.site-runway .auth-heading { margin-bottom: 36px; }
.site-runway .auth-heading h1 { color: #231815; font-size: 28px; font-weight: 800; }
.site-runway .field { margin-top: 18px; }
.site-runway .login-form .field { margin-top: 0; margin-bottom: 18px; }
.site-runway .login-form .field > label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.site-runway .auth-content input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) { border: 1.5px solid #c9c3c0; border-radius: 6px; color: #231815; }
.site-runway .auth-content input:focus { border-color: #231815; }
.site-runway .auth-content button, .site-runway .auth-content .button { border-radius: 7px; }
.site-runway .auth-content button:not(.secondary), .site-runway .auth-content .button:not(.secondary) { font-size: 20px; font-weight: 800; letter-spacing: .12em; }
.site-runway .auth-footer { margin-top: 120px; padding-top: 14px; border-top: 1px solid #bdb6b3; font-size: 13px; }

@media (max-width: 768px) {
  .auth-shell { display: block; }
  .site-kc .brand-pane { min-height: 190px; height: 28svh; max-height: 270px; }
  .kc-art-logo { width: min(88%,410px); }
  .kc-art-caption { width: min(62%,280px); gap: 12px; margin-top: 2px; font-size: 10px; }
  .site-kc .auth-side { max-width: 540px; margin: 0 auto; padding: 30px 26px 28px; }
  .site-kc .auth-heading { margin-bottom: 22px; }
  .kc-form-logo { display: none; }
  .site-kc .auth-heading h1 { margin-top: 10px; font-size: 28px; }
  .site-kc .auth-footer { margin-top: 28px; }
  .site-runway .brand-pane { padding: 28px 16px; }
  .runway-board { width: 100%; max-width: 360px; padding: 24px 22px; }
  .runway-bar { margin: 18px auto 16px; }
  .runway-board-title { font-size: 20px; gap: 8px; }
  .runway-board-title span { font-size: 15px; }
  .site-runway .auth-side { align-items: flex-start; padding: 28px 20px 32px; }
  .site-runway .auth-heading h1 { font-size: 26px; }
  .site-runway .auth-footer { margin-top: 48px; }
}
@media (max-width: 360px) {
  .site-kc .auth-side { padding-right: 20px; padding-left: 20px; }
  .kc-art-caption { letter-spacing: .25em; }
  .runway-board-title { white-space: normal; }
}

/* M.yoshimura | 2026-10-27 | Smaller phone-enrollment heading; other headings retain their sizes. */
.auth-heading h1.enrollment-title { font-size: 22px; line-height: 1.6; letter-spacing: .02em; }
@media (max-width: 768px) {
  .auth-heading h1.enrollment-title { font-size: 20px; }
}
