
@font-face{font-family:Roboto;src:url(/auth/roboto.woff2) format("woff2");font-style:normal;font-weight:100 900;font-display:swap}
*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{font-family:Roboto,"Segoe UI",Arial,sans-serif;font-size:14px;color:#121926;background:#f8f9fa;-webkit-font-smoothing:antialiased}a{color:#121926;text-decoration:none}button,input{font:inherit}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px 16px}.auth-card{width:396px;max-width:100%;background:#fff;border:1px solid #e3e8ef;border-radius:8px;padding:30px;box-shadow:0 2px 8px #12192605}.brand{display:flex;align-items:center;justify-content:center;gap:9px;width:max-content;margin:0 auto 40px;font-size:26px;font-weight:700;letter-spacing:-1px}.brand svg{width:34px;height:34px;color:#1976d2}.intro{text-align:center;margin-bottom:32px}.intro h1{margin:0 0 10px;font-size:24px;line-height:1.334;font-weight:700;color:#343a40}.intro p{margin:0;color:#697586;font-size:14px;line-height:1.5}.field{position:relative;margin:0 0 24px}.field input{width:100%;height:56px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#121926;padding:18px 14px 12px;outline:none;transition:border-color .15s,box-shadow .15s}.field label{position:absolute;left:14px;top:18px;line-height:20px;color:#697586;pointer-events:none;transition:all .15s;padding:0 3px}.field input:focus{border-color:#1976d2;box-shadow:0 0 0 1px #1976d2;background:#fff}.field input:focus+label,.field input:not(:placeholder-shown)+label{top:-9px;left:11px;background:#fff;font-size:12px;color:#1976d2}.field input:not(:focus):not(:placeholder-shown)+label{color:#697586}.field.password input{padding-right:52px}.eye{position:absolute;right:8px;top:10px;width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#697586;cursor:pointer}.eye:hover{background:#e3f2fd}.eye svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7}.options{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 28px}.remember{display:flex;align-items:center;gap:9px;font-size:14px;color:#364152;cursor:pointer;white-space:nowrap}.remember input{width:18px;height:18px;margin:0;accent-color:#1976d2;cursor:pointer}.reset{font-size:14px;font-weight:400;color:#1976d2;white-space:nowrap}.submit{display:block;width:100%;height:48px;border:0;border-radius:4px;background:#1976d2;color:#fff;font-size:16px;font-weight:600;box-shadow:0 3px 6px #1976d225;cursor:pointer}.submit:hover{background:#1565c0}.submit:active{background:#0d47a1}button:focus-visible,a:focus-visible{outline:3px solid #90caf9;outline-offset:4px}.divider{border:0;border-top:1px solid #e3e8ef;margin:16px 0}.register{text-align:center;font-size:14px;font-weight:500;margin:0}.register a{color:#1976d2}.register a:hover,.reset:hover{color:#1976d2;text-decoration:underline}.message:empty{display:none}.message p{padding:12px 14px;background:#fff1f0;border:1px solid #ffc9c5;border-radius:8px;color:#b42318;font-size:14px;line-height:1.5;margin:0 0 20px}.help-copy{color:#697586;line-height:1.7;margin-bottom:24px}.back{display:block;text-align:center;color:#1976d2;font-weight:500;margin-top:24px}
@media(max-width:480px){.auth-page{padding:20px 16px}.auth-card{padding:32px 24px}.brand{margin-bottom:32px}.intro h1{font-size:23px}.intro p{font-size:14px}.options{gap:8px}.remember,.reset{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
html[data-theme=dark] body{background:#111936;color:#e6e9f4}html[data-theme=dark] .auth-card{background:#202943;border-color:#333d58}html[data-theme=dark] .intro h1,html[data-theme=dark] .brand{color:#e6e9f4}html[data-theme=dark] .intro p,html[data-theme=dark] .remember,html[data-theme=dark] .help-copy{color:#a9b5cc}html[data-theme=dark] .field input{background:#18213a;border-color:#485373;color:#e6e9f4}html[data-theme=dark] .field input+label{color:#a9b5cc}html[data-theme=dark] .field input:focus{background:#202943;border-color:#90caf9}html[data-theme=dark] .field input:focus+label,html[data-theme=dark] .field input:not(:placeholder-shown)+label{background:#202943;color:#90caf9}html[data-theme=dark] .reset,html[data-theme=dark] .register a,html[data-theme=dark] .back{color:#90caf9}html[data-theme=dark] .divider{border-color:#3c4764}
.brand .merpati-logo{width:230px;height:auto;max-width:100%}.brand .merpati-logo-dark{display:none}html[data-theme=dark] .brand .merpati-logo-light{display:none}html[data-theme=dark] .brand .merpati-logo-dark{display:block}

.auth-card{width:660px}.steps{display:flex;list-style:none;padding:0;margin:0 0 32px;gap:8px}.steps li{flex:1;text-align:center;position:relative;color:#697586;font-size:12px}.steps li:before{content:"";height:1px;background:#d1d5db;position:absolute;top:15px;left:calc(-50% + 20px);right:calc(50% + 20px)}.steps li:first-child:before{display:none}.step-number{display:grid;place-items:center;margin:0 auto 10px;width:30px;height:30px;background:#e3e8ef;border-radius:50%;color:#364152;font-size:14px}.steps .active .step-number,.steps .done .step-number{background:#1976d2;color:#fff}.steps .active{color:#1976d2;font-weight:600}.field textarea{font:inherit;width:100%;min-height:90px;padding:18px 14px 12px;border:1px solid #d1d5db;border-radius:8px;resize:vertical;background:inherit;color:inherit}.field textarea:focus{outline:2px solid #1976d2;outline-offset:-2px}.field textarea:focus+label,.field textarea:not(:placeholder-shown)+label{top:-9px;background:#fff;font-size:12px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.actions{display:flex;gap:16px;align-items:center;margin-top:8px}.actions .submit{margin-left:auto;width:auto;min-width:110px;padding:0 24px}.back-button{border:0;background:transparent;color:#1976d2;padding:12px;cursor:pointer}.hint{color:#697586;line-height:1.6;font-size:12px;margin:-12px 0 24px}.review h2{font-size:16px;margin:0 0 16px}.review dl{display:grid;grid-template-columns:150px 1fr;gap:12px;margin:0 0 24px;line-height:1.5}.review dt{color:#697586}.review dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.success{text-align:center;line-height:1.7}.success h2{color:#1976d2}.success .submit{display:grid;place-items:center;margin-top:24px}.auth-card [hidden]{display:none!important}.message:empty{display:none}dialog{border:1px solid #e3e8ef;border-radius:8px;padding:24px;max-width:calc(100% - 32px);width:400px;color:inherit;background:#fff}dialog::backdrop{background:#12192670}dialog p{line-height:1.7;overflow-wrap:anywhere}html[data-theme=dark] dialog{background:#202943}html[data-theme=dark] .field textarea:not(:placeholder-shown)+label,html[data-theme=dark] .field textarea:focus+label{background:#202943}html[data-theme=dark] .step-number{background:#39445d;color:#d1d5db}html[data-theme=dark] .steps .active .step-number,html[data-theme=dark] .steps .done .step-number{background:#1976d2;color:#fff}@media(max-width:540px){.grid{grid-template-columns:1fr}.review dl{grid-template-columns:1fr;gap:4px}.review dd{margin-bottom:12px}.steps{gap:4px}.steps li{font-size:11px}.auth-card{padding:24px 18px}.brand{margin-bottom:28px}}
/* Match the compact reference signup card while retaining Merpati branding. */
.auth-card{width:476px;padding:24px}.brand{margin-bottom:12px}.brand .merpati-logo{width:145px}.intro{margin-bottom:36px}.intro h1{color:#7c4dff!important;margin-bottom:16px}.intro p{font-size:16px}.steps{margin-bottom:40px}.step-number{width:24px;height:24px;font-size:12px;margin-bottom:16px}.steps li{font-size:14px;line-height:22px}.steps li:before{top:12px;left:calc(-50% + 18px);right:calc(50% + 18px)}.steps .active{font-weight:400}.field{margin-bottom:16px}.field input{height:50px;padding-top:14px}.field label{top:15px}.field .eye{top:7px;right:3px}.grid{gap:0 16px}.actions .submit{height:38px;min-width:64px;padding:0 16px;font-size:14px}.actions{margin-top:24px;margin-bottom:32px}.divider{margin-bottom:20px}.submit,.steps .active .step-number,.steps .done .step-number{background:#2196f3}.hint{font-size:11px}html[data-theme=dark] .intro p,html[data-theme=dark] .hint{color:#a9b5cc}@media(max-width:540px){.auth-card{padding:24px}.steps li{font-size:12px}.grid{grid-template-columns:1fr}.brand{margin-bottom:12px}}
html[data-theme=dark] .steps li{color:#b9c5e1}html[data-theme=dark] .steps .active{color:#b9c5e1}html[data-theme=dark] .steps li:not(.active):not(.done) .step-number{background:#8c91a1;color:#fff}html[data-theme=dark] .eye{color:#e6e9f4}
