:root{font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;color-scheme:dark;--ink:#ecf9fa;--muted:#a3bec7;--mint:#8af3da;--line:rgba(157,213,223,.20);--glass:rgba(10,39,53,.72);--panel:rgba(11,38,50,.68)}
*{box-sizing:border-box}html{min-height:100%;background:#051821;scroll-behavior:smooth}body{margin:0;min-height:100dvh;color:var(--ink);background:linear-gradient(135deg,#081f2d 5%,#061520 52%,#102b39);-webkit-tap-highlight-color:transparent}
button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--mint);outline-offset:2px}
.ambient{pointer-events:none;position:fixed;inset:0;opacity:.8;background:radial-gradient(ellipse at 9% 17%,rgba(49,137,145,.19),transparent 38%),radial-gradient(ellipse at 98% 83%,rgba(45,100,146,.18),transparent 43%),linear-gradient(to bottom,transparent 62%,rgba(14,64,78,.15));z-index:0}
.ambient:before{content:"";position:absolute;inset:0;opacity:.32;background-image:radial-gradient(#aadfeb 1px,transparent 1.5px);background-size:67px 61px;mask-image:linear-gradient(to bottom,#000,transparent 60%)}
.app-shell{position:relative;max-width:510px;margin:0 auto;min-height:100dvh;padding:0 18px calc(105px + env(safe-area-inset-bottom));z-index:1}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:calc(20px + env(safe-area-inset-top)) 2px 17px;border-bottom:1px solid rgba(166,211,224,.12)}
.brand{display:flex;align-items:center;gap:10px;min-width:0}
.brand-icon{width:39px;height:39px;border:1px solid #8deedc;border-radius:13px;display:grid;place-items:center;background:linear-gradient(150deg,#83e6ca,#2b8591);color:#08313b;font-weight:900;font-size:23px;box-shadow:0 0 22px rgba(93,236,210,.2)}
.brand-name{display:block;font-size:15px;letter-spacing:.1px;font-weight:760}
.brand-sub{display:block;font-size:9px;letter-spacing:1.5px;color:#97c9c8;margin-top:2px}
.privacy-pill{white-space:nowrap;font-size:9px;font-weight:750;letter-spacing:1px;color:#b8e4d9;border:1px solid rgba(127,227,203,.28);background:rgba(33,90,89,.27);border-radius:20px;padding:8px 9px}
.online-dot{display:inline-block;width:7px;height:7px;margin-right:5px;background:#80efd2;border-radius:50%;box-shadow:0 0 9px rgba(128,239,210,.55)}
.page-intro{padding:25px 3px 20px}.page-intro h1{margin:4px 0 7px;font-size:clamp(25px,7vw,33px);letter-spacing:-1.1px;line-height:1.15;font-weight:760}
.eyebrow{font-size:10px;letter-spacing:1.55px;color:#92ceca;font-weight:770;margin:0 0 6px}.period{color:var(--mint)}
.page-sub,.muted-small{color:var(--muted);line-height:1.55;font-size:12px;margin:0}.muted-small{font-size:12px;margin:8px 0 0}
.glass{background:linear-gradient(148deg,rgba(24,64,80,.67),rgba(7,27,42,.78) 65%,rgba(13,42,52,.81));border:1px solid rgba(149,209,222,.29);box-shadow:inset 0 1px 0 rgba(218,255,254,.08),0 14px 36px rgba(0,6,16,.23);border-radius:23px}
.hero{padding:17px 17px 15px;position:relative;overflow:hidden}
.hero:after{content:"";position:absolute;right:-75px;top:-82px;width:220px;height:220px;border-radius:50%;background:radial-gradient(rgba(106,248,206,.1),transparent 73%);pointer-events:none}
.hero-header{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#c2e9e5;font-size:10px;letter-spacing:1.25px;font-weight:760}
.target,.soft-chip{font-size:10px;letter-spacing:.1px;background:rgba(105,210,190,.11);padding:6px 9px;border:1px solid rgba(124,235,211,.21);border-radius:25px;color:#b1e9d9}
.hero-content{display:flex;gap:15px;align-items:center;justify-content:space-around;margin:15px 0 14px}
.progress-halo{--progress:0%;flex:0 0 auto;width:148px;height:148px;border-radius:50%;background:conic-gradient(var(--mint) var(--progress),rgba(132,179,192,.25) 0);display:grid;place-items:center;box-shadow:0 0 29px rgba(100,246,206,.09)}
.progress-inner{width:130px;height:130px;background:linear-gradient(140deg,#092431,#0a1828);border:1px solid rgba(148,207,218,.19);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.progress-inner strong{font-size:30px;font-weight:760;letter-spacing:-1.2px}.progress-inner span{font-size:10px;color:var(--muted)}
.hero-stats{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.hero-stats strong{font-size:18px;color:#eefdf9;line-height:1.25}.stat-title{font-size:9px;color:#98cfc9;letter-spacing:.9px;font-weight:780}
.stat-description{font-size:11px;color:var(--muted);line-height:1.4}.mini-divider{height:1px;background:rgba(173,213,216,.18);margin:8px 0}
.week-dots{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.week-day{display:flex;flex-direction:column;gap:6px;align-items:center;font-size:9px;color:#91aeb7}.week-bar{height:22px;width:100%;background:rgba(65,113,127,.26);border-radius:6px;overflow:hidden;display:flex;align-items:flex-end}
.week-bar b{display:block;width:100%;min-height:2px;background:linear-gradient(180deg,#a0ffdb,#4a9eac);border-radius:5px}
.section-card{padding:19px;margin-top:17px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:17px}.section-card h2{margin:0;font-size:19px;letter-spacing:-.45px}
.field{display:flex;flex-direction:column;gap:8px;margin:0 0 15px}.field>span{font-size:12px;color:#c4dde1;font-weight:610}.field small{color:#879fae;font-weight:400}
.field input,.field select,.field textarea,.inline-form input{display:block;width:100%;border:1px solid rgba(138,196,210,.26);border-radius:12px;background:rgba(2,23,36,.66);color:#f0fbff;min-height:45px;padding:11px 13px;outline:none;font-size:14px}
.field textarea{min-height:71px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus,.inline-form input:focus{border-color:var(--mint)}
.field input[type=date]{color-scheme:dark}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.presets{display:flex;gap:8px;margin:-6px 0 17px}.presets button{flex:1;border:1px solid rgba(131,201,210,.25);color:#c9e3e6;background:rgba(38,77,91,.38);border-radius:10px;padding:8px 0;font-size:12px;font-weight:700}.presets button.selected{background:rgba(93,216,192,.23);border-color:#85e4d0;color:#d6fff4}
.primary-btn,.outline-btn,.file-label{display:flex;align-items:center;justify-content:center;text-align:center;gap:7px;min-height:46px;border-radius:14px;padding:10px 15px;font-size:13px;font-weight:760;border:1px solid rgba(177,255,231,.5);background:linear-gradient(100deg,#7edec9,#b4f3dd);color:#0b3036;box-shadow:0 2px 15px rgba(80,216,194,.11)}
.primary-btn:active,.outline-btn:active{transform:scale(.985)}
.outline-btn,.file-label{background:rgba(23,51,68,.67);border-color:rgba(137,201,213,.34);color:#e6fbfa;box-shadow:none}
.save-btn,.wide-btn{width:100%;margin-top:5px}.save-btn span:first-child{font-size:20px;line-height:.6}.text-btn,.link-btn{border:0;background:transparent;color:#92e1d1;font-weight:700;font-size:12px;padding:11px}
.text-btn{display:block;margin:7px auto 0}.link-btn{white-space:nowrap}
.session-list{display:flex;flex-direction:column;gap:8px}.session-item{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:12px 10px;border:1px solid rgba(117,175,187,.18);border-radius:13px;background:rgba(2,20,33,.39)}
.session-symbol{display:grid;place-items:center;width:34px;height:34px;background:rgba(119,229,205,.1);color:#8decd7;border-radius:11px;font-size:17px;flex:0 0 auto}
.session-copy{min-width:0;flex:1}.session-name{font-size:13px;font-weight:730;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.session-meta{font-size:11px;color:#a1b8c3;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.session-minutes{color:#9af2db;font-size:13px;font-weight:760;white-space:nowrap}.session-buttons{display:flex;gap:3px}.tiny-action{border:1px solid rgba(134,191,208,.25);border-radius:9px;background:rgba(40,80,93,.4);color:#cce6e8;font-size:11px;padding:8px}
.empty{font-size:12px;color:#a3c5c9;line-height:1.55;padding:18px 8px;text-align:center}
.history-summary{padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.history-summary>div{display:flex;flex-direction:column;gap:6px}.history-summary>div:first-child{border-right:1px solid var(--line)}.history-summary span{font-size:9px;color:#a2cfcf;letter-spacing:1px}.history-summary strong{font-size:23px}
.timer-panel{padding:18px}.timer-top{display:flex;justify-content:space-between;align-items:center;color:#daf5ef;font-weight:760;letter-spacing:1px;font-size:11px}.status-chip{padding:7px 12px;border:1px solid rgba(168,234,228,.37);border-radius:30px;font-size:10px;color:#d1edea;background:rgba(97,158,163,.15)}
.timer-halo{--progress:0%;width:min(72vw,290px);height:min(72vw,290px);margin:28px auto 24px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#8bf3d8 var(--progress),rgba(79,156,174,.65) 0);box-shadow:0 0 27px rgba(111,244,213,.24),0 0 63px rgba(79,204,201,.1)}
.timer-center{width:calc(100% - 21px);height:calc(100% - 21px);border-radius:50%;background:radial-gradient(circle at center,#0b2c3c,#071b2a 70%);border:1px solid rgba(156,214,215,.26);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px}
.timer-center strong{font-size:clamp(43px,12vw,62px);letter-spacing:-2px;font-variant-numeric:tabular-nums}
.timer-accent{width:38px;height:3px;border-radius:2px;background:#8cf2d9;box-shadow:0 0 10px rgba(134,250,219,.6)}.timer-center span:not(.timer-accent){font-weight:740;letter-spacing:1px;font-size:12px}.timer-center small{color:#aacbd3;font-size:11px}
.timer-course-field{margin-bottom:16px}.timer-actions{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:8px}.timer-actions button{padding:8px 4px;min-height:44px;font-size:12px}.mode-switch{color:#9adccc;margin-top:14px}.timer-notice{margin:12px 7px 0;color:#91b2bc;font-size:11px;line-height:1.6;text-align:center}
.inline-form{display:flex;gap:8px;margin-top:14px}.inline-form input{min-width:0;flex:1}.inline-form button{min-width:76px;min-height:44px;padding:8px}
.course-list{margin-top:13px;display:flex;flex-direction:column;gap:7px}.course-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}.course-item>span{overflow:hidden;text-overflow:ellipsis}
.file-label{position:relative;cursor:pointer}.file-label input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.button-spacer{height:9px}
.privacy-note{background:rgba(32,73,85,.28);border:1px dashed rgba(146,220,204,.32);border-radius:16px;margin:18px 0;padding:14px 16px;color:#b9d9db;font-size:12px}.privacy-note strong{color:#dffbef}.privacy-note p{margin:7px 0 0;line-height:1.55}
.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,510px);display:flex;gap:2px;padding:9px 17px calc(9px + env(safe-area-inset-bottom));background:rgba(5,24,34,.95);border-top:1px solid rgba(142,213,216,.25);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);z-index:20}
.nav-button{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;background:none;border:0;border-radius:11px;color:#8aadb9;padding:7px 2px;font-size:10px;font-weight:690}.nav-button svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.nav-button.active{color:#a5f9df;background:rgba(93,209,190,.1)}.nav-button.active svg{stroke-width:2}
.sync-info{margin:13px 3px -3px;padding:11px 13px;background:rgba(96,209,185,.09);border:1px solid rgba(133,221,204,.22);border-radius:12px;font-size:11px;color:#bee9df;line-height:1.5}
.course-stats-section{margin:0 0 17px}.course-stats-list{display:flex;flex-direction:column;gap:11px}
.course-stats-row{display:flex;flex-direction:column;gap:7px}.course-stats-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#dff4f1}
.course-stats-label strong{color:#9be7d6;white-space:nowrap;font-size:12px}
.course-stats-track{height:6px;overflow:hidden;border-radius:12px;background:rgba(83,131,148,.25)}
.course-stats-fill{height:100%;border-radius:12px;background:linear-gradient(90deg,#3d9dad,#99f9d9)}
.history-heading{margin:26px 3px 13px}
.file-label.primary-btn{position:relative;cursor:pointer}
.toast{position:fixed;left:50%;bottom:calc(87px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(89vw,430px);background:#c3f6e8;color:#082a32;border-radius:14px;padding:13px 17px;font-size:13px;font-weight:700;box-shadow:0 10px 35px rgba(0,0,0,.35);text-align:center;z-index:30}
[hidden]{display:none!important}
@media(max-width:370px){.app-shell{padding-left:12px;padding-right:12px}.brand-name{font-size:13px}.privacy-pill{font-size:8px;padding:7px}.hero-content{gap:9px}.progress-halo{width:126px;height:126px}.progress-inner{width:110px;height:110px}.progress-inner strong{font-size:26px}.hero-stats strong{font-size:16px}.section-card{padding:15px}.field-grid{grid-template-columns:1fr}.timer-actions{gap:5px}}
@media(min-width:600px){.app-shell{padding-left:24px;padding-right:24px}.bottom-nav{border-left:1px solid rgba(142,213,216,.17);border-right:1px solid rgba(142,213,216,.17);border-radius:18px 18px 0 0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
