
:root{--bg:#f4f4ef;--surface:#fff;--surface-2:#f8f8f4;--ink:#172019;--muted:#707970;--line:#e2e5de;--green:#244f3a;--green-2:#356a4e;--sage:#dce7dd;--lime:#d9edb7;--warm:#f3ead8;--yellow:#fff1b8;--shadow:0 18px 50px rgba(25,42,31,.08);--radius:22px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}a{text-decoration:none;color:inherit}button,input,textarea{font:inherit}.shell{min-height:100vh;display:grid;grid-template-columns:228px minmax(0,1fr)}.sidebar{height:100vh;position:sticky;top:0;background:#183a2b;color:#e9f0eb;padding:24px 16px;display:flex;flex-direction:column}.logo{display:flex;align-items:center;gap:11px;padding:2px 9px 30px;font-weight:800;letter-spacing:-.03em;font-size:18px}.logo-mark{width:36px;height:36px;border-radius:12px;background:#e8f0df;color:#214633;display:grid;place-items:center;font-family:Georgia,serif;font-size:20px}.nav-label{padding:15px 11px 8px;color:#8fa99a;font-size:10px;font-weight:800;letter-spacing:.14em}.nav{display:grid;gap:4px}.nav a{padding:11px 12px;border-radius:12px;display:flex;align-items:center;gap:11px;color:#c4d2c9;font-size:13px;font-weight:650}.nav a:hover,.nav a.active{background:rgba(255,255,255,.10);color:#fff}.ico{width:18px;text-align:center;font-size:15px}.side-profile{margin-top:auto;border-top:1px solid rgba(255,255,255,.12);padding:18px 8px 0;display:flex;align-items:center;gap:10px}.avatar{width:36px;height:36px;border-radius:50%;background:#dce7dd;color:#214633;display:grid;place-items:center;font-weight:800;font-size:12px}.side-profile small{display:block;color:#93aa9d;margin-top:2px}.main{padding:32px 42px 70px;max-width:1460px;width:100%;margin:0 auto}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:42px}.crumb{font-size:12px;color:var(--muted);font-weight:700}.top-actions{display:flex;gap:9px}.icon-btn,.btn{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:12px;padding:10px 14px;font-weight:750;cursor:pointer}.icon-btn{width:40px;height:40px;padding:0}.btn.primary{background:var(--green);color:white;border-color:var(--green)}.hero-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px}.eyebrow{font-size:11px;font-weight:850;letter-spacing:.13em;text-transform:uppercase;color:var(--green-2)}h1,h2,h3,p{margin-top:0}.hero-head h1{font-size:42px;line-height:1.05;letter-spacing:-.05em;margin:7px 0 8px;font-weight:780}.muted{color:var(--muted)}.dashboard{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(290px,.55fr);gap:20px}.stack{display:grid;gap:18px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px}.continue{min-height:310px;padding:30px;background:linear-gradient(135deg,#214a35 0%,#2f6548 68%,#52785f 100%);color:white;position:relative;overflow:hidden;display:flex;flex-direction:column}.continue:after{content:"";position:absolute;width:290px;height:290px;border:1px solid rgba(255,255,255,.11);border-radius:50%;right:-70px;top:-70px;box-shadow:0 0 0 55px rgba(255,255,255,.035),0 0 0 110px rgba(255,255,255,.025)}.continue .tag{align-self:flex-start;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);padding:7px 10px;border-radius:999px;font-size:10px;font-weight:850;letter-spacing:.08em}.continue-content{margin-top:auto;position:relative;z-index:1;max-width:650px}.continue h2{font-family:Georgia,serif;font-size:34px;line-height:1.08;margin:10px 0 8px;font-weight:600}.continue .sub{color:#cfe0d4;font-size:13px}.progress-row{display:flex;align-items:center;gap:12px;margin:22px 0 17px}.progress{height:7px;background:rgba(255,255,255,.17);border-radius:99px;overflow:hidden;flex:1}.progress span{display:block;height:100%;background:#e9f3e7;border-radius:99px}.continue .btn{background:white;border:0;color:#214a35;display:inline-block;width:max-content}.section-head{display:flex;align-items:center;justify-content:space-between;margin:28px 0 13px}.section-head h2{font-size:18px;letter-spacing:-.025em;margin:0}.section-head a{font-size:12px;color:var(--muted);font-weight:700}.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.course-card{padding:0;overflow:hidden;transition:.18s}.course-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.course-cover{height:138px;padding:18px;display:flex;align-items:flex-end;justify-content:space-between;background:linear-gradient(135deg,#e7ecdf,#cddfce);position:relative}.course-cover.warm{background:linear-gradient(135deg,#f4e9d9,#e8d3b7)}.course-cover.blue{background:linear-gradient(135deg,#e4ebea,#c7d8d7)}.course-cover.music{background:linear-gradient(135deg,#e7e2ef,#d5cbe5)}.course-symbol{width:48px;height:48px;border-radius:15px;background:rgba(255,255,255,.72);display:grid;place-items:center;font-size:23px}.course-state{font-size:10px;font-weight:850;background:rgba(255,255,255,.72);padding:6px 8px;border-radius:999px}.course-body{padding:17px}.course-body h3{font-size:15px;margin-bottom:6px}.meta{font-size:12px;color:var(--muted)}.mini-progress{height:5px;background:#edf0ea;border-radius:9px;overflow:hidden;margin-top:13px}.mini-progress span{display:block;height:100%;background:var(--green-2)}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.panel-title h3{font-size:16px;margin:0}.count{font-size:11px;color:var(--muted)}.task{display:grid;grid-template-columns:44px 1fr;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.task:last-child{border:0}.date{width:44px;height:44px;border-radius:12px;background:var(--surface-2);display:grid;place-items:center;text-align:center;font-size:9px;font-weight:850;line-height:1.1}.task strong{font-size:13px}.note-snippet{background:#fff8d8;border:1px solid #f3e7ac;border-radius:14px;padding:14px;font-family:Georgia,serif;font-size:13px;line-height:1.55}.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.soft-stat{background:var(--surface-2);border-radius:15px;padding:14px}.soft-stat b{font-size:19px;display:block}.page-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);gap:18px}.filters{display:flex;gap:8px;margin-bottom:18px;flex-wrap:wrap}.chip{border:1px solid var(--line);background:var(--surface);padding:8px 12px;border-radius:999px;font-size:12px;font-weight:700}.chip.active{background:var(--green);border-color:var(--green);color:#fff}.list-card{padding:0;overflow:hidden}.lesson-row{display:grid;grid-template-columns:42px 1fr auto;gap:13px;align-items:center;padding:16px 20px;border-bottom:1px solid var(--line)}.lesson-row:last-child{border:0}.lesson-row.current{background:#f2f6f0}.lesson-num{width:38px;height:38px;border-radius:11px;background:var(--surface-2);display:grid;place-items:center;font-size:11px;font-weight:850}.lesson-row.current .lesson-num{background:var(--green);color:white}.lesson-row strong{font-size:14px}.status{font-size:11px;color:var(--muted)}.reader-wrap{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,760px) 270px;gap:24px}.reader{background:var(--surface);border:1px solid var(--line);border-radius:26px;padding:58px 64px;line-height:1.85}.reader h1{font-family:Georgia,serif;font-size:46px;line-height:1.04;letter-spacing:-.035em;font-weight:500;margin:12px 0 15px}.reader .lede{font-size:17px;line-height:1.65;color:#59645c;margin-bottom:40px}.reader h2{font-size:20px;margin-top:42px;letter-spacing:-.02em}.reader p{font-family:Georgia,serif;font-size:17px;color:#303a32}.verse{margin:28px 0;border-left:3px solid var(--green);background:#f2f6ef;border-radius:0 15px 15px 0;padding:18px 20px;font-family:Georgia,serif}.highlight{background:linear-gradient(transparent 56%,#ffe99a 56%)}.selection-tools{display:flex;gap:4px;background:#172019;color:white;padding:5px;border-radius:11px;width:max-content;margin:12px 0}.selection-tools button{border:0;background:transparent;color:white;padding:7px 9px;font-size:11px}.reflection{margin-top:40px;background:#f7f4eb;border:1px solid #ece4d3;border-radius:18px;padding:20px}.reflection textarea{width:100%;min-height:110px;resize:vertical;border:1px solid #dddccd;background:white;border-radius:12px;padding:13px;margin-top:10px}.reader-side{position:sticky;top:28px;height:max-content}.side-tabs{display:flex;gap:5px;margin-bottom:14px}.side-tabs span{font-size:10px;font-weight:800;padding:7px 8px;border-radius:8px;background:var(--surface-2)}.note{background:#fff8d8;border:1px solid #f1e5aa;border-radius:14px;padding:13px;margin-top:10px;font-size:12px;line-height:1.5}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.stat b{display:block;font-size:28px;letter-spacing:-.04em;margin-top:9px}.table{width:100%;border-collapse:collapse}.table th,.table td{text-align:left;padding:15px 12px;border-bottom:1px solid var(--line);font-size:13px}.table th{font-size:10px;letter-spacing:.08em;color:var(--muted)}.mobile-nav{display:none}.mobile-brand{display:none}
@media(max-width:980px){.shell{display:block}.sidebar{display:none}.main{padding:22px 18px 92px}.mobile-brand{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.mobile-brand .logo{padding:0;color:var(--ink)}.dashboard,.page-grid,.reader-wrap{grid-template-columns:1fr}.course-grid{grid-template-columns:repeat(2,1fr)}.reader{padding:38px 28px}.reader-side{position:static}.admin-stats{grid-template-columns:repeat(2,1fr)}.mobile-nav{position:fixed;z-index:50;bottom:12px;left:12px;right:12px;display:flex;justify-content:space-around;background:rgba(24,58,43,.96);border-radius:18px;padding:7px;box-shadow:var(--shadow)}.mobile-nav a{color:#d7e2db;padding:9px 12px;border-radius:11px;font-size:18px}.mobile-nav a.active{background:rgba(255,255,255,.12);color:white}.hero-head h1{font-size:35px}.topbar{display:none}}
@media(max-width:580px){.course-grid{grid-template-columns:1fr}.hero-head{align-items:flex-start;flex-direction:column}.continue{min-height:290px}.continue h2{font-size:29px}.reader h1{font-size:37px}.reader{padding:30px 20px}.admin-stats{grid-template-columns:1fr 1fr}.table{min-width:620px}.table-wrap{overflow:auto}.stat-row{grid-template-columns:1fr 1fr 1fr}}

/* V0.3.0 — Immersive Revival redesign */
:root{--bg:#f2efe7;--surface:#fffdf8;--surface-2:#f5f3ec;--ink:#172019;--muted:#6f776f;--line:#dedfd8;--green:#173a2d;--green-2:#315f49;--sage:#dce5dc;--warm:#efe2ce;--yellow:#fff1b8;--shadow:0 18px 55px rgba(26,42,32,.10);--radius:20px}
body{background:linear-gradient(180deg,#f0ede5,#f7f5ef 45%,#f0eee8);}
.sidebar{background:linear-gradient(180deg,#132d24 0%,#17372a 55%,#10271f 100%);padding:28px 18px}.logo{font-family:Georgia,serif;font-size:22px;line-height:1.05}.logo-mark{background:transparent;color:#f6f2e8;font-size:30px;width:34px}.logo-mark:before{content:'◒';}.logo-mark{font-size:0}.logo-mark:before{font-size:29px}.nav a{padding:12px 13px}.nav a.active{background:#315846}.main{max-width:none;padding:0 30px 70px}.topbar{height:72px;margin:0;position:relative;z-index:3}.crumb{display:none}.top-actions:before{content:'Search courses, lessons, or notes…';display:flex;align-items:center;width:360px;height:40px;border:1px solid rgba(23,32,25,.08);background:rgba(255,255,255,.72);backdrop-filter:blur(12px);border-radius:999px;padding:0 18px;color:#7a7f79;font-size:12px;margin-right:auto}.top-actions{width:100%;align-items:center}.top-actions .icon-btn:first-of-type{margin-left:auto}.hero-head{margin:0 -30px 24px;padding:55px 60px 150px;min-height:360px;align-items:flex-start;position:relative;overflow:hidden;background:linear-gradient(115deg,rgba(16,39,31,.90),rgba(35,62,47,.52) 48%,rgba(234,210,175,.28)),radial-gradient(circle at 76% 24%,#e8c99e 0 7%,transparent 23%),linear-gradient(160deg,#738271 0 22%,#435947 23% 43%,#263d31 44% 61%,#8a927d 62% 68%,#d9c7a7 69% 100%);color:white}.hero-head:after{content:'';position:absolute;inset:auto 0 0;height:125px;background:linear-gradient(170deg,transparent 0 48%,var(--bg) 49% 100%)}.hero-head .eyebrow{color:#e9dfcc;letter-spacing:.28em}.hero-head h1{font-family:Georgia,serif;font-size:58px;font-weight:500;letter-spacing:-.035em;margin-top:10px}.hero-head .muted{color:#f0ede5;font-size:17px}.hero-head .muted:after{content:'  ·  Keep learning. Keep seeking. Keep growing.'}.dashboard{position:relative;z-index:2;margin-top:-132px;grid-template-columns:minmax(0,1.55fr) minmax(310px,.55fr);align-items:start}.card{background:rgba(255,253,248,.96);box-shadow:0 10px 35px rgba(29,42,33,.06)}.continue{min-height:195px;background:rgba(255,253,248,.98);color:var(--ink);padding:26px 28px}.continue:after{display:none}.continue .tag{background:#eef2ec;border:0;color:var(--green);padding:6px 9px}.continue-content{margin-top:18px;max-width:none}.continue .sub{color:#7c827d;text-transform:uppercase;letter-spacing:.14em;font-size:10px;font-weight:800}.continue h2{font-size:27px;margin:7px 0 5px}.continue .btn{background:var(--green);color:white;margin-top:2px}.continue .progress{background:#e5e7e1}.continue .progress span{background:var(--green-2)}.continue .progress-row{max-width:620px;margin:15px 0 12px}.section-head{margin-top:24px}.section-head h2,.panel-title h3{font-family:Georgia,serif;font-weight:500}.course-cover{height:115px;background:linear-gradient(140deg,#6d7c67,#c6b897);overflow:hidden}.course-cover:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 70% 25%,rgba(255,231,184,.75),transparent 22%),linear-gradient(160deg,transparent 0 40%,rgba(23,58,45,.55) 41% 58%,rgba(18,40,31,.78) 59%)}.course-cover.warm{background:linear-gradient(135deg,#806b50,#d5c3a5)}.course-cover.music{background:linear-gradient(135deg,#3e342e,#a57c58)}.course-symbol,.course-state{position:relative;z-index:1}.course-symbol{background:rgba(255,255,255,.84)}.course-body h3{font-family:Georgia,serif;font-size:16px}.stack{gap:14px}.stack .card{border-radius:18px}.note-snippet{background:#f7f1df;border:0}.side-profile:after{content:'For His glory\A in this generation.';white-space:pre;position:absolute;bottom:92px;left:27px;color:#cdd8d0;font-family:Georgia,serif;font-style:italic;font-size:15px;line-height:1.5;opacity:.72}.sidebar{position:sticky}.reader{box-shadow:var(--shadow)}
@media(max-width:980px){.main{padding:0 18px 92px}.hero-head{margin:0 -18px 22px;padding:40px 25px 120px;min-height:315px}.hero-head h1{font-size:46px}.dashboard{margin-top:-102px}.topbar{height:58px}.top-actions:before{width:100%;margin-right:8px}.top-actions .icon-btn{display:none}.mobile-brand{display:none}}
@media(max-width:580px){.hero-head{padding-top:34px}.hero-head h1{font-size:40px}.dashboard{margin-top:-90px}.top-actions:before{font-size:11px}.continue{padding:22px}.continue h2{font-size:24px}}
/* V0.4 account foundation */
.side-profile{position:relative}.logout-mini{margin-left:auto;border:0;background:rgba(255,255,255,.08);color:#d9e5dc;width:30px;height:30px;border-radius:9px;cursor:pointer}.logout-mini:hover{background:rgba(255,255,255,.14)}
.auth-page{min-height:100vh;background:#f3efe5;display:grid;place-items:center;padding:28px}.auth-wrap{width:min(1020px,100%);display:grid;grid-template-columns:1.05fr .95fr;background:#fff;border:1px solid #ded8ca;border-radius:28px;overflow:hidden;box-shadow:0 28px 80px rgba(31,48,39,.12)}.auth-art{min-height:650px;padding:52px;background:linear-gradient(155deg,#183d2e,#315a45);color:white;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-art:after{content:"";position:absolute;width:420px;height:420px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-160px;bottom:-120px;box-shadow:0 0 0 80px rgba(255,255,255,.025),0 0 0 160px rgba(255,255,255,.018)}.auth-brand{font-size:22px;font-weight:700;display:flex;gap:12px;align-items:center}.auth-mark{width:38px;height:38px;border-radius:12px;background:#f1d49b;color:#183d2e;display:grid;place-items:center;font-family:Georgia,serif}.auth-quote{position:relative;z-index:1;max-width:470px}.auth-quote h1{font-family:Georgia,serif;font-size:48px;line-height:1.05;margin:0 0 18px;font-weight:500}.auth-quote p{color:#d8e5dc;line-height:1.8}.auth-form{padding:62px 58px;display:flex;flex-direction:column;justify-content:center}.auth-form h2{font-size:34px;margin:0 0 8px;color:#19382b}.auth-form>.muted{margin-bottom:30px}.field{display:grid;gap:8px;margin:0 0 18px}.field label{font-size:13px;font-weight:700;color:#33463c}.field input{width:100%;box-sizing:border-box;border:1px solid #d8d5cb;background:#fbfaf6;border-radius:12px;padding:14px 15px;font:inherit;outline:none}.field input:focus{border-color:#2e6449;box-shadow:0 0 0 3px rgba(46,100,73,.10)}.auth-submit{border:0;border-radius:12px;padding:14px 18px;background:#1f513b;color:#fff;font-weight:700;font-size:15px;cursor:pointer}.auth-submit:disabled{opacity:.6;cursor:wait}.auth-message{min-height:22px;margin:14px 0;font-size:13px}.auth-message.error{color:#a23a32}.auth-message.success{color:#24633f}.auth-switch{text-align:center;font-size:14px;color:#6c756f}.auth-switch a{color:#1f513b;font-weight:700}.auth-note{font-size:12px;color:#8a8f8b;margin-top:22px;line-height:1.6}@media(max-width:760px){.auth-wrap{grid-template-columns:1fr}.auth-art{min-height:260px;padding:34px}.auth-quote h1{font-size:36px}.auth-form{padding:38px 28px}}
