:root{color-scheme:dark;--bg:#080b09;--panel:#111713;--panel2:#17221b;--line:#26332a;--text:#f3f7f3;--muted:#9aa79e;--green:#4cdb83;--green2:#20b968;--orange:#ff9b45}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}.app-shell{max-width:760px;margin:auto;min-height:100dvh;padding-bottom:92px}.topbar{height:64px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #18211b;position:sticky;top:0;background:#080b09ed;backdrop-filter:blur(12px);z-index:3}.brand{font-weight:900;letter-spacing:2.5px;font-size:14px;display:flex;align-items:center;gap:9px}.brand-mark{color:var(--green);font-size:23px}.icon-btn{border:1px solid var(--line);background:#121914;color:var(--text);width:40px;height:40px;border-radius:13px;font-size:18px;cursor:pointer}main{padding:24px 20px}.view{display:none}.view.active{display:block}.hero{padding:22px 2px 25px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:800;color:var(--orange);margin:0 0 9px}.hero h1{font-size:clamp(30px,7vw,46px);line-height:1.08;letter-spacing:-1.8px;margin:0 0 12px}.hero h1 span{color:var(--green)}h1{font-size:30px;letter-spacing:-.8px;margin:0 0 8px}h2{font-size:21px;margin:0}.muted{color:var(--muted);line-height:1.55}.small{font-size:12px}.panel{background:linear-gradient(145deg,#141d17,#0f1511);border:1px solid var(--line);border-radius:21px;padding:19px;margin-bottom:27px}.section-line{display:flex;align-items:center;justify-content:space-between;gap:14px}.big-number{font-size:42px;font-weight:850;letter-spacing:-2px;color:var(--green);line-height:1.1}.thermo{height:76px;display:flex;align-items:center;gap:0;margin-right:9px}.thermo-track{height:65px;width:17px;border-radius:20px;border:2px solid #526158;background:#26342b;overflow:hidden;display:flex;align-items:end}.thermo-fill{height:2.1%;width:100%;background:var(--green);transition:height .5s}.thermo-bulb{height:30px;width:30px;border-radius:50%;background:var(--green);border:2px solid #526158;margin-left:-23px;margin-top:53px;box-shadow:0 0 18px #4cdb8350}.progress-track{height:9px;border-radius:20px;background:#29352d;overflow:hidden;margin:14px 0 9px}.progress-fill{height:100%;width:0;background:linear-gradient(90deg,var(--green2),#8cf0a9);border-radius:20px;transition:width .4s}.section-heading{margin:30px 0 15px}.primary-btn,.secondary-btn,.danger-btn{border:0;border-radius:13px;padding:13px 17px;font-weight:800;cursor:pointer}.primary-btn{background:var(--green);color:#07110a}.primary-btn.compact{padding:11px 14px}.primary-btn.full{width:100%;margin-top:12px}.secondary-btn{background:#253129;color:var(--text)}.danger-btn{background:#321c18;color:#ffb39d;margin:15px 0}.library-grid{display:grid;grid-template-columns:1fr;gap:12px}.library-card{border:1px solid var(--line);border-radius:18px;padding:17px;background:var(--panel);cursor:pointer;text-align:left;color:var(--text);width:100%}.library-card:active{transform:scale(.99)}.card-top{display:flex;align-items:center;justify-content:space-between}.card-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:#1c3023;color:var(--green);font-size:20px}.card-title{font-weight:800;font-size:17px;margin:13px 0 3px}.card-desc{font-size:12px;color:var(--muted);margin:0 0 13px}.card-foot{display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.green{color:var(--green)}.back-btn{background:none;border:0;color:var(--green);font-weight:750;padding:4px 0 20px;font-size:14px;cursor:pointer}.library-progress{margin-top:20px;margin-bottom:20px}.phase-list{display:grid;gap:11px}.phase{border:1px solid var(--line);background:var(--panel);border-radius:17px;overflow:hidden}.phase-head{padding:15px;display:flex;align-items:center;gap:12px;cursor:pointer}.phase-num{width:34px;height:34px;border-radius:11px;background:#26362b;color:var(--green);display:grid;place-items:center;font-weight:900;font-size:13px;flex-shrink:0}.phase-meta{flex:1;min-width:0}.phase-title{font-weight:800;font-size:14px}.phase-sub{font-size:11px;color:var(--muted);margin-top:4px}.phase-pct{font-size:12px;color:var(--green);font-weight:800}.items{padding:0 13px 12px;display:none}.phase.open .items{display:block}.item{display:flex;align-items:center;gap:11px;padding:12px 2px;border-top:1px solid #202a23}.item input{appearance:none;width:20px;height:20px;border:1.5px solid #627167;border-radius:7px;flex-shrink:0;cursor:pointer}.item input:checked{background:var(--green);border-color:var(--green)}.item input:checked:after{content:'✓';display:block;color:#07110a;font-weight:900;text-align:center;line-height:18px}.item span{font-size:13px;line-height:1.4}.item.done span{text-decoration:line-through;color:#829087}.setting-row{display:flex;align-items:center;justify-content:space-between;margin-top:20px}.status{color:var(--green);font-size:10px;font-weight:900;letter-spacing:1px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(760px,100%);height:76px;padding:8px 18px max(8px,env(safe-area-inset-bottom));background:#0d130fee;border-top:1px solid var(--line);display:flex;justify-content:space-around;z-index:4;backdrop-filter:blur(14px)}.nav-item{background:none;border:0;color:#829087;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10px;min-width:70px;cursor:pointer}.nav-item span{font-size:23px}.nav-item.selected{color:var(--green)}dialog{background:#111914;color:var(--text);border:1px solid var(--line);border-radius:20px;width:min(440px,calc(100% - 30px));padding:21px;box-shadow:0 20px 80px #000b}dialog::backdrop{background:#000a;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dialog-head h2{font-size:20px}label{display:block;font-size:12px;color:var(--muted);font-weight:700;margin:15px 0}input:not([type=checkbox]),textarea{display:block;width:100%;margin-top:7px;padding:13px;border-radius:11px;border:1px solid var(--line);background:#080d09;color:var(--text);font:inherit;resize:vertical}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.toast{position:fixed;bottom:90px;left:50%;transform:translate(-50%,15px);background:#d8ffe4;color:#092012;padding:11px 16px;border-radius:12px;font-size:12px;font-weight:800;opacity:0;pointer-events:none;transition:.25s;z-index:8;white-space:nowrap}.toast.show{opacity:1;transform:translate(-50%,0)}@media(min-width:600px){main{padding:32px}.library-grid{grid-template-columns:1fr 1fr}.hero{padding-top:34px}.library-card{min-height:170px}}
