:root{--bg:#f8f7f4;--card:#fff;--ink:#30273d;--muted:#776f7e;--line:#e8e4ec;--purple:#573d85;--soft:#eee8f4;--sage:#7c9082;--radius:16px;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:15px;line-height:1.6}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button,input,select,textarea{border:1px solid var(--line);border-radius:10px}input,select,textarea{width:100%;padding:11px 13px;background:#fff;color:var(--ink)}textarea{resize:vertical;min-height:110px}button{padding:10px 15px;background:white;color:var(--ink)}button:hover,a.btn:hover{filter:brightness(.97)}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #a890cb;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(27px,3vw,38px);letter-spacing:-.04em;line-height:1.2}h2{font-size:23px;letter-spacing:-.025em;line-height:1.3}h3{font-size:17px;line-height:1.4}.muted,small{color:var(--muted)}small{font-size:12px}.eyebrow{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--purple);font-weight:700}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:11px 18px;background:var(--purple);color:white;border:1px solid transparent;border-radius:10px;font-weight:600;font-size:14px}.btn.secondary{background:var(--soft);color:var(--purple)}.btn.ghost{background:white;color:var(--ink);border-color:var(--line)}.danger{color:#ad3145}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.between{justify-content:space-between}.stack{display:grid;gap:18px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:26px;min-width:0}.empty{text-align:center;padding:60px 24px}.empty p{color:var(--muted);max-width:480px;margin:0 auto 22px}.brand{font-family:Newsreader,Georgia,serif;font-size:30px;letter-spacing:.16em}.brand small{display:block;font:9px system-ui;letter-spacing:.14em}.boot{padding:20vh 20px;text-align:center}.skip{position:fixed;z-index:200;top:-100px;left:20px;background:white;padding:10px}.skip:focus{top:10px}.sidebar{position:fixed;left:0;top:0;bottom:0;width:254px;background:#fff;border-right:1px solid var(--line);padding:30px 18px;overflow:auto;z-index:30}.sidebar .brand{display:block;margin:0 15px 30px}.sidebar .btn{width:100%;margin-bottom:23px}.side-nav{display:grid;gap:4px}.side-nav a{display:flex;align-items:center;gap:12px;padding:10px 14px;border-radius:9px;color:#68606d;font-size:14px}.side-nav a.active{background:var(--soft);color:var(--purple);font-weight:600}.side-nav a:hover{background:#f6f3f8}.side-nav details{margin-top:14px}.side-nav summary{font-size:10px;letter-spacing:.11em;text-transform:uppercase;color:var(--muted);padding:10px;cursor:pointer}.sidebar-foot{border-top:1px solid var(--line);margin-top:30px;padding-top:15px;font-size:12px;color:var(--muted)}.sidebar-foot a{display:block;padding:7px 10px}.topbar{position:fixed;top:0;left:254px;right:0;height:78px;background:#fffc;backdrop-filter:blur(20px);border-bottom:1px solid var(--line);z-index:20;display:flex;justify-content:space-between;align-items:center;padding:0 34px;gap:12px}.topbar input{background:#f7f5f9;border:0;max-width:340px;font-size:13px}.topbar form{flex:1;max-width:340px}.icon-btn{display:inline-flex;position:relative;align-items:center;justify-content:center;border:0;background:transparent;width:42px;height:42px;padding:10px}.icon{width:20px;height:20px;flex-shrink:0}.badge-count{position:absolute;right:0;top:0;background:var(--purple);color:white;font-size:9px;min-width:16px;height:16px;line-height:16px;border-radius:50%;text-align:center}.top-actions{display:flex;align-items:center;gap:8px}.avatar{width:40px;height:40px;border-radius:50%;display:inline-grid;place-items:center;background:#e7deef;color:var(--purple);font-size:13px;font-weight:700;flex-shrink:0;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.avatar.sm{width:29px;height:29px;font-size:10px}.badge{display:inline-block;font-size:10px;font-weight:600;color:var(--purple);background:var(--soft);padding:3px 7px;border-radius:5px}.workspace{margin-left:254px;padding:120px 44px 60px;max-width:1640px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:30px}.page-heading p{margin:9px 0 0;color:var(--muted)}.feed-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:26px}.feed-aside{display:grid;gap:20px;align-content:start}.welcome{background:linear-gradient(125deg,#eee8f4,#e6ebe2);border:0;position:relative;overflow:hidden}.welcome h2{font-family:Newsreader,Georgia,serif;font-weight:400;font-size:34px;margin-bottom:12px}.welcome p{max-width:530px;font-size:14px}.welcome .btn{margin-top:8px}.filterbar{display:flex;align-items:center;gap:12px;margin:22px 0;flex-wrap:wrap}.filterbar label{font-size:11px;flex:1;min-width:140px}.filterbar select{font-size:12px;margin-top:3px}.post{padding:24px;margin-bottom:18px}.post-context{color:var(--muted);font-size:11px;margin-bottom:16px}.post-header{display:flex;gap:12px;align-items:center}.post-header .author{flex:1}.post-header strong{font-size:13px}.post-body{margin:20px 0;font-size:14px;overflow-wrap:anywhere}.post-body p:last-child{margin-bottom:0}.post-footer{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:14px}.post-footer button{font-size:12px;border:0;background:#f7f5f9;padding:7px 10px}.post-footer button.on{background:var(--soft);color:var(--purple)}.compact .post{padding:16px}.compact .post-body{margin:10px 0}.compact .post-context{display:none}.comment{padding:16px 0;border-top:1px solid var(--line);font-size:13px;overflow-wrap:anywhere}.comment p{margin:8px 0}.composer{display:flex;gap:12px;align-items:center;cursor:pointer;color:var(--muted);font-size:13px}.course-cover{height:150px;border-radius:12px;background:linear-gradient(130deg,#c9d1c5,#b9a6cc);display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:20px}.course-cover img{width:100%;height:100%;object-fit:cover}.course-cover .icon{width:54px;height:54px;color:#fff9}.progress{height:5px;background:#e9e3ef;border-radius:6px;overflow:hidden;margin:18px 0 8px}.progress span{display:block;height:100%;background:var(--purple)}.module{border:1px solid var(--line);border-radius:12px;background:white;overflow:hidden}.module summary{padding:22px;cursor:pointer;display:flex;justify-content:space-between;gap:12px;font-weight:600;font-size:14px}.lesson-link{display:flex;gap:14px;align-items:center;padding:15px 24px;border-top:1px solid var(--line);font-size:14px}.lesson-link:hover{background:#f7f4fa}.check{border:1px solid #c8bfd4;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;color:transparent;flex-shrink:0}.check.done{background:var(--purple);color:white;border-color:var(--purple)}.lesson-reader{max-width:860px;margin:auto}.lesson-top{position:sticky;top:78px;background:var(--bg);padding:15px 0;z-index:10;border-bottom:1px solid var(--line);margin-bottom:30px}.reading-line{position:absolute;bottom:-1px;left:0;height:2px;background:var(--purple);width:0}.prose{line-height:1.9;overflow-wrap:anywhere}.prose h2,.prose h3{margin-top:30px}.prose p{margin-bottom:18px}.video{aspect-ratio:16/9;border:0;width:100%;border-radius:12px;background:#211a2b;margin:24px 0}.lesson-nav{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;margin:28px 0}.tabs{display:flex;gap:8px;overflow:auto;white-space:nowrap;margin:22px 0}.tabs a{padding:10px 15px;font-size:13px;border-radius:9px}.tabs a.active{background:var(--soft);color:var(--purple)}.member-card{text-align:center}.member-card .avatar{width:66px;height:66px;font-size:20px;margin-bottom:16px}.member-card p{font-size:13px}.online-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--sage);margin-right:5px}.event-date{font-size:12px;color:var(--purple);font-weight:600;margin-bottom:10px}.chat{max-height:55vh;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:18px 0}.bubble{padding:12px 16px;border-radius:12px;background:#eee9f3;max-width:82%;align-self:flex-start;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.mine{align-self:flex-end;background:#e5ebe2}.bubble small{display:block;margin-top:6px}.resource{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px;border:1px solid var(--line);border-radius:10px;margin:10px 0;font-size:13px}.resource audio{max-width:100%}.resource img{max-width:100%;border-radius:10px}.field{display:grid;gap:6px;margin-bottom:17px}.field label{font-size:13px;font-weight:600}.field small{font-size:11px}.field input[type=checkbox]{width:auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.span-all{grid-column:1/-1}.admin-tabs{margin-bottom:28px}.admin-table{width:100%;border-collapse:collapse;font-size:13px}.admin-table td,.admin-table th{text-align:left;padding:14px 10px;border-bottom:1px solid var(--line)}.admin-table td{overflow-wrap:anywhere}.table-wrap{overflow-x:auto}.notice{padding:15px 20px;border:1px solid #dbd2e5;background:var(--soft);border-radius:10px;font-size:13px;margin:15px 0}.error{color:#982d40;background:#fff1f2;border-color:#f0ccd3}.auth-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.auth-art{background:linear-gradient(135deg,#21172cdd,#573d8599),url('../images/borvo-meditation-hero.jpg') center/cover;display:flex;flex-direction:column;justify-content:space-between;color:white;padding:60px}.auth-art h1{font:clamp(40px,4vw,65px)/1.05 Newsreader,Georgia,serif;letter-spacing:-.03em;max-width:520px}.auth-art p{color:#ebe4f1;max-width:390px}.auth-panel{padding:65px 30px;display:flex;align-items:center;justify-content:center}.auth-form{width:100%;max-width:400px}.auth-form .btn{width:100%;margin-top:8px}.auth-form h2{font-size:30px}.auth-links{display:flex;gap:15px;justify-content:space-between;margin-top:22px;font-size:12px}.auth-panel .brand{display:none}.auth-form a{text-decoration:underline;text-underline-offset:3px}.auth-form .field{margin-bottom:20px}.auth-form>p{font-size:14px;margin:18px 0 28px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:200;background:#30273d;color:white;padding:12px 22px;border-radius:10px;box-shadow:0 8px 30px #0002;font-size:13px;max-width:90vw;display:none}#toast.show{display:block}dialog{border:1px solid var(--line);border-radius:18px;max-width:640px;width:calc(100% - 30px);max-height:90vh;padding:28px;color:var(--ink);background:var(--bg)}dialog::backdrop{background:#211a2b80;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:15px}.modal-head h2{margin:0}.mobile-only{display:none}.backdrop{display:none}.install{position:fixed;right:22px;bottom:20px;max-width:330px;z-index:40;box-shadow:0 8px 30px #0001}.install p{font-size:13px}.notification.unread{border-left:3px solid var(--purple)}.notification{display:block;padding:20px;margin-bottom:12px}.account-menu{position:relative}.account-menu summary{list-style:none;cursor:pointer}.account-menu nav{position:absolute;top:50px;right:0;width:190px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 25px #0001;padding:8px}.account-menu nav a,.account-menu nav button{display:block;width:100%;border:0;text-align:left;padding:10px;font-size:13px}.cover-orbit{width:80px;height:80px;border:1px solid #fff7;border-radius:50%;transform:rotate(-30deg)}.cover-orbit:after{content:'';display:block;width:40px;height:80px;border:1px solid #fff8;border-radius:50%;margin:auto}.admin-editor textarea{min-height:230px}[hidden]{display:none!important}
@media(min-width:1700px){.workspace{margin-inline:auto;padding-left:298px}}@media(max-width:1150px){.feed-layout{grid-template-columns:1fr}.feed-aside{grid-template-columns:1fr 1fr}.workspace{padding:110px 25px 40px}.sidebar{width:225px}.topbar{left:225px;padding:0 22px}.workspace{margin-left:225px}.topbar .top-label{display:none}}
@media(max-width:800px){.mobile-only{display:inline-flex}.sidebar{transform:translateX(-100%);width:270px;transition:transform .2s}.sidebar.open{transform:none}.backdrop.open{display:block;position:fixed;inset:0;background:#211a2b70;z-index:25}.topbar{left:0;height:67px;padding:0 14px;gap:8px}.topbar form{max-width:none}.topbar input{font-size:12px;padding:9px;min-width:0}.top-actions{gap:0}.icon-btn{width:34px;height:36px;padding:7px}.topbar .avatar{width:32px;height:32px}.workspace{margin-left:0;padding:95px 18px 40px}.page-heading{align-items:flex-start;gap:12px}.page-heading p{font-size:13px}.card{padding:20px}.grid,.feed-aside{grid-template-columns:1fr}.post{padding:19px}.post-header strong{font-size:12px}.post-footer{gap:4px;flex-wrap:wrap}.post-footer button{padding:6px 8px}.auth-layout{grid-template-columns:1fr}.auth-art{display:none}.auth-panel{min-height:100vh;padding:35px 24px}.auth-panel .brand{display:block;margin-bottom:50px}.form-grid{grid-template-columns:1fr}.lesson-top{top:67px}.lesson-top .row{flex-wrap:nowrap}.lesson-top strong{max-width:230px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lesson-link{padding:15px}.module summary{padding:18px}.top-label{display:none}.install{right:15px;left:15px;bottom:15px;max-width:none}.admin-table{min-width:420px}.btn{font-size:12px}dialog{padding:22px}.filterbar{gap:8px}.filterbar label{min-width:115px}.auth-form h2{font-size:28px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
