:root{--bg:#f4f7ff;--panel:#ffffff;--line:#dce3f4;--lime:#3157ff;--accent:#ff6657;--text:#111936;--muted:#68708a;--danger:#d93545}*{box-sizing:border-box}html{background:var(--bg);color:var(--text);font-family:Pretendard,"Noto Sans KR",system-ui,sans-serif}body{margin:0;min-height:100vh;background:radial-gradient(circle at 78% 3%,#dce5ff 0,transparent 28rem),var(--bg)}button,input,select{font:inherit}.topbar{height:68px;padding:0 max(22px,calc((100% - 1080px)/2));display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);background:#f8faffdc;backdrop-filter:blur(14px);position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:10px;color:var(--text);text-decoration:none;font-weight:800;letter-spacing:-.03em}.brand b{color:var(--lime)}.brand-mark{display:grid;place-items:center;width:31px;height:31px;background:var(--lime);color:#fff;border-radius:8px;font-weight:950}.beta{font-size:10px;border:1px solid #b9c5e5;border-radius:20px;padding:3px 7px;color:#53607d}main{width:min(100% - 36px,1080px);margin:auto}.hero{padding:80px 0 44px}.eyebrow{margin:0 0 16px;color:var(--lime);font-size:12px;font-weight:800;letter-spacing:.18em}.hero h1{font-size:clamp(42px,8vw,76px);line-height:1.02;letter-spacing:-.065em;margin:0;max-width:760px}.hero h1 em{font-style:normal;color:var(--lime)}.lead{font-size:17px;line-height:1.7;color:#5e6885;max-width:580px;margin:28px 0 0;word-break:keep-all}.solver-card{background:linear-gradient(150deg,#ffffff,#f8faff);border:1px solid var(--line);border-radius:24px;padding:34px;box-shadow:0 28px 70px #3157ff1c}.step{display:flex;gap:15px;align-items:flex-start;margin-bottom:22px}.step>span{color:var(--lime);font-size:12px;font-weight:900;padding-top:5px}.step h2{font-size:22px;margin:0 0 5px;letter-spacing:-.04em}.step p{margin:0;color:var(--muted);font-size:13px}.dropzone{height:330px;border:1px dashed #aab7d8;border-radius:16px;display:grid;place-items:center;position:relative;overflow:hidden;background:#f7f9ff;cursor:pointer;transition:.2s}.dropzone:hover,.dropzone.drag{border-color:var(--lime);background:#eef2ff}.dropzone input{position:absolute;opacity:0;pointer-events:none}.dropzone #empty-state{display:flex;flex-direction:column;align-items:center;text-align:center;padding:20px}.camera{width:54px;height:54px;border:1px solid #aab7d8;border-radius:50%;display:grid;place-items:center;color:var(--lime);font-size:28px;margin-bottom:17px}.dropzone strong{font-size:16px}.dropzone small{color:var(--muted);margin-top:8px}.dropzone img{display:none;width:100%;height:100%;object-fit:contain}.dropzone.has-image img{display:block}.dropzone.has-image #empty-state{display:none}.remove{display:none;position:absolute;right:12px;top:12px;width:36px;height:36px;border:0;border-radius:50%;background:#111936dd;color:#fff;font-size:26px;cursor:pointer}.has-image .remove{display:block}.field-row{display:grid;grid-template-columns:1fr 1.5fr;gap:12px;margin-top:16px}.field{display:flex;flex-direction:column;gap:8px}.field span{font-size:13px;color:#46506c}.field small{color:#777}.field select,.field input{width:100%;height:52px;border:1px solid #ccd5ec;background:#fff;color:var(--text);border-radius:11px;padding:0 14px;outline:0}.field select:focus,.field input:focus{border-color:var(--lime)}.subject-note{font-size:12px;color:#79829b;margin:9px 2px 18px}.solve{width:100%;height:58px;border:0;border-radius:12px;background:var(--lime);color:#fff;font-weight:900;font-size:16px;display:flex;justify-content:space-between;align-items:center;padding:0 22px;cursor:pointer}.solve:disabled{background:#d9deeb;color:#9299aa;cursor:not-allowed}.arrow{font-size:25px}.error{color:var(--danger);font-size:13px;margin:12px 2px 0;min-height:18px}.progress-card{margin:22px 0;background:#fff;border:1px solid var(--line);border-radius:18px;padding:25px;display:grid;grid-template-columns:auto 1fr;gap:15px;position:relative;overflow:hidden}.progress-card[hidden]{display:none}.spinner{width:32px;height:32px;border:3px solid #dbe2f4;border-top-color:var(--lime);border-radius:50%;animation:spin .8s linear infinite}.progress-card strong{font-size:16px}.progress-card p{font-size:13px;color:var(--muted);margin:5px 0 0}.progress-line{position:absolute;bottom:0;left:0;width:100%;height:3px;background:#dfe5f3}.progress-line i{display:block;height:100%;width:35%;background:var(--lime);animation:loading 2.8s ease-in-out infinite}.result{padding:70px 0 10px}.result-head{display:flex;justify-content:space-between;align-items:end}.result h2{font-size:32px;margin:0;letter-spacing:-.05em}.ghost{border:1px solid #aab7d8;background:#fff;color:var(--text);padding:10px 16px;border-radius:10px}.meta{display:flex;justify-content:space-between;align-items:center;margin:22px 0 16px;padding:14px 16px;background:#fff;border-radius:12px}.meta span{border:1px solid #aab7d8;padding:5px 8px;font-size:12px}.meta strong{font-size:17px}.tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line);margin-bottom:18px}.tabs button{height:52px;border:0;background:transparent;color:#7c849a;font-weight:800;border-bottom:3px solid transparent}.tabs button.active{color:var(--lime);border-color:var(--lime)}.image-stack{display:grid;gap:16px}.result-image{background:#fff;border-radius:12px;overflow:hidden}.result-image img{display:block;width:100%;height:auto}.download{display:block;text-align:center;padding:14px;background:#181b18;color:var(--text);text-decoration:none;font-size:13px}.empty-analysis{padding:50px 20px;text-align:center;background:#fff;border-radius:14px;color:var(--muted)}.disclaimer{font-size:12px;line-height:1.5;color:#7b849d;text-align:center;margin:22px 0}.how{padding:90px 0}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.how article{border-top:1px solid #cfd8ee;padding:22px 4px}.how article b{color:var(--lime);font-size:12px}.how h3{font-size:18px;margin:16px 0 8px}.how article p{color:var(--muted);font-size:14px;line-height:1.6;margin:0;word-break:keep-all}footer{border-top:1px solid var(--line);padding:38px max(22px,calc((100% - 1080px)/2));display:flex;justify-content:space-between;color:#707991;font-size:12px}footer span{color:var(--text);font-weight:900}footer p{margin:0}@keyframes spin{to{transform:rotate(360deg)}}@keyframes loading{0%{transform:translateX(-100%)}50%{transform:translateX(170%)}100%{transform:translateX(400%)}}@media(max-width:680px){body{background:radial-gradient(circle at 90% 2%,#dce5ff 0,transparent 20rem),var(--bg)}main{width:min(100% - 24px,1080px)}.topbar{height:60px;padding:0 16px}.hero{padding:50px 4px 30px}.hero h1{font-size:43px}.lead{font-size:15px;margin-top:20px}.solver-card{padding:20px;border-radius:18px}.dropzone{height:265px}.field-row{grid-template-columns:1fr}.result{padding-top:52px}.result h2{font-size:26px}.how{padding:65px 0}.how-grid{grid-template-columns:1fr}.how article{padding:18px 2px}footer{padding:28px 16px;display:block}footer p{margin-top:8px}}
/* SOLVER signature palette: ultramarine for reasoning, coral for key actions */
.camera{box-shadow:inset 0 -3px 0 var(--accent)}
.solve .arrow{color:#ffd8d3}
.result-head .eyebrow,.how>.eyebrow{color:var(--accent)}
.meta strong{color:var(--accent)}

/* Tool-first opening: no marketing hero or numbered feature strip */
.workspace-head{padding:70px 4px 24px}
.workspace-head p{margin:0 0 8px;color:var(--accent);font-size:13px;font-weight:800}
.workspace-head h1{margin:0;font-size:clamp(32px,6vw,54px);line-height:1.08;letter-spacing:-.06em}
.upload-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:18px}
.upload-head h2{font-size:19px;margin:0;letter-spacing:-.035em}
.upload-head p{font-size:12px;color:var(--muted);margin:0}
@media(max-width:680px){.workspace-head{padding:44px 2px 18px}.workspace-head h1{font-size:36px}.upload-head{align-items:start;flex-direction:column;gap:5px}}

.workspace-head{display:flex;align-items:center;justify-content:space-between;min-height:210px}
.workspace-head .mascot{width:190px;height:190px;object-fit:cover;border-radius:50%;mix-blend-mode:multiply;transform:rotate(2deg)}
@media(max-width:680px){.workspace-head{min-height:145px}.workspace-head .mascot{width:125px;height:125px;margin-right:-8px}.workspace-head h1{max-width:220px}}

/* Compact mascot and continuous upload → progress → result flow */
.workspace-head{min-height:136px;padding-top:46px;padding-bottom:18px}
.workspace-head .mascot{width:104px;height:104px;flex:0 0 104px;margin-right:18px;border-radius:28px}
.solver-card{position:relative}
.progress-card{margin:14px 0 0;min-height:112px;padding:20px 22px;grid-template-columns:64px 1fr;align-items:center;gap:16px;border-radius:16px;box-shadow:0 14px 36px #3157ff12}
.progress-mascot{width:64px;height:64px;object-fit:cover;border-radius:18px;mix-blend-mode:multiply}
.progress-status{min-width:0}
.progress-status>span{display:block;margin-bottom:5px;color:var(--lime);font-size:11px;font-weight:850;letter-spacing:.08em}
.progress-card strong{display:block;font-size:17px;letter-spacing:-.025em}
.progress-card p{margin-top:4px}
.progress-card .spinner{display:none}
.progress-line{height:2px;background:#e1e6f2}
.progress-line i{width:28%;border-radius:999px}
.result{padding-top:46px}
@media(max-width:680px){
  .workspace-head{min-height:110px;padding-top:34px;padding-bottom:14px}
  .workspace-head .mascot{width:76px;height:76px;flex-basis:76px;margin-right:0;border-radius:22px}
  .workspace-head h1{font-size:32px;max-width:210px}
  .progress-card{min-height:94px;padding:16px;grid-template-columns:52px 1fr;gap:13px}
  .progress-mascot{width:52px;height:52px;border-radius:15px}
  .progress-card strong{font-size:16px}
  .progress-card p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .result{padding-top:36px}
}

.account{margin-left:auto;border:0;background:transparent;color:#5e6885;font-size:12px;cursor:pointer}
.entry{position:fixed;inset:0;z-index:100;background:#f4f7fff5;backdrop-filter:blur(12px);display:grid;place-items:center;padding:18px}
.entry[hidden],.entry-card[hidden]{display:none}
.entry-card{width:min(100%,430px);background:#fff;border:1px solid var(--line);border-radius:26px;padding:28px;box-shadow:0 30px 90px #3157ff26}
.puru-card{text-align:center}.puru-card>img{width:150px;height:150px;object-fit:cover;border-radius:38px;mix-blend-mode:multiply}
.puru-speech span,.auth-head span{color:var(--accent);font-size:12px;font-weight:850}.puru-speech h2,.auth-head h2{margin:7px 0 8px;font-size:25px;letter-spacing:-.05em}.puru-speech p{margin:0 0 24px;color:var(--muted)}
.entry-primary{width:100%;height:52px;border:0;border-radius:12px;background:var(--lime);color:#fff;font-weight:850;cursor:pointer}
.entry-dots{display:flex;justify-content:center;gap:6px;margin-top:16px}.entry-dots i{width:6px;height:6px;border-radius:50%;background:#d5dbea}.entry-dots i.active{width:18px;background:var(--lime)}
.auth-head{display:flex;align-items:center;gap:12px;margin-bottom:22px}.auth-head img{width:62px;height:62px;object-fit:cover;border-radius:18px;mix-blend-mode:multiply}.auth-head h2{font-size:21px;margin-bottom:0}
.socials{display:grid;gap:9px}.socials button{height:50px;border-radius:11px;font-weight:750;cursor:pointer}.kakao{border:0;background:#fee500;color:#191919}.google{border:1px solid #d8deeb;background:#fff;color:#27304b}
.divider{display:flex;align-items:center;gap:10px;color:#98a0b4;font-size:11px;margin:18px 0}.divider:before,.divider:after{content:"";height:1px;background:#e1e5ef;flex:1}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;margin-bottom:15px;border-bottom:1px solid #e2e6f0}.auth-tabs button{height:42px;border:0;border-bottom:2px solid transparent;background:transparent;color:#8991a5;font-weight:750}.auth-tabs button.active{color:var(--lime);border-color:var(--lime)}
#email-auth{display:grid;gap:12px}#email-auth label{display:grid;gap:6px;font-size:12px;color:#5f6880}#email-auth input{height:48px;border:1px solid #d7ddeb;border-radius:10px;padding:0 13px;outline:0}#email-auth input:focus{border-color:var(--lime)}.auth-message{min-height:18px;margin:12px 0 0;color:var(--danger);font-size:12px;text-align:center}
@media(max-width:680px){.entry-card{padding:22px;border-radius:22px}.puru-card>img{width:125px;height:125px}.puru-speech h2{font-size:23px}}

.google-signin{min-height:44px;display:flex;justify-content:center;overflow:hidden}.google-signin>div{width:100%!important}.provider-note{width:100%;margin:0;padding:13px;border:1px solid #d8deeb;border-radius:11px;text-align:center;color:#8991a5;font-size:13px}


.member-card{padding:30px}.member-head span{color:var(--accent);font-size:12px;font-weight:850}.member-head h2{margin:8px 0 10px;font-size:25px;line-height:1.25;letter-spacing:-.05em}.member-head p{margin:0 0 22px;color:var(--muted);font-size:13px;line-height:1.55}.member-email{display:grid;gap:5px;margin-bottom:18px;padding:14px;background:#f5f7fd;border-radius:11px}.member-email span{font-size:11px;color:var(--muted)}.member-email strong{font-size:14px;overflow:hidden;text-overflow:ellipsis}.consent{display:flex;align-items:flex-start;gap:9px;padding:10px 2px;font-size:13px;color:#46506c;cursor:pointer}.consent input{width:18px;height:18px;accent-color:var(--lime);flex:0 0 auto}.consent b{color:var(--lime)}#verify-identity{margin-top:15px}.text-button{display:block;margin:16px auto 0;border:0;background:transparent;color:#727b92;font-size:12px;cursor:pointer}.danger-text{color:var(--danger)}.profile-list{display:grid;margin:20px 0;border-top:1px solid var(--line)}.profile-list>div{display:flex;justify-content:space-between;gap:16px;padding:15px 2px;border-bottom:1px solid var(--line)}.profile-list span{color:var(--muted);font-size:13px}.profile-list strong{font-size:14px;text-align:right}.profile-list>div:first-child strong{color:var(--lime)}

/* Calm, quick transitions between authentication, workspace, progress and results */
.entry{transition:opacity .22s ease,backdrop-filter .22s ease}
.entry-card{transform-origin:50% 55%;animation:panel-in .34s cubic-bezier(.22,.8,.24,1) both}
.entry-card.is-leaving{animation:panel-out .18s ease both}
main,.topbar,footer{transition:filter .22s ease,opacity .22s ease}
body:has(.entry:not([hidden])) main,body:has(.entry:not([hidden])) footer{filter:blur(1.5px);opacity:.7}
.progress-card:not([hidden]){animation:flow-in .32s cubic-bezier(.22,.8,.24,1) both}
.result:not([hidden]){animation:result-in .42s cubic-bezier(.2,.85,.25,1) both}
.result-image{animation:image-in .38s ease both}.result-image:nth-child(2){animation-delay:.06s}.result-image:nth-child(3){animation-delay:.12s}
.profile-list>div{transition:background-color .18s ease,transform .18s ease}.profile-list>div:hover{background:#f7f9ff;transform:translateX(2px)}
button{transition:transform .16s ease,filter .16s ease,background-color .18s ease,border-color .18s ease}
button:active{transform:scale(.985)}
@keyframes panel-in{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes panel-out{from{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-7px) scale(.99)}}
@keyframes flow-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes result-in{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@keyframes image-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

.history-head{display:flex;align-items:center;justify-content:space-between;margin:24px 0 10px}.history-head h3{margin:0;font-size:16px;letter-spacing:-.03em}.history-head span{font-size:11px;color:var(--muted)}.solution-history{display:grid;gap:8px;max-height:250px;overflow:auto;margin-bottom:18px;padding-right:3px}.history-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--text);text-align:left;cursor:pointer}.history-item:hover{border-color:#a9b8e6;background:#f7f9ff}.history-main{display:grid;gap:4px;min-width:0}.history-main strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-main small{font-size:11px;color:var(--muted)}.history-item>b{flex:0 0 auto;max-width:100px;color:var(--lime);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-empty{margin:0;padding:24px 10px;text-align:center;color:var(--muted);font-size:12px;background:#f7f9fd;border-radius:11px}


/* Guest trial */
.guest-continue{
  display:block;
  width:100%;
  min-height:48px;
  margin:10px 0 0;
  padding:13px 16px;
  border:1px solid #3557ff;
  border-radius:14px;
  background:#fff;
  color:#3557ff;
  font-family:inherit;
  font-size:15px;
  font-weight:800;
  line-height:1.3;
  text-align:center;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}
.guest-continue:hover{background:#eef2ff}
.guest-continue:active{transform:scale(.985)}
.guest-note{margin:9px 12px 2px;text-align:center;color:#8791aa;font-size:12px;line-height:1.5}

.subject-pickers{display:grid;grid-template-columns:.8fr 1.2fr;gap:8px}.subject-pickers select:disabled{background:#f4f6fb;color:#9299aa}@media(max-width:380px){.subject-pickers{grid-template-columns:1fr}}

.subject-pickers select{transition:opacity .2s ease,transform .2s ease,border-color .2s ease,background-color .2s ease}.subject-pickers select.is-switching{opacity:.2;transform:translateY(4px)}@media(prefers-reduced-motion:reduce){.subject-pickers select{transition:none!important}}

/* Compact mobile authentication */
.auth-message:empty{min-height:0;margin:0}
.google-signin,.google-signin>div,.google-signin iframe{width:100%!important;max-width:100%!important}
@media(max-width:520px){
  .entry{display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;padding:max(12px,env(safe-area-inset-top)) 12px max(18px,env(safe-area-inset-bottom))}
  .entry-card{width:100%;max-width:410px;margin:12px 0 24px;padding:20px;border-radius:20px;box-shadow:0 18px 55px #3157ff1c}
  .auth-head{gap:11px;margin-bottom:15px}
  .auth-head img{width:50px;height:50px;border-radius:15px}
  .auth-head h2{font-size:19px;line-height:1.2;margin-top:4px}
  .auth-head span{font-size:11px}
  .socials{gap:7px}
  .google-signin{min-height:42px}
  .divider{margin:13px 0}
  .auth-tabs{margin-bottom:11px}
  .auth-tabs button{height:38px;font-size:14px}
  #email-auth{gap:9px}
  #email-auth label{gap:5px;font-size:11px}
  #email-auth input{height:44px;border-radius:10px}
  #email-auth .entry-primary{height:46px;margin-top:1px}
  .guest-continue{min-height:44px;margin-top:8px;padding:10px 14px;border-radius:12px;font-size:14px}
  .guest-note{margin:6px 8px 0;font-size:11px;line-height:1.4}
  .auth-message:not(:empty){min-height:15px;margin-top:7px}
}
@media(max-height:700px) and (max-width:520px){
  .entry{padding-top:8px;padding-bottom:8px}
  .entry-card{padding:16px}
  .auth-head{margin-bottom:10px}
  .divider{margin:9px 0}
  .auth-tabs{margin-bottom:8px}
  #email-auth{gap:7px}
  .guest-note{display:none}
}

.google-oauth{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:50px;padding:0 48px;border:1px solid #d4d9e4;border-radius:11px;background:#fff;color:#3c4043;font-family:inherit;font-size:15px;font-weight:650;cursor:pointer;appearance:none;transition:border-color .18s ease,background .18s ease,transform .18s ease}
.google-oauth svg{position:absolute;left:16px;width:22px;height:22px}
.google-oauth:hover{background:#f8faff;border-color:#b9c5e5}
.google-oauth:active{transform:scale(.99)}
.google-oauth:disabled{opacity:.6;cursor:wait}
@media(max-width:520px){.google-oauth{height:44px;font-size:14px;border-radius:10px}.google-oauth svg{left:14px;width:20px;height:20px}}

.auth-switch{display:block;width:100%;margin:11px 0 0;padding:5px;border:0;background:transparent;color:#7d879f;font-family:inherit;font-size:12px;cursor:pointer}
.auth-switch strong{color:var(--lime);font-weight:850}
.auth-card .socials,.auth-card .divider,.auth-card .guest-continue,.auth-card .guest-note{transition:opacity .2s ease,transform .2s ease}
.auth-card.signup-mode .socials,.auth-card.signup-mode .divider,.auth-card.signup-mode .guest-continue,.auth-card.signup-mode .guest-note{display:none}
.auth-card.signup-mode #email-auth{margin-top:18px}
@media(max-width:520px){.auth-switch{margin-top:8px}.auth-card.signup-mode #email-auth{margin-top:13px}}

#auth-switch{
  display:block!important;
  width:100%!important;
  min-height:30px!important;
  margin:7px 0 2px!important;
  padding:4px!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  color:#7d879f!important;
  font-family:inherit!important;
  font-size:12px!important;
  font-weight:500!important;
  line-height:1.35!important;
  text-align:center!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}
#auth-switch strong{color:var(--lime)!important;font-weight:850!important}

/* Full-height mobile entry experience */
@media(max-width:520px){
  .entry{
    display:block!important;
    padding:0!important;
    overflow:hidden!important;
    background:#fff!important;
    backdrop-filter:none!important;
  }
  .entry-card{
    width:100%!important;
    max-width:none!important;
    min-height:100dvh!important;
    height:100dvh!important;
    margin:0!important;
    padding:max(28px,env(safe-area-inset-top)) 24px max(22px,env(safe-area-inset-bottom))!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
    animation:mobile-entry-in .38s cubic-bezier(.22,.8,.24,1) both!important;
  }
  .auth-card{display:flex!important;flex-direction:column!important}
  .auth-head{gap:13px;margin:4px 0 24px}
  .auth-head img{width:58px;height:58px;border-radius:17px}
  .auth-head h2{font-size:22px;line-height:1.18}
  .google-oauth{height:52px;font-size:15px;border-radius:12px}
  .divider{margin:19px 0}
  #email-auth{gap:12px}
  #email-auth label{gap:6px;font-size:12px}
  #email-auth input{height:50px;font-size:15px;border-radius:12px}
  #email-auth .entry-primary{height:52px;margin-top:2px;border-radius:12px;font-size:15px}
  #auth-switch{margin:10px 0 2px!important;font-size:12px!important}
  .auth-message:not(:empty){margin:8px 0 0}
  #guest-continue{margin-top:auto!important;min-height:50px!important;border-radius:12px!important;font-size:15px!important}
  .guest-note{margin:8px 10px 0;font-size:11px}
  .auth-card.signup-mode #email-auth{margin-top:10px}
  .member-card,.puru-card{display:flex;flex-direction:column}
}
@keyframes mobile-entry-in{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:translateY(0)}
}
@media(max-width:520px) and (max-height:680px){
  .entry-card{padding-top:18px!important;padding-bottom:14px!important}
  .auth-head{margin-bottom:15px}
  .divider{margin:12px 0}
  #email-auth{gap:8px}
  #guest-continue{margin-top:14px!important}
  .guest-note{display:none}
}

.entry[hidden],.entry-card[hidden]{display:none!important}


/* Keep the mobile workspace headline on one clean line */
@media(max-width:520px){
  .workspace-head{gap:12px}
  .workspace-head>div{min-width:0;flex:1}
  .workspace-head h1{
    max-width:none;
    font-size:clamp(25px,7.2vw,31px);
    line-height:1.12;
    letter-spacing:-.065em;
    white-space:nowrap;
  }
  .workspace-head .mascot{
    width:70px;
    height:70px;
    flex-basis:70px;
  }
}
@media(max-width:360px){
  .workspace-head h1{font-size:24px}
  .workspace-head .mascot{width:62px;height:62px;flex-basis:62px}
}


.retention-note{margin:10px 2px 20px;color:#8a93aa;font-size:11px;line-height:1.55}
.admin-open{display:block;margin:0 0 10px;padding:13px;border:1px solid var(--lime);border-radius:12px;color:var(--lime);font-size:13px;font-weight:800;text-align:center;text-decoration:none}
.admin-open[hidden]{display:none!important}


/* Unified Puru mascot wordmark */
.brand{gap:9px}
.brand-mascot{
  width:36px;
  height:36px;
  display:block;
  flex:0 0 36px;
  border-radius:11px;
}
.brand-name{
  font-size:17px;
  font-weight:900;
  letter-spacing:-.055em;
}
@media(max-width:680px){
  .brand-mascot{width:40px;height:40px;flex-basis:40px;border-radius:12px}
  .brand-name{font-size:19px}
}
