/* Circular Auth Flow v152 - login and plate UI */
.auth-page .auth-step-kicker{display:inline-flex;align-items:center;gap:6px;margin:0 0 6px;padding:5px 10px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:10.5px;font-weight:900;letter-spacing:.04em;}
.auth-page h1{margin:0 0 6px;line-height:1.12;font-size:clamp(24px,6vw,34px);}
.auth-page .muted{margin:0 0 8px;line-height:1.32;}
.auth-camera-page{padding:14px!important;border-radius:22px!important;padding-bottom:14px!important;}
.auth-camera-host{width:100%;margin-top:8px;}
.auth-camera-page .inline-camera-save-status{margin-top:8px;}
.auth-phone-page input,.auth-plate-page input,.auth-plate-page select{font-size:18px;min-height:48px;}
.auth-camera-page .identity-face-v146,.auth-camera-page .idcard-v146{margin-top:6px;}
.auth-camera-page .identity-face-v146-frame,.auth-camera-page .idcard-v146-frame{height:var(--auth-camera-frame-h,clamp(260px,44dvh,430px));}
.auth-face-page,.auth-idcard-page{max-width:100%;}
@media(max-width:420px){
  .auth-page{padding:14px!important;border-radius:20px!important;}
  .auth-page h1{font-size:24px;}
  .auth-page .muted{font-size:14px;}
  .auth-camera-page .identity-face-v146-frame,.auth-camera-page .idcard-v146-frame{height:var(--auth-camera-frame-h,clamp(250px,42dvh,390px));border-radius:18px;}
}
@media(max-height:760px){
  .auth-camera-page{padding:12px!important;}
  .auth-page .auth-step-kicker{display:none;}
  .auth-page h1{font-size:22px;margin-bottom:4px;}
  .auth-page .muted{font-size:13px;margin-bottom:6px;}
  .auth-camera-page .identity-face-v146-frame,.auth-camera-page .idcard-v146-frame{height:var(--auth-camera-frame-h,clamp(230px,38dvh,340px));}
}

/* v151: align auth camera action buttons to the right */
.auth-camera-page .identity-face-v146-actions,.auth-camera-page .idcard-v146-actions{justify-content:flex-end!important;align-items:center!important;}
.auth-camera-page .identity-face-v146-actions button,.auth-camera-page .idcard-v146-actions button{flex:0 0 auto!important;width:auto!important;min-width:128px!important;padding-left:18px!important;padding-right:18px!important;}
.auth-camera-page .identity-face-v146-actions button:only-child,.auth-camera-page .idcard-v146-actions button:only-child{min-width:148px!important;}
@media(max-width:420px){.auth-camera-page .identity-face-v146-actions button,.auth-camera-page .idcard-v146-actions button{min-width:112px!important;padding-left:14px!important;padding-right:14px!important}.auth-camera-page .identity-face-v146-actions button:only-child,.auth-camera-page .idcard-v146-actions button:only-child{min-width:132px!important;}}


/* v152: login/plate action alignment and combined plate display */
.auth-action-row{display:flex;gap:10px;align-items:center;margin-top:16px;}
.auth-action-right{justify-content:flex-end;}
.auth-primary-action{width:auto!important;min-width:168px!important;min-height:48px!important;padding:0 22px!important;border-radius:14px!important;font-size:16px!important;font-weight:900!important;}
.auth-phone-page .full-btn,.auth-plate-page .full-btn{width:auto!important;}
.auth-plate-combined-box{padding:14px 16px!important;border-radius:18px!important;background:#f8fafc!important;border:1px solid #dbe3ef!important;margin:12px 0 14px!important;}
.auth-plate-combined{display:flex;align-items:center;gap:0;line-height:1;margin-top:6px;}
.auth-plate-combined .plate-head{font-size:clamp(38px,10vw,56px)!important;font-weight:950!important;letter-spacing:.02em;color:#0f172a;line-height:1!important;}
.auth-plate-combined .plate-tail-inline{display:inline-flex!important;width:4.2em!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;outline:none!important;font-size:clamp(38px,10vw,56px)!important;font-weight:950!important;letter-spacing:.02em;color:#0f172a!important;line-height:1!important;text-align:left!important;}
.auth-plate-combined .plate-tail-inline::placeholder{color:#94a3b8!important;opacity:1!important;}
.auth-plate-combined .plate-tail-inline:focus{box-shadow:none!important;border:0!important;background:transparent!important;}
.auth-plate-province{margin-top:8px!important;}
@media(max-width:420px){
  .auth-primary-action{min-width:150px!important;min-height:46px!important;padding:0 18px!important;}
  .auth-action-row{margin-top:14px;}
  .auth-plate-combined-box{padding:12px 14px!important;}
}


/* v162: Auth input focus/keyboard and number sizing */
.auth-phone-page input#phone,
.auth-phone-page .auth-big-number-input{
  font-size:clamp(32px,8.5vw,52px)!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
  line-height:1!important;
  min-height:68px!important;
  padding:10px 18px!important;
  color:#0f172a!important;
}
.auth-phone-page input#phone::placeholder{
  font-size:clamp(24px,6vw,34px)!important;
  font-weight:700!important;
  letter-spacing:0!important;
  color:#94a3b8!important;
}
.auth-phone-page input#phone:focus,
.auth-plate-page input#tail:focus{
  border-color:#93c5fd!important;
  box-shadow:0 0 0 4px rgba(37,99,235,.12)!important;
}
.auth-action-row.auth-action-right{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
}
