@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',system-ui,sans-serif;color:#25304f;background:#f7f8fc}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}[hidden]{display:none!important}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}.shell{max-width:1190px;padding:0 24px;margin:auto}.topbar{height:94px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8ebf3}.wordmark{text-decoration:none;font:bold 29px Outfit,sans-serif;color:#30365a}.star{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#7853d4;color:white}.topactions{display:flex;align-items:center;gap:18px}.version{color:#8790a5;letter-spacing:1.9px;font-size:10px;font-weight:800}.smallbtn,.textbtn{border:1px solid #e1e4f1;background:white;border-radius:11px;padding:11px 16px;color:#6e50bc;font-weight:800}.textbtn{border:0;padding:8px 0;font-size:12px}.auth-layout{display:grid;grid-template-columns:1fr .85fr;align-items:center;gap:7vw;min-height:68vh;padding:45px 0}.hero h1,.welcome h1{font:800 clamp(40px,5vw,68px)/1.08 Outfit,sans-serif;letter-spacing:-2px;margin:18px 0}.hero em{color:#8462d8;font-style:normal}.hero p,.welcome p{color:#8490a7;line-height:1.75;max-width:510px}.overline{font-size:10px;letter-spacing:2px;color:#9b75d9;font-weight:800}.pills{display:flex;gap:9px;flex-wrap:wrap;margin-top:24px}.pills span{padding:11px 13px;background:white;border:1px solid #e9eaf3;border-radius:30px;font-size:12px;font-weight:800}.note{border-left:3px solid #bea6ef;color:#78849b;padding:10px 16px;margin-top:35px;max-width:430px;font-size:13px;line-height:1.7}.panel{background:white;border:1px solid #e9eaf2;border-radius:23px;padding:28px;box-shadow:0 14px 40px #24325008}.auth-card{padding:30px 35px}.tabbar{display:flex;gap:3px;background:#f3f2f9;padding:5px;border-radius:12px;margin-bottom:25px}.tabbar button{flex:1;border:0;background:transparent;border-radius:9px;color:#8790a8;font-weight:800;padding:13px}.tabbar button.active{color:#6d4fc5;background:white;box-shadow:0 3px 10px #0000000b}h2{font:750 24px Outfit,sans-serif;margin:10px 0 20px}h3{font:700 17px Outfit,sans-serif}.stack{display:flex;flex-direction:column;gap:14px}.stack h2{margin:0 0 8px}.stack label,form label,.timer-card label{font-size:13px;font-weight:800;display:block}.stack input:not([type=checkbox]),.stack select,.timer-card select,.inlineform input{display:block;width:100%;border:1px solid #dfe3ef;color:#293453;border-radius:11px;background:#fcfcff;padding:13px 14px;margin-top:8px;min-width:0}.stack input:focus,.stack select:focus,.inlineform input:focus,.timer-card select:focus{outline:2px solid #af92e8}.primary{background:#7854d2;color:white;border:0;border-radius:11px;padding:14px 22px;font-weight:800;white-space:nowrap}.primary:hover{background:#6943c5}.check{display:flex!important;align-items:flex-start;gap:11px;font-weight:500!important;color:#626e88;line-height:1.5}.check input{width:18px;height:18px;accent-color:#7854d2;flex-shrink:0;margin:2px 0}.notice{background:#eff1ff;color:#4c4c92;border-radius:10px;padding:14px 17px;font-size:13px;line-height:1.6}.notice.error{background:#fff0f1;color:#9e344a}.muted,.hint{color:#8792a7;font-size:13px;line-height:1.75}.hint{font-size:11px}.welcome{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:35px 0 24px}.welcome h1{font-size:clamp(31px,4vw,47px);margin:7px 0}.welcome p{margin:0}.private-tag{background:#e8f8f1;color:#347a5a;font-size:12px;padding:12px;border-radius:24px;font-weight:800}.dashnav{display:flex;gap:9px;overflow-x:auto;padding-bottom:15px}.dashnav button{padding:12px 19px;border:1px solid #e6e8f0;border-radius:13px;background:white;color:#77839a;font-size:13px;font-weight:800}.dashnav button.selected{background:#7854d2;color:white;border-color:#7854d2}.overview-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px}.overview-layout.lower{margin-top:20px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.pill{color:#808da1;background:#f0f2f5;border-radius:20px;padding:8px 11px;font-size:11px;font-weight:800}.pill.active{color:#248051;background:#e6f7ec}.timer-card{border-top:5px solid #9373df}.timer{font:800 clamp(37px,5vw,65px) Outfit,sans-serif;letter-spacing:1px;font-variant-numeric:tabular-nums;text-align:center;padding:20px 0 16px}.timer-card label{margin:8px 0 13px}.timer-card .primary{width:100%;font-size:15px}.timer-card .primary.stop{background:#db6e86}.timer-card .hint{text-align:center}.stats3{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.stats3>div{background:#f7f5fd;border-radius:13px;text-align:center;padding:18px 8px}.stats3 small{color:#8290a9;font-size:11px;display:block}.stats3 strong{font:800 clamp(15px,2vw,20px) Outfit,sans-serif;display:block;margin-top:10px}.divider{height:1px;background:#eceef5;margin:26px 0 18px}.statline{display:flex;justify-content:space-between;gap:12px;margin:16px 0;font-size:13px}.statline span{color:#7f8ba3}.statline strong{text-align:right}.leaderline{margin:15px 0}.leader-top{display:flex;justify-content:space-between;gap:10px;font-size:13px}.progress{height:10px;background:#f0edf9;border-radius:10px;margin-top:9px;overflow:hidden}.progress>div{height:100%;background:#9577da;border-radius:10px}.listrows{display:grid;gap:11px}.listrow{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fafaff;border:1px solid #eef0f6;border-radius:12px;padding:12px 14px}.listrow strong{font-size:13px}.listrow small{display:block;color:#8b94a6;font-size:11px;margin-top:4px}.rowactions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.mini{border:1px solid #e2e4ed;background:white;border-radius:9px;color:#6852b0;font-weight:800;font-size:11px;padding:9px 11px}.mini.danger{color:#b45e70}.mini.success{color:#2d855d}.page-panel{margin-top:0;min-height:350px}.inlineform{display:flex;gap:10px;align-items:end;margin:20px 0}.inlineform input{margin:0}.inlineform>input{flex:1}.inlineform label{flex:1}.inlineform label input{margin-top:7px}.subpanel{border-top:1px solid #edf0f6;padding:21px 0}.subpanel:first-of-type{border-top:none}.subpanel h3{margin:0}.goal-box{border-radius:12px;background:#f6f4fb;padding:23px;margin-top:20px}.compact{max-width:510px}.compact .primary{align-self:flex-start}.auth-card .muted{font-size:11px}footer{padding:40px 0 25px;text-align:center;color:#9ca6b8;font-size:12px}@media(max-width:820px){.auth-layout,.overview-layout{grid-template-columns:1fr}.auth-layout{min-height:unset;padding:25px 0}.hero h1{font-size:43px}.auth-card{padding:25px}.private-tag,.version{display:none}.welcome{margin-top:20px}.shell{padding:0 16px}.topbar{height:76px}.panel{padding:20px}.stats3{gap:5px}.stats3>div{padding:16px 5px}.inlineform{flex-wrap:wrap}.inlineform>input{min-width:180px}}
.friend-entry{align-items:flex-start;flex-wrap:wrap}.friend-detail{flex:1;min-width:220px}.friend-sharing{margin-top:12px;padding-top:8px;border-top:1px solid #edf0f6}.friend-sharing .check{display:flex;align-items:center;gap:8px;margin:12px 0;font-size:13px;font-weight:500}.friend-sharing .check input{accent-color:#7854d2;width:17px;height:17px}.friend-sharing button{margin-top:5px}


.leader-top{align-items:center;flex-wrap:wrap}.friend-name-status{display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-width:0}.friend-name-status strong{overflow-wrap:anywhere}.friend-week-total{margin-left:auto;white-space:nowrap}.friend-status{display:inline-flex;align-items:center;gap:6px;border-radius:20px;padding:5px 9px;font-size:11px;font-weight:700;white-space:nowrap}.friend-status.studying{background:#e6f7ec;color:#21633e}.friend-status.break{background:#fff3dc;color:#80520c}.friend-status.private{background:#f0f2f5;color:#596579}.status-dot{width:7px;height:7px;border-radius:50%;background:currentColor;flex-shrink:0}

/* SB monogram branding */
.wordmark{display:inline-flex;align-items:center;gap:10px;color:#102b55;font-size:clamp(21px,3vw,28px)}.brand-icon{width:44px;height:44px;object-fit:contain;flex-shrink:0}.brand-label strong{color:#13bfc8;font-weight:800}
