/* App's quiet, white login screen, with the same four vertically stacked cards. */
body[data-page="login"] { background: #fff; padding-bottom: 0; }
body[data-page="login"] .site-header, body[data-page="login"] .site-footer, body[data-page="login"] .web-bottom-nav { display: none; }
#login-page.auth-login { position: relative; display: flex; width: min(520px, calc(100% - 48px)); min-height: 100svh; margin: 0 auto; padding: 92px 0 72px; color: #202020; }
#login-page[hidden] { display: none; }
#login-page .auth-back { position: absolute; top: 22px; left: -12px; display: grid; place-items: center; width: 44px; height: 44px; color: #303033; }
#login-page .auth-back svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
#login-page .auth-content { padding: 0; }
#login-page .auth-brand { display: flex; flex-direction: column; align-items: center; gap: 26px; }
#login-page .auth-emblem { width: 50px; height: 50px; stroke: #ed690a; stroke-width: 5; }
#login-page .auth-wordmark { display: block; font-size: 1rem; font-weight: 600; letter-spacing: .58em; margin-right: -.58em; }
#login-page .auth-intro { margin: 30px 0 42px; text-align: center; }
#login-page .auth-intro :is(h1,h2:where(.interium-section-title)) { max-width: none; margin: 0; color: #202020; font-size: 2rem; font-weight: 700; letter-spacing: -.055em; line-height: 1.3; }
#login-page .auth-intro p { margin: 20px 0 0; color: #777; font-size: 1rem; line-height: 1.6; letter-spacing: -.025em; }
#login-page .auth-role-select { gap: 12px; margin: 12px 0 26px; color: #2f2924; font-size: 1.125rem; font-weight: 600; line-height: 1.5; letter-spacing: -.025em; }
#login-page .auth-role-select select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 66px; padding: 18px 54px 18px 24px; border: 1px solid #e4ddd6; border-radius: 14px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='m4 7 6 6 6-6' fill='none' stroke='%232f2924' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 22px center; color: #292929; font: inherit; font-size: 1.1875rem; font-weight: 600; appearance: none; cursor: pointer; box-shadow: 0 4px 10px rgba(47, 41, 36, .06), 0 12px 26px rgba(47, 41, 36, .1); transition: border-color .2s ease, box-shadow .2s ease; }
#login-page .auth-role-select select:focus-visible { outline: 2px solid #736b64; outline-offset: 3px; border-color: #b8b2ac; }
#login-page .auth-role-select select:disabled { opacity: .65; cursor: wait; }
@media (hover: hover) and (pointer: fine) { #login-page .auth-role-select select:hover:not(:disabled) { border-color: #c6b5a7; box-shadow: 0 5px 12px rgba(47, 41, 36, .07), 0 14px 28px rgba(47, 41, 36, .12); } }
@media (max-width: 699px) { #login-page .auth-role-select { font-size: 1.0625rem; } #login-page .auth-role-select select { min-height: 60px; padding: 15px 50px 15px 20px; background-position: right 20px center; } }
@media (prefers-reduced-motion: reduce) { #login-page .auth-role-select select { transition: none; } }
@media (forced-colors: active) { #login-page .auth-role-select select { appearance: auto; background-image: none; } }
#login-page .auth-methods { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
#login-page .auth-methods[hidden], #login-page .auth-secondary[hidden] { display: none; }
#login-page .auth-card { display: grid; grid-template-columns: 50px minmax(0, 1fr) 18px; align-items: center; min-height: 78px; padding: 13px 20px; gap: 24px; border: 1px solid #e9e9eb; border-radius: 19px; background: #fff; color: #202020; box-shadow: 0 3px 8px rgba(0,0,0,.055), 0 15px 34px -7px rgba(0,0,0,.14); }
#login-page .auth-card[data-auth-provider] { background: #fff; color: #202020; border-color: #e9e9eb; }
#login-page .auth-card:hover { filter: none; border-color: #ceced2; box-shadow: 0 6px 12px rgba(0,0,0,.055), 0 18px 34px -7px rgba(0,0,0,.16); }
#login-page .auth-card::after { content: ""; justify-self: end; width: 9px; height: 9px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); opacity: 1; margin-right: 3px; }
#login-page .auth-card[aria-busy="true"]::after { content: ""; width: 17px; height: 17px; border: 2px solid #e5e5e5; border-top-color: #ff5a00; border-radius: 50%; animation: auth-spin 1s linear infinite; }
#login-page .auth-card:disabled { opacity: .65; cursor: wait; }
#login-page .auth-card-label { color: #202020; text-align: left; font-size: 1.125rem; font-weight: 600; letter-spacing: -.035em; line-height: 1.45; }
#login-page .auth-badge { width: 50px; height: 50px; border-radius: 12px; }
#login-page .auth-kakao-talk { width: 36px; height: 29px; font-size: 9px; }
#login-page .auth-badge-naver, #login-page .auth-card[data-auth-provider="naver"] .auth-badge { background: #03c75a; color: #fff; font-size: 31px; font-weight: 900; }
#login-page .auth-badge-apple { background: #f2f2f4; }
#login-page .auth-badge-apple svg { width: 32px; height: 32px; }
#login-page .auth-badge-general { background: #fff0e7; color: #f16510; }
#login-page .auth-badge-general svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#login-page .auth-secondary { margin-top: 24px; text-align: center; }
#auth-general-login { border: 0; padding: 4px 0; background: none; color: #777; font: inherit; font-size: .875rem; line-height: 1.6; cursor: pointer; }
#auth-general-login:hover { color: #c44805; text-decoration: underline; text-underline-offset: 4px; }
#login-page .auth-availability { margin: 12px 0 0; }
#login-page .auth-availability:empty { display: none; }
#login-page .auth-help-links { display: flex; margin-top: 24px; padding-top: 0; gap: 4px 28px; }
#login-page .auth-help-links a { color: #6f6f73; font-size: .875rem; font-weight: 500; }
.phone-auth-dialog { box-sizing: border-box; width: min(560px, calc(100% - 32px)); max-height: calc(100svh - 40px); padding: 28px; border: 1px solid #e8e8eb; border-radius: 22px; background: white; color: #202020; font: 16px/1.6 Pretendard, sans-serif; box-shadow: 0 30px 90px #0002; overscroll-behavior: contain; overflow-y: auto; }
.phone-auth-dialog::backdrop { background: #16191e66; }
.phone-auth-dialog h2:where(:not(.interium-section-title)) { margin: 14px 0 8px; font-size: 1.65rem; letter-spacing: -.04em; font-weight: 650; line-height: 1.4; }
.phone-auth-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.phone-auth-brand { margin: 0; color: #e45a06; font-size: .875rem; font-weight: 600; letter-spacing: .3em; }
.phone-auth-close { border: 0; background: none; color: #666; width: 44px; height: 44px; font: 30px/1 sans-serif; cursor: pointer; flex: none; }
.phone-auth-description { margin: 0 0 24px; color: #707077; }
.phone-field { display: block; margin: 20px 0 0; font-size: .9375rem; font-weight: 550; }
.phone-field > span, .phone-field > label > span, .phone-consent-row label span { color: #777; font-size: .875rem; font-weight: 400; margin-left: 6px; }
.phone-field input, .phone-field select { display: block; box-sizing: border-box; width: 100%; min-height: 52px; margin-top: 8px; padding: 12px 14px; background: #fff; color: #222; border: 1px solid #dddde1; border-radius: 10px; font-family: inherit; font-size: 1rem; line-height: 1.5; }
.phone-field input:read-only { background: #f6f6f7; }
.phone-password-control { position: relative; margin-top: 8px; }
.phone-password-control input { margin-top: 0; padding-right: 58px; }
.phone-password-toggle { position: absolute; top: 50%; right: 3px; transform: translateY(-50%); display: grid; place-items: center; width: 46px; height: 46px; padding: 11px; border: 0; border-radius: 8px; background: transparent; color: #677181; cursor: pointer; touch-action: manipulation; }
.phone-password-toggle svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.phone-password-toggle[aria-pressed="false"] .phone-password-slash { display: none; }
.phone-password-toggle:hover { color: #202020; }
.phone-password-control input::-ms-reveal { display: none; }
.phone-auth-dialog input:focus-visible, .phone-auth-dialog select:focus-visible, .phone-auth-dialog button:focus-visible, .phone-auth-dialog a:focus-visible, #auth-general-login:focus-visible { outline: 2px solid #ff5a00; outline-offset: 3px; }
.phone-consents { margin: 24px 0 0; padding: 16px; border: 1px solid #e9e9ec; border-radius: 12px; }
.phone-consents legend { padding: 0 5px; font-weight: 550; }
.phone-consent-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.phone-consent-row label { display: flex; flex-wrap: wrap; flex: 1; align-items: center; gap: 6px; font-size: .875rem; cursor: pointer; }
.phone-consent-row input { width: 19px; height: 19px; accent-color: #e9580b; flex: none; }
.phone-consent-row button, .phone-text-button, .phone-auth-switch button { min-height: 40px; border: 0; background: none; color: #65656c; font: inherit; font-size: .875rem; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.phone-outline-button, .phone-primary-button { display: block; width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid #dedee2; border-radius: 10px; background: #fff; color: #333; font: inherit; font-weight: 550; cursor: pointer; margin-top: 12px; }
.phone-primary-button { background: #f35a08; border-color: #f35a08; color: #fff; margin-top: 26px; }
.phone-auth-dialog button:disabled { opacity: .5; cursor: not-allowed; }
.phone-hint, #phone-policy-status { font-size: .875rem; color: #777; margin: 8px 0; }
.phone-hint:empty { display: none; }
.phone-auth-message { margin: 20px 0 0; padding: 13px 15px; background: #fff7f1; border: 1px solid #f4e4d8; border-radius: 10px; color: #86400c; font-size: .9375rem; }
.phone-auth-switch { display: flex; justify-content: center; flex-wrap: wrap; gap: 3px 16px; margin-top: 18px; }
.phone-auth-policy-link { margin: 10px 0 0; text-align: center; font-size: .875rem; color: #777; }
.phone-policy-body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .9375rem; line-height: 1.8; }
.phone-auth-dialog [hidden] { display: none !important; }
@keyframes auth-spin { to { transform: rotate(360deg); } }
@media(min-width:700px) { #login-page.auth-login { padding-top: 110px; } #login-page .auth-intro :is(h1,h2:where(.interium-section-title)) { font-size: 2.25rem; } }
@media(max-width:359px) { #login-page.auth-login { width: calc(100% - 36px); padding-top: 82px; } #login-page .auth-card { gap: 16px; padding-inline: 16px; } #login-page .auth-intro :is(h1,h2:where(.interium-section-title)) { font-size: 1.75rem; } }
@media(prefers-reduced-motion:reduce) { #login-page .auth-card[aria-busy="true"]::after { animation: none; } }
