/* Shared web account controls. Provider identities are rendered as text. */
.social-auth-buttons { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 14px 0; }
.social-auth-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; width: 100%; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #17233c; font: inherit; font-weight: 650; line-height: 1.4; text-align: center; cursor: pointer; }
.social-auth-button:hover { border-color: #7184a3; background: #f8fafc; }
.social-auth-button:focus-visible { outline: 3px solid #2559db; outline-offset: 3px; }
.social-auth-button:disabled { cursor: wait; opacity: .6; }
.social-auth-button.social-kakao { border-color: #e9d500; background: #fee500; color: #191919; }
.social-auth-button.social-kakao:hover { background: #f5dc00; border-color: #cdb900; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 20px 0; color: #64748b; font-size: 12px; line-height: 1.4; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: #dfe5ed; }
.marketing-consent { padding: 15px; border: 1px solid #dce3ed; border-radius: 12px; background: #f8fafc; }
.marketing-consent .filter-check { align-items: flex-start; margin: 0; }
.marketing-consent input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; width: 17px; height: 17px; }
.marketing-consent strong { font-size: 13px; line-height: 1.65; color: #263650; }
.marketing-consent p { margin: 10px 0; font-size: 12px; line-height: 1.75; color: #59677d; word-break: keep-all; overflow-wrap: anywhere; }
.marketing-consent a, .service-terms a { color: #1d4ed8; text-underline-offset: 3px; font-size: 12px; }
.marketing-consent .notice { margin-top: 12px; }
.social-identity { display: grid; gap: 7px; padding: 16px; border-radius: 12px; background: #edf3ff; color: #1c3a70; }
.social-identity strong { font-size: 14px; }
.social-identity span { font-size: 13px; overflow-wrap: anywhere; }
.login-methods { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.login-methods span { display: inline-flex; border: 1px solid #d4dfef; border-radius: 999px; padding: 6px 12px; color: #253e65; background: #f4f7fc; font-size: 13px; font-weight: 600; }
.social-reauth { padding-top: 4px; }
.social-reauth p { font-size: 13px; line-height: 1.7; }
.social-reauth .social-auth-buttons { max-width: 380px; }
.social-notice { margin-bottom: 18px; }
@media (min-width: 720px) {
  .settings-panel > .social-auth-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; }
}
@media (max-width: 430px) {
  .marketing-consent { padding: 12px; }
  .marketing-consent strong { font-size: 12px; }
  .social-auth-button { padding: 12px; }
}

/* Personal account value preview stays stacked within narrow account cards. */
.auth-value-preview { min-width: 0; max-width: 100%; box-sizing: border-box; margin: 0 0 22px; padding: 18px; border: 1px solid #dce5f1; border-radius: 12px; background: #f7faff; color: #172d4f; overflow-wrap: anywhere; }
.auth-value-preview .auth-value-label { display: inline-block; margin: 0 0 8px; padding: 3px 8px; border-radius: 999px; background: #eaf0ff; color: #285ce0; font-size: 11px; font-weight: 700; line-height: 1.6; }
.auth-value-preview #auth-value-title { margin: 0 0 14px; font-size: 20px; line-height: 1.5; letter-spacing: -.035em; }
.auth-value-flow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.auth-value-flow > article { min-width: 0; padding: 14px; border: 1px solid #dce5f1; border-radius: 10px; background: #fff; }
.auth-value-flow .auth-value-step { margin: 0 0 8px; color: #5f718b; font-size: 11px; font-weight: 650; line-height: 1.7; }
.auth-value-input blockquote { margin: 0; color: #223a60; font-size: 14px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
.auth-value-arrow { display: block; justify-self: center; color: #63748f; font-size: 20px; line-height: 1; }
.auth-value-document h3 { margin: 0 0 10px; font-size: 16px; line-height: 1.6; letter-spacing: -.02em; }
.auth-value-document dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; }
.auth-value-document dl > div { min-width: 0; }
.auth-value-document dt { margin: 0 0 3px; color: #63748f; font-size: 11px; font-weight: 650; line-height: 1.6; }
.auth-value-document dd { min-width: 0; margin: 0; color: #223a60; font-size: 13px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.auth-value-preview .auth-value-note { margin: 12px 0 0; color: #63748f; font-size: 12px; line-height: 1.75; }
.auth-entry-choices { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-width: 0; margin: 0 0 12px; }
.auth-entry-choices > button { min-width: 0; min-height: 44px; max-width: 100%; width: 100%; box-sizing: border-box; justify-content: center; white-space: normal; overflow-wrap: anywhere; line-height: 1.5; }
.auth-entry-choices > button:disabled { opacity: 1; cursor: default; }
.auth-entry-help { margin: 0 0 20px; color: #63748f; font-size: 12px; line-height: 1.75; overflow-wrap: anywhere; }

/* Keep the example and a real authentication entry within the first screen. */
.service-card:has(.auth-value-preview) { display: flex; flex-direction: column; }
.service-card:has(.auth-value-preview) > .auth-entry-choices { order: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 8px; }
.service-card:has(.auth-value-preview) > .auth-entry-help { order: 2; margin-bottom: 14px; }
.service-card:has(.auth-value-preview) > .auth-value-preview { order: 3; margin-bottom: 16px; padding: 12px; }
.service-card:has(.auth-value-preview) > .social-auth-buttons { order: 4; }
.service-card:has(.auth-value-preview) > .auth-divider { order: 5; }
.service-card:has(.auth-value-preview) > .service-form { order: 6; }
.auth-value-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.auth-value-preview .auth-value-heading #auth-value-title { margin: 0; font-size: 15px; line-height: 1.5; }
.auth-value-preview .auth-value-heading .auth-value-label { flex-shrink: 0; margin: 0; padding: 2px 6px; font-size: 10px; }
.auth-value-preview .auth-value-flow { grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr); gap: 6px; align-items: stretch; }
.auth-value-preview .auth-value-flow > article { padding: 9px; }
.auth-value-preview .auth-value-arrow { align-self: center; font-size: 16px; }
.auth-value-preview .auth-value-step { margin-bottom: 5px; font-size: 10px; }
.auth-value-preview .auth-value-input blockquote { font-size: 12px; line-height: 1.65; }
.auth-value-preview .auth-value-document h3 { margin-bottom: 4px; font-size: 13px; line-height: 1.6; }
.auth-value-preview .auth-value-result { margin: 0; font-size: 12px; line-height: 1.65; }
.auth-value-preview .auth-value-note { margin-top: 8px; font-size: 11px; line-height: 1.6; }
@media (max-width: 490px) {
  .service-card:has(.auth-value-preview) > h1 { margin-bottom: 12px; }
  .service-card:has(.auth-value-preview) > .service-intro { margin-bottom: 14px; font-size: 13px; line-height: 1.65; }
}
