.account-action{margin-left:8px;min-height:36px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:.7rem;font-weight:800}
.returning-card,.identity-card,.progress-card{margin:14px 0;padding:14px;border:1px solid #cbdc83;border-radius:12px;background:linear-gradient(135deg,#fbffe9,#fff);text-align:left}
.returning-card strong,.identity-card strong{display:block;margin-bottom:3px}
.returning-card p,.identity-card p{margin:0;color:var(--muted);font-size:.75rem;line-height:1.4}
.returning-card button{margin-top:9px}
.identity-card{margin-top:16px}
.identity-card .identity-actions{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;margin-top:10px}
.identity-card .primary,.identity-card .outline{margin:0;min-height:42px}
.identity-card .outline{padding:0 14px}
.google-modal-copy{margin-bottom:16px;color:var(--muted);font-size:.82rem;text-align:center}
.google-button-slot{min-height:44px;display:flex;justify-content:center}
.auth-divider{display:flex;align-items:center;gap:10px;margin:11px 0;color:var(--muted);font-size:.7rem}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:var(--line)}
.email-choice{width:100%}
.email-auth-form{display:grid;gap:8px}.email-auth-form[hidden]{display:none}.email-auth-form label{display:grid;gap:5px;color:var(--ink);font-size:.72rem;font-weight:800}.email-auth-form input{width:100%;min-height:44px;padding:0 11px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:inherit}.email-auth-form .primary{margin:0;min-height:44px}
.email-auth-status{margin:10px 0 0;padding:9px;border-radius:8px;font-size:.72rem;line-height:1.35}.email-auth-status.success{background:#eff8c7;color:#334800}.email-auth-status.error{background:#fff0ed;color:#ad3528}
.auth-error{margin:10px 0 0;color:#ad3528;font-size:.75rem;text-align:center}
.progress-view{margin:auto 0;background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}
.progress-view h1{margin-bottom:4px;font-size:1.55rem}
.progress-email{color:var(--muted);font-size:.72rem;overflow-wrap:anywhere}
.progress-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:16px 0}
.progress-stat{padding:12px;border-radius:10px;background:#f6f8ef;text-align:center}
.progress-stat strong{display:block;font-size:1.35rem}.progress-stat span{font-size:.68rem;color:var(--muted)}
.difficulty-progress{display:grid;gap:8px;margin:12px 0 16px}
.difficulty-progress-row{display:grid;grid-template-columns:90px 1fr auto;gap:8px;align-items:center;font-size:.72rem}
.difficulty-progress-track{height:7px;border-radius:999px;background:#edf0e8;overflow:hidden}.difficulty-progress-track i{display:block;height:100%;background:var(--lime)}
.recent-list{list-style:none;padding:0;margin:8px 0 16px}.recent-list li{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #e5e7e3;font-size:.72rem}.recent-list small{color:var(--muted)}
.progress-actions{display:grid;gap:8px}.progress-actions .primary{margin:0}
.result-shell{padding-top:max(8px,calc(env(safe-area-inset-top) + 4px));padding-bottom:max(8px,env(safe-area-inset-bottom))}
.result-shell .topbar{height:40px;flex:0 0 40px}
.result-shell .result{margin:8px 0 0;padding:15px 18px;border-radius:14px}
.result-shell .result>p{margin-bottom:3px;font-size:.76rem}
.result-shell .result>h1{margin-bottom:9px;font-size:1.72rem}
.result-shell .stat{padding:6px 0;font-size:.86rem}
.result-shell .feedback-question{margin-top:8px}
.result-shell .feedback-question h2{margin-bottom:5px;font-size:.88rem}
.result-shell .rating{min-height:35px}
.result-shell .primary{min-height:41px;margin-top:8px}
.result-shell .result>[data-home]{min-height:37px;margin-top:6px}
.result-shell .identity-card{margin-top:9px;padding:9px 11px}
.result-shell .identity-card p{font-size:.67rem;line-height:1.3}
.result-shell .identity-card .identity-actions{margin-top:6px}
.result-shell .identity-card .primary,.result-shell .identity-card .outline{min-height:37px}
@media(max-height:760px){
  .result-shell .topbar{height:36px;flex-basis:36px}
  .result-shell .result{margin-top:5px;padding:11px 16px}
  .result-shell .result>h1{margin-bottom:6px;font-size:1.55rem}
  .result-shell .stat{padding:4px 0}
  .result-shell .feedback-question{margin-top:6px}
  .result-shell .rating{min-height:32px}
  .result-shell .primary{min-height:38px;margin-top:6px}
  .result-shell .identity-card{margin-top:6px;padding:7px 10px}
  .result-shell .identity-card p{display:none}
}
@media(max-height:700px){.returning-card{padding:9px;margin:8px 0}.returning-card p{display:none}.account-action{min-height:32px}}
@media(max-width:699px){
  .start-main{margin:2px 0 0}
  .start-main .target-icon{width:40px;height:40px;margin:4px auto 3px}
  .start-main h1{margin-bottom:2px}
  .start-main .subcopy{margin-bottom:8px;line-height:1.3}
  .start-main .returning-card{margin:7px 0 9px;padding:10px 12px}
  .start-main .returning-card button{margin-top:6px}
}
@media(max-width:699px) and (max-height:760px){
  .start-main{margin-top:0}
  .start-main .target-icon{width:34px;height:34px;margin:1px auto 2px}
  .start-main h1{margin-bottom:0;font-size:1.55rem}
  .start-main .subcopy{margin-bottom:5px;line-height:1.25}
  .start-main .returning-card{margin:5px 0 7px;padding:8px 10px}
  .start-main .returning-card p{line-height:1.25}
  .start-main .returning-card button{min-height:38px;margin-top:5px}
}
