@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f5f2eb;
  --card: #fffefa;
  --ink: #292d26;
  --muted: #6e7368;
  --line: #e3e1d7;
  --accent: #b96142;
  --danger: #9b443a;
  --radius: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
button, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible { outline: 3px solid #b46c41; outline-offset: 4px; }
button { transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease; }
.page-shell { width: min(100% - 96px, 1120px); min-height: 100svh; margin: 0 auto; display: flex; flex-direction: column; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding: 35px 0 28px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 31px; font-weight: 750; letter-spacing: -1.9px; }
.wordmark > span { color: var(--accent); }
.header-caption { font-size: 12px; color: var(--muted); letter-spacing: -.1px; }
main { flex: 1; width: 100%; padding: 63px 0 38px; }
.introduction { text-align: center; }
.notice-label { display: inline-flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 650; letter-spacing: 2px; color: #7d6855; }
.notice-label > span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
h1 { margin: 23px 0 23px; font-size: clamp(36px, 5vw, 48px); font-weight: 650; line-height: 1.35; letter-spacing: -2.4px; }
.intro-copy { color: var(--muted); font-size: 15px; line-height: 1.85; margin: 0; letter-spacing: -.35px; }
.mobile-break { display: none; }
.account-card { max-width: 532px; margin: 38px auto 0; padding: 32px 34px 25px; background: var(--card); border: 1px solid #e4e1d7; border-radius: var(--radius); box-shadow: 0 7px 24px #3f3a2310; }
.card-eyebrow { display: block; font-size: 9px; letter-spacing: 1.7px; font-weight: 650; color: #727965; }
.card-heading h2 { margin: 10px 0 0; font-size: 21px; letter-spacing: -.7px; font-weight: 650; }
.card-description { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 19px 0 22px; }
.google-signin { display: flex; justify-content: center; min-height: 44px; margin: 24px 0; }
.google-signin > div { max-width: 100%; }
.identity-row { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 19px 0 23px; }
.identity { display: flex; gap: 7px; min-width: 0; align-items: center; font-size: 12px; color: var(--muted); }
.identity span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.identity-dot { background: #7c856c; width: 5px; height: 5px; border-radius: 50%; flex: 0 0 auto; }
.text-button { background: none; border: 0; color: #777c6f; font-size: 12px; padding: 7px 0; text-underline-offset: 4px; text-decoration: underline; white-space: nowrap; }
.text-button:hover { color: var(--ink); }
.text-button:disabled { color: #abaea3; }
.action-button { width: 100%; display: flex; gap: 11px; align-items: center; padding: 19px 18px; border-radius: 12px; text-align: left; font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: -.3px; }
.action-button svg { flex: 0 0 21px; width: 21px; height: 21px; }
.button-arrow { margin-left: auto; font-size: 18px; font-weight: 400; opacity: .65; }
.backup-button { color: #fafaf3; background: #3f4a38; border: 1px solid #3f4a38; }
.backup-button:hover:not(:disabled) { background: #303b29; border-color: #303b29; transform: translateY(-1px); }
.delete-button { color: #894c3f; background: #faf6f0; border: 1px solid #dfd4c8; }
.delete-button:hover:not(:disabled) { background: #f4e9df; border-color: #cdb5a6; transform: translateY(-1px); }
.action-button:disabled { opacity: .5; }
.action-description { margin: 9px 3px 22px; color: #6e7465; font-size: 11px; line-height: 1.7; letter-spacing: -.1px; }
.action-description:last-child { margin-bottom: 22px; }
.privacy-note { border-top: 1px solid #eeece4; padding-top: 17px; margin: 20px 0 0; font-size: 11px; line-height: 1.7; color: #6d7564; text-align: center; }
.closing-note { margin: 27px auto 0; font-size: 12px; line-height: 1.9; color: #707767; text-align: center; letter-spacing: -.2px; }
.closing-note span { font-size: 11px; color: #717966; }
.site-footer { display: flex; justify-content: space-between; padding: 22px 0 27px; border-top: 1px solid var(--line); color: #707765; font-size: 10px; }
.site-footer > span:first-child { font-size: 9px; letter-spacing: 1.8px; }
.loading-view { min-height: 120px; display: flex; gap: 10px; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.spinner { display: inline-block; flex: 0 0 16px; width: 16px; height: 16px; border: 2px solid #c8ccbf; border-top-color: #59634b; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.operation-status { display: flex; align-items: flex-start; gap: 9px; padding: 13px 14px; border-radius: 10px; background: #f0f3eb; color: #4c6145; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.operation-status > p { margin: 0; }
.operation-status .spinner { margin-top: 3px; }
.cancel-wrapper { text-align: center; }
.warning-box { margin-top: 14px; padding: 13px 14px; border: 1px solid #e4d6bb; border-radius: 10px; background: #fffbef; color: #856438; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.warning-heading { font-weight: 650; margin: 0; }
.warning-box ul { margin: 6px 0 0; padding-left: 17px; }
.warning-box li + li { margin-top: 4px; }
.error-box { margin-top: 18px; background: #fcf0ec; color: var(--danger); border: 1px solid #edd6ce; padding: 12px 14px; border-radius: 10px; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.error-box > p { margin: 0; }
.error-box button { color: var(--danger); }
.subtle { color: var(--muted); font-size: 11px; line-height: 1.7; }
.done-view { text-align: center; padding: 28px 0 13px; }
.done-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #e9eee2; color: #536647; font-size: 21px; }
.done-view h3 { font-size: 18px; letter-spacing: -.6px; margin: 18px 0 10px; }
.done-view p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.done-view .text-button { margin-top: 18px; }

dialog { width: min(100% - 32px, 470px); max-height: calc(100svh - 40px); border: 1px solid #ddd8cb; border-radius: 22px; padding: 30px; background: var(--card); color: var(--ink); box-shadow: 0 25px 90px #191c2333; }
dialog::backdrop { background: #252b266b; backdrop-filter: blur(4px); }
.dialog-eyebrow { color: #9d6651; font-weight: 650; font-size: 9px; letter-spacing: 1.8px; }
dialog h2 { font-size: 25px; letter-spacing: -1px; margin: 14px 0 15px; }
dialog p { color: var(--muted); font-size: 13px; line-height: 1.8; }
dialog p strong { color: var(--danger); font-weight: 600; }
.dialog-account { background: #f3f2eb; border-radius: 8px; padding: 12px; font-size: 12px; color: #5f6558; margin: 18px 0 23px; overflow-wrap: anywhere; }
dialog label { display: block; margin: 22px 0 10px; font-size: 12px; line-height: 1.7; }
dialog label strong { color: var(--danger); }
dialog input { width: 100%; padding: 13px 14px; border: 1px solid #cccfc0; border-radius: 9px; color: var(--ink); background: #fff; font-size: 15px; }
dialog input:disabled { background: #f5f4ed; }
.dialog-actions { display: flex; gap: 10px; margin-top: 24px; }
.dialog-actions button { padding: 14px 13px; border-radius: 10px; font-size: 13px; font-weight: 600; min-height: 48px; }
.secondary-button { flex: 1; background: #fffefa; border: 1px solid #d9dccf; color: #676e5e; }
.danger-button { flex: 2.2; background: #994b3e; color: #fff; border: 1px solid #994b3e; }
.danger-button:hover:not(:disabled) { background: #813c31; }
.danger-button:disabled, .secondary-button:disabled { opacity: .45; }
dialog .dialog-error { color: var(--danger); padding: 10px 12px; border-radius: 8px; background: #fcf0ec; font-size: 12px; overflow-wrap: anywhere; }
body.modal-open { overflow: hidden; }

@media (min-width: 1500px) { main { padding-top: 84px; } }
@media (max-width: 600px) {
  .page-shell { width: calc(100% - 40px); }
  .site-header { padding: 24px 0 21px; }
  .wordmark { font-size: 28px; }
  .header-caption { font-size: 11px; }
  main { padding: 43px 0 31px; }
  .notice-label { font-size: 8px; letter-spacing: 1.6px; }
  h1 { font-size: 38px; letter-spacing: -2.4px; margin-top: 20px; margin-bottom: 20px; }
  .intro-copy { font-size: 13px; }
  .mobile-break { display: initial; }
  .account-card { margin-top: 30px; padding: 27px 22px 22px; border-radius: 21px; }
  .card-heading h2 { font-size: 20px; }
  .identity-row { padding-bottom: 19px; }
  .identity { font-size: 11px; }
  .action-button { font-size: 12px; gap: 8px; padding: 18px 12px; }
  .action-button svg { width: 19px; height: 19px; flex-basis: 19px; }
  .button-arrow { font-size: 16px; }
  .action-description { font-size: 10px; margin-left: 1px; }
  .privacy-note { font-size: 10px; }
  .closing-note { margin-top: 23px; font-size: 11px; }
  dialog { padding: 26px 22px; }
}
@media (max-width: 350px) {
  .page-shell { width: calc(100% - 28px); }
  .account-card { padding-right: 16px; padding-left: 16px; }
  .action-button { gap: 7px; font-size: 11px; }
  .button-arrow { display: none; }
  .card-description { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
