/* Mobile app shell: compact header, complete navigation and calm account/status panels. */
.top{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:10px;margin:0 0 11px;min-height:40px}
.top .brand{display:flex;align-items:center;gap:9px;min-width:0;font-size:18px;line-height:1.2;letter-spacing:-.3px}
.top .brand>span{min-width:0}
.top .logo{width:36px;height:36px;flex:0 0 36px;font-size:20px;border-radius:10px}
.top>[data-act="lock"]{flex:none;min-height:36px;padding:7px 10px;font-size:12px}
.top>[data-act="lock"] .ui-icon{width:15px;height:15px;flex:0 0 15px}
.cr-sync-panel,.cr-bio-panel{margin-bottom:9px;padding:11px 13px;border-radius:12px}
.cr-sync-row,.cr-bio-row{min-width:0;gap:10px}
.cr-sync-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:9px}
.cr-sync-icon .ui-icon{width:19px;height:19px;flex:0 0 19px}
.cr-sync-text{min-width:0;flex:1}
.cr-sync-text strong,.cr-bio-summary b{font-size:13px;font-weight:730;line-height:1.35}
.cr-sync-text small,.cr-bio-summary small{display:block;margin-top:2px;min-width:0;color:#bbc7d4;font-size:11px;line-height:1.4;overflow-wrap:break-word}
.cr-sync-status{font-size:10px;line-height:1.2;padding:5px 8px;flex:0 0 auto}
.cr-sync-actions--compact{display:flex;flex-wrap:nowrap;gap:8px;margin-top:9px}
.cr-sync-actions--compact>.btn{min-width:0;min-height:36px;padding:8px 12px;font-size:12px}
.cr-sync-actions--compact>.btn:first-child{flex:1}
.cr-sync-actions--compact>.btn:last-child{flex:0 0 auto}
.cr-bio-panel .cr-bio-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap}
.cr-bio-summary{display:flex;flex-direction:column;flex:1;min-width:0;gap:1px}
.cr-bio-buttons{width:auto;flex:0 0 auto;display:flex;align-items:center}
.cr-bio-buttons .btn{min-height:34px;padding:7px 10px;font-size:12px}
.cr-bio-expanded{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:space-between;border-top:1px solid #35404c;margin-top:11px;padding-top:10px}
.cr-bio-expanded small{color:#abb9c8;overflow-wrap:anywhere}
.cr-note:empty{display:none}
.cr-sync-panel,.cr-bio-panel,.hero,.panel{box-shadow:none}
.hero h1{font-size:clamp(24px,5vw,32px);line-height:1.15;letter-spacing:-.6px}
.hero .lead{font-size:13px;line-height:1.5;max-width:620px}
.hero .pill{font-size:11px;font-weight:680}
.cr-steps button{min-height:66px}
.cr-steps span{font-size:13px}
.cr-steps small{font-size:11px}
@media(max-width:650px){
  .shell{padding:12px 12px 84px}
  .top{min-height:38px;margin-bottom:10px}
  .top .brand{font-size:16px;white-space:nowrap}
  .top .logo{width:33px;height:33px;flex:0 0 33px;font-size:18px}
  .nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(39px,auto);gap:6px;overflow:visible;scroll-snap-type:none;margin:0 0 10px;padding:0}
  .nav button{min-width:0;width:100%;min-height:39px;padding:7px 4px;gap:5px;white-space:nowrap;border-radius:9px;font-size:12px;scroll-snap-align:none}
  .nav button .ui-icon{width:16px;height:16px;flex:0 0 16px}
  .cr-sync-panel,.cr-bio-panel{padding:11px 12px;margin-bottom:8px}
  .cr-sync-status{font-size:9px;max-width:90px;text-align:center}
  .cr-sync-actions--compact{display:flex;grid-template-columns:none}
  .cr-sync-actions--compact>.btn{width:auto;font-size:12px;min-height:36px}
  .cr-sync-actions:not(.cr-sync-actions--compact){display:grid;grid-template-columns:1fr}
  .cr-sync-actions:not(.cr-sync-actions--compact)>.btn{width:100%}
  .cr-bio-buttons{width:auto}
  .cr-bio-buttons>.btn{flex:none}
  .hero{padding:17px;border-radius:13px}
  .hero h1{font-size:25px;margin-top:9px}
  .hero .lead{font-size:13px;margin-bottom:14px}
  .cr-steps{gap:8px;margin:12px 0}
  .stats{margin-top:10px!important}
  .stats .card{padding:11px}
  .stats .card strong{font-size:22px}
}
@media(max-width:350px){
  .top .brand{font-size:15px;gap:7px}
  .top .logo{width:30px;height:30px;flex-basis:30px}
  .nav button{font-size:11px}
  .nav button .ui-icon{width:14px;height:14px;flex-basis:14px}
  .cr-sync-icon{width:30px;height:30px;flex-basis:30px}
  .cr-sync-status{max-width:72px;white-space:normal}
  .cr-sync-actions--compact>.btn{padding:8px 9px;font-size:11px}
}
