:root{--bg:#f6f8f3;--surface:#fffffcf0;--surface-solid:#fffefa;--surface-muted:#f2f5ee;--text:#102d28;--text-soft:#6d7b77;--line:#1c43391f;--green:#267b5b;--green-deep:#13543d;--green-pale:#e5f1e8;--blue-pale:#edf6ff;--cream:#fff6e5;--danger:#ff5e5b;--shadow:0 22px 60px #203f3321;--shadow-soft:0 12px 34px #203f3317;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,-apple-system,sans-serif}:root[data-theme=dark]{--bg:#111a18;--surface:#192522f0;--surface-solid:#192522;--surface-muted:#22302c;--text:#edf7f2;--text-soft:#a4b6af;--line:#def6ec1f;--green:#6ac69d;--green-deep:#8bd4b3;--green-pale:#233b31;--blue-pale:#1c3039;--cream:#352f22;--shadow:0 22px 60px #0000004d;--shadow-soft:0 12px 34px #00000038;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html{background:var(--bg);min-width:320px}body{background:var(--bg);min-width:320px;min-height:100vh;color:var(--text);text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;margin:0;font-family:inherit}button,input,textarea{color:inherit;font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}:is(button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible){outline-offset:2px;outline:3px solid #29986947}.app-shell{grid-template-columns:183px minmax(0,1fr);min-height:100dvh;display:grid;overflow:hidden}.side-nav{z-index:30;border-right:1px solid var(--line);background:color-mix(in srgb, var(--surface-solid) 96%, transparent);flex-direction:column;height:100dvh;padding:22px 9px 18px;display:flex;position:sticky;top:0}.brand-block{flex-direction:column;gap:2px;padding:0 14px 25px;display:flex}.brand-block strong{width:max-content;color:var(--text);letter-spacing:-.08em;text-underline-offset:7px;font-size:26px;font-weight:850;line-height:1.15;-webkit-text-decoration:underline #5a7df3;text-decoration:underline #5a7df3;text-decoration-thickness:3px}.brand-block span{color:var(--text-soft);letter-spacing:.12em;margin-top:12px;font-size:12px}.side-nav nav{flex-direction:column;gap:7px;display:flex}.side-nav nav button{min-height:43px;color:color-mix(in srgb, var(--text) 82%, transparent);text-align:left;background:0 0;border-radius:13px;grid-template-columns:23px minmax(0,1fr);align-items:center;column-gap:16px;padding:0 14px;transition:background .16s,color .16s,transform .16s;display:grid}.side-nav nav button:hover{background:var(--surface-muted);transform:translate(2px)}.side-nav nav button.active{background:var(--green-pale);color:var(--green-deep);font-weight:750}.side-nav nav button small{color:var(--text-soft);white-space:nowrap;font-size:9px}.side-card{border:1px solid var(--line);background:linear-gradient(145deg, var(--green-pale), var(--surface-solid));color:var(--green-deep);border-radius:16px;align-items:flex-start;gap:10px;margin-top:auto;padding:15px;display:flex}.side-card p{margin:0;font-size:12px;line-height:1.6}.login-quiet{color:var(--text-soft);background:0 0;border-radius:14px;justify-content:center;align-items:center;gap:8px;margin-top:11px;padding:12px;display:flex}.home-content{background:var(--surface-solid);min-width:0}.topbar{z-index:20;border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--surface-solid) 88%, transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);align-items:center;min-height:60px;padding:0 22px;display:flex;position:relative}.topbar-copy{color:var(--text-soft);align-items:center;gap:16px;display:flex}.topbar-copy svg{color:#e9ad29}.topbar-copy strong{color:var(--text);font-size:14px;font-weight:550}.topbar-actions{align-items:center;gap:10px;margin-left:auto;display:flex}.mobile-menu{border:1px solid var(--line);background:var(--surface);border-radius:50%;place-items:center;width:42px;height:42px;display:grid}.theme-toggle{border:1px solid var(--line);background:var(--surface-muted);border-radius:999px;justify-content:center;align-items:center;width:72px;height:36px;padding:3px;display:flex}.theme-toggle svg{width:28px;height:28px;color:var(--text-soft);border-radius:50%;padding:6px}.theme-toggle svg.active{background:var(--green-deep);color:#fff}.mobile-menu{margin-right:12px;display:none}.login-button,.primary-action{color:#fff;background:linear-gradient(135deg,#2b8462,#176548);border-radius:999px;justify-content:center;align-items:center;gap:9px;min-height:46px;padding:0 25px;font-weight:750;transition:transform .16s,box-shadow .16s;display:inline-flex;box-shadow:0 10px 24px #19664a38}.login-button{min-width:85px;min-height:38px;padding:0 20px}.primary-action:hover,.login-button:hover{transform:translateY(-2px);box-shadow:0 14px 28px #19664a47}.home-inner{grid-template-rows:minmax(420px,1fr) 102px;gap:18px;min-height:calc(100dvh - 60px);padding:0 26px 36px;display:grid}.hero-section{background:var(--surface-solid);min-height:420px;margin:0 -26px;display:block;position:relative;overflow:hidden}.hero-copy{z-index:4;width:min(60%,720px);height:100%;min-height:inherit;background:0 0;flex-direction:column;justify-content:center;padding:clamp(34px,3vw,54px) 28px;display:flex;position:relative}.eyebrow{background:var(--green-pale);width:max-content;color:var(--green-deep);letter-spacing:.08em;border-radius:999px;align-items:center;gap:8px;margin-bottom:22px;padding:7px 12px;font-size:12px;font-weight:750;display:inline-flex}.hero-copy h1{color:var(--text);letter-spacing:-.065em;white-space:nowrap;margin:0;font-size:clamp(42px,4vw,60px);font-weight:900;line-height:1.12}.hero-copy>p{color:var(--text-soft);margin:18px 0 30px;font-size:clamp(18px,1.7vw,22px);line-height:1.6}.hero-actions{flex-wrap:wrap;gap:12px;display:flex}.secondary-action{border:1px solid color-mix(in srgb, var(--green) 52%, transparent);background:color-mix(in srgb, var(--surface-solid) 88%, transparent);min-height:46px;color:var(--green-deep);border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 24px;font-weight:700;display:inline-flex}.hero-actions .primary-action,.hero-actions .secondary-action{min-height:51px;padding-inline:27px}.hero-proof{gap:22px;margin-top:40px;display:flex}.hero-proof div{flex-direction:column;gap:3px;display:flex}.hero-proof strong{font-size:17px}.hero-proof span{color:var(--text-soft);font-size:11px}.room-preview{z-index:1;isolation:isolate;min-width:0;position:absolute;inset:0}.room-photo{z-index:-2;transform-origin:86% 60%;background:url(/homepage-room-perspective.webp) 86% 60%/cover no-repeat;position:absolute;inset:0;transform:scale(1.2)}.room-preview:before{z-index:-1;background:linear-gradient(90deg, color-mix(in srgb, var(--surface-solid) 94%, transparent) 0%, color-mix(in srgb, var(--surface-solid) 88%, transparent) 28%, color-mix(in srgb, var(--surface-solid) 58%, transparent) 45%, color-mix(in srgb, var(--surface-solid) 18%, transparent) 57%, transparent 66%);content:"";pointer-events:none;position:absolute;inset:0}:root[data-theme=dark] .room-preview:before{background:linear-gradient(90deg,#182320f5 0%,#182320e0 28%,#18232094 45%,#1823202e 57%,#0000 66%)}.companion-picker{box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffd6;border:1px solid #ffffffa6;border-radius:15px;flex-direction:column;align-items:flex-start;gap:10px;padding:19px 16px 18px;display:flex}.home-picker{width:290px;position:absolute;top:35px;right:25px}.companion-picker>div:first-child{flex-direction:column;gap:4px;display:flex}.companion-picker span{color:#14332c;font-size:13px;font-weight:800}.companion-picker small{color:#6f7f79;font-size:10px}.avatar-row{gap:8px;display:flex}.home-picker .avatar-row{justify-content:space-between;width:100%}.home-picker .avatar-row button{width:68px;height:68px;font-size:36px}.home-picker .avatar-row button span{color:#0000;background-image:url(/homepage-reference.webp);background-repeat:no-repeat;background-size:1182px 665px;border-radius:50%;width:64px;height:64px;font-size:0;display:block;overflow:hidden}.home-picker .avatar-row button:first-child span{background-position:-900px -142px}.home-picker .avatar-row button:nth-child(2) span{background-position:-987px -142px}.home-picker .avatar-row button:nth-child(3) span{background-position:-1074px -142px}.avatar-row button,.study-companions button{background:linear-gradient(145deg,#fff,#e9f3e9);border:2px solid #1f61471f;border-radius:50%;place-items:center;width:48px;height:48px;font-size:25px;transition:transform .15s,border-color .15s;display:grid;position:relative}.avatar-row button:hover,.study-companions button:hover{transform:translateY(-2px)}.avatar-row button.selected,.study-companions button.selected{border-color:#3a9a70;box-shadow:0 0 0 2px #ffffffe6,0 0 0 4px #3a9a7038}.avatar-row button.selected:after,.study-companions button.selected:after{color:#fff;content:"✓";background:#3a9a70;border-radius:50%;place-items:center;width:17px;height:17px;font-size:10px;display:grid;position:absolute;bottom:-2px;right:-3px}.room-caption{max-width:330px;box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffd1;border-radius:16px;align-items:center;gap:10px;padding:12px 15px;display:flex;position:absolute;bottom:28px;right:28px}.status-dot{background:#42b27b;border-radius:50%;width:10px;height:10px;box-shadow:0 0 0 6px #42b27b26}.room-caption>div:last-child{flex-direction:column;gap:3px;display:flex}.room-caption strong{color:#14332c;font-size:12px}.room-caption span{color:#6f7f79;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.home-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.feature-card{border:1px solid var(--line);background:var(--surface);min-height:102px;box-shadow:none;text-align:left;cursor:pointer;border-radius:18px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:22px;padding:18px 20px;transition:transform .17s,box-shadow .17s;display:grid}.feature-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}.feature-icon{background:#ffffffad;border-radius:14px;place-items:center;width:50px;height:50px;display:grid}.green-card .feature-icon{color:#2c7d5b;background:#e8f3e9}.blue-card .feature-icon{color:#248fd2;background:#e9f4fd}.cream-card .feature-icon{color:#d59618;background:#fff5df}.green-card{background:linear-gradient(145deg, var(--green-pale), var(--surface))}.cream-card{background:linear-gradient(145deg, var(--cream), var(--surface))}.blue-card{background:linear-gradient(145deg, var(--blue-pale), var(--surface))}.feature-card>div:nth-child(2){min-width:0;transform:translate(6px)}.feature-card span{color:var(--text-soft);letter-spacing:.08em;font-size:10px}.feature-arrow{border:1px solid var(--line);width:34px;height:34px;color:var(--text);background:#ffffff9e;border-radius:50%;place-items:center;display:grid}.feature-card h2{text-overflow:ellipsis;white-space:nowrap;margin:0 0 5px;font-size:15px;overflow:hidden}.feature-card p{color:var(--text-soft);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:11px;overflow:hidden}.plan-backdrop{z-index:90;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0f261f4d;place-items:center;padding:24px;animation:.18s ease-out plan-backdrop-in;display:grid;position:fixed;inset:0}.plan-backdrop-dismiss{cursor:default;background:0 0;position:absolute;inset:0}.today-plan-dialog{z-index:1;border:1px solid color-mix(in srgb, var(--line) 85%, white);background:color-mix(in srgb, var(--surface-solid) 97%, transparent);border-radius:28px;width:min(560px,100%);max-height:min(720px,100dvh - 48px);padding:26px;animation:.22s cubic-bezier(.2,.75,.2,1) both plan-dialog-in;position:relative;overflow:hidden;box-shadow:0 34px 100px #0e2d233d}.today-plan-header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.today-plan-header>div{min-width:0}.today-plan-header span{color:var(--green);letter-spacing:.08em;align-items:center;gap:7px;font-size:11px;font-weight:800;display:flex}.today-plan-header h2{color:var(--text);letter-spacing:-.04em;margin:9px 0 6px;font-size:25px}.today-plan-header p{color:var(--text-soft);margin:0;font-size:12px}.today-plan-close{border:1px solid var(--line);background:var(--surface-muted);border-radius:50%;flex:none;place-items:center;width:38px;height:38px;display:grid}.plan-add-form{grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:24px;display:grid}.plan-add-form input{border:1px solid var(--line);background:var(--surface-solid);border-radius:14px;min-width:0;height:48px;padding:0 15px}.plan-add-form button,.plan-start-button{background:var(--green-deep);color:#fff;border-radius:14px;justify-content:center;align-items:center;gap:7px;min-height:48px;padding:0 18px;font-size:12px;font-weight:800;display:inline-flex}.plan-add-form button:disabled,.plan-start-button:disabled{cursor:not-allowed;opacity:.45}.plan-limit-row{color:var(--text-soft);justify-content:space-between;align-items:center;margin:10px 2px 13px;font-size:10px;display:flex}.plan-limit-row small{font-size:10px}.plan-task-list{scrollbar-width:thin;flex-direction:column;gap:8px;min-height:154px;max-height:min(340px,42dvh);padding-right:3px;display:flex;overflow-y:auto}.plan-task-list article{border:1px solid var(--line);background:var(--surface-solid);border-radius:15px;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:9px;min-height:62px;padding:9px 10px;transition:border-color .16s,background .16s,transform .16s;display:grid}.plan-task-list article.is-active{border-color:color-mix(in srgb, var(--green) 48%, transparent);background:color-mix(in srgb, var(--green-pale) 62%, var(--surface-solid))}.plan-task-list article.is-complete{opacity:.62}.plan-task-list article.is-complete .plan-task-copy strong{text-decoration:line-through}.plan-target-button,.plan-complete-button,.plan-delete-button{width:34px;height:34px;color:var(--text-soft);background:0 0;border-radius:10px;place-items:center;display:grid}.plan-target-button[aria-pressed=true],.plan-complete-button:hover{background:var(--green-pale);color:var(--green-deep)}.plan-delete-button:hover{background:color-mix(in srgb, var(--danger) 10%, transparent);color:var(--danger)}.plan-task-copy{flex-direction:column;gap:5px;min-width:0;display:flex}.plan-task-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.plan-task-copy span{color:var(--text-soft);align-items:center;gap:5px;font-size:10px;display:flex}.plan-empty{min-height:154px;color:var(--text-soft);text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.plan-empty-icon{background:var(--green-pale);width:44px;height:44px;color:var(--green-deep);border-radius:15px;place-items:center;margin-bottom:10px;display:grid}.plan-empty strong{color:var(--text);font-size:13px}.plan-empty span:last-child{max-width:310px;margin-top:5px;font-size:10px;line-height:1.6}.today-plan-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;margin-top:18px;padding-top:17px;display:flex}.today-plan-footer>div{flex-direction:column;gap:4px;min-width:0;display:flex}.today-plan-footer small{color:var(--text-soft);font-size:9px}.today-plan-footer strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}@keyframes plan-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes plan-dialog-in{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.study-shell{color:#102d28;isolation:isolate;background:#f7f3e9;min-height:100dvh;position:relative;overflow:hidden}.study-background{z-index:-3;background:url(/_next/static/media/study-room-loop.D7CYkELU.gif) 50%/cover no-repeat;position:absolute;inset:78px 430px 0 0}.study-shade{z-index:-2;pointer-events:none;background:linear-gradient(#ffffff0d,#2c1f0f0f),radial-gradient(circle at 50% 46%,#0000 25%,#3028180a 100%);position:absolute;inset:78px 430px 0 0}.study-toolbar{z-index:15;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffceb;border-bottom:1px solid #1c43391a;grid-template-columns:1fr auto 1fr;align-items:center;min-height:78px;padding:0 28px;display:grid;position:absolute;inset:0 0 auto}.glass-button{color:#34534a;background:#fffc;border:1px solid #1d533e21;border-radius:999px;justify-self:start;align-items:center;gap:5px;padding:10px 14px;font-size:12px;display:inline-flex}.study-brand{color:#12352d;align-items:center;gap:9px;font-size:19px;font-weight:850;display:flex}.study-stats{color:#1e694f;justify-self:end;align-items:center;gap:8px;font-size:13px;font-weight:750;display:flex}.study-stats span{color:#7d8d87;margin-left:6px;font-size:10px;font-weight:500}.study-layout{grid-template-columns:minmax(0,1fr) 430px;min-height:100dvh;padding-top:78px;display:grid}.focus-stage{place-items:center;min-width:0;padding:34px;display:grid;position:relative}.focus-target{z-index:5;color:#174f3e;text-shadow:0 2px 14px #fffcebf0;align-items:center;gap:7px;max-width:min(430px,46%);font-size:15px;display:flex;position:absolute;top:clamp(98px,20%,176px);left:clamp(44px,6vw,98px)}.focus-target svg{color:#24845f;flex:none}.focus-target span{letter-spacing:.12em;flex:none;font-size:12px;font-weight:760}.focus-target strong{color:#103e31;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:820;overflow:hidden}.projected-timer{--progress:0%;z-index:4;color:#123c31;isolation:isolate;text-shadow:0 2px 16px #fffcebe6;flex-direction:column;justify-content:center;align-items:flex-start;width:min(430px,46%);min-height:230px;display:flex;position:absolute;top:clamp(132px,26%,230px);left:clamp(44px,6vw,98px)}.projected-timer:before{z-index:-1;content:"";filter:blur(10px);pointer-events:none;background:radial-gradient(at 38% 48%,#fffdefd6 0%,#fffcec7a 36%,#0000 72%);position:absolute;inset:-44px -72px}.projected-timer:not(.projected-timer-idle){animation:.2s ease-out both projection-arrive}@keyframes projection-arrive{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.projected-timer-idle{gap:13px;min-height:170px}.projected-idle-prompt{color:#174f3e;letter-spacing:.04em;font-size:21px;font-weight:780}.projected-start{color:#fff;letter-spacing:.01em;width:158px;height:46px;text-shadow:none;background:#1a7553;border:1px solid #084b332e;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 20px;font-size:15px;font-weight:800;transition:background .18s,border-color .18s,box-shadow .18s;animation:3.2s ease-in-out infinite focus-cta-breathe;display:inline-flex;box-shadow:0 8px 22px #15644733,0 0 #30916729}.projected-start:hover{color:#fff;background:#146845;border-color:#084b334d;box-shadow:0 10px 26px #15644742,0 0 0 4px #3091671f}.projected-start:active{background:#105b3c;box-shadow:0 5px 14px #15644738,0 0 0 3px #3091671a}.projected-start:focus-visible{outline-offset:3px;outline:3px solid #fffffff5;box-shadow:0 0 0 6px #1a75534d,0 10px 26px #15644742}@keyframes focus-cta-breathe{0%,to{box-shadow:0 8px 22px #15644733,0 0 #30916729}50%{box-shadow:0 9px 24px #1564473b,0 0 0 6px #30916717}}.projected-status{color:#123c31c2;letter-spacing:.16em;align-items:center;gap:10px;margin-left:5px;font-size:12px;font-weight:750;transition:color .18s;display:flex}.projected-status i{background:#2da66d;border-radius:50%;width:8px;height:8px;transition:background .18s,box-shadow .18s;box-shadow:0 0 0 6px #2da66d21}.projected-timer[data-state=paused] .projected-status{color:#6f4e13d1}.projected-timer[data-state=paused] .projected-status i{background:#d3a044;box-shadow:0 0 0 6px #d3a04426}.projected-time{color:#082f27;font-variant-numeric:tabular-nums;letter-spacing:.03em;text-shadow:0 3px 22px #fffdecf2;margin-top:12px;font-size:clamp(54px,4.8vw,68px);font-weight:870;line-height:1;display:block}.projected-progress{background:#13493724;border-radius:999px;width:min(100%,390px);height:3px;margin-top:16px;overflow:hidden}.projected-progress i{width:var(--progress);border-radius:inherit;background:linear-gradient(90deg,#2a8e65,#55ad7e);height:100%;transition:width .2s linear;display:block}.projected-points{color:#344f46b8;margin:9px 0 0 4px;font-size:10px}.projected-points strong{color:#197653}.projected-actions{opacity:1;pointer-events:auto;align-items:center;gap:22px;margin:16px 0 0 4px;display:inline-flex;transform:translateY(0)}.projected-actions button{color:#123e31d1;background:0 0;border-bottom:1px solid #124b3842;align-items:center;gap:7px;padding:6px 0;font-size:11px;font-weight:750;transition:color .18s,border-color .18s;display:inline-flex}:is(.projected-actions button:hover,.projected-actions button:focus-visible){color:#0c563d;border-color:#176d4e}.projected-actions button:last-child{color:#b73e42;border-color:#cf434652}.projected-actions button.is-confirming{color:#a9292d;border-color:#d2474a;font-weight:850}:root[data-theme=dark] .projected-timer{color:#123c31;text-shadow:0 2px 16px #fffcebe6}:root[data-theme=dark] .focus-target,:root[data-theme=dark] .focus-target strong{color:#103e31;text-shadow:0 2px 14px #fffcebf0}:root[data-theme=dark] .focus-target svg{color:#24845f}:root[data-theme=dark] .projected-timer:before{background:radial-gradient(at 38% 48%,#fffdefd6 0%,#fffcec7a 36%,#0000 72%)}:root[data-theme=dark] .projected-idle-prompt,:root[data-theme=dark] .projected-status,:root[data-theme=dark] .projected-points{color:#174f3e}:root[data-theme=dark] .projected-start{color:#fff;background:#1a7553;border-color:#084b332e}:is(:root[data-theme=dark] .projected-start:hover,:root[data-theme=dark] .projected-start:focus-visible){color:#fff;background:#146845;border-color:#084b334d}:root[data-theme=dark] .projected-time{color:#082f27;text-shadow:0 3px 22px #fffdecf2}:root[data-theme=dark] .projected-progress{background:#13493724}:root[data-theme=dark] .projected-progress i{background:linear-gradient(90deg,#2a8e65,#55ad7e)}:root[data-theme=dark] .projected-points strong{color:#197653}:root[data-theme=dark] .projected-timer[data-state=paused] .projected-status{color:#6f4e13}:root[data-theme=dark] .projected-timer[data-state=paused] .projected-status i{background:#c78b25;box-shadow:0 0 0 6px #c78b2529}:root[data-theme=dark] .projected-actions button{color:#123e31d1;border-color:#124b3842}:root[data-theme=dark] .projected-actions button:last-child{color:#a9292d;border-color:#b73e4261}:root[data-theme=dark] .projected-actions button.is-confirming{color:#861f24;border-color:#a9292d}.companion-bubble{max-width:320px;box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffd1;border:1px solid #ffffffbd;border-radius:18px;align-items:center;gap:11px;padding:12px 15px;display:flex;position:absolute;bottom:26px;left:26px}.large-avatar{background:#eef6ed;border-radius:50%;flex:none;place-items:center;width:43px;height:43px;font-size:25px;display:grid}.companion-bubble>div:last-child{flex-direction:column;gap:3px;min-width:0;display:flex}.companion-bubble strong{font-size:12px}.companion-bubble span{color:#71817c;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.study-companions{box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffd6;border:1px solid #ffffffb3;border-radius:19px;align-items:center;gap:8px;padding:12px 14px;display:flex;position:absolute;top:28px;right:28px}.study-companions>span{color:#39584f;margin-right:4px;font-size:12px;font-weight:750}.study-companions button{width:44px;height:44px;font-size:22px}.study-panel{scrollbar-width:thin;background:#f7f3e9;flex-direction:column;gap:14px;height:calc(100dvh - 78px);padding:15px;display:flex;overflow-y:auto}.panel-card{background:#fffffced;border:1px solid #1f523e17;border-radius:20px;flex-direction:column;min-height:0;padding:18px;display:flex;box-shadow:0 12px 34px #2a403412}.note-card{flex:53%;min-height:370px}.resource-card{flex:47%}.panel-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px;display:flex}.panel-heading>div:first-child{color:#153f33;align-items:center;gap:8px;display:flex}.panel-heading strong{font-size:15px}.save-status{color:#31966b;align-items:center;gap:6px;font-size:10px;display:inline-flex}.save-status i{background:#38a876;border-radius:50%;width:7px;height:7px}.save-status.is-error{color:#c54949}.save-status.is-error i{background:#df5b5b}.note-title{color:#18392f;background:#fff;border:1px solid #1d533e1f;border-radius:11px;width:100%;height:42px;padding:0 13px;font-size:13px;font-weight:700}.editor-toolbar{background:#f9faf7;border:1px solid #1d533e1a;border-bottom:0;border-radius:11px 11px 0 0;align-items:center;min-height:40px;margin-top:10px;padding:0 5px;display:flex}.editor-toolbar button{color:#24483e;background:0 0;border-radius:8px;place-items:center;width:36px;height:34px;display:grid}.editor-toolbar button:hover{background:#e9f2ec}.editor-toolbar .preview-toggle{width:auto;margin-left:auto;padding:0 10px;font-size:11px;font-weight:700}.note-card textarea{resize:none;color:#233f37;background:#fff;border:1px solid #1d533e1a;border-radius:0 0 11px 11px;flex:auto;width:100%;min-height:125px;padding:14px;font-size:12px;line-height:1.7}.note-preview{color:#233f37;background:#fff;border:1px solid #1d533e1a;border-radius:0 0 11px 11px;flex:auto;width:100%;min-height:125px;padding:14px;font-size:12px;line-height:1.7;overflow:auto}.note-preview p,.note-preview ul{margin:0 0 10px}.note-preview ul{padding-left:20px}.note-preview a{color:#1f7c5a;text-underline-offset:2px;text-decoration:underline}.note-preview-empty{color:#98a49f}.note-card textarea::placeholder,.note-title::placeholder{color:#a2ada9}.note-footer{color:#919c98;justify-content:space-between;margin-top:8px;font-size:9px;display:flex}.resource-actions{gap:6px;display:flex}.resource-actions button{color:#31584c;background:#fff;border:1px solid #1d533e1f;border-radius:10px;align-items:center;gap:4px;min-height:32px;padding:0 9px;font-size:10px;display:inline-flex}.resource-list{flex-direction:column;flex:auto;gap:8px;min-height:0;display:flex;overflow-y:auto}.resource-list article{background:#fff;border:1px solid #1d533e17;border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:9px;padding:10px;display:grid}.resource-kind{color:#2d8c65;background:#eaf4ee;border-radius:10px;place-items:center;width:35px;height:35px;display:grid}.resource-list article>div:nth-child(2){flex-direction:column;gap:3px;min-width:0;display:flex}.resource-list strong,.resource-list span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.resource-list strong{color:#17372f;font-size:11px}.resource-list span{color:#8a9893;font-size:9px}.resource-list a,.resource-list article>button{color:#72827d;background:0 0;border-radius:8px;place-items:center;width:28px;height:28px;display:grid}.resource-list a:hover,.resource-list article>button:hover{color:#286c51;background:#eff4f0}.empty-state{color:#8b9994;text-align:center;place-items:center;min-height:90px;font-size:11px;display:grid}.redeem-card{background:#eef7f0;border:1px solid #2c77581a;border-radius:12px;justify-content:space-between;align-items:center;margin-top:10px;padding:10px 12px;display:flex;box-shadow:0 8px 22px #2a533d0f}.redeem-card>div{color:#2c7758;align-items:center;gap:8px;display:flex}.redeem-card span{flex-direction:column;display:flex}.redeem-card strong{font-size:12px}.redeem-card small{color:#71867c;font-size:10px;line-height:1.35}.redeem-card button{color:#21684c;background:#dcefe3;border-radius:9px;height:36px;padding:0 13px;font-size:11px;font-weight:750}.toast{z-index:100;color:#fff;background:#153c32;border:1px solid #ffffff26;border-radius:13px;max-width:min(380px,100vw - 32px);padding:13px 17px;font-size:12px;animation:.18s ease-out toast-in;position:fixed;bottom:24px;right:24px;box-shadow:0 16px 42px #0003}.modal-backdrop{z-index:90;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#06161173;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal-card{color:#15362d;text-align:center;background:#fffef9;border:1px solid #ffffffa6;border-radius:24px;width:min(420px,100%);padding:30px;position:relative;box-shadow:0 30px 90px #0000003d}.modal-close{background:#eff3ee;border-radius:50%;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:14px;right:14px}.modal-emoji{font-size:42px}.modal-card h2{margin:10px 0 8px}.modal-card p{color:#74817c;margin:0 0 22px;font-size:13px;line-height:1.6}.modal-card .primary-action{width:100%}.text-button{color:#70807a;background:0 0;margin-top:12px;font-size:11px}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0;display:grid}.summary-grid div{background:#eff6f0;border-radius:15px;flex-direction:column;align-items:center;gap:5px;padding:17px;display:flex}.summary-grid strong{font-size:18px}.summary-grid span{color:#778680;font-size:9px}.nav-backdrop{display:none}@keyframes pulse{50%{box-shadow:0 0 0 3px #2da66d1a}}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}}@media (max-width:1250px){.home-inner{padding-left:26px;padding-right:26px}.hero-section{margin-left:-26px;margin-right:-26px}.hero-copy{width:min(64%,660px)}.study-background,.study-shade{right:370px}.study-layout{grid-template-columns:minmax(0,1fr) 370px}.study-panel{padding:12px}.panel-card{padding:14px}.resource-actions button{padding-inline:7px}.resource-actions button:last-of-type{font-size:0}.resource-actions button:last-of-type svg{margin:0}}@media (max-width:980px){.app-shell{display:block;overflow:visible}.side-nav{width:240px;transition:transform .18s;position:fixed;left:0;transform:translate(-105%);box-shadow:20px 0 50px #0000002e}.side-nav.is-open{transform:translate(0)}.nav-backdrop{z-index:25;background:#04140f59;display:block;position:fixed;inset:0}.mobile-menu{display:grid}.home-inner{min-height:auto}.hero-section{min-height:580px}.hero-copy{width:min(68%,660px);padding:42px 32px}.room-photo{background-position:72%;background-size:cover;transform:none}.home-picker{flex-direction:row;align-items:center;gap:10px;width:auto;top:22px;right:22px}.home-picker>div:first-child{display:none}.feature-card{padding:18px}.study-shell{overflow:auto}.study-toolbar{position:fixed}.study-background,.study-shade{height:650px;inset:78px 0 auto}.study-layout{grid-template-columns:minmax(0,1fr);min-height:0}.focus-stage{min-height:650px}.focus-target{width:min(430px,48%);top:112px;left:8%}.projected-timer{width:min(430px,48%);top:150px;left:8%}.study-panel{grid-template-columns:repeat(2,minmax(0,1fr));height:auto;padding:18px;display:grid;overflow:visible}.note-card,.resource-card{min-height:430px}}@media (max-width:720px){.topbar{min-height:66px;padding:0 15px}.topbar-copy strong{font-size:12px}.login-button{min-height:38px;padding-inline:18px}.home-inner{padding:12px;display:block}.hero-section{border-radius:20px;min-height:690px;margin:0;display:block}.room-preview{position:absolute;inset:0}.room-photo{background-position:67%}.room-preview:before{background:linear-gradient(#fffefafa 0%,#fffefae6 46%,#fffefa14 78%)}:root[data-theme=dark] .room-preview:before{background:linear-gradient(#182320fa 0%,#182320e8 46%,#1823201f 78%)}.hero-copy{z-index:3;pointer-events:none;background:0 0;width:100%;min-height:690px;padding:38px 25px;display:block;position:relative}.hero-actions{pointer-events:auto}.hero-copy h1{white-space:normal;font-size:45px}.hero-copy>p{font-size:15px}.home-picker{justify-content:center;width:auto;inset:auto 18px 78px}.room-caption{max-width:none;bottom:18px;left:18px;right:18px}.home-cards{grid-template-columns:minmax(0,1fr);margin-top:12px}.feature-card{min-height:105px}.plan-backdrop{align-items:end;padding:0}.today-plan-dialog{width:100%;max-height:92dvh;padding:22px 18px calc(18px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0}.today-plan-header h2{font-size:22px}.plan-task-list{max-height:42dvh}.study-toolbar{grid-template-columns:1fr auto;min-height:70px;padding:0 14px}.study-brand,.study-stats span{display:none}.study-background,.study-shade{height:610px;top:70px}.study-layout{padding-top:70px}.focus-stage{min-height:610px;padding:20px 14px}.focus-target{width:min(430px,100% - 48px);max-width:none;top:94px;left:24px}.projected-timer{width:min(430px,100% - 48px);min-height:225px;top:128px;left:24px}.projected-time{font-size:clamp(50px,13vw,68px)}.projected-actions{opacity:1;pointer-events:auto;transform:translateY(0)}.study-companions{padding:9px;top:15px;right:14px}.study-companions>span{display:none}.study-companions button{width:44px;height:44px;font-size:21px}.companion-bubble{max-width:none;bottom:14px;left:14px;right:14px}.study-panel{grid-template-columns:minmax(0,1fr);padding:12px}.note-card,.resource-card{min-height:410px}.resource-card{min-height:360px}.toast{bottom:16px;left:16px;right:16px}}@media (max-width:430px){.topbar-copy svg{display:none}.topbar-copy strong{text-overflow:ellipsis;white-space:nowrap;max-width:138px;overflow:hidden}.theme-toggle{width:65px;height:36px}.login-button{min-height:38px;padding-inline:14px}.hero-copy h1{font-size:40px}.room-photo{background-position:65%}.hero-actions{flex-direction:column;align-items:stretch}.primary-action,.secondary-action{width:100%}.home-picker{justify-content:center;left:18px}.plan-add-form{grid-template-columns:minmax(0,1fr)}.plan-add-form button{min-height:44px}.plan-limit-row small{display:none}.plan-task-list article{grid-template-columns:auto minmax(0,1fr) auto}.plan-delete-button{display:none}.today-plan-footer{flex-direction:column;align-items:stretch}.plan-start-button{width:100%}.focus-target{width:calc(100% - 40px);top:80px;left:20px}.projected-timer{width:calc(100% - 40px);top:112px;left:20px}.projected-time{font-size:54px}.projected-actions{gap:18px}.panel-heading{align-items:flex-start}.resource-actions{flex-direction:column}}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}@media (prefers-reduced-motion:reduce){.study-background{background-image:url(/study-room-clean.webp)}*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.projected-time,.projected-actions{transform:none!important}.projected-start,.projected-timer:not(.projected-timer-idle){animation:none!important}}
