@font-face{font-family:Arabic;src:url('assets/Arabic.ttf')}@font-face{font-family:Kufi;src:url('assets/ArabicBold.ttf');font-weight:700}*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden}body{font-family:Arabic,Tahoma,sans-serif;background:#eaece5;color:#173f35;display:flex;flex-direction:column}button,input,select{font:inherit}button{cursor:pointer;border:1px solid #d8e0d6;border-radius:11px;background:#fffdf7;color:#244d41;padding:7px 13px;white-space:nowrap;transition:background .18s,transform .18s}button:hover{background:#edf3e9}button:active{transform:scale(.97)}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c49c4a;outline-offset:3px}button.primary{background:#1c5948;color:#fff9e9;border-color:#1c5948}button.selected{background:#dce9dd;border-color:#1c5948}button:disabled{opacity:.38;cursor:default}header{height:75px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 26px;background:#fafaf3;border-bottom:1px solid #d8dfd3;z-index:5}.brand{display:flex;align-items:center;gap:12px}.brand svg{width:58px;fill:none;stroke:#9e803b;stroke-width:1.5}.brand svg circle{fill:#1b5848;stroke:none}.brand strong{font:700 19px Kufi}.brand small{display:block;font-size:11px;color:#79907a}.session-status{display:flex;align-items:center;gap:12px}.status{font-size:12px;display:flex;align-items:center;gap:6px}.status:before{content:'';width:7px;height:7px;border-radius:50%;background:#b29b65}.status.online:before{background:#2b9c68;box-shadow:0 0 0 4px #2b9c6815}.status.offline:before{background:#c8694a}#presence{display:flex;gap:6px}.avatar{padding:4px 10px;font-size:11px;border-radius:50px;background:#e8eee4;border-right:3px solid var(--person)}.header-actions{display:flex;gap:7px}main{display:flex;flex:1;min-height:0;position:relative}#presentation{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:12px 16px 0}#stageWrap{position:relative;box-shadow:0 8px 40px #153f351a;flex-shrink:0;overflow:hidden;border-radius:8px;background:#f9f7f0}#stage{width:1600px;height:900px;position:absolute;top:0;left:0;transform-origin:0 0;overflow:hidden;background:#f7f4e9;touch-action:none}#slideContent,#ink,#cursors{position:absolute;inset:0;width:100%;height:100%}#slideContent{z-index:1;overflow:hidden}#ink{z-index:10;pointer-events:none;touch-action:none}body.draw #ink{pointer-events:all;cursor:crosshair}#cursors{z-index:20;pointer-events:none}.remote-cursor{position:absolute;color:var(--person);transition:transform .055s linear}.remote-cursor:before{content:'';display:block;width:15px;height:15px;background:currentColor;border:3px solid white;border-radius:50%;box-shadow:0 1px 8px #0003}.remote-cursor span{font-size:20px;background:var(--person);color:white;border-radius:8px;padding:3px 12px;display:block;margin:6px;white-space:nowrap}#slideCaption{width:100%;display:flex;justify-content:space-between;gap:12px;padding:8px 4px;font-size:12px;color:#6d816f;min-height:38px}#activityHint{color:#92722f;font-size:11px}footer{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 18px;background:#fafaf3;z-index:5;min-height:67px;border-top:1px solid #d8dfd3}.navigation,.tools,.extras{display:flex;align-items:center;gap:5px}.navigation button{font-size:19px;padding:3px 12px}#counter{font-size:13px;width:62px;text-align:center}footer button{font-size:12px}.sep{width:1px;height:24px;background:#dbe0d6;margin:0 5px}#colors{display:flex;gap:7px;align-items:center}#colors button{padding:0;width:23px;height:23px;min-width:23px;border:3px solid #fafaf3;border-radius:50%;background:var(--swatch);outline:1px solid #d1d9ce}#colors button.selected{outline:2px solid var(--swatch)}select{background:transparent;color:#4f6657;border:0;font-size:11px;padding:4px}.progress{height:3px;background:#dde5da;flex-shrink:0}.progress i{height:100%;background:#b7964c;display:block;transition:width .4s;float:right}#slidesPanel{width:225px;overflow:auto;background:#f9faf2;border-left:1px solid #d7dfd1;padding:14px;z-index:4;flex-shrink:0}#slidesPanel.closed{display:none}.panel-title{display:flex;justify-content:space-between;font-size:14px;margin-bottom:12px}.panel-title button{padding:0 8px}#thumbs{display:grid;gap:12px}#thumbs button{padding:5px;position:relative;overflow:hidden;border:2px solid transparent}#thumbs button.active{border-color:#b9964b}#thumbs img{width:100%;display:block;border-radius:6px}#thumbs small{display:block;text-align:right;font-size:10px;margin-top:3px}dialog{border:1px solid #e1ddce;box-shadow:0 30px 100px #102d4560;border-radius:25px;background:#fffef8;color:#244939;max-width:560px;width:calc(100vw - 36px);padding:35px}dialog::backdrop{background:#123f3575;backdrop-filter:blur(7px)}dialog h1{font:700 33px/1.75 Kufi;margin:16px 0}dialog h1 em{font-style:normal;color:#ad8737}dialog h2{font:700 22px Kufi}.eyebrow{font-size:12px;letter-spacing:.3px;color:#9b823f}dialog p{font-size:14px;line-height:1.95;color:#657366}dialog label{display:block;font-size:13px;margin:15px 0 7px}dialog input{width:100%;border:1px solid #d8dfd3;background:#fff;border-radius:11px;padding:10px 14px;color:#193f32}.welcome-actions{display:flex;gap:8px;margin:20px 0 12px}dialog small,.small{font-size:11px;color:#7c8d7f}#shareDialog button{margin-top:13px}#shareLink{font-size:12px}.error{color:#b1423c!important}dialog li{font-size:14px;line-height:2;margin-bottom:6px}#toast{position:fixed;bottom:90px;left:50%;transform:translate(-50%,15px);background:#183f34;color:#fffcf1;padding:12px 24px;border-radius:13px;z-index:100;opacity:0;pointer-events:none;transition:.25s;font-size:13px;max-width:85vw;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}
.slide{width:1600px;height:900px;position:relative;overflow:hidden;animation:arrive .45s ease-out}.slide img.full-image{width:1600px;height:900px;object-fit:fill;pointer-events:none}.paper{background:#f8f5eb url('assets/image7.png') center/100% 100%;padding:65px 95px;color:#23564b}.slide-head{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #b7a56e;padding-bottom:20px;margin-bottom:28px;min-height:82px}.slide h2{font:700 43px/1.5 Kufi;margin:0}.slide h3{font:700 27px Kufi;margin:0 0 16px}.slide .kicker{font:18px Arabic;color:#839080}.slide p{font-size:26px;line-height:1.9;margin:12px 0}.slide small{font-size:18px}.slide .math{direction:ltr;unicode-bidi:isolate;font-family:Georgia,'Times New Roman',serif;display:inline-block;line-height:1.45}.equation{display:flex;align-items:center;justify-content:center;gap:24px;direction:ltr;font:42px Georgia;color:#20594d;padding:20px}.frac{display:inline-flex;flex-direction:column;align-items:center;line-height:1.25;vertical-align:middle;direction:ltr}.frac>span:first-child{border-bottom:2px solid currentColor;padding:0 15px 8px}.frac>span:last-child{padding-top:6px}.gold{color:#aa8434}.purple{color:#775594}.teal{color:#168b85}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:55px}.two-col .diagram{direction:ltr}.fact{border-radius:16px;background:#edeedc;padding:17px 25px;margin:18px 0}.fact .math{font-size:35px}.prompt{position:absolute;bottom:37px;left:95px;right:95px;text-align:center;padding:14px 25px;background:#e8ecdd;border-radius:14px;font-size:25px}.property{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #dcdcc9;padding:14px 5px;font-size:23px;cursor:pointer}.property.active{background:#e4ebd8;border-radius:9px;padding-right:12px}.property .math{font-size:29px}.plot{width:100%;height:auto;overflow:visible}.plot text{font:19px Georgia;fill:#617267;direction:ltr}.plot .point-label{font-size:21px;font-weight:bold;fill:#286151}.plot .ell{fill:#e2ecdf44;stroke:#23594c;stroke-width:3}.plot .plotline{stroke-width:3;stroke-dasharray:8 6}.point{cursor:pointer;transition:r .2s}.point:hover{r:10}.pulse{animation:pointPulse 2.4s ease-in-out infinite}.tracing{stroke-dasharray:2000;stroke-dashoffset:2000;animation:trace 2.1s ease forwards}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin-top:24px}.example-card{background:#fffdf5bd;border:2px solid #ddd8c3;border-radius:22px;padding:20px;cursor:pointer;text-align:center;transition:transform .25s,border-color .25s}.example-card:hover,.example-card.active{border-color:#b3994e;transform:translateY(-7px);box-shadow:0 10px 30px #5a6e3814}.example-card h3{font-size:25px}.example-card .eq-small{font:30px Georgia;direction:ltr;padding:12px;color:#1c6658}.sum-banner{background:#e4ebda;font-size:29px;text-align:center;border-radius:16px;padding:15px;margin-top:22px}.slide .mini-hint{font-size:19px;color:#8c875f;text-align:center;margin-top:12px}.video-frame{position:absolute;overflow:hidden;border-radius:15px;background:#111;box-shadow:0 8px 26px #193f3420}.video-frame video{width:100%;height:100%;object-fit:contain;display:block}.video-controls{position:absolute;bottom:16px;left:20px;right:20px;display:flex;gap:10px;align-items:center;padding:10px 15px;border-radius:14px;background:#153e35d9;backdrop-filter:blur(12px);color:#fff;direction:ltr;z-index:3}.video-controls button{font-size:20px;background:#fff2;color:white;border-color:#fff4}.video-controls input{flex:1;accent-color:#dcbd65}.video-controls span{font:16px Georgia}.media-title{font-size:18px;margin:0 7px;direction:rtl}.video-frame .media-controls-toggle{position:absolute;top:15px;right:15px}.soundbar{display:flex;gap:9px;height:230px;align-items:center;justify-content:center;margin:65px 0 40px}.soundbar i{width:9px;background:#795395;border-radius:9px;height:var(--h);transform-origin:center;animation:voice 1.3s ease-in-out infinite;animation-delay:var(--d);animation-play-state:paused}.soundbar.playing i{animation-play-state:running}.audio-card{border:2px solid #d7c9df;background:#faf6fb;border-radius:25px;text-align:center;padding:30px;margin-top:25px}.audio-card button{font-size:25px;padding:12px 40px;border-color:#a78fbb;color:#6e4d8e}.audio-card input{width:70%;accent-color:#8864a1;margin:20px}.compare-table{width:100%;font-size:23px;border-collapse:collapse}.compare-table td,.compare-table th{padding:12px 18px;text-align:center;border-bottom:1px solid #ddd9c9}.compare-table th{font:700 25px Kufi;color:#32604c}.compare-table .math{font-size:29px}.ribbon-facts{display:flex;justify-content:space-around;gap:10px;background:#ebe9d8;border-radius:15px;padding:20px 12px;margin-top:20px;font-size:20px;text-align:center}.ribbon-facts .math{display:block;font-size:29px;margin-top:5px}.spotlight{position:absolute;border:4px solid #c3a356;border-radius:24px;box-shadow:0 0 0 9999px #173c3415;pointer-events:none;transition:all .4s}.invisible-hit{position:absolute;background:transparent;border:0;border-radius:20px}.invisible-hit:hover{background:#f8db7418;box-shadow:inset 0 0 0 4px #bb97438c}.invisible-hit.active{box-shadow:inset 0 0 0 5px #1d8973;background:#c9e5cc1a}.choice-feedback{position:absolute;bottom:35px;left:90px;right:90px;font-size:24px;background:#e8eddb;border-radius:15px;padding:13px 22px;text-align:center;animation:arrive .3s}.stage-note{position:absolute;left:75px;bottom:70px;font-size:20px;color:#f7efd5;padding:12px 22px;border:1px solid #ead29160;background:#184639a6;border-radius:30px;pointer-events:none}.ray{fill:none;stroke:#d5ae5d;stroke-width:4;stroke-linecap:round;stroke-dasharray:15 17;animation:rays 2s linear infinite;opacity:.8}.glow{filter:drop-shadow(0 0 8px #edce81)}.breathe{animation:breathe 4s ease-in-out infinite}.no-motion *,body.reduce-motion *{animation:none!important;transition:none!important}
@keyframes arrive{from{opacity:.1;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes pointPulse{50%{filter:drop-shadow(0 0 8px #b69344);opacity:.65}}@keyframes trace{to{stroke-dashoffset:0}}@keyframes voice{50%{transform:scaleY(.35)}}@keyframes rays{to{stroke-dashoffset:-64}}@keyframes breathe{50%{opacity:.55}}@media(max-width:1100px){header{height:62px;padding:8px 15px}.brand strong{font-size:16px}.brand svg{width:45px}.extras{display:none}.tools{gap:3px}.tools button{padding:7px 9px}footer{padding:8px 10px}.session-status{gap:5px}.avatar{max-width:90px;overflow:hidden;white-space:nowrap}#width{width:50px}}@media(max-width:760px){header{padding:6px 10px}.brand small{display:none}.brand svg{display:none}.header-actions button{font-size:11px;padding:7px}.session-status{flex-direction:column;gap:0}.avatar{font-size:9px;max-width:70px}.status{font-size:10px}.tools .sep,#width{display:none}.tools{flex-wrap:wrap;justify-content:center}.tools button{font-size:10px;padding:5px}.navigation{gap:2px}.navigation button{padding:3px 7px}footer{gap:5px;min-height:78px}.tools #colors{gap:5px}.tools #colors button{width:18px;height:18px;min-width:18px}#counter{width:45px;font-size:10px}#presentation{padding:6px 5px 0}#slideCaption{font-size:10px}#activityHint{display:none}#slidesPanel{position:absolute;right:0;top:0;bottom:0;box-shadow:-10px 0 35px #244a3825}dialog{padding:24px}dialog h1{font-size:27px}}
.slide[data-slide="14"]{padding-top:40px;padding-bottom:25px}.slide[data-slide="14"] .slide-head{min-height:75px;margin-bottom:10px;padding-bottom:10px}.slide[data-slide="14"] h2{font-size:40px}.slide[data-slide="14"] p{line-height:1.5}.slide[data-slide="14"] h3{font-size:25px;margin-bottom:5px}.slide[data-slide="14"] .equation{font-size:34px;padding:9px}.slide[data-slide="14"] .two-col svg{height:82px}.slide[data-slide="14"] .compare-table{font-size:21px;line-height:1.35}.slide[data-slide="14"] .compare-table th{font-size:22px}.slide[data-slide="14"] .compare-table td,.slide[data-slide="14"] .compare-table th{padding:6px 14px}.slide[data-slide="14"] .compare-table .math{font-size:26px}.slide[data-slide="14"] .ribbon-facts{font-size:18px;line-height:1.5;margin-top:14px;padding:10px}.slide[data-slide="14"] .ribbon-facts .math{font-size:26px}.slide[data-slide="12"] p{line-height:1.6}.slide[data-slide="12"] .property,.slide[data-slide="15"] .property{padding:8px 5px;line-height:1.35;font-size:22px}.slide[data-slide="12"] .property .math,.slide[data-slide="15"] .property .math{font-size:27px}.slide[data-slide="15"] .equation{font-size:38px;padding:10px}.slide[data-slide="15"] p{line-height:1.6}.slide[data-slide="11"] p{font-size:24px;line-height:1.65}.slide[data-slide="11"] .property{font-size:22px;padding:9px 5px;line-height:1.4}.slide[data-slide="11"] .property .math{font-size:26px}.slide[data-slide="17"] .soundbar{height:180px;margin:25px 0}.slide[data-slide="17"] .audio-card{padding:20px}
@media(min-width:761px) and (max-width:1100px){footer .extras{display:flex}footer #motion{display:none}footer #finger{font-size:10px;padding:5px 7px}}
