.hkmo-auth-page{margin:0;background:var(--hk-bg,#faf5ea);color:var(--hk-text,#001e4b)}
.hkmo-stage{min-height:100vh;min-height:100svh;display:grid;place-items:center;padding:48px 20px;box-sizing:border-box}
.hkmo-card,.hkmo-card *{box-sizing:border-box}
.hkmo-card{width:100%;max-width:500px;min-width:0;margin:auto;padding:38px;background:var(--hk-surface,#fff);border:1px solid var(--hk-border,#c4ceda);border-radius:var(--hk-radius-lg,22px);text-align:right;font-family:inherit;color:var(--hk-text,#001e4b)}
.hkmo-card [hidden]{display:none!important}
.hkmo-card .hkmo-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hkmo-logo{margin:0 auto 42px;text-align:center}
.hkmo-logo a{display:inline-block;color:var(--hk-primary,#001ee6);font-size:32px;font-weight:800;text-decoration:none;line-height:1.35}
.hkmo-logo a span{display:block;font-size:25px;letter-spacing:.2px}
.hkmo-logo img{display:block;max-width:180px;width:auto;max-height:72px;height:auto;object-fit:contain;margin:auto}
.hkmo-card h1{font-size:22px;line-height:1.8;font-weight:700;margin:0 0 6px;color:inherit}
.hkmo-card .hkmo-intro{font-size:15px;line-height:2;margin:0 0 26px;color:var(--hk-muted,#465773)}
.hkmo-card form{margin:0;padding:0}
.hkmo-card label{display:block;font-size:14px;font-weight:600;margin-bottom:8px}
.hkmo-card input{display:block;width:100%;min-width:0;height:64px;padding:14px 18px;border:1px solid var(--hk-border,#c4ceda);border-radius:var(--hk-radius-sm,10px);background:var(--hk-surface,#fff);color:inherit;font:inherit;font-size:18px;text-align:left;box-shadow:none;outline:none}
.hkmo-card input:focus{border-color:var(--hk-primary,#001ee6);box-shadow:0 0 0 3px var(--hk-primary-soft,#e6e9fd)}
.hkmo-card #hkmo-code{letter-spacing:.35em;text-align:center;font-size:22px}
.hkmo-card input::placeholder{color:var(--hk-muted,#465773);font-size:15px;opacity:.7}
.hkmo-card #hkmo-phone:placeholder-shown{text-align:right;direction:rtl}
.hkmo-card button{font-family:inherit;cursor:pointer;transition:background-color .15s,opacity .15s}
.hkmo-card .hkmo-primary{display:block;width:100%;min-height:56px;margin:16px 0 0;padding:13px 16px;border:0;border-radius:var(--hk-radius-sm,10px);background:var(--hk-primary,#001ee6);color:#fff;font-size:16px;font-weight:700;line-height:1.8}
.hkmo-card .hkmo-primary:hover:not(:disabled){background:var(--hk-primary-strong,#0018b8)}
.hkmo-card button:disabled{opacity:.55;cursor:wait}
.hkmo-card button:focus-visible,.hkmo-card a:focus-visible{outline:2px solid var(--hk-primary,#001ee6);outline-offset:3px}
.hkmo-card .hkmo-text-button{min-height:44px;padding:8px 0;background:transparent;border:0;color:var(--hk-primary,#001ee6);font-size:13px}
.hkmo-card [data-edit]{margin-bottom:10px}
.hkmo-sent{font-size:14px;line-height:1.9;margin:0}
.hkmo-resend{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin-top:10px;font-size:12px;color:var(--hk-muted,#465773)}
.hkmo-card .hkmo-message{font-size:13px;line-height:1.9;margin:12px 0 0;color:var(--hk-muted,#465773)}
.hkmo-card .hkmo-message:empty{margin:0}
.hkmo-card .hkmo-message.is-error{color:var(--hk-danger,#c51a0b)}
.hkmo-card .hkmo-terms{font-size:12px;line-height:2.1;color:var(--hk-muted,#465773);margin:24px 0 0;text-align:center}
.hkmo-card .hkmo-terms a{color:var(--hk-text,#001e4b);text-decoration:underline;text-underline-offset:3px}
.hkmo-card .hkmo-back{display:block;width:fit-content;min-height:44px;padding:10px 4px;text-align:center;margin:12px auto -10px;font-size:12px;color:var(--hk-muted,#465773);text-decoration:none}
@media(max-width:540px){.hkmo-stage{padding:24px 16px}.hkmo-card{padding:30px 24px 26px;border-radius:var(--hk-radius-md,16px)}.hkmo-card h1{font-size:20px}.hkmo-logo{margin-bottom:32px}.hkmo-logo img{max-width:160px}.hkmo-card .hkmo-intro{font-size:14px;margin-bottom:22px}.hkmo-card input{height:56px;font-size:16px;padding:12px 14px}.hkmo-card input::placeholder{font-size:13px}.hkmo-card .hkmo-primary{min-height:50px;font-size:15px}.hkmo-card .hkmo-terms{font-size:11px}}
@media(prefers-reduced-motion:reduce){.hkmo-card button{transition:none}}
