:root{font-family:system-ui,sans-serif;color:#293d34;background:#f7f6f1;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b9a16f;outline-offset:3px}.app{display:flex;width:100%;height:100dvh;overflow:hidden}.sidebar{display:flex;flex-direction:column;flex:0 0 270px;background:#faf9f5;border-right:1px solid #e8e8df;min-height:0}.side-top{padding:27px 22px 24px;display:flex;align-items:center;justify-content:space-between}.brand,.signin-brand{display:flex;align-items:center;gap:11px}.brand-home{padding:0;border:0;background:none;color:inherit;text-align:left}.brand-mark{width:37px;height:37px;border-radius:10px;background:#38554a;color:#fff;display:grid;place-items:center;font-family:Georgia,serif;font-size:24px}.brand strong,.signin-brand strong{font-family:"DM Serif Display",Georgia,serif;font-size:25px;letter-spacing:-.8px;line-height:1}.brand small{display:block;font-size:8px;letter-spacing:1.65px;font-weight:700;color:#9a9f91;margin-top:5px}.icon-button{border:0;background:transparent;color:#818a7e;font-size:25px;line-height:1;padding:4px}.collapse-button{border:1px solid #e5e8df;border-radius:7px;width:26px;height:26px;font-size:20px}.side-date{margin:0 16px 27px;padding:14px 12px;border:1px solid #e9ebe3;background:#fff;border-radius:9px;display:flex;gap:11px;align-items:center}.date-icon{color:#8d9f90;font-size:22px}.side-date small,.side-date strong{display:block}.side-date small{color:#a4aa9d;font-size:9px;letter-spacing:1px;font-weight:700;margin-bottom:4px}.side-date strong{font-size:12px;font-weight:600}.section-heading{color:#a0a698;display:flex;align-items:center;justify-content:space-between;font-size:9px;font-weight:700;letter-spacing:1.4px;padding:0 23px 10px}.add-mini{font-size:20px}.schedule-list{overflow-y:auto;padding:0 12px}.schedule-row{display:flex;align-items:center;border-radius:8px;margin-bottom:4px;border:1px solid transparent}.schedule-row.active{background:#e9efe9;border-color:#e1e9e1}.schedule-select{min-width:0;flex:1;display:flex;align-items:center;gap:11px;padding:9px 5px 9px 9px;text-align:left;background:none;border:0;color:#34463d}.resource-icon{flex:0 0 auto;width:36px;height:36px;border-radius:8px;background:#eee8d8;color:#a28a5c;display:grid;place-items:center;font-family:Georgia,serif;font-size:20px}.resource-icon.makhon{background:#e2eae3;color:#738f77}.resource-icon.torah{background:#f0e5dc;color:#bb8b74}.resource-icon.website{background:#e5e9ef;color:#8394ab}.schedule-copy{overflow:hidden}.schedule-copy strong,.schedule-copy small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.schedule-copy strong{font-size:12px;font-weight:600}.schedule-copy small{margin-top:4px;font-size:10px;color:#9ba397}.row-edit{border:0;background:transparent;color:#a0aa9f;font-size:20px;padding:6px}.empty-side{font-size:12px;line-height:1.6;color:#8f988c;padding:0 10px}.add-schedule{margin:14px 22px;background:transparent;border:0;text-align:left;font-size:11px;font-weight:600;color:#879689}.add-schedule span{font-size:17px;vertical-align:middle;margin-right:6px}.side-bottom{margin-top:auto;padding:12px 17px 18px}.library-button{width:100%;background:none;border:0;border-top:1px solid #e9ebe3;border-bottom:1px solid #e9ebe3;padding:15px 5px;text-align:left;font-size:12px;font-weight:600;color:#69786b}.library-button>span:first-child{font-size:17px;margin-right:10px}.library-button .arrow{float:right;color:#a1aa9d}.side-account{display:flex;align-items:center;gap:10px;padding:16px 3px 0;min-width:0}.avatar{width:34px;height:34px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;background:#e5e5d9;color:#718073;font-family:Georgia,serif}.side-account div{min-width:0;flex:1}.side-account strong,.side-account small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-account strong{font-size:11px}.side-account small{color:#a1aa9d;font-size:10px;margin-top:4px}.side-account button{background:none;border:0;color:#98a297;font-size:20px}.workspace{flex:1;min-width:0;position:relative;overflow:auto;background:#fbfbf8}.reopen{position:fixed;z-index:5;width:34px;height:34px;border:1px solid #d5dad3;border-radius:6px;background:#ffffffeb;color:#465e51;box-shadow:0 2px 8px #0001;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.reopen.dragging{cursor:grabbing}.home{max-width:1350px;margin:auto;padding:0 5.3%}.home-header{height:79px;display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:1.4px;color:#a3a99f;font-weight:700}.header-date{font-size:11px;font-weight:500;letter-spacing:0;color:#8e9a8d}.welcome{position:relative;overflow:hidden;min-height:265px;border-radius:12px;background:#eaf0e8;padding:43px 46px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.65px;color:#99a696}.small-star{color:#b19d75;font-size:15px;margin-right:6px}h1,h2{font-family:"DM Serif Display",Georgia,serif;font-weight:400}.welcome h1{font-size:clamp(36px,4vw,52px);letter-spacing:-1.7px;margin:18px 0 12px;line-height:1.1;color:#334d40}h1 em{font-weight:400;color:#879e85}.welcome p{color:#829286;font-size:13px;line-height:1.8;margin:0}.welcome-detail{color:#9ba99a;font-size:9px;letter-spacing:1.3px;font-weight:700;margin-top:24px}.welcome-detail span{color:#b9aa89;margin-right:7px}.welcome-art{position:absolute;right:7%;top:15%;width:205px;height:185px;color:#bac9b6;opacity:.8}.art-sun{position:absolute;top:0;right:18px;font-size:38px;color:#d6c9a9}.art-book{position:absolute;top:33px;left:4px;font-family:Georgia,serif;font-size:175px;line-height:.65;transform:rotate(180deg)}.art-book span{position:absolute;font-size:145px;left:15px;top:32px}.today-section{padding-top:45px}.today-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:22px}.today-heading h2{margin:9px 0 5px;color:#344b3f;font-size:29px;letter-spacing:-.7px}.today-heading h2 span{color:#abbd9e}.today-heading p{font-size:12px;margin:0;color:#a0a99c}.count-pill{font-size:10px;color:#8b9b8b;background:#f0f3ed;border-radius:20px;padding:8px 12px}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.learning-card,.new-card{min-height:200px;border:1px solid #e9ece5;border-radius:10px;background:#fff;text-align:left;padding:19px;color:#334b3f;display:flex;flex-direction:column;transition:transform .18s,box-shadow .18s}.learning-card:hover,.new-card:hover{transform:translateY(-3px);box-shadow:0 8px 25px #354d4010}.card-top{width:100%;display:flex;justify-content:space-between;align-items:start}.resource-icon.large{width:43px;height:43px;font-size:23px}.card-number{color:#c3cabe;font-family:Georgia,serif;font-size:12px}.card-category{font-size:8px;color:#a5b0a1;letter-spacing:1.2px;font-weight:700;margin-top:18px}.learning-card>strong{margin-top:7px;font-family:"DM Serif Display",Georgia,serif;font-weight:400;font-size:18px}.card-subtitle{color:#a1ab9f;font-size:11px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.card-link{font-size:10px;font-weight:700;color:#819683;margin-top:auto;padding-top:17px}.card-link span{float:right;font-size:14px}.new-card{align-items:center;justify-content:center;border:1px dashed #d6ded2;background:transparent;text-align:center;color:#93a492}.new-card>span{font-size:24px;font-weight:300}.new-card strong{font-size:12px;margin-top:9px}.new-card small{font-size:10px;color:#afb9ad;margin-top:5px}.home-footer{display:flex;justify-content:space-between;padding:50px 0 25px;color:#bdc5ba;font-size:8px;letter-spacing:1.1px;font-weight:700}.reader{width:100%;height:100%;display:flex;flex-direction:column}.reader-bar{flex:0 0 auto;min-height:58px;display:flex;align-items:center;justify-content:space-between;padding:9px 22px;border-bottom:1px solid #e9ece5;background:#fff;gap:15px}.reader-bar strong{display:block;font-size:13px;margin-top:4px}.reader-kicker{font-size:8px;letter-spacing:1.2px;color:#a1ad9f;font-weight:700}.reader-actions{display:flex;gap:12px;align-items:center}.reader-actions button,.reader-actions a{border:0;background:none;color:#718a77;text-decoration:none;font-size:11px;font-weight:700}.reader-frame{border:0;flex:1;width:100%;min-height:0;background:#fff}.frame-hint{padding:7px 20px;background:#faf9f5;color:#939e91;font-size:10px;text-align:center}.frame-hint a{color:#607e69}.reader-loading{flex:1;display:grid;place-items:center;color:#89978a;font-size:13px}.pdf-reader{display:flex;flex:1;flex-direction:column;min-height:0;background:#f0f0ec}.pdf-toolbar{display:flex;flex:0 0 auto;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 18px;min-height:48px;padding:6px 12px;background:#fff;border-bottom:1px solid #e9ece5;color:#718a77;font-size:12px}.pdf-toolbar button{min-width:76px;padding:7px 10px;border:1px solid #e1e7de;border-radius:6px;background:#fff;color:#52675a;font-size:11px}.pdf-toolbar button:disabled{opacity:.45}.pdf-zoom{display:flex;align-items:center;gap:4px}.pdf-toolbar .pdf-zoom button{min-width:36px;font-size:14px}.pdf-toolbar .pdf-zoom .pdf-zoom-reset{min-width:55px;font-size:11px}.pdf-page-container{position:relative;flex:1;min-height:0;overflow:auto;padding:16px;text-align:center;touch-action:pan-x pan-y}.pdf-page-container canvas{display:block;margin:0 auto;background:#fff;box-shadow:0 2px 12px #25342a24}.pdf-loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:grid;place-items:center;color:#89978a;font-size:13px;pointer-events:none}.reader-empty{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#89978a;text-align:center;padding:25px}.empty-icon{font-size:40px;color:#bdcbbb}.reader-empty h2{font-size:28px;color:#40594a;margin:15px 0 5px}.reader-empty p{font-size:13px}.toast{z-index:20;position:fixed;top:15px;right:15px;max-width:min(440px,90vw);background:#fff7f3;color:#9a4f3e;border:1px solid #edcec3;border-radius:8px;padding:12px 15px;font-size:12px;box-shadow:0 8px 25px #0001}.toast button{border:0;background:none;color:inherit;font-size:18px;margin-left:15px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;background:#283a32aa;display:flex;align-items:center;justify-content:center;padding:18px}.modal{background:#fff;border-radius:14px;width:min(520px,100%);max-height:90dvh;overflow-y:auto;padding:28px;box-shadow:0 20px 70px #162b2330}.modal-header{display:flex;justify-content:space-between;align-items:start}.modal-header h2{font-size:28px;margin:7px 0 20px}.modal-intro{color:#909d90;font-size:12px;margin:0 0 20px}.library-row{display:flex;align-items:center;gap:12px;border-top:1px solid #eff1ec;padding:12px 0}.library-row div{flex:1;min-width:0}.library-row strong,.library-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.library-row strong{font-size:12px}.library-row small{color:#a3aea0;font-size:10px;margin-top:5px}.library-row button{border:0;background:none;color:#758b77;font-size:11px;font-weight:700}.delete-link{color:#ad7666!important;border:0;background:none;font-size:11px;font-weight:700}.wide{width:100%;margin-top:20px}.form{display:flex;flex-direction:column;gap:17px}.form label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:700;color:#52675a}.form label small{font-size:10px;font-weight:400;line-height:1.5;color:#97a396}.form input,.form select{width:100%;border:1px solid #e1e7de;border-radius:7px;padding:11px 12px;color:#354b3d;background:#fcfdfa;font-size:12px}.form input[type=file]{padding:9px}.file-name{font-size:11px;font-weight:400;color:#899789}.form-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:8px}.primary,.secondary{border-radius:7px;padding:11px 17px;font-size:11px;font-weight:700}.primary{background:#405f4d;border:1px solid #405f4d;color:#fff}.secondary{background:#fff;border:1px solid #e1e7de;color:#718675}.remove-schedule{margin-right:auto}.reorder{display:flex;align-items:center;gap:9px;font-size:11px;color:#7d8f80}.reorder span{margin-right:auto}.reorder button{border:1px solid #e1e7de;background:#fff;border-radius:6px;padding:7px;font-size:10px;color:#718675}.signin-shell{min-height:100dvh;background:#f5f7f1;position:relative;padding:30px 6%;display:flex;flex-direction:column}.signin-brand>span:last-child{color:#a1ada0;letter-spacing:1.5px;font-size:9px;font-weight:700;margin-left:auto}.signin-card{width:min(600px,100%);margin:auto;padding:60px 0}.signin-card h1{color:#344d40;font-size:clamp(52px,8vw,82px);line-height:1.04;letter-spacing:-2px;margin:22px 0}.signin-card p{color:#8d9d8e;line-height:1.8;max-width:420px;font-size:14px}.signin-button{margin-top:24px;min-width:240px;text-align:left;padding:15px 18px}.signin-button span{float:right}.signin-note{font-size:10px;color:#b0bbb0;margin-top:16px}.signin-footer{color:#b3bdb0;letter-spacing:1.3px;font-size:9px;font-weight:700}.signin-footer span{margin:0 7px}.error{padding:12px;border:1px solid #edcec3;background:#fff7f3;border-radius:8px;color:#9a4f3e;font-size:12px;max-width:450px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@media(max-width:850px){.sidebar{flex-basis:235px}.welcome-art{opacity:.3;right:2%}.home{padding:0 4%}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:601px)and (max-width:1024px),(min-width:601px)and (max-width:1366px)and (max-height:700px){.side-top{padding:8px 16px}.brand-home{min-height:44px}.collapse-button{width:44px;height:44px}.side-date,.add-schedule,.side-account small{display:none}.section-heading{padding:0 12px 0 23px}.add-mini{width:44px;height:44px}.schedule-list{min-height:0}.schedule-select{min-height:44px;padding:6px 5px 6px 9px}.row-edit{min-width:44px;min-height:44px}.side-bottom{flex-shrink:0;padding:6px 12px 10px}.library-button{min-height:44px;padding:8px 5px}.side-account{min-height:44px;padding:4px 3px 0}.side-account button{min-width:44px;min-height:44px}}@media(max-width:600px){.sidebar{position:absolute;z-index:6;width:min(270px,85vw);height:100dvh;box-shadow:8px 0 30px #15291d20}.workspace{width:100%}.home-header{padding-left:38px}.welcome{padding:35px 25px}.welcome-art{display:none}.welcome h1{font-size:36px}.cards{gap:10px}.learning-card,.new-card{padding:14px;min-height:185px}.home-footer{gap:15px}.signin-brand>span:last-child{display:none}.reader-bar{padding-left:285px;min-height:58px}.reader-bar .reader-actions{display:none}}
