/* Existing service-v4 tokens only. 1440: 2×64 margin + 608 illustration + 96 gap + 608 form = 1440.
   Form 480 = 2×40 padding + 400 content; all principal spacing follows 8px. */
*{box-sizing:border-box}body{display:block;margin:0;font-family:Pretendard,system-ui,sans-serif;background:var(--paper);color:var(--ink);line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--amber-ink)}:focus-visible{outline:3px solid var(--amber-ink);outline-offset:4px}button,input,select{min-height:44px}button{border:0;background:none}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:-.035em;line-height:1.3;font-weight:750}h2{font-size:19px;letter-spacing:-.025em}p{font-size:15px}small,.muted{color:var(--muted)}.skip{position:absolute;top:-80px;left:16px;z-index:20;background:var(--surface);padding:12px}.skip:focus{top:8px}.preview{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:8px 32px;border-bottom:1px solid var(--line);background:var(--soft);font-size:12px}.preview strong{color:var(--muted);font-size:12px}.preview label{display:flex;align-items:center;gap:8px}.preview select{max-width:260px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:0 8px;font-size:13px}.preview .grow{flex:1}.preview input{width:18px}.preview .grid-label{margin-left:auto}.head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 64px;height:104px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:24px}.brand img{height:56px;width:auto;display:block}.brand span{font-size:13px;padding-left:24px;border-left:1px solid var(--line);font-weight:650}.head small{font-size:12px}.auth-layout{max-width:1440px;margin:auto;padding:40px 64px 48px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:96px;align-items:center;min-height:calc(100vh - 184px)}.world{position:relative;align-self:stretch;display:flex;flex-direction:column;justify-content:center;min-width:0}.world h2{font-size:32px;line-height:1.35;letter-spacing:-.04em;max-width:420px;font-weight:650}.world p{margin-top:16px;color:var(--muted);max-width:380px}.map-frame{position:relative;margin:16px 0 0;min-height:320px;height:360px;display:grid;place-items:center}.map-frame img{position:absolute;inset:0;width:100%;height:100%;max-height:100%;object-fit:contain;mix-blend-mode:multiply}.pin{position:absolute;top:36%;left:49%;display:grid;place-items:center;background:var(--amber);border:2px solid var(--surface);outline:1px solid var(--amber-ink);width:24px;height:24px;border-radius:50%;font-size:12px;animation:pin-arrive 2.4s var(--ease) 1}.pin.second{top:65%;left:62%;animation-delay:.15s}.world-caption{display:flex;justify-content:space-between;gap:16px;padding-top:16px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.world-caption b{font-weight:600;color:var(--amber-ink)}.auth-column{width:100%;max-width:480px;justify-self:center}.card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:40px;animation:card-in var(--duration) var(--ease) both;min-width:0}.card>header{margin-bottom:24px}.card header p{color:var(--muted);margin-top:12px}.setup-label{display:flex;align-items:center;gap:8px;color:var(--amber-ink);font-size:12px;font-weight:700;margin-bottom:16px}.setup-label i{width:6px;height:6px;border-radius:50%;background:var(--amber-ink)}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:32px}.step{font-size:12px;color:var(--muted)}.step b{font-weight:550;display:block;white-space:nowrap}.step-track{height:3px;background:var(--soft);margin-top:8px;overflow:hidden;border-radius:2px}.step-track i{display:block;height:100%;background:var(--amber);transform:scaleX(0);transform-origin:left}.step.done .step-track i{transform:scaleX(1);animation:fill var(--duration) var(--ease)}.step.active{color:var(--amber-ink)}.step.active .step-track i{transform:scaleX(1);animation:fill var(--duration) var(--ease)}.primary,.secondary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 16px;border:1.5px solid var(--ink);border-radius:10px;font-size:14px;font-weight:700;text-decoration:none}.primary{background:var(--amber);box-shadow:0 2px 0 var(--ink)}.secondary{background:var(--surface);border-color:var(--line)}.full{width:100%}.primary:hover{filter:brightness(.98)}.primary:active,.secondary:active{transform:translateY(1px)}.primary .arrow{margin-left:auto}.actions{display:flex;gap:8px;margin-top:24px}.actions>*{flex:1}.support{display:flex;justify-content:center;gap:24px;margin-top:16px;align-items:center}.support>*{font-size:13px;min-height:44px;display:inline-flex;align-items:center}.text-button{display:inline-flex;align-items:center;color:var(--amber-ink);text-decoration:underline;text-underline-offset:4px;font-size:13px;min-height:44px}.fine{font-size:12px;color:var(--muted);margin-top:16px;line-height:1.65}.account{display:flex;align-items:center;gap:12px;background:var(--soft);border-radius:10px;padding:16px;margin-bottom:24px}.avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--tint);color:var(--amber-ink);font-weight:700;flex:none}.account b{font-size:14px}.account small{display:block;font-size:12px}.policy{display:grid;gap:12px;margin:24px 0}.policy>div{display:flex;gap:12px;align-items:flex-start;font-size:14px}.policy svg{width:18px;height:18px;flex:none;margin-top:2px;stroke:var(--good);fill:none;stroke-width:1.6}.policy span{color:var(--muted)}.footer-note{display:flex;gap:8px;align-items:flex-start;font-size:12px;color:var(--muted);margin-top:24px;padding:0 8px}.footer-note svg{width:16px;height:16px;flex:none;stroke:currentColor;fill:none;stroke-width:1.5}.app-icon{display:flex;align-items:center;gap:16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;margin:24px 0}.app-icon svg{width:48px;height:48px;stroke:var(--amber-ink);fill:none;stroke-width:1.4}.app-icon small{display:block;margin-top:4px;font-size:12px}.qr-area{display:flex;align-items:center;gap:24px;margin:20px 0}.qr{background:white;padding:8px;border:1px solid var(--line);flex:none}.qr img,.qr canvas{width:144px!important;height:144px!important}.qr-caption{font-size:13px;color:var(--muted)}.tag{display:inline-block;background:var(--soft);padding:2px 7px;border-radius:4px;font-size:11px;color:var(--muted)}details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:16px}summary{cursor:pointer;min-height:44px;padding:10px 0;font-size:13px;color:var(--amber-ink)}.manual{padding:8px 0 16px;font-size:12px;overflow-wrap:anywhere}.manual code{font-family:ui-monospace,monospace;display:block;background:var(--soft);padding:12px;margin:8px 0;font-size:13px}.field-label{font-size:13px;font-weight:650;display:block;margin-bottom:8px}.otp{position:relative;margin-top:8px;border-radius:10px}.otp input{position:absolute;inset:0;z-index:2;width:100%;height:64px;opacity:.02;letter-spacing:26px;cursor:text;border:0;caret-color:transparent}.digits{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.digit{height:64px;display:grid;place-items:center;background:var(--paper);border:1px solid var(--line);border-radius:8px;font-size:26px;font-weight:600;font-variant-numeric:tabular-nums}.otp:focus-within{outline:2px solid var(--amber-ink);outline-offset:5px}.otp:focus-within .digit.current{border:2px solid var(--amber-ink);background:var(--tint);animation:focus-pop var(--spring-duration) var(--spring)}.otp.invalid .digit{border-color:var(--bad)}.shake{animation:shake .25s var(--ease) 1}.code-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);margin:16px 0 24px}.ring{width:24px;height:24px;border:2px solid var(--line);border-radius:50%;position:relative;flex:none}.note{background:var(--soft);padding:16px;border-radius:10px;font-size:13px;margin:16px 0}.error{color:var(--bad);font-size:13px;min-height:20px;margin-top:12px}.lock-time{font-size:40px;letter-spacing:.02em;font-variant-numeric:tabular-nums;margin:24px 0 8px}.recovery-list{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;padding:8px 16px;list-style:none;background:var(--paper);border:1px solid var(--line);border-radius:10px;counter-reset:codes}.recovery-list li{font-size:14px;font-family:ui-monospace,monospace;padding:9px 0;border-bottom:1px solid var(--line);white-space:nowrap}.recovery-list li:nth-last-child(-n+2){border:0}.check-row{display:flex;gap:12px;align-items:center;font-size:13px;min-height:48px;margin-top:16px;cursor:pointer}.check-row input{width:20px;height:20px;accent-color:var(--amber-ink);flex:none}.input{display:block;min-height:48px;width:100%;border:1px solid var(--line);border-radius:8px;padding:12px;background:var(--paper);color:var(--ink)}textarea.input{min-height:88px;resize:vertical}.field{margin-top:20px}.check-draw{width:64px;height:64px;border:1px solid var(--sage);border-radius:50%;display:grid;place-items:center;margin-bottom:24px}.check-draw svg{width:36px;height:36px;fill:none;stroke:var(--good);stroke-width:2;clip-path:inset(0);animation:none}.card.success{animation:success-rise var(--spring-duration) var(--spring)}.spinner{display:inline-block;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;height:16px;width:16px;animation:spin .65s linear infinite}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--surface);border-radius:10px;padding:12px 20px;font-size:14px;z-index:40;pointer-events:none;opacity:0;max-width:calc(100vw - 32px)}#toast.visible{opacity:1;animation:card-in .25s var(--ease)}.overlay{position:fixed;inset:0;background:var(--fl-value-044);z-index:30;display:flex;align-items:center;justify-content:center;padding:24px}.dialog{width:480px;max-width:100%;max-height:90dvh;overflow:auto;background:var(--surface);border-radius:16px;padding:32px;animation:card-in .25s var(--ease)}.dialog h2{font-size:24px}.dialog header{display:flex;justify-content:space-between;gap:16px;align-items:start;margin-bottom:12px}.close{font-size:24px;width:44px;height:44px;margin:-8px -8px 0 0;flex:none}.dialog>p{color:var(--muted);margin-bottom:24px}.opsv__btn{min-height:44px}.opsv__side{height:calc(100dvh - 61px)}.opsv__brand img{max-width:none}.opsv__nav a{min-height:44px;text-decoration:none}.opsv__main h1{font-size:28px}.opsv__main{padding:32px}.opsv__topbar{margin:0 32px;min-height:80px}.opsv__app{min-height:calc(100vh - 61px)}.table-panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden}.table-scroll{max-height:480px;overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;padding:16px;border-bottom:1px solid var(--line)}th{position:sticky;top:0;background:var(--surface);color:var(--muted);font-size:12px;z-index:1;font-weight:600}td:first-child{min-width:180px}td small{display:block;margin-top:3px}.row-actions{display:flex;gap:4px;flex-wrap:wrap}.row-actions button{font-size:12px;min-height:44px;padding:8px;color:var(--amber-ink);text-decoration:underline;text-underline-offset:3px}.status{font-size:12px;color:var(--good)}.status.disabled{color:var(--muted)}.management-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:24px}.management-head p{color:var(--muted);margin-top:8px}.manage-note{margin:24px 0;color:var(--muted);font-size:13px}.filters{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.filters input{max-width:320px}.audit-list{list-style:none;padding:0;margin:0}.audit-list li{padding:20px 24px;border-bottom:1px solid var(--line)}.audit-list time{display:block;color:var(--muted);font-size:12px;margin-top:4px}.grid-on:after{content:'';position:fixed;inset:0;z-index:60;pointer-events:none;background-image:linear-gradient(to right,rgba(161,62,50,.12) 1px,transparent 1px),linear-gradient(to bottom,rgba(161,62,50,.12) 1px,transparent 1px);background-size:8px 8px}.nm *, .nm *:before,.nm *:after{animation-duration:0s!important;animation-delay:0s!important;transition-duration:0s!important;scroll-behavior:auto!important}
@keyframes card-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes focus-pop{from{transform:scale(.95)}to{transform:scale(1)}}@keyframes shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pin-arrive{from{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes success-rise{from{transform:translateY(16px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes check-in{from{transform:scaleX(0);transform-origin:left;opacity:0}to{transform:scaleX(1);transform-origin:left;opacity:1}}
@media(min-width:1600px){.head{max-width:1312px;margin:auto}.auth-layout{gap:96px}}
@media(max-width:1000px){.head{margin:0 32px;height:88px}.auth-layout{padding:32px;gap:32px}.card{padding:32px}.world h2{font-size:27px}.map-frame{height:320px;min-height:280px}.qr-area{gap:16px;flex-wrap:wrap}.qr-caption{max-width:160px}.opsv__app{grid-template-columns:184px 1fr}.opsv__side{padding-left:8px;padding-right:8px}.opsv__main{padding:24px}.opsv__topbar{margin:0 24px}.opsv__brand{padding-left:8px}.opsv__brand img{height:48px}}
@media(max-width:650px){h1{font-size:25px}.preview{padding:8px 16px;gap:8px 12px}.preview strong{width:100%}.preview select{max-width:244px}.preview .grow{display:none}.preview .grid-label{margin:0}.preview label{font-size:11px}.head{height:88px;margin:0 24px}.head small{display:none}.brand{gap:16px}.brand img{height:48px}.brand span{padding-left:16px;font-size:12px}.auth-layout{display:flex;flex-direction:column;gap:24px;padding:24px 16px 32px;min-height:0}.world{width:100%;height:136px;display:block;overflow:hidden;padding:8px 8px 0}.world h2{font-size:21px;max-width:190px;position:relative;z-index:1}.world p{font-size:12px;max-width:190px;margin-top:8px;position:relative;z-index:1}.map-frame{position:absolute;width:170px;height:168px;min-height:0;right:-16px;top:-12px;margin:0;opacity:.9}.world-caption{display:none}.auth-column{max-width:480px}.card{padding:24px;border-radius:12px}.steps{margin-bottom:24px}.step{font-size:11px}.digit{height:56px;font-size:24px}.otp input{height:56px}.digits{gap:6px}.qr-area{flex-wrap:nowrap;gap:16px}.qr img,.qr canvas{width:128px!important;height:128px!important}.qr-caption{font-size:12px}.recovery-list{padding:8px 12px;gap:0 12px}.recovery-list li{font-size:12px}.support{margin-top:8px}.footer-note{margin-top:16px;font-size:11px}.overlay{padding:16px;align-items:flex-end}.dialog{padding:24px;border-radius:16px 16px 10px 10px;max-height:92dvh}.opsv__app{display:block}.opsv__side{height:auto;position:static;border:0;padding:16px 24px 0}.opsv__brand{padding:0 0 16px}.opsv__nav{display:flex;border-top:1px solid var(--line);padding-top:8px}.opsv__nav a{font-size:12px;padding:8px 12px}.opsv__side-foot{display:none}.opsv__topbar{margin:0 24px;min-height:64px}.opsv__topbar .opsv__scope{font-size:11px}.opsv__main{padding:24px 16px}.management-head{align-items:flex-start}.management-head h1{font-size:25px}.management-head p{font-size:13px}.management-head .primary{padding:10px;font-size:12px;min-width:96px}.table-scroll{max-height:560px}table,tbody,tr,td{display:block}thead{display:none}tr{border-bottom:1px solid var(--line);padding:16px}td{padding:0;border:0}td:first-child{margin-bottom:12px}td:nth-child(2),td:nth-child(3){display:inline-block;margin-right:16px}.row-actions{margin-top:8px}.row-actions button{padding-left:0;padding-right:12px}.opsv__main .manage-note{font-size:12px}.filters{align-items:center;gap:8px}.filters input{min-width:0}.filters small{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:0s!important;animation-delay:0s!important;transition-duration:0s!important;scroll-behavior:auto!important}}

.qr-app-name{font-size:12px;margin:16px 0;padding:12px 16px;border:1px solid var(--line);border-radius:8px}.qr-app-name b{display:block;margin-top:4px;font-weight:650;overflow-wrap:anywhere}.manual p{font-size:12px}.new-qr-line{display:flex;justify-content:flex-start;margin-top:8px}.qr-caption .fine{margin-top:8px;font-size:11px}.preview small{font-size:10px}

.pin svg{width:14px;height:14px;fill:none;stroke:var(--ink);stroke-width:2}.status svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;vertical-align:middle;margin-right:3px}

.password-wrap{position:relative}.password-wrap .input{padding-right:72px}.show-password{position:absolute;right:4px;top:2px;min-width:64px;min-height:44px;font-size:12px;color:var(--amber-ink)}.caps-note{color:var(--amber-ink);font-size:12px;min-height:20px;margin-top:8px}.password-rules{list-style:none;padding:0;margin:16px 0;font-size:12px;color:var(--muted)}.password-rules li{margin:8px 0}.password-rules .valid{color:var(--good)}.password-rules span{display:inline-block;width:16px}.profile-data{display:grid;grid-template-columns:160px 1fr;gap:16px;padding:24px;margin:0}.profile-data dt{color:var(--muted)}.profile-data dd{margin:0}.profile-action{padding:24px;background:var(--paper)}.auth-layout:has(.success) .pin{animation:none}
@media(max-width:650px){.profile-data{grid-template-columns:88px 1fr;padding:20px;font-size:14px}.profile-action{padding:20px}.preview select{max-width:180px}}

.password-rules svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;vertical-align:middle}

.ring{border:0}.ring i{position:absolute;left:11px;top:0;width:2px;height:4px;border-radius:1px;background:var(--amber-ink);transform-origin:1px 12px;opacity:1;transition:opacity .2s linear}.ring i.off{opacity:.15}
.ring i:nth-child(1){transform:rotate(0deg)}.ring i:nth-child(2){transform:rotate(12deg)}.ring i:nth-child(3){transform:rotate(24deg)}.ring i:nth-child(4){transform:rotate(36deg)}.ring i:nth-child(5){transform:rotate(48deg)}.ring i:nth-child(6){transform:rotate(60deg)}.ring i:nth-child(7){transform:rotate(72deg)}.ring i:nth-child(8){transform:rotate(84deg)}.ring i:nth-child(9){transform:rotate(96deg)}.ring i:nth-child(10){transform:rotate(108deg)}.ring i:nth-child(11){transform:rotate(120deg)}.ring i:nth-child(12){transform:rotate(132deg)}.ring i:nth-child(13){transform:rotate(144deg)}.ring i:nth-child(14){transform:rotate(156deg)}.ring i:nth-child(15){transform:rotate(168deg)}.ring i:nth-child(16){transform:rotate(180deg)}.ring i:nth-child(17){transform:rotate(192deg)}.ring i:nth-child(18){transform:rotate(204deg)}.ring i:nth-child(19){transform:rotate(216deg)}.ring i:nth-child(20){transform:rotate(228deg)}.ring i:nth-child(21){transform:rotate(240deg)}.ring i:nth-child(22){transform:rotate(252deg)}.ring i:nth-child(23){transform:rotate(264deg)}.ring i:nth-child(24){transform:rotate(276deg)}.ring i:nth-child(25){transform:rotate(288deg)}.ring i:nth-child(26){transform:rotate(300deg)}.ring i:nth-child(27){transform:rotate(312deg)}.ring i:nth-child(28){transform:rotate(324deg)}.ring i:nth-child(29){transform:rotate(336deg)}.ring i:nth-child(30){transform:rotate(348deg)}
.check-sweep{animation:check-reveal .25s var(--ease) both}@keyframes check-reveal{from{transform:translateX(-24px)}to{transform:translateX(0)}}


/* Follow-up 1: the member sign-in map fills the left pane. */
@media(min-width:651px){
 .auth-layout{position:relative;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding-left:0;gap:64px}
 .world{isolation:isolate;overflow:hidden;min-height:640px;justify-content:flex-end;padding:40px;background:var(--sky)}
 .world .map-frame{position:absolute;inset:0;margin:0;height:100%;min-height:0;z-index:-1;background:url('../../service-v4/public/illustrations/korea-concept.webp') 50% 55%/cover}
 .world .map-frame img,.world .pin{display:none}
 .world h2,.world p,.world-caption{position:relative;background:var(--paper);padding:16px;max-width:420px}
 .world p{margin:0;padding-top:0}.world-caption{margin:0;border:0;padding-top:0}
}
