@media(max-width:760px){
  .topbar{height:58px;padding:0 16px}
  .brand{gap:10px}.brand img{width:58px;height:43px}.brand span{font-size:12px}
  .link-button{font-size:12px;padding:8px}
  .entry-shell{padding:22px 16px 12px;min-height:calc(100svh - 58px);display:flex;flex-direction:column;justify-content:center}
  .admin-shell{padding:24px 16px}
  .hero{display:block;min-height:0}.eyebrow{font-size:11px}
  .hero h1{font-size:clamp(24px,7vw,32px);line-height:1.2;margin:9px 0}
  .subtitle{font-size:12px;line-height:1.35}.accent-line{width:135px;height:4px;margin-top:15px}
  .illustration{display:none}
  .form-card{display:block;width:100%;margin:24px 0 0;padding:20px;border-radius:18px}
  .step-mark{width:38px;height:38px;font-size:17px;border-radius:10px;margin-bottom:10px}
  .form-content h2{font-size:19px;margin:0 0 5px}.form-content p{font-size:12px;margin:0 0 14px}
  .form-content label{font-size:12px;margin-bottom:7px}
  .entry-row{display:grid;gap:9px}.entry-row input,.entry-row button{width:100%;min-height:45px;padding:10px 13px;font-size:14px}
  .entry-note{font-size:11px;line-height:1.45;margin:15px 0 0}
  .status{font-size:12px;min-height:0;margin:10px 0 0!important}
  footer{font-size:11px;padding:11px}
  .stats{grid-template-columns:repeat(2,1fr)}.admin-grid{grid-template-columns:1fr}
  .panel-title{display:block}.panel-title .actions{margin-bottom:14px}
  .admin-heading h1{font-size:28px}
}
@media(max-width:390px){
  .stats{gap:8px}.stat{padding:16px}
  .hero h1{font-size:25px}.form-card{margin-top:18px;padding:16px}
  .entry-shell{padding-top:14px;padding-bottom:8px}.accent-line{margin-top:12px}
}
@media(max-height:680px) and (max-width:760px){
  .entry-shell{justify-content:flex-start}.form-card{margin-top:14px;padding:14px}
  .hero h1{font-size:24px}.step-mark{display:none}
  .entry-note{margin-top:10px}.accent-line{margin-top:8px}.subtitle{font-size:11px}
}
.settings-button{border:0;background:transparent;color:#9ab4ba;width:36px;height:36px;display:grid;place-items:center;border-radius:50%}
.settings-button:hover,.settings-button:focus-visible{background:#eef6f7;color:#336572}
.auth-panel #retry-admin{margin-top:12px;width:100%}
.stats{grid-template-columns:repeat(3,1fr)}
.confirm-intro{margin-bottom:10px!important}
.confirm-person{background:#eef8f8;border:1px solid #cae6e8;border-radius:14px;padding:13px 16px;display:grid;gap:4px}
.confirm-person strong{font-size:20px;color:#073f50}
.confirm-person span{font-size:14px;color:#3b6672}
#entry-confirm .actions{margin-top:12px}
#redirect-fallback{background:#fff6e5;border:1px solid #f4d7a2;border-radius:12px;padding:11px 13px;margin:13px 0 0!important}
#redirect-fallback a{color:#086274;text-decoration:underline;font-weight:800}
.lookup-result{font-weight:700;margin:12px 0!important}
#reset-emp-id{display:block;width:min(100%,560px)}
.sync-brief{margin:12px 0!important}
details>summary{cursor:pointer;font-weight:700;color:#0a596b}
details.panel>summary{font-size:18px}
details.panel[open]>summary{margin-bottom:14px}
details .sync-meta{margin-top:14px}
@media(max-width:760px){
  .stats{grid-template-columns:repeat(3,1fr);gap:7px}
  .stat{padding:12px 9px;border-radius:12px}
  .stat span{font-size:11px}.stat strong{font-size:24px;margin-top:5px}
  .confirm-person{padding:10px 12px}.confirm-person strong{font-size:18px}
  #entry-confirm .actions{display:grid;grid-template-columns:1fr auto;gap:7px}
  #entry-confirm .actions button{padding:9px 10px;font-size:12px}
  .panel{padding:18px}
  #reset-emp-id{width:100%}
}
