/* oodot 계정 — 2026-10-09 'oodot 리디자인' 시안(AccountLogin·Signup·Home·Authorize)의 겉모습.
 * 마크업의 id·클래스는 JS 가 쓰므로 그대로 두고, 이 파일이 app.css·components.css 위에 덮어 쓴다.
 * 모두 body.rd 아래에서만 걸린다. */

[hidden]{display:none!important}
body.rd{margin:0;background:#ffffff;font-family:"Pretendard Variable",Pretendard,-apple-system,"Apple SD Gothic Neo",sans-serif;color:#1d1d1f;word-break:keep-all;overflow-wrap:anywhere;-webkit-font-smoothing:antialiased;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body.rd *{box-sizing:border-box}
body.rd a{color:#1c4fd8}
body.rd a:hover{color:#1740ad}
body.rd a:focus-visible,body.rd button:focus-visible,body.rd input[type=checkbox]:focus-visible{outline:2px solid #2a64f6;outline-offset:2px}
.rd-wrap{width:100%;max-width:1280px;margin:0 auto;padding-left:clamp(16px,4vw,40px);padding-right:clamp(16px,4vw,40px)}
.rd-ln{color:#5a5a61!important;text-decoration:none;font-size:14px;font-weight:500}
.rd-ln:hover{color:#1d1d1f!important;text-decoration:underline;text-underline-offset:3px}
.rd-textbtn{border:0;background:transparent;font:inherit;cursor:pointer;padding:10px 0}

/* 상단바 */
.rd-head{border-bottom:1px solid rgba(0,0,0,.08);background:#ffffff;flex:none}
.rd-head__in{display:flex;align-items:center;justify-content:space-between;height:72px}
.rd-brand{display:inline-flex;align-items:center;gap:10px}
.rd-brand__home{display:inline-flex;align-items:center;gap:10px;color:#1d1d1f!important;text-decoration:none}
.rd-brand__b{text-decoration:none}
.rd-brand__b:hover{color:#5a5a61!important}
.rd-brand__a{font-size:21px;font-weight:700;letter-spacing:-0.02em}
.rd-brand__b{font-size:21px;font-weight:500;color:#8a8a90!important;letter-spacing:-0.02em}
.rd-head__end{display:inline-flex;align-items:center;gap:20px}
.rd-head__end .topbar__me{display:none!important}

/* 바닥 */
.rd-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;padding-top:24px;padding-bottom:32px;font-size:13px;color:#6e6e73;flex:none}
.rd-foot__links{display:flex;flex-wrap:wrap;gap:20px}
.rd-foot .rd-ln{font-size:13px;font-weight:400;color:#6e6e73!important}
.rd-foot .rd-ln.is-strong{color:#1d1d1f!important;font-weight:650}

/* ── 로그인·가입·앱 연결·관리 입장 ── 가운데 400 칸 */
body.rd.doc .auth{flex:1;display:flex;align-items:center;justify-content:center;padding:56px 16px 80px;min-height:0}
body.rd.doc .auth__box{width:100%;max-width:400px;padding:0;justify-self:auto}
body.rd .auth__head{margin-bottom:32px;text-align:left}
body.rd .auth__title{margin:0;font-size:32px;line-height:1.25;letter-spacing:-0.03em;font-weight:750}
body.rd .auth__sub{margin:10px 0 0;font-size:16px;line-height:1.6;color:#5a5a61}
body.rd .auth__fields{display:flex;flex-direction:column;gap:18px}
body.rd .od-label{display:block;font-size:14px;font-weight:600;color:#1d1d1f;margin:0 0 8px}
body.rd .od-input--lg,body.rd .od-input{height:52px;border:1px solid #cfcfd6;border-radius:12px;padding:0 14px;font:inherit;font-size:16px;color:#1d1d1f;background:#ffffff;box-shadow:none;width:100%}
body.rd .od-input:hover{border-color:#b9b9c2}
body.rd .od-input:focus{outline:none;border-color:#2a64f6;box-shadow:0 0 0 3px #dde6ff}
body.rd .od-input[aria-invalid="true"]{border-color:#c4302b}
body.rd .od-password{position:relative}
body.rd .od-password .od-input{padding-right:52px}
body.rd .od-password__peek{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0;border-radius:8px;background:transparent;color:#6e6e73;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
body.rd .od-password__peek:hover{background:#f5f5f7;color:#1d1d1f}
body.rd .od-error{font-size:13px;color:#9d2622}
body.rd .od-error:not(:empty){display:block;margin-top:8px}
body.rd .od-help{margin:8px 0 0;font-size:13px;line-height:1.5;color:#6e6e73}
body.rd .rd-keep{display:flex;justify-content:space-between;align-items:center;gap:12px}
body.rd .auth__keep{margin:0;display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:14px;color:#3a3a40;cursor:pointer}
body.rd .auth__keep input{width:18px;height:18px;margin:0;accent-color:#2a64f6}
body.rd .rd-keep .rd-textbtn{font-size:14px;font-weight:500;color:#5a5a61}
body.rd .rd-keep .rd-textbtn:hover{color:#1d1d1f;text-decoration:underline;text-underline-offset:3px}
body.rd .auth__actions{margin-top:24px}
body.rd .auth__fields + .auth__actions{margin-top:24px}
body.rd .auth__actions .od-btn{width:100%}
body.rd .auth__actions--pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}
body.rd .od-btn--lg{height:54px;border-radius:12px;font-size:16px;font-weight:650;padding:0 20px}
body.rd .od-btn--primary{background:#2a64f6;color:#ffffff;border:0}
body.rd .od-btn--primary:hover:not(:disabled){background:#1c4fd8}
body.rd .od-btn--secondary.od-btn--lg{background:#ffffff;color:#1d1d1f;border:1px solid #cfcfd6;font-weight:600}
body.rd .od-btn--secondary.od-btn--lg:hover:not(:disabled){background:#f5f5f7}
body.rd .od-or{display:flex;align-items:center;gap:12px;margin:24px 0;font-size:13px;color:#8a8a90}
body.rd .od-or::before,body.rd .od-or::after{content:"";flex:1;height:1px;background:#ededf0}
body.rd .od-or span{background:none;padding:0}
body.rd .auth__social{margin-top:0}
body.rd .auth__social-list{display:grid;gap:10px}
body.rd .auth__social-list .od-btn{gap:10px}
body.rd .auth__alt{margin:32px 0 0;text-align:center;font-size:15px;color:#5a5a61}
body.rd .auth__alt .od-link,body.rd .auth__alt a{font-size:15px;font-weight:650;text-decoration:none}
body.rd .auth__alt .auth__inline-link{font-size:15px}
body.rd .auth__legal{margin:16px 0 0;font-size:13px;line-height:1.6;color:#6e6e73;text-align:left}
body.rd .code-input{font-size:22px}

/* 가입 단계 — 세 칸 막대와 '2 / 3' (어느 단계인지는 보이는 form 으로 안다) */
body.rd .rd-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:12px}
body.rd .rd-steps span{height:3px;border-radius:2px;background:#ededf0}
body.rd .rd-steps span:first-child{background:#1d1d1f}
body.rd .auth__box:has(#fCode:not([hidden])) .rd-steps span:nth-child(-n+2),
body.rd .auth__box:has(#fProfile:not([hidden])) .rd-steps span{background:#1d1d1f}
body.rd .rd-stepno{margin:0 0 6px;font-size:13px;font-weight:600;color:#6e6e73}
body.rd .rd-stepno::before{content:"1 / 3"}
body.rd .auth__box:has(#fCode:not([hidden])) .rd-stepno::before{content:"2 / 3"}
body.rd .auth__box:has(#fProfile:not([hidden])) .rd-stepno::before{content:"3 / 3"}
body.rd .auth__box:has(#fDone:not([hidden])) .rd-steps,body.rd .auth__box:has(#fDone:not([hidden])) .rd-stepno{display:none}

/* 앱 연결 허용 */
body.rd .rd-appicon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;margin-bottom:24px;border-radius:14px;background:#1d1d1f;color:#ffffff;font-size:22px;font-weight:700}
body.rd #ask .auth__title{margin-bottom:0}
body.rd #ask .auth__sub{margin:10px 0 0}
body.rd #ask .od-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700;color:#1d1d1f}
body.rd #ask .od-card{margin-top:28px;border:0;border-top:1px solid #1d1d1f;border-radius:0;background:none;box-shadow:none}
body.rd #ask .item{display:flex;align-items:flex-start;gap:14px;padding:16px 0;border-top:0;border-bottom:1px solid #ededf0}
body.rd #ask .rd-scope{flex:none;margin-top:2px;color:#3a3a40}
body.rd #ask .item__title{font-size:16px;font-weight:600}
body.rd #ask .item__desc{margin-top:4px;font-size:14px;line-height:1.55;color:#6e6e73}

/* ── 내 계정 ── 위에 나, 왼쪽 메뉴, 오른쪽 구역(선으로 나눔) */
body.rd--acct .shell{flex:1;min-height:0;display:flex;flex-direction:column}
body.rd--acct .rd-who-wrap{width:100%;max-width:1000px;margin:0 auto;padding:56px clamp(16px,4vw,40px) 0}
body.rd--acct .pane--who{display:block!important}
body.rd--acct .who{display:flex;align-items:center;gap:20px}
body.rd--acct .who__avatar.od-avatar{width:72px;height:72px;border-radius:50%;background:#1d1d1f;color:#ffffff;font-size:26px;font-weight:700}
body.rd--acct .who__name{margin:0;font-size:28px;line-height:1.25;letter-spacing:-0.025em;font-weight:700}
body.rd--acct .who__meta{margin:4px 0 0;font-size:14px;color:#5a5a61}
body.rd--acct .acct{flex:1;width:100%;max-width:1000px;margin:0 auto;padding:48px clamp(16px,4vw,40px) 96px;display:grid;grid-template-columns:180px minmax(0,1fr);gap:48px;align-items:start}
body.rd--acct .acct::before{display:none!important}
body.rd--acct .side{position:sticky;top:24px;display:flex;flex-direction:column;gap:2px;height:auto;padding:0;overflow:visible;border:0;background:none}
body.rd--acct .side__brand,body.rd--acct .side__me,body.rd--acct .side__foot,body.rd--acct .side__sep,body.rd--acct .side__item svg{display:none!important}
body.rd--acct .side__bottom{margin:0;padding:0;border:0}
body.rd--acct .side__item{display:flex;align-items:center;height:auto;padding:9px 12px;border-radius:8px;font-size:15px;color:#3a3a40;text-decoration:none;background:none}
body.rd--acct .side__item:hover{background:#f5f5f7;color:#1d1d1f}
body.rd--acct .side__item[aria-current],body.rd--acct .side__item.is-active,body.rd--acct .side__item.is-current{background:#f5f5f7;color:#1d1d1f;font-weight:650}
body.rd--acct .side__item--danger{color:#3a3a40}
body.rd--acct .acct__main{padding:0;min-width:0}
body.rd--acct .cols{margin:0;max-width:none;display:flex;flex-direction:column;gap:56px}
body.rd--acct .cols .pane--danger{margin-top:0}
body.rd--acct .pane{scroll-margin-top:24px}
body.rd--acct .pane__head{display:flex;align-items:flex-end;gap:12px;margin:0;padding-bottom:10px;border-bottom:1px solid #1d1d1f}
body.rd--acct .pane__title{margin:0;font-size:20px;line-height:1.3;letter-spacing:-0.015em;font-weight:700}
body.rd--acct .section__count{font-size:13px;color:#8a8a90}
body.rd--acct #revokeAll{margin-left:auto;height:auto;padding:4px 0;border:0;background:none;color:#1c4fd8;font-size:14px;font-weight:600}
body.rd--acct #revokeAll:hover{text-decoration:underline;text-underline-offset:3px;background:none}
body.rd--acct .od-card,body.rd--acct .od-card--flush{border:0;border-radius:0;background:none;box-shadow:none;padding:0}
body.rd--acct .section{margin-top:28px}
body.rd--acct .pane__head + .section{margin-top:0}
body.rd--acct .section__head{margin:0;padding:14px 0 10px;border-bottom:1px solid #1d1d1f}
body.rd--acct .pane__head + .section .section__head{border-bottom:0;padding-top:8px}
body.rd--acct .section__title{margin:0;font-size:16px;font-weight:700;color:#1d1d1f}
body.rd--acct .section__note{margin:10px 0 0;font-size:13px;color:#6e6e73}
body.rd--acct .field-row,body.rd--acct .item{display:flex;align-items:center;gap:14px;min-height:72px;padding:12px 0;border-top:0!important;border-bottom:1px solid #ededf0}
body.rd--acct .field-row__main{flex:1;min-width:0;display:flex;align-items:center;gap:16px}
body.rd--acct .field-row__label{flex:none;width:120px;font-size:14px;color:#6e6e73}
body.rd--acct .field-row__value{margin:0;min-width:0;font-size:16px;color:#1d1d1f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.rd--acct .field-row__value.od-text-secondary{color:#1d1d1f}
body.rd--acct .photo-avatar.od-avatar{width:40px;height:40px;margin:0;background:#1d1d1f;color:#ffffff;font-size:15px;font-weight:700}
body.rd--acct .item__main{flex:1;min-width:0;display:block}
body.rd--acct .item__title{max-width:none;font-size:16px;font-weight:600;color:#1d1d1f;white-space:normal}
body.rd--acct .item__title a{color:#1d1d1f;text-decoration:none}
body.rd--acct .item__desc{margin-top:3px;font-size:13px;color:#8a8a90;white-space:normal}
body.rd--acct .rd-ico{flex:none;width:40px;height:40px;border-radius:9px;background:#f5f5f7;color:#3a3a40;display:inline-flex;align-items:center;justify-content:center}
body.rd--acct .rd-ico--app{background:#1d1d1f;color:#ffffff;font-size:16px;font-weight:700}
body.rd--acct .rd-this{margin-left:8px;padding:2px 8px;border-radius:999px;background:#e9f6ec;color:#17632f;font-size:11px;font-weight:650;vertical-align:2px}
/* 행 오른쪽 버튼 — 얇은 테두리 알약 */
body.rd--acct .field-row .od-btn,body.rd--acct .item .od-btn{flex:none;height:36px;padding:0 14px;border-radius:999px;border:1px solid #cfcfd6;background:#ffffff;color:#1d1d1f;font-size:14px;font-weight:600;text-decoration:none}
body.rd--acct .field-row .od-btn:hover:not(:disabled),body.rd--acct .item .od-btn:hover:not(:disabled){background:#f5f5f7}
body.rd--acct .field-row .od-btn--plain{border-color:#cfcfd6}
body.rd--acct .od-badge{font-size:12px}
/* 계정 지우기 — 글 왼쪽, 빨간 테두리 알약 오른쪽 */
body.rd--acct .pane--danger .od-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #ededf0}
body.rd--acct .pane--danger .od-card p{margin:0!important;font-size:15px;line-height:1.6;color:#3a3a40}
body.rd--acct #deleteAccount{flex:none;height:40px;padding:0 18px;border-radius:999px;border:1px solid #f4c9c5;background:#ffffff;color:#c4302b;font-size:14px;font-weight:650}
body.rd--acct #deleteAccount:hover{background:#fcecea}

@media (max-width:900px){
  body.rd--acct .acct{grid-template-columns:minmax(0,1fr);gap:0;padding-top:32px}
  body.rd--acct .side{display:none!important}
}
@media (max-width:600px){
  body.rd--acct .rd-who-wrap{padding-top:32px}
  body.rd--acct .who__avatar.od-avatar{width:56px;height:56px;font-size:22px}
  body.rd--acct .who__name{font-size:24px}
  body.rd--acct .field-row__main{flex-direction:column;align-items:flex-start;gap:4px}
  body.rd--acct .field-row__label{width:auto;font-size:13px}
  body.rd--acct .pane--danger .od-card{flex-direction:column;align-items:flex-start}
  body.rd .rd-head__end{gap:14px}
  body.rd .rd-brand__a,body.rd .rd-brand__b{font-size:19px}
}
body.rd .rd-textbtn.rd-ln{font-size:14px;padding:10px 0}
