.mobile-panel-actions{display:none}@media (max-width:900px){:root{--mobile-safe-start:max(14px, calc(env(safe-area-inset-left) + 8px));--mobile-safe-end:max(14px, calc(env(safe-area-inset-right) + 8px))}.editor-top,.wizard-bar{padding-inline:var(--mobile-safe-start) var(--mobile-safe-end)!important}.sidepanel{right:var(--mobile-safe-end)!important;left:var(--mobile-safe-start)!important;border:1px solid var(--line)!important;border-radius:20px!important;width:auto!important;height:min(48vh,460px)!important;padding-inline:14px!important}.editing-element .element-properties{border:1px solid var(--line);border-radius:20px;right:var(--mobile-safe-end)!important;left:var(--mobile-safe-start)!important;width:auto!important;height:auto!important;max-height:min(36dvh,350px)!important}.editing-element .element-properties-head{padding-left:14px!important;padding-right:14px!important}.editing-element .element-properties .properties{width:100%;padding:12px 14px calc(28px + env(safe-area-inset-bottom))!important}.editing-element .element-properties .property-group,.editing-element .element-action-panel{width:100%;max-width:100%;margin-left:0!important;margin-right:0!important}.sidepanel>*,.panel-content>*,.editing-element>*{max-width:100%}.mobile-tabs{padding-inline:max(36px, var(--mobile-safe-start)) max(36px, var(--mobile-safe-end))!important}.mobile-open-tools{right:var(--mobile-safe-end)!important}.mobile-panel-actions{align-items:center;gap:6px;display:flex}.mobile-panel-preview,.mobile-panel-close{color:var(--green);font:inherit;white-space:nowrap;background:#fff;border:1px solid #a7cabb;border-radius:9px;font-weight:700;min-height:38px!important;padding:5px 9px!important;font-size:10px!important}.mobile-panel-close{background:var(--soft)}.panel-title{gap:8px;top:-10px;box-shadow:none!important;margin-bottom:8px!important;padding-top:4px!important;padding-bottom:8px!important}.panel-title span{line-height:1.25;font-size:17px!important}.panel-title small{margin-top:1px;line-height:1.3!important}.question-search{width:min(100%,340px);height:44px;min-height:44px;padding-block:4px;margin-left:auto!important;margin-right:auto!important}.wizard-bar,.wizard-bar button,.wizard-bar button.active>b{box-shadow:none!important}.wizard-actions{justify-content:space-between;width:min(360px, calc(100% - var(--mobile-safe-start) - var(--mobile-safe-end) - 12px))!important;border-radius:11px!important;gap:10px!important;padding:3px!important;left:50%!important;right:auto!important;transform:translate(-50%)!important;box-shadow:0 5px 16px #19382f1c!important}.wizard-actions button{height:34px!important;min-height:34px!important;padding:4px 13px!important;font-size:11px!important}.wizard-actions span{font-size:10px!important}.canvas-area,.worksheet-stage{scroll-padding-inline:var(--mobile-safe-start) var(--mobile-safe-end)}.modal-layer,.teacher-tool-layer,.storage-modal-layer{padding-right:var(--mobile-safe-end)!important;padding-left:var(--mobile-safe-start)!important}.large-modal,.print-modal,.teacher-tool-modal,.storage-modal{border-radius:20px!important;width:100%!important;max-width:100%!important}.storage-modal>header,.storage-options,.storage-modal>footer{padding-left:16px!important;padding-right:16px!important}.print-modal.preview-only{position:relative;height:auto!important;max-height:calc(100dvh - 20px)!important;box-shadow:none!important;background:0 0!important;overflow:visible!important}.print-modal.preview-only>header{z-index:5;position:absolute;top:8px;left:8px;border:0!important;padding:0!important}.print-modal.preview-only>header>div{display:none}.print-modal.preview-only>header>button{background:#fff;border:1px solid #d7e1dd;border-radius:50%;width:40px;height:40px;box-shadow:0 4px 16px #173b3524}.print-modal.preview-only .print-body,.print-modal.preview-only .print-preview{background:0 0!important;overflow:visible!important}.print-modal.preview-only .print-preview{gap:6px;padding:0!important}.modal-layer .print-modal.preview-only .mini-sheet{max-width:none;box-shadow:0 14px 42px #102a2250;width:429px!important;height:606.5px!important}.modal-layer .print-modal.preview-only .actual-sheet-preview .print-preview-worksheet{transform:scale(.54)!important}.hero,.section-heading,.template-bank,.exam-builder,.certificate-topbar,.certificate-controls,.certificate-canvas-area{padding-inline:var(--mobile-safe-start) var(--mobile-safe-end)!important}.free-topbar,.free-tools,.free-properties{margin-inline:var(--mobile-safe-start) var(--mobile-safe-end)}.free-properties{right:var(--mobile-safe-end)!important;left:var(--mobile-safe-start)!important}.free-mobile-tabs{padding-right:var(--mobile-safe-end)!important;padding-left:var(--mobile-safe-start)!important}}@media (max-width:430px){.modal-layer .print-modal.preview-only .mini-sheet{width:341.5px!important;height:483px!important}.modal-layer .print-modal.preview-only .actual-sheet-preview .print-preview-worksheet{transform:scale(.43)!important}}@media (max-width:380px){:root{--mobile-safe-start:max(12px, calc(env(safe-area-inset-left) + 7px));--mobile-safe-end:max(12px, calc(env(safe-area-inset-right) + 7px))}.modal-layer .print-modal.preview-only .mini-sheet{width:309.5px!important;height:438px!important}.modal-layer .print-modal.preview-only .actual-sheet-preview .print-preview-worksheet{transform:scale(.39)!important}}
@font-face{font-family:Cairo;src:url(/Cairo-400.woff2)}.user-update-layer{z-index:420;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#102a24b8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.user-update-popup{text-align:center;color:#17231f;background:linear-gradient(145deg,#fff 62%,#edf9f4);border-radius:28px;justify-items:center;gap:11px;width:min(620px,100%);max-height:min(760px,92vh);padding:38px;display:grid;position:relative;overflow:auto;box-shadow:0 30px 90px #061d1760}.user-update-close{cursor:pointer;background:#eef3f1;border:0;border-radius:12px;width:42px;height:42px;font:700 25px/1 inherit;position:absolute;top:18px;left:18px}.user-update-mark{background:linear-gradient(145deg,#07866e,#0aa889);border-radius:22px;place-items:center;width:74px;height:74px;font-size:34px;display:grid;box-shadow:0 12px 28px #07866e3d}.user-update-label{color:#07866e;margin-top:5px;font-weight:900}.user-update-popup>small{color:#08705f;background:#e7f5ef;border-radius:99px;padding:5px 12px;font-weight:800}.user-update-popup h2{margin:5px 0 0;font-size:clamp(25px,5vw,38px);line-height:1.25}.user-update-popup>p{color:#64756f;max-width:500px;margin:0;font-size:15px;line-height:1.8}.user-update-popup ul{text-align:right;gap:8px;width:100%;margin:8px 0;padding:0;list-style:none;display:grid}.user-update-popup li{background:#fff;border:1px solid #dce9e4;border-radius:12px;align-items:center;gap:10px;padding:12px 14px;font-weight:700;display:flex}.user-update-popup li i{color:#07866e;background:#e3f6ef;border-radius:50%;place-items:center;width:25px;height:25px;font-style:normal;display:grid}.user-update-primary{color:#fff;cursor:pointer;background:#07866e;border:0;border-radius:13px;width:100%;min-height:52px;font:900 16px/1 inherit;box-shadow:0 10px 24px #07866e32}@media (max-width:600px){.user-update-layer{padding:12px}.user-update-popup{border-radius:22px;gap:9px;padding:30px 18px 20px}.user-update-close{width:38px;height:38px;top:12px;left:12px}.user-update-mark{width:60px;height:60px;font-size:28px}.user-update-popup>p{font-size:13px}.user-update-popup li{padding:10px 11px;font-size:13px}.user-update-close{width:44px;height:44px}.top-actions button,.icon-button,.segmented button{min-height:44px}}@font-face{font-family:Cairo;src:url(/Cairo-700.woff2);font-weight:700}:root{--ink:#17211e;--muted:#697672;--line:#dfe7e3;--bg:#f5f7f4;--green:#087d67;--lime:#d8f368;--soft:#e8f5ef}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0;font-family:Cairo,Arial,sans-serif}.error-recovery{background:#f5fbf8;place-items:center;min-height:100vh;padding:24px;display:grid}.error-recovery section{text-align:center;background:#fff;border:1px solid #cbdcd6;border-radius:20px;width:min(520px,100%);padding:28px;box-shadow:0 18px 50px #123c3212}.error-recovery section>span{color:#9a6500;background:#fff3d8;border-radius:50%;place-items:center;width:48px;height:48px;margin:auto;font-size:24px;font-weight:800;display:grid}.error-recovery button,.error-recovery a{color:#076d5b;font:inherit;cursor:pointer;background:#fff;border:1px solid #07866e;border-radius:10px;justify-content:center;margin:8px 4px 0;padding:11px 18px;text-decoration:none;display:inline-flex}.clear-local-confirm{background:#fff8f8;border:1px solid #e4b9b9;border-radius:10px;margin-top:10px;padding:12px}.clear-local-confirm>div{gap:8px;margin-top:8px;display:flex}.app-shell{background:radial-gradient(circle at 12% 0, #e9f5ee 0, transparent 28%), var(--bg);min-height:100vh}button,a{font:inherit}.topbar{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:5;background:#ffffffd1;border-bottom:1px solid #19372e1a;justify-content:space-between;align-items:center;height:76px;padding:0 clamp(22px,5vw,76px);display:flex;position:relative}.brand{color:inherit;align-items:center;gap:12px;text-decoration:none;display:flex}.brand-mark{background:var(--ink);width:48px;height:48px;color:var(--lime);border-radius:15px;place-items:center;font-weight:800;display:grid;box-shadow:0 8px 18px #173c3030}.brand b,.brand small{display:block}.brand b{font-size:17px}.brand small{color:var(--muted);font-size:11px}.top-actions{align-items:center;gap:6px;display:flex}.top-actions button{color:#52605c;cursor:pointer;background:0 0;border:0;border-radius:10px;padding:10px 12px}.top-actions a{color:#52605c;border-radius:10px;padding:10px 12px;text-decoration:none}.top-actions>button:not(.teacher-tool-button):not(.icon-button):not(.lang),.top-actions>a{white-space:nowrap;justify-content:center;align-items:center;min-height:42px;padding:0 12px;font-family:Cairo,Arial,sans-serif;font-size:13px;font-weight:600;line-height:1.4;display:inline-flex}.top-actions a:hover,.top-actions button:hover{background:#edf3ef}.top-actions .icon-button,.top-actions .lang{border:1px solid var(--line);background:#fff;height:42px}.top-actions .icon-button{background:0 0;border:0;place-items:center;width:42px;padding:0;font-size:23px;line-height:1;display:inline-grid}.top-actions .lang{min-width:58px;color:var(--green);padding:0 12px;font-weight:700}.hero{grid-template-columns:1fr .9fr;align-items:center;gap:7vw;min-height:560px;padding:74px clamp(24px,7vw,112px) 70px;display:grid;overflow:hidden}.hero-copy{max-width:650px}.eyebrow,.section-heading>div>span{color:var(--green);font-size:13px;font-weight:700;display:inline-flex}.eyebrow{background:var(--soft);border-radius:99px;padding:8px 13px}h1{letter-spacing:-.055em;margin:18px 0 20px;font-size:clamp(42px,5.5vw,78px);line-height:1.14}.hero-copy p{color:var(--muted);max-width:590px;font-size:18px;line-height:1.9}.hero-actions{gap:10px;margin-top:28px;display:flex}.hero-actions button{cursor:pointer;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-width:142px;min-height:76px;padding:14px 22px;font-weight:700;line-height:1.45;display:inline-flex}.hero-actions button>span{white-space:nowrap;display:block}.hero-actions .certificate-primary{color:#76560d;background:#fff8df;border:1px solid #b68a24;box-shadow:0 10px 24px #9b741a20}.hero-actions .certificate-primary:hover{background:#ffefb9}.primary{border:1px solid var(--green);background:var(--green);color:#fff;box-shadow:0 10px 24px #087d6730}.secondary{border:1px solid var(--line);color:var(--ink);background:#fff}.trust-row{color:#64716d;flex-wrap:wrap;gap:18px;margin-top:20px;font-size:12px;display:flex}.hero-visual{place-items:center;height:500px;display:grid;position:relative}.paper{aspect-ratio:1/1.414;background:#fff;border:1px solid #e2e9e5;border-radius:8px;width:min(380px,74vw);position:absolute;box-shadow:0 28px 70px #1c3f3525}.back-paper{background:#ddefe7;transform:rotate(7deg)translate(-22px,5px)}.main-paper{padding:27px 25px;transform:rotate(-2.5deg)}.paper-head{border-bottom:3px solid var(--green);align-items:center;gap:10px;padding-bottom:12px;display:flex}.paper-head>div{flex:1}.paper-head b,.paper-head small{display:block}.paper-head b{font-size:12px}.paper-head small{margin-top:2px;font-size:15px;font-weight:700}.paper-head>span:last-child{background:var(--soft);border-radius:7px;padding:6px 8px;font-size:9px}.school-logo{background:var(--green);color:#fff;border-radius:9px;place-items:center;width:34px;height:34px;font-weight:700;display:grid}.student-line{color:#68736f;padding:13px 0;font-size:9px}.mock-question{align-items:center;gap:8px;margin:10px 0;font-size:10px;font-weight:700;display:flex}.mock-question b{background:var(--soft);width:22px;height:22px;color:var(--green);border-radius:6px;place-items:center;display:grid}.picture-options{gap:10px;padding-right:30px;display:flex}.picture-options i{background:#fbfcfb;border:1px solid #dce5e1;border-radius:9px;padding:10px;font-size:24px;font-style:normal}.picture-options i.selected{outline:2px solid var(--green);background:var(--soft)}.match-row{align-items:center;gap:8px;padding:5px 30px;font-size:10px;display:flex}.match-row span{width:45px}.match-row em{border-top:1px dashed #9aa6a1;flex:1;height:1px}.match-row i{font-size:20px;font-style:normal}.floating-note{z-index:2;color:var(--ink);background:#f5fbf8;border:1px solid #b8daca;border-radius:999px;align-items:center;gap:7px;padding:7px 11px;font-size:10px;font-weight:700;display:flex;position:absolute;top:-17px;left:18px;box-shadow:0 7px 18px #10231e18}.floating-note b{background:var(--green);color:#fff;border-radius:999px;padding:3px 7px;font-size:8px}.workspace-start,.recent{padding:72px clamp(24px,7vw,112px)}.workspace-start{background:#fff;border-radius:36px 36px 0 0}.section-heading{justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px;display:flex}.section-heading h2{letter-spacing:-.03em;margin:5px 0 0;font-size:30px}.segmented{background:#f0f4f1;border-radius:12px;padding:4px;display:flex}.segmented button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;padding:9px 14px}.segmented .active{color:var(--ink);background:#fff;box-shadow:0 2px 8px #18372e12}.activity-grid{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.activity-card{border:1px solid var(--line);text-align:right;cursor:pointer;background:#fbfcfb;border-radius:18px;align-items:center;gap:14px;padding:20px;transition:all .2s;display:flex}.activity-card:hover{transform:translateY(-3px);box-shadow:0 15px 30px #14372d12}.activity-card>span{background:var(--soft);width:48px;height:48px;color:var(--green);border-radius:14px;place-items:center;font-size:18px;font-weight:700;display:grid}.activity-card>div{flex:1}.activity-card b,.activity-card small{display:block}.activity-card small{color:var(--muted);margin-top:4px}.activity-card>i{color:#9aaba5;font-style:normal}.activity-card.blue>span{color:#2862c2;background:#e8f0ff}.activity-card.amber>span{color:#a16207;background:#fff1d7}.activity-card.violet>span{color:#7454b8;background:#f0eaff}.activity-card.rose>span{color:#bd5361;background:#ffe9eb}.activity-card.slate>span{color:#566169;background:#edf0f2}.recent{background:#f1f4f1}.site-footer{border-top:1px solid var(--line);min-height:74px;color:var(--muted);text-align:center;background:#fff;justify-content:center;align-items:center;gap:10px;padding:20px;font-size:13px;display:flex}.site-footer i{color:var(--green);font-style:normal}.text-button{color:var(--green);background:0 0;border:0;font-weight:700}.recent-grid{grid-template-columns:repeat(3,1fr);gap:18px;display:grid}.recent article{border:1px solid var(--line);background:#fff;border-radius:18px;padding:10px 10px 16px}.thumb{background:#e6f5ef;border-radius:12px;flex-direction:column;align-items:flex-start;height:200px;padding:25px;display:flex;overflow:hidden}.thumb b{font-size:22px}.thumb span{background:#fff;border-radius:99px;margin-top:7px;padding:5px 9px;font-size:11px}.thumb i{align-self:center;margin:auto;font-size:52px;font-style:normal}.thumb.math{background:#eeeaff}.thumb.color{background:#fff0d5}.recent article h3{margin:14px 8px 2px;font-size:15px}.recent article p{color:var(--muted);margin:0 8px;font-size:12px}@media (max-width:900px){.topbar{gap:10px;width:100%;min-width:0;max-width:100vw;overflow:hidden}.brand{z-index:2;background:#fff;flex:none;min-width:0;padding-inline-start:4px;position:relative}.top-actions{overscroll-behavior-inline:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch;flex:1 1 0;justify-content:flex-start;align-items:center;min-width:0;max-width:100%;height:100%;padding-top:10px;overflow:auto hidden}.top-actions>button,.top-actions>a{flex:none;justify-content:center;align-items:center;display:inline-flex!important}.top-actions .icon-button{display:inline-grid!important}.hero{grid-template-columns:1fr;padding-top:48px}.hero-visual{height:430px}.activity-grid{grid-template-columns:repeat(2,1fr)}.recent-grid{grid-template-columns:1fr 1fr}.recent-grid article:last-child{display:none}}@media (max-width:590px){.site-footer{flex-direction:column;gap:4px}.site-footer i{display:none}.topbar{height:68px;padding:0 16px}.brand-mark{width:42px;height:42px}.brand small{display:none}.hero{padding:38px 19px 52px}.hero-copy p{font-size:15px}.hero-actions{flex-direction:column}.hero-actions button{width:100%}.hero-visual{height:390px}.paper{width:290px}.workspace-start,.recent{padding:48px 18px}.section-heading{flex-direction:column;align-items:flex-start}.activity-grid,.recent-grid{grid-template-columns:1fr}.recent-grid article:last-child{display:block}.segmented{width:100%}.segmented button{flex:1}.activity-card{padding:15px}}.editor-shell{background:#eef2ef;height:100vh;overflow:hidden}.editor-top{border-bottom:1px solid var(--line);z-index:20;background:#fff;align-items:center;gap:18px;height:64px;padding:0 16px;display:flex;position:relative}.draft-restored-toast{z-index:500;color:#076b59;text-align:center;background:#e9f8f2;border:1px solid #a9d5c5;border-radius:999px;width:max-content;max-width:calc(100vw - 28px);padding:9px 15px;font-size:12px;font-weight:800;position:fixed;top:86px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #173b3524}.editor-brand{cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;display:flex}.editor-brand span{background:var(--ink);width:38px;height:38px;color:var(--lime);border-radius:11px;place-items:center;font-weight:700;display:grid}.editor-brand b{font-size:16px}.doc-title{border-right:1px solid var(--line);flex:1;align-items:center;gap:10px;min-width:0;padding-right:18px;display:flex}.doc-title input{background:0 0;border:0;width:260px;padding:7px;font-weight:700}.doc-title small{color:var(--green);font-size:10px}.editor-actions{flex:none;gap:6px;min-width:0;display:flex}.editor-actions button{white-space:nowrap;border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:9px;flex:none;height:34px;padding:0 10px;font-size:13px}.editor-actions .new-template-button{color:var(--green);background:var(--soft);white-space:nowrap;border-color:#a9cbbf;font-weight:700}.editor-actions .answer-key-button{color:var(--green);background:#edf8f3;border:1px solid #9bcdbb;font-weight:800}.editor-actions .teacher-tool-compact{width:34px;padding:0}.editor-actions .primary{background:var(--green);color:#fff;border-color:var(--green)}.editor-body{direction:rtl;grid-template-columns:76px 360px minmax(390px,1fr) 280px;height:calc(100vh - 64px);display:grid}.toolrail{color:#fff;background:#182420;flex-direction:column;gap:4px;padding:12px 7px;display:flex}.toolrail button{color:#b9c6c1;cursor:pointer;background:0 0;border:0;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:60px;display:flex}.toolrail button span{font-size:19px}.toolrail button small{font-size:9px}.toolrail button.active{color:var(--lime);background:#2b4038}.sidepanel,.properties{background:#fff;overflow:auto}.sidepanel{border-left:1px solid var(--line);padding:18px}@media (min-width:901px){.editor-body.has-properties .sidepanel{padding:18px 24px 110px}.editor-body.has-properties .sidepanel small,.editor-body.has-properties .sidepanel label,.editor-body.has-properties .sidepanel p{line-height:1.6;font-size:10px!important}.editor-body.has-properties .panel-title{margin-bottom:10px;padding-bottom:10px}.editor-body.has-properties .panel-title span{font-size:15px}.editor-body.has-properties .panel-title small{font-size:10px;line-height:1.55}.editor-body.has-properties .block-list,.editor-body.has-properties .template-list{gap:12px}.editor-body.has-properties .block-list>button,.editor-body.has-properties .question-group>button,.editor-body.has-properties .template-list>button{border-radius:15px;justify-content:flex-start;gap:13px;min-height:72px;padding:13px}.editor-body.has-properties .block-list i,.editor-body.has-properties .template-list i{border-radius:10px;width:48px;height:48px}.editor-body.has-properties .block-list b,.editor-body.has-properties .template-list b{font-size:15px}.editor-body.has-properties .block-list span{flex:auto;min-width:0}.editor-body.has-properties .block-list em{flex:none;margin-inline:7px 4px}.editor-body.has-properties .block-list small,.editor-body.has-properties .template-list small{font-size:11px;line-height:1.55}}.panel-title{border-bottom:1px solid var(--line);justify-content:space-between;margin-bottom:14px;padding-bottom:14px;display:flex}.panel-title span,.panel-title small{display:block}.panel-title span{font-weight:700}.panel-title small{color:var(--muted);margin-top:3px;font-size:10px}.block-list,.template-list,.question-group{flex-direction:column;gap:8px;display:flex}.question-group+.question-group{border-top:1px solid var(--line);margin-top:8px;padding-top:12px}.question-group>h3{color:var(--ink);align-items:center;gap:7px;margin:0;padding:3px 4px 5px;font-size:14px;font-weight:800;line-height:1.35;display:flex}.question-group>h3:before{content:"+";background:var(--soft);width:20px;height:20px;color:var(--green);border-radius:7px;flex:0 0 20px;place-items:center;font-size:15px;font-weight:800;display:grid}.question-group>button{box-sizing:border-box;text-align:right;border:1px solid var(--line);cursor:pointer;background:#fbfcfb;border-radius:13px;align-items:center;gap:10px;width:100%;min-width:0;padding:11px;display:flex}.question-group>button:hover{background:var(--soft);border-color:#9bc5b5}.question-group>button>i{background:var(--soft);width:36px;height:36px;color:var(--green);border-radius:10px;flex:none;place-items:center;font-style:normal;font-weight:700;display:grid}.question-group>button>span{flex:auto;min-width:0;max-width:100%;overflow:hidden}.question-group>button b,.question-group>button small{overflow-wrap:anywhere;word-break:normal;max-width:100%;display:block}.question-group>button b{white-space:normal;font-size:12px;line-height:1.55}.question-group>button small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:11px;line-height:1.35;overflow:hidden}.question-group>button em{color:var(--green);flex:none;font-style:normal}.question-type-card{box-sizing:border-box;text-align:right;border:1px solid var(--line);background:#fbfcfb;border-radius:13px;align-items:center;gap:10px;width:100%;min-width:0;padding:10px;display:flex}.question-type-card:hover{background:var(--soft);border-color:#9bc5b5}.question-type-card>i{background:var(--soft);width:36px;height:36px;color:var(--green);border-radius:10px;flex:none;place-items:center;font-style:normal;font-weight:700;display:grid}.question-type-card>span{flex:auto;min-width:0;overflow:hidden}.question-type-card>span b,.question-type-card>span small{overflow-wrap:anywhere;max-width:100%;display:block}.question-type-card>span b{font-size:12px;line-height:1.5}.question-type-card>span small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:10px;overflow:hidden}.question-type-card>div{flex:none;gap:5px;display:flex}.question-type-card>div button{width:42px;min-height:42px;color:var(--green);font:inherit;cursor:pointer;background:#fff;border:1px solid #abd0c2;border-radius:10px;align-content:center;place-items:center;gap:1px;font-size:15px;display:grid}.question-type-card>div button small{font-size:7px}.question-type-card>div .question-card-add{background:var(--green);color:#fff;border-color:var(--green)}.question-preview-layer{z-index:500;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#10271f66;justify-content:center;align-items:flex-end;padding:14px;display:flex;position:fixed;inset:0}.question-preview-sheet{background:#fff;border-radius:22px;width:min(560px,100%);max-height:min(72dvh,650px);padding:10px 16px 16px;overflow-y:auto;box-shadow:0 -20px 55px #10271f40}.question-preview-handle{background:#b7c3bf;border-radius:99px;width:48px;height:5px;margin:0 auto 10px}.question-preview-sheet>header{align-items:center;gap:10px;display:flex}.question-preview-sheet>header>span{background:var(--soft);width:42px;height:42px;color:var(--green);border-radius:12px;place-items:center;font-weight:800;display:grid}.question-preview-sheet>header>div{flex:1}.question-preview-sheet>header b,.question-preview-sheet>header small{display:block}.question-preview-sheet>header b{font-size:17px}.question-preview-sheet>header small,.question-preview-sheet>p{color:var(--muted);font-size:10px}.question-preview-sheet>header button{background:#eff4f2;border:0;border-radius:10px;width:38px;height:38px;font-size:20px}.question-preview-paper{background:#fff;border:1px solid #d6e3de;border-radius:14px;min-height:180px;margin:12px 0;padding:18px;overflow:hidden;box-shadow:0 8px 24px #17372d12}.question-preview-paper[data-preview-type=divider]{align-items:center;min-height:72px;display:grid}.question-preview-paper[data-preview-type=text]{min-height:100px}.question-preview-paper .ws-block{margin:0}.blank-question-preview{min-height:140px;color:var(--muted);border:2px dashed #c4d8d1;place-items:center;display:grid}.question-preview-sheet>footer{grid-template-columns:.7fr 1.3fr;gap:8px;display:grid}.question-preview-sheet>footer button{min-height:46px;color:var(--green);font:inherit;background:#fff;border:1px solid #b9d1c8;border-radius:11px;font-weight:800}.question-preview-sheet>footer .primary{background:var(--green);border-color:var(--green);color:#fff}@media (max-width:900px){.question-type-card{gap:7px;padding:7px 8px}.question-type-card>i{border-radius:9px;width:32px;height:32px}.question-type-card>div{gap:4px}.question-type-card>div button{border-radius:9px;width:34px;height:34px;min-height:34px;font-size:14px}.question-type-card>div button small{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.question-preview-layer{padding:8px 8px max(8px, env(safe-area-inset-bottom))}.question-preview-sheet{border-radius:20px;width:100%;max-height:calc(100dvh - 16px);padding:8px 12px 12px}.question-preview-sheet>p{margin:4px 0}.question-preview-paper{min-height:120px;max-height:42dvh;margin:8px 0;padding:12px;overflow:auto}.question-preview-paper[data-preview-type=divider]{min-height:68px;max-height:90px}.question-preview-paper[data-preview-type=text]{min-height:86px}.question-preview-sheet>footer button{min-height:44px}}.block-list>button,.template-list>button{box-sizing:border-box;text-align:right;border:1px solid var(--line);cursor:pointer;background:#fbfcfb;border-radius:13px;align-items:center;gap:10px;width:100%;min-width:0;padding:11px;display:flex}.block-list>button:hover{background:var(--soft);border-color:#9bc5b5}.block-list i,.template-list i{background:var(--soft);width:36px;height:36px;color:var(--green);border-radius:10px;flex:none;place-items:center;font-style:normal;font-weight:700;display:grid}.block-list span,.template-list span{flex:auto;min-width:0}.block-list b,.block-list small,.template-list b,.template-list small{display:block}.block-list b,.template-list b{font-size:12px}.block-list b{white-space:nowrap}.block-list small,.template-list small{color:var(--muted);margin-top:2px;font-size:9px}.block-list small{white-space:nowrap}.block-list em{color:var(--green);flex:none;font-style:normal}.question-search{z-index:3;border:1px solid var(--line);background:#fff;border-radius:10px;align-items:center;gap:7px;margin:0 0 9px;padding:8px 10px;display:flex;position:sticky;top:-11px}.question-search span{color:var(--green);font-size:18px}.question-search input{background:0 0;border:0;outline:0;width:100%;font-family:inherit;font-size:11px}.question-search-empty{text-align:center;color:var(--muted);padding:22px 8px;font-size:10px}.odd-one-activity{gap:10px;margin-top:10px;display:grid}.odd-one-activity>div{background:#f4faf7;border:1px solid #bcd9cf;border-radius:12px;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:10px;display:grid}.odd-one-activity span{background:#fff;border:1px solid #c7ddd5;border-radius:10px;place-items:center;min-height:66px;font-size:35px;display:grid}.visual-concepts-activity{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px;display:grid}.visual-concepts-activity>div{text-align:center;background:#f4faf7;border:1px solid #bcd9cf;border-radius:12px;padding:10px}.visual-concepts-activity>div>b{color:var(--green);margin-bottom:8px;display:block}.visual-concepts-activity>div>span{grid-template-columns:1fr 1fr;gap:9px;display:grid}.visual-concepts-activity i{white-space:pre-line;background:#fff;border:2px dashed #b8d2c9;border-radius:12px;place-items:center;min-height:80px;font-size:32px;font-style:normal;display:grid}.visual-preset-editor{gap:10px;display:grid}.visual-preset-editor>div:first-child b,.visual-preset-editor>div:first-child small{display:block}.visual-preset-editor>div:first-child small{color:var(--muted);margin-top:3px;font-size:10px}.visual-preset-grid{grid-template-columns:1fr 1fr;gap:6px;display:grid}.visual-preset-grid button{cursor:pointer;background:#f4faf7;border:1px solid #c7ddd5;border-radius:10px;min-height:58px;font-family:inherit}.visual-preset-grid button span,.visual-preset-grid button small{display:block}.visual-preset-grid button span{font-size:18px}.visual-preset-grid button small{color:var(--green);margin-top:3px}.visual-preset-editor>label{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;font-size:10px;display:grid}.visual-preset-editor input,.concept-row-editor input{border:1px solid var(--line);min-width:0;font:inherit;background:#fff;border-radius:8px;padding:8px}.visual-preset-editor button{border:1px solid var(--line);color:var(--green);background:#fff;border-radius:8px;font-family:inherit}.concept-row-editor{grid-template-columns:.8fr 1fr 1fr 32px;gap:5px;display:grid}.picture-count-activity{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px;display:grid}.picture-count-activity>div{background:#f5faf8;border:1px solid #bdd8cf;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;min-height:78px;padding:10px;display:flex}.picture-count-activity>div>span{flex-wrap:wrap;gap:3px;font-size:25px;display:flex}.picture-count-activity i,.number-match-activity em,.choose-quantity-activity em{font-style:normal}.picture-count-activity>div>b{background:#fff;border:2px solid #8fa39c;border-radius:8px;flex:none;width:38px;height:38px}.number-match-activity{grid-template-columns:.55fr 1.45fr;gap:42px;margin-top:10px;display:grid}.number-match-activity section{gap:9px;display:grid}.number-match-activity section>div{background:#f5faf8;border:1px solid #bdd8cf;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;min-height:58px;padding:7px 10px;display:flex}.number-match-activity section:first-child b{font-size:26px}.number-match-activity section i{border:2px solid var(--green);border-radius:50%;width:10px;height:10px}.number-match-activity section span{flex-wrap:wrap;gap:2px;font-size:20px;display:flex}.choose-quantity-activity{gap:10px;margin-top:10px;display:grid}.choose-quantity-activity>div{grid-template-columns:42px 1fr;align-items:center;gap:10px;display:grid}.choose-quantity-activity>div>b{background:var(--green);color:#fff;border-radius:50%;place-items:center;width:42px;height:42px;font-size:21px;display:grid}.choose-quantity-activity>div>span{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.choose-quantity-activity>div>span>i{background:#fff;border:1px solid #bdd8cf;border-radius:10px;flex-wrap:wrap;justify-content:center;align-items:center;gap:1px;min-height:62px;font-size:18px;font-style:normal;display:flex}.number-visual-editor{gap:10px;display:grid}.number-visual-editor>div:first-child b,.number-visual-editor>div:first-child small{display:block}.number-visual-editor>div:first-child small{color:var(--muted);margin-top:3px;font-size:10px}.early-tool-assistant{background:linear-gradient(145deg,#f2fbf7,#fff);border:1px solid #b9d9cd;border-radius:13px;gap:9px;margin-bottom:12px;padding:12px;display:grid}.early-tool-assistant>div:first-child b,.early-tool-assistant>div:first-child small{display:block}.early-tool-assistant>div:first-child small,.early-tool-assistant .upload-note{color:var(--muted);font-size:9px;line-height:1.6}.early-difficulty{grid-template-columns:repeat(3,1fr);gap:5px;display:grid}.early-difficulty button,.regenerate-early,.teacher-visual-upload{border:1px solid var(--line);min-height:38px;color:var(--ink);font:inherit;cursor:pointer;background:#fff;border-radius:9px}.early-difficulty button.active{border-color:var(--green);background:var(--soft);color:var(--green);font-weight:800}.regenerate-early{border-color:var(--green);background:var(--green);color:#fff;font-weight:800}.teacher-visual-upload{color:var(--green);place-items:center;font-weight:700;display:grid}.teacher-visual-upload input{display:none}.number-symbol-presets{grid-template-columns:repeat(2,1fr);gap:6px;display:grid}.number-symbol-presets button{min-height:52px;color:var(--green);background:#f5faf8;border:1px solid #c7ddd5;border-radius:9px;font-family:inherit}.number-symbol-presets span,.number-symbol-presets small{display:block}.number-symbol-presets span{font-size:20px}.number-row-editor{grid-template-columns:1fr 1fr 32px;align-items:end;gap:6px;display:grid}.quantity-row-editor{grid-template-columns:repeat(5,minmax(0,1fr)) 30px;align-items:end;gap:4px;display:grid}.number-row-editor label,.quantity-row-editor label{font-size:9px}.number-row-editor input,.quantity-row-editor input{border:1px solid var(--line);width:100%;min-width:0;font:inherit;border-radius:7px;padding:7px 5px}.number-row-editor button,.quantity-row-editor button{color:#b84a3e;background:#fff;border:1px solid #edc8c4;border-radius:7px;min-height:34px}.circle-number-activity{gap:9px;margin-top:10px;display:grid}.circle-number-activity>div{background:#f5faf8;border:1px solid #bdd8cf;border-radius:11px;grid-template-columns:1fr auto;align-items:center;gap:14px;padding:10px;display:grid}.circle-number-activity>div>span{flex-wrap:wrap;gap:3px;font-size:24px;display:flex}.circle-number-activity i{font-style:normal}.circle-number-activity em{gap:7px;font-style:normal;display:flex}.circle-number-activity em b{background:#fff;border:1px solid #9cb5ac;border-radius:50%;place-items:center;width:38px;height:38px;font-size:18px;display:grid}.trace-number-activity{gap:8px;margin-top:10px;display:grid}.trace-number-activity>div{border-bottom:1px solid #9eb6ad;grid-template-columns:1fr 1fr;align-items:end;gap:18px;min-height:62px;display:grid}.trace-number-activity span{direction:rtl;justify-content:space-around;display:flex}.trace-number-activity b{color:#0000;-webkit-text-stroke:1px var(--green);border-right:1px dashed var(--green);font-size:42px}.trace-number-activity i{border-bottom:1px dashed #a9beb6;height:42px}.before-after-activity{grid-template-columns:repeat(2,1fr);gap:12px;margin-top:10px;display:grid}.before-after-activity>div{grid-template-columns:1fr 52px 1fr;align-items:center;gap:7px;display:grid}.before-after-activity i{background:#fff;border:1px solid #9eb6ad;border-radius:8px;height:46px}.before-after-activity b{height:46px;color:var(--green);background:#e5f4ee;border-radius:8px;place-items:center;font-size:21px;display:grid}.number-sequence-editor{gap:9px;display:grid}.number-sequence-editor>div:first-child b,.number-sequence-editor>div:first-child small{display:block}.number-sequence-editor>div:first-child small{color:var(--muted);font-size:10px}.number-sequence-editor>div:nth-child(2){grid-template-columns:repeat(6,1fr);gap:5px;display:grid}.number-sequence-editor button{min-height:34px;color:var(--green);background:#f5faf8;border:1px solid #c7ddd5;border-radius:8px}.number-sequence-editor>label{grid-template-columns:auto 1fr 32px;align-items:center;gap:6px;font-size:10px;display:grid}.number-sequence-editor input{border:1px solid var(--line);min-width:0;font:inherit;border-radius:7px;padding:7px}.find-color-shape-activity,.shape-color-activity{gap:9px;margin-top:10px;display:grid}.find-color-shape-activity>div,.shape-color-activity>div{background:#f5faf8;border:1px solid #bdd8cf;border-radius:11px;grid-template-columns:100px 1fr;align-items:center;gap:10px;padding:9px;display:grid}.find-color-shape-activity>div>b,.shape-color-activity>div>b{color:var(--green);text-align:center}.shape-color-activity small{color:var(--muted);display:block}.find-color-shape-activity span,.shape-color-activity span{grid-template-columns:repeat(4,1fr);gap:7px;display:grid}.find-color-shape-activity i,.shape-color-activity i{background:#fff;border:1px dashed #9eb6ad;border-radius:9px;place-items:center;min-height:50px;font-size:30px;font-style:normal;display:grid}.path-trace-activity{gap:12px;margin-top:10px;display:grid}.path-trace-activity>div{grid-template-columns:52px 1fr 52px;align-items:center;gap:8px;min-height:72px;display:grid}.path-trace-activity b{text-align:center;font-size:30px}.path-trace-activity i{background-position:50%;background-repeat:repeat-x;height:58px}.path-straight{border-top:3px dashed var(--green);height:3px!important}.path-wave{background-image:radial-gradient(ellipse at 50% 100%,transparent 58%,var(--green) 60%,var(--green) 63%,transparent 65%);background-size:64px 32px}.path-zigzag{background:linear-gradient(135deg,transparent 46%,var(--green) 48%,var(--green) 51%,transparent 53%) 0 0/44px 44px repeat-x}.path-curve{border-top:3px dashed var(--green);border-radius:50%}.path-steps{background:repeating-linear-gradient(135deg,transparent 0 18px,var(--green) 19px 21px,transparent 22px 36px)}.path-spiral{border:3px dotted var(--green);border-left-color:#0000;border-radius:50%}.path-dash{border-top:4px dotted var(--green);height:4px!important}.connected-word-list{gap:10px;padding:3px 28px 6px;display:grid}.connected-word-list>div{align-items:center;gap:9px;min-height:54px;display:flex}.connected-word-letters,.connected-word-letters>span{align-items:center;gap:5px;display:flex}.connected-word-letters b{min-width:max(42px, calc(var(--answer-size,12px) * 3.2));height:max(34px, calc(var(--answer-size,12px) * 2.7));background:var(--soft);font-size:var(--answer-size,12px);border:1px solid #cbd8d2;border-radius:8px;place-items:center;padding-inline:8px;display:grid}.connected-word-letters i,.connected-word-list>div>em{font-style:normal;font-weight:800;font-size:var(--answer-size,12px)}.connected-word-answer{border-bottom:1.5px dotted #26332e;flex:1;min-width:90px;height:34px}.crossword-layout{grid-template-columns:minmax(230px,1.25fr) minmax(170px,.75fr);align-items:center;gap:18px;padding:5px 28px 8px;display:grid}.crossword-grid{direction:ltr;width:min(100%,430px);margin-inline:auto;display:grid}.crossword-grid>span,.crossword-grid>i{aspect-ratio:1;min-width:22px}.crossword-grid>i{background:0 0}.crossword-cell{background:#fff;border:1px solid #6b9fc5;position:relative}.crossword-cell small{color:var(--green);font-size:7px;font-weight:800;position:absolute;top:1px;left:2px}.crossword-clues{gap:7px;margin:0;padding:0;list-style:none;display:grid}.crossword-clues li{font-size:var(--answer-size,12px);align-items:center;gap:7px;display:flex}.crossword-clues li>b{background:var(--soft);width:22px;height:22px;color:var(--green);border-radius:50%;place-items:center;display:grid}.crossword-clues li>span{border-bottom:1px dotted #9aaba5;flex:1;padding-bottom:3px}@media (max-width:700px){.crossword-layout{grid-template-columns:1fr;padding-inline:8px}}.word-search-layout{grid-template-columns:1fr;align-items:start;gap:22px;padding:5px 28px 14px;display:grid}.word-search-grid{border:2px solid var(--green);text-align:center;direction:rtl;width:min(100%,470px);margin-inline:auto;display:grid}.word-search-grid>span{aspect-ratio:1;border:.5px solid color-mix(in srgb, var(--green) 28%, white);font-size:var(--answer-size,12px);place-items:center;font-weight:700;display:grid}.word-search-bank{grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:18px 24px;display:grid}.word-search-bank>span{min-width:0;min-height:calc(max(var(--visual-size,42px), 68px) + 48px);justify-items:center;gap:9px;display:grid}.word-search-bank>span>b{width:max(calc(var(--visual-size,42px) + 8px), 76px);height:max(calc(var(--visual-size,42px) + 8px), 76px);border:1px solid var(--green);background:#fff;border-radius:16px;flex:none;place-items:center;display:grid;overflow:hidden}.word-search-bank>span>b .visual-choice img{width:max(var(--visual-size,42px), 68px);height:max(var(--visual-size,42px), 68px);object-fit:contain}.word-search-bank>span>b .visual-choice>span{font-size:max(calc(var(--visual-size,42px) * .62), 34px)}.word-search-bank>span>i{border:1px solid color-mix(in srgb, var(--green) 65%, white);background:linear-gradient(transparent 70%, color-mix(in srgb, var(--green) 22%, white) 70% 74%, transparent 74%);border-radius:999px;width:100%;min-width:110px;height:30px;display:block}@media (max-width:700px){.word-search-layout{grid-template-columns:1fr;padding-inline:8px}.word-search-bank{grid-template-columns:repeat(2,minmax(0,1fr))}}.missing-letter-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:4px 28px 8px;display:grid}.missing-letter-grid.items-1{grid-template-columns:minmax(180px,42%);justify-content:center}.missing-letter-grid.items-2{grid-template-columns:repeat(2,minmax(0,1fr))}.missing-letter-grid.items-3{grid-template-columns:repeat(3,minmax(0,1fr))}.missing-letter-grid article{background:#fff;border:1px solid #cbd8d2;border-radius:12px;gap:8px;padding:9px;display:grid}.missing-letter-picture{min-height:calc(var(--visual-size,42px) * 2.25);place-items:center;display:grid;overflow:hidden}.missing-letter-picture .visual-choice img{width:calc(var(--visual-size,42px) * 2);height:calc(var(--visual-size,42px) * 2)}.missing-letter-picture .visual-choice>span{font-size:calc(var(--visual-size,42px) * 1.35)}.missing-letter-word{justify-content:center;gap:3px;display:flex}.missing-letter-word>span{border:1px solid var(--green);min-width:25px;height:30px;font-size:var(--answer-size,12px);border-radius:5px;place-items:center;padding-inline:3px;font-weight:700;display:grid}.missing-letter-word>span.hidden-letter{background:var(--soft);border-style:dashed;min-width:34px}.letter-positions-grid.items-5,.letter-positions-grid.items-6{grid-template-columns:repeat(3,minmax(0,1fr))}.letter-position-label{text-align:center;color:var(--green);font-size:8px;font-weight:700;display:block}.missing-letter-item-editor{gap:8px;width:100%;display:grid}.missing-letter-hide-picker{gap:5px;display:grid}.missing-letter-hide-picker>div{flex-wrap:wrap;gap:4px;display:flex}.missing-letter-hide-picker button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:7px;min-width:32px;height:32px}.missing-letter-hide-picker button.active{border-color:var(--green);background:var(--soft);color:var(--green);font-weight:800}@media (max-width:700px){.missing-letter-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:8px}}.syllable-analysis-list{gap:10px;padding:4px 34px 8px;display:grid}.syllable-analysis-list>div{grid-template-columns:minmax(100px,.7fr) 30px minmax(220px,1.6fr);align-items:center;gap:10px;min-height:54px;display:grid}.syllable-analysis-list>div>b{border:1px solid var(--green);background:var(--soft);text-align:center;font-size:var(--answer-size,12px);border-radius:9px;padding:9px 12px}.syllable-analysis-list>div>em{color:var(--green);text-align:center;font-size:18px;font-style:normal;font-weight:800}.syllable-answer-boxes{grid-auto-columns:minmax(48px,1fr);grid-auto-flow:column;gap:6px;display:grid}.syllable-answer-boxes>i{background:#fff;border:1.5px dashed #7d9a8f;border-radius:8px;height:38px}@media (max-width:700px){.syllable-analysis-list{padding-inline:8px}.syllable-analysis-list>div{grid-template-columns:1fr 24px 1.7fr}}@media (min-width:901px) and (max-width:1199px){.editor-body{grid-template-columns:76px 310px minmax(390px,1fr) 280px}.block-list small{font-size:8px}}.form-stack{flex-direction:column;gap:11px;display:flex}.form-stack label,.property-group label,.print-settings label{color:var(--muted);font-size:10px}.form-stack input,.property-group textarea,.library-layout input,.print-settings select{border:1px solid var(--line);width:100%;color:var(--ink);font:inherit;background:#fbfcfb;border-radius:9px;margin-top:5px;padding:9px}.two{grid-template-columns:1fr 1fr;gap:8px;display:grid}.upload-box{background:var(--soft);width:100%;color:var(--green);cursor:pointer;border:1px dashed #9cbcaf;border-radius:12px;padding:14px}.art-head{justify-content:space-between;align-items:center;margin:18px 0 10px;font-size:12px;display:flex}.art-head button{color:var(--green);background:0 0;border:0}.mini-art{grid-template-columns:repeat(4,1fr);gap:7px;display:grid}.mini-art button{aspect-ratio:1;border:1px solid var(--line);background:#fbfcfb;border-radius:10px;font-size:24px}.canvas-area{direction:ltr;background-color:#e9eeeb;background-image:radial-gradient(#cdd6d1 1px,#0000 1px);background-size:18px 18px;padding:8px 8px 52px;overflow:auto}.editor-body.has-properties .canvas-area{direction:ltr}.canvas-area.canvas-zoom-overflow{cursor:grab}.canvas-area.canvas-zoom-overflow.is-panning{cursor:grabbing;-webkit-user-select:none;user-select:none}.canvas-area.canvas-zoom-overflow .worksheet-frame{margin:0 160px 120px}.canvas-area .worksheet-stage{direction:rtl}.canvas-area .worksheet-frame{left:var(--canvas-scrollbar-balance,0px)}.canvas-bar{color:#65726d;justify-content:space-between;align-items:center;max-width:none;height:38px;margin:0 auto 6px;font-size:10px;display:flex}.canvas-bar div{align-items:center;gap:6px;display:flex}.canvas-bar button{border:1px solid var(--line);background:#fff;border-radius:7px;height:28px;padding:0 9px}.canvas-bar button:disabled{opacity:.38;cursor:not-allowed}.canvas-page-switcher{justify-content:flex-start;min-width:170px}.canvas-page-switcher span{min-width:82px;color:var(--ink);text-align:center;white-space:nowrap;font-weight:700}.canvas-page-switcher button{width:36px;color:var(--green);padding:0;font-size:15px;font-weight:800}.block-list small,.template-list small{font-size:10px;line-height:1.5}.canvas-bar{height:auto;min-height:44px;font-size:11px}.canvas-bar button{height:36px;min-height:36px;font-size:10px}.mobile-panel-close{min-height:44px;padding-inline:10px;font-size:10px!important}.worksheet{color:#202724;background:#fff;width:650px;min-height:920px;margin:auto;padding:18px 38px 27px;position:relative;box-shadow:0 20px 45px #203d3428}.worksheet:before{content:"";z-index:4;pointer-events:none;border-radius:2px;position:absolute;inset:13px}.worksheet-border-none:before{display:none}.worksheet-border-simple:before{border:2px solid var(--frame-color,var(--green))}.worksheet-border-double:before{border:5px double var(--frame-color,var(--green))}.worksheet-border-corners:before{background:linear-gradient(var(--frame-color,var(--green)), var(--frame-color,var(--green))) top right / 64px 3px no-repeat, linear-gradient(var(--frame-color,var(--green)), var(--frame-color,var(--green))) top right / 3px 64px no-repeat, linear-gradient(var(--frame-color,var(--green)), var(--frame-color,var(--green))) top left / 64px 3px no-repeat, linear-gradient(var(--frame-color,var(--green)), var(--frame-color,var(--green))) top left / 3px 64px no-repeat, linear-gradient(var(--frame-color,var(--green)), var(--frame-color,var(--green))) bottom right / 64px 3px no-repeat, linear-gradient(var(--frame-color,var(--green)), var(--frame-color,var(--green))) bottom right / 3px 64px no-repeat, linear-gradient(var(--frame-color,var(--green)), var(--frame-color,var(--green))) bottom left / 64px 3px no-repeat, linear-gradient(var(--frame-color,var(--green)), var(--frame-color,var(--green))) bottom left / 3px 64px no-repeat}.worksheet-border-geometric:before{border:3px dashed var(--frame-color,var(--green));box-shadow:inset 0 0 0 4px #fff, inset 0 0 0 5px var(--line)}.worksheet-border-dotted:before{border:5px dotted var(--frame-color,var(--green));border-radius:10px}.worksheet-border-formal:before{border:1px solid var(--frame-color,var(--green));outline:3px solid var(--line);outline-offset:3px;box-shadow:inset 0 0 0 4px #fff, inset 0 0 0 5px var(--frame-color,var(--green))}.worksheet-border-notebook:before{border:2px solid var(--frame-color,var(--green));background:repeating-linear-gradient(to bottom, transparent 0 26px, var(--line) 26px 27px);opacity:.72}.worksheet-border-arabic:before{border:2px solid var(--frame-color,var(--green));background:linear-gradient(45deg, var(--frame-color,var(--green)) 25%, transparent 25% 75%, var(--frame-color,var(--green)) 75%) top left / 18px 18px no-repeat, linear-gradient(-45deg, var(--frame-color,var(--green)) 25%, transparent 25% 75%, var(--frame-color,var(--green)) 75%) top right / 18px 18px no-repeat, linear-gradient(-45deg, var(--frame-color,var(--green)) 25%, transparent 25% 75%, var(--frame-color,var(--green)) 75%) bottom left / 18px 18px no-repeat, linear-gradient(45deg, var(--frame-color,var(--green)) 25%, transparent 25% 75%, var(--frame-color,var(--green)) 75%) bottom right / 18px 18px no-repeat}.worksheet-border-nature:before{border:1px solid var(--line);box-shadow:inset 8px 8px 0 -5px var(--frame-color,var(--green)), inset -8px -8px 0 -5px var(--frame-color,var(--green));border-radius:12px 2px}.worksheet-theme-blue{--green:#2563a8;--soft:#eaf3ff;--line:#c8d9eb}.worksheet-theme-warm{--green:#c45f22;--soft:#fff1e6;--line:#ead2bf}.worksheet-theme-kids{--green:#7754b8;--soft:#f3edff;--line:#d8cbed;border-top:8px solid #f0b429}.worksheet-theme-kids .ws-logo{border-radius:50%}.worksheet-theme-kids .ws-meta span:nth-child(2n){color:#16725a;background:#e7f6ef}.worksheet-theme-kids .ws-meta span:nth-child(3n){color:#a45120;background:#fff1df}.ws-head{border-bottom:3px solid var(--green);direction:ltr;grid-template:"ministry identity logo"76px"date student student"26px/110px minmax(0,1fr) auto;align-items:center;gap:0 12px;padding-bottom:7px;display:grid}.ws-head>.ws-identity{text-align:right;direction:rtl;grid-area:identity;place-self:center end;min-width:0}.ws-head b{font-size:20px;font-weight:800;line-height:1.35;display:block}.ws-head h2{border-inline-start:3px solid var(--green);background:var(--soft);width:fit-content;color:var(--green);border-radius:4px;margin:3px 0 0 auto;padding:1px 7px 2px;font-size:14px;font-weight:700;line-height:1.45}.ws-head .ws-date{text-align:center;white-space:nowrap;direction:rtl;border:0;grid-area:date;justify-content:center;align-items:baseline;gap:4px;width:100%;min-width:0;margin:0;padding:0;font-size:13px;line-height:1.4;display:flex}.ws-head .ws-date>b{font-size:inherit;font-weight:700;display:inline}.ws-head .ws-date>span{unicode-bidi:isolate}.ws-logo{background:var(--green);color:#fff;direction:rtl;border-radius:9px;grid-area:logo;justify-self:end;place-items:center;width:38px;height:38px;font-weight:700;display:grid}.ws-school-logo{width:var(--school-logo-size,48px);height:var(--school-logo-size,48px);object-fit:contain;grid-area:logo;place-self:center end;max-width:72px;max-height:72px}.ws-ministry-logo{width:min(var(--ministry-logo-width,96px), 94px);height:calc(var(--ministry-logo-width,96px) * .875);object-fit:contain;flex:none;grid-area:ministry;place-self:center start;max-width:94px;max-height:82px}.ws-student-name{text-align:right;direction:rtl;grid-area:2/1/auto/-1;justify-content:center;place-self:center;align-items:baseline;gap:6px;width:min(58%,340px);margin:0;font-size:12px;font-weight:600;line-height:1.5;display:flex}.ws-student-name>b{font-size:inherit;flex:none}.ws-student-name>i{border-bottom:1px dotted #5d6864;flex:1;min-width:100px;height:1em}.worksheet-mono .ws-ministry-logo{filter:grayscale()contrast(1.12)}.ws-meta{grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:0;width:100%;padding:11px 0;display:grid}.ws-meta span{text-align:center;background:var(--soft);border-block:1px solid var(--line);border-inline-start:1px solid var(--line);white-space:nowrap;border-radius:0;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:34px;padding:7px 8px;font-size:12px;line-height:1.35;display:flex}.ws-meta span:first-child{border-start-start-radius:7px;border-end-start-radius:7px}.ws-meta span:last-child{border-inline-end:1px solid var(--line);border-start-end-radius:7px;border-end-end-radius:7px}.ws-meta span b{color:var(--ink);font-size:inherit}.date-fieldset{border:1px solid var(--line);border-radius:11px;min-width:0;margin:0;padding:8px 9px 10px}.date-fieldset legend{color:var(--muted);padding-inline:5px;font-size:10px}.date-selects{grid-template-columns:.75fr 1.45fr 1fr;gap:6px;display:grid}.date-selects label{gap:4px;min-width:0;margin:0;display:grid}.date-selects label span{color:var(--muted);font-size:9px}.date-selects select{border:1px solid var(--line);width:100%;min-width:0;height:36px;color:var(--ink);font:inherit;background:#fff;border-radius:8px;padding-inline:6px;font-size:10px}.ws-blocks{padding-top:8px}.ws-block{border:1px solid #0000;border-radius:7px;margin-bottom:5px;padding:8px;position:relative}.ws-block.selected{border:2px solid var(--green);background:#fbfefc}.ws-block.show-block-frame{border-style:solid;border-color:var(--green);border-width:var(--block-frame-width,1px)}.block-frame-controls{border:1px solid var(--line);background:#f7faf8;border-radius:10px;gap:9px;padding:10px;display:grid}.divider-controls{border:1px solid var(--line);background:#f7faf8;border-radius:12px;gap:10px;padding:12px;display:grid}.divider-controls>b{font-size:12px}.ws-block.divider-block{margin-block:3px 7px;padding-block:14px}.worksheet-divider{justify-content:center;align-items:center;width:100%;min-height:12px;padding-inline:18px;display:flex}.worksheet-divider>span{border-top-color:var(--green);width:100%;display:block}.worksheet-divider.divider-solid>span{border-top-style:solid}.worksheet-divider.divider-dashed>span{border-top-style:dashed}.worksheet-divider.divider-short>span{width:42%}.mono .worksheet-divider>span{border-top-color:#111}.block-toolbar{background:var(--green);z-index:2;border-radius:7px;gap:2px;padding:2px;display:flex;position:absolute;top:-16px;left:5px}.block-toolbar button{color:#fff;background:0 0;border:0;font-size:9px}.ws-block h3{font-size:inherit;align-items:center;gap:7px;margin:3px 0 8px;display:flex}.ws-block .instruction,.ws-block .ws-options>span,.ws-block .ws-match,.ws-block .true-row,.ws-block .math-boxes,.ws-block .order-activity,.ws-block .classification-bank,.ws-block .number-sequence{font-size:inherit}.ws-block.align-center h3{justify-content:center}.ws-block.align-left h3{justify-content:flex-end}.ws-block.align-center .instruction,.ws-block.align-center .classification-bank,.ws-block.align-center .number-sequence{text-align:center}.ws-block.align-left .instruction,.ws-block.align-left .classification-bank,.ws-block.align-left .number-sequence{text-align:left}.ws-block h3>b{background:var(--soft);width:max(20px,1.7em);height:max(20px,1.7em);color:var(--green);border-radius:6px;flex:none;place-items:center;display:grid}.ws-options{grid-template-columns:repeat(3,1fr);gap:8px;padding-right:27px;display:grid}.ws-options>span{min-width:0;font-size:var(--answer-size,12px);border:1px solid #d9e1dd;border-radius:7px;align-items:flex-start;gap:6px;padding:5px;display:flex;overflow:hidden}.ws-options>span>.visual-choice{overflow-wrap:anywhere;word-break:break-word;white-space:normal;flex:auto;justify-content:flex-start;min-width:0;line-height:1.5}.ws-options>span>.visual-choice>span{overflow-wrap:anywhere;word-break:break-word;min-width:0;max-width:100%}.visual-choice{justify-content:center;align-items:center;gap:5px;max-width:100%;display:inline-flex}.visual-choice.has-image{flex-direction:column}.visual-choice img{width:var(--visual-size,54px);height:var(--visual-size,54px);object-fit:contain;border-radius:7px;display:block}.image-text-activity>p{font-size:var(--answer-size,12px);white-space:pre-wrap;margin:8px 0 0;line-height:1.75}.image-text-grid{grid-template-columns:repeat(var(--image-count,1), minmax(0, 1fr));gap:10px;width:100%;display:grid}.image-text-grid.images-1{--image-count:1;max-width:62%;margin-inline:auto}.image-text-grid.images-2{--image-count:2}.image-text-grid.images-3{--image-count:3}.image-text-grid img,.image-text-placeholder{width:100%;height:clamp(110px, calc(var(--visual-size,42px) * 3.2), 260px);object-fit:contain;background:#fff;border:1px solid #d6e1dc;border-radius:9px}.image-text-placeholder{text-align:center;color:var(--muted);border-style:dashed;place-content:center;gap:4px;display:grid}.image-text-placeholder span{color:var(--green);font-size:22px}.image-text-upload-list{gap:7px;display:grid}.image-text-upload-list>div{border:1px solid var(--line);border-radius:9px;align-items:center;gap:7px;padding:7px;display:flex}.image-text-upload-list>div>span{flex:1;align-items:center;gap:6px;display:flex}.image-text-upload-list img,.image-text-upload-list i{object-fit:contain;background:var(--soft);border-radius:6px;place-items:center;width:34px;height:34px;display:grid}.image-text-upload-list label,.image-text-upload-list button{border:1px solid var(--line);color:var(--green);cursor:pointer;background:#fff;border-radius:7px;padding:6px 8px}.image-text-upload-list input{display:none}.ws-match .visual-choice img,.classification-bank .visual-choice img{width:var(--visual-size,42px);height:var(--visual-size,42px)}.visual-choice.symbol-only>span{font-size:var(--visual-size,42px);line-height:1}.visual-upload-row{flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px;display:flex}.visual-upload-row label,.visual-upload-row button{min-width:82px;color:var(--green);cursor:pointer;background:#f5fbf8;border:1px dashed #9bc5b5;border-radius:8px;flex:82px;padding:6px 8px;font-size:10px!important}.visual-upload-row input[type=file]{display:none}.visual-upload-row button{color:#a33e37;background:#fff8f7;border-color:#e4bbb8;width:auto;min-width:82px;height:auto}.ws-options>span>i{border:1px solid #a8b3ae;border-radius:50%;flex:0 0 16px;place-items:center;width:16px;height:16px;margin:0;font-style:normal;line-height:1;display:grid}.ws-match{font-size:var(--answer-size,12px);grid-template-columns:1fr;gap:8px;padding:0 28px;display:grid}.ws-match .match-row{grid-template-columns:minmax(120px,1fr) minmax(80px,1.5fr) minmax(120px,1fr);align-items:center;gap:12px;width:100%;display:grid}.ws-match em{min-width:0;height:20px;position:relative;border:0!important}.ws-match em:before,.ws-match em:after{content:"";background:var(--green);border-radius:50%;width:9px;height:9px;position:absolute;top:50%;transform:translateY(-50%)}.ws-match em:before{right:0}.ws-match em:after{left:0}.ws-match i{font-style:normal;font-size:inherit}.ws-match .match-side{text-align:center;white-space:normal;overflow-wrap:anywhere;justify-content:center;align-items:center;min-width:0;line-height:1.5;display:flex}.ws-match .match-side .visual-choice{width:100%;min-width:0}.ws-match .match-side .visual-choice>span{white-space:normal;min-width:0;font-size:var(--answer-size,12px);display:block}.true-row{min-height:38px;font-size:var(--answer-size,12px);background:#fff;border:1px solid #d7e0dc;border-radius:8px;align-items:center;gap:8px;padding:6px 10px;display:flex}.true-false-list{gap:7px;padding-inline:27px;display:grid}.true-row>b{background:var(--soft);width:22px;height:22px;color:var(--green);border-radius:6px;flex:0 0 22px;place-items:center;display:grid}.true-row span{overflow-wrap:anywhere;flex:1;min-width:0}.true-row i{white-space:nowrap;border:1px solid #bac4c0;border-radius:6px;padding:4px 8px;font-style:normal}.true-false-item-editor{border:1px solid var(--line);background:#fff;border-radius:10px;gap:7px;padding:9px;display:grid}.true-false-answer-buttons{gap:6px;display:flex}.true-false-answer-buttons button{flex:1;min-height:34px}.true-false-answer-buttons button.danger{color:#a83f4a;flex:0 0 34px}.answer-lines{background:repeating-linear-gradient(transparent, transparent calc(var(--line-spacing,22px) - 1px), #ccd4d0 var(--line-spacing,22px));height:70px;margin-right:27px}.blank-page-space{width:100%;min-height:690px}.blank-page-space h3{margin:0}.fill-answer-lines{margin-top:-3px;margin-bottom:4px}.math-boxes{justify-content:flex-start;gap:max(6px, calc(var(--answer-size,12px) * .65));font-size:var(--answer-size,12px);flex-wrap:wrap;padding-inline:27px;display:flex}.ws-block.align-center .math-boxes{justify-content:center}.ws-block.align-left .math-boxes{justify-content:flex-end}.math-problem{align-items:center;gap:max(6px, calc(var(--answer-size,12px) * .7));padding:max(5px, calc(var(--answer-size,12px) * .6)) max(8px, calc(var(--answer-size,12px) * .95));border-radius:max(6px, calc(var(--answer-size,12px) * .55));font-size:inherit;background:#fff;border:1px solid #cdd6d1;font-weight:600;display:inline-flex}.math-problem>span{font-size:inherit;white-space:nowrap}.math-answer-box{background:#fff;border:2px solid #8d9b95;border-radius:6px;flex:none;width:clamp(25px,2.8em,68px);height:clamp(23px,2.45em,60px);display:block}.coloring-art{min-height:calc(var(--coloring-size,150px) + 28px);font-size:var(--coloring-size,150px);filter:grayscale();-webkit-text-stroke:2px #222;color:#fff;place-items:center;display:grid}.coloring-art .visual-choice.symbol-only>span{font-size:var(--coloring-size,150px);line-height:1}.coloring-art .visual-choice img{width:var(--coloring-size,150px);height:var(--coloring-size,150px);-webkit-filter:grayscale()contrast(1.55);max-width:100%}.coloring-upload-row{grid-column:1/-1;width:100%}.instruction{border-right:4px solid var(--green);background:var(--soft);padding:8px;font-size:10px}.worksheet footer{border-top:1px solid var(--line);color:#7a8581;justify-content:space-between;padding-top:7px;font-size:8px;display:flex;position:absolute;bottom:22px;left:38px;right:38px}.worksheet-mono{filter:grayscale()}.worksheet-theme-picker{border:1px solid var(--line);background:color-mix(in srgb, var(--soft) 42%, white);border-radius:14px;gap:10px;padding:13px;display:grid}.collapsible-card-heading{width:100%;min-height:42px;color:var(--ink);text-align:right;background:0 0;border:0;grid-template-columns:1fr auto;align-items:center;gap:9px;padding:0;display:grid}.collapsible-card-heading>span:first-child,.school-data-heading{gap:3px;display:grid}.collapsible-card-heading small,.school-data-heading small{color:var(--muted);font-size:11px}.collapsible-card-heading b{font-size:14px}.collapsible-card-heading em{border:1px solid var(--line);width:27px;height:27px;color:var(--green);background:#fff;border-radius:8px;place-items:center;font-size:18px;font-style:normal;line-height:1;display:grid}.collapsible-card.collapsed{gap:0;padding-top:8px;padding-bottom:8px}.collapsible-card.collapsed .collapsible-card-content{display:none}.collapsed-color-preview{width:20px;height:20px;box-shadow:0 0 0 1px var(--line);border:2px solid #fff;border-radius:50%}.worksheet-color-picker .collapsible-card-heading{grid-template-columns:1fr auto auto}.worksheet-theme-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.worksheet-theme-grid .theme-choice{border:1px solid var(--line);text-align:right;background:#fff;border-radius:12px;grid-template-columns:18px 1fr auto;align-items:center;gap:7px;min-width:0;min-height:64px;padding:9px;display:grid}.worksheet-theme-grid .theme-choice.active{border-width:2px;border-color:var(--green);background:var(--soft)}.worksheet-theme-grid .theme-choice i{background:#07866e;border-radius:5px;width:16px;height:38px}.worksheet-theme-grid .theme-blue i{background:#2563a8}.worksheet-theme-grid .theme-warm i{background:#c45f22}.worksheet-theme-grid .theme-kids i{background:linear-gradient(#7754b8 0 25%,#f0b429 25% 50%,#38a169 50% 75%,#e05a79 75%)}.worksheet-theme-grid .theme-choice span{gap:2px;display:grid}.worksheet-theme-grid .theme-choice b{font-size:13px}.worksheet-theme-grid .theme-choice small{font-size:10px}.worksheet-theme-grid .theme-choice em{color:var(--green);font-style:normal;font-weight:800}.worksheet-color-picker{border:1px solid var(--line);background:color-mix(in srgb, var(--soft) 58%, white);border-radius:14px;gap:9px;padding:13px;display:grid}.worksheet-color-picker>div:first-child{gap:2px;display:grid}.color-wheel-control{border:1px solid var(--line);background:#fff;border-radius:11px;grid-template-columns:44px minmax(140px,1fr) auto;align-items:center;gap:8px;min-height:52px;padding:7px 9px;display:grid}.color-preview-circle{aspect-ratio:1;border-radius:50%;place-self:center;width:42px;min-width:42px;height:42px;min-height:42px;box-shadow:inset 0 0 0 1px #00000012}.color-code-box{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:minmax(72px,1fr) auto;min-width:0;display:grid;overflow:hidden}.color-code-box input{text-transform:uppercase;border:0;border-radius:0;min-width:0;height:34px;padding:0 8px;font-size:11px;font-weight:700}.color-code-box button{border:0;border-right:1px solid var(--line);background:var(--soft);min-height:34px;color:var(--green);white-space:nowrap;border-radius:0;padding:0 7px;font-size:10px}.open-color-wheel{min-height:36px;color:var(--green);white-space:nowrap;background:0 0;border:0;padding:0 10px;font-size:11px;font-weight:700}.native-color-wheel{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.school-data-card{border:1px solid var(--line);background:color-mix(in srgb, var(--soft) 32%, white);border-radius:14px;gap:11px;padding:13px;display:grid}.worksheet-frame-picker{border:1px solid var(--line);background:color-mix(in srgb, var(--soft) 48%, white);border-radius:14px;gap:10px;padding:13px;display:grid}.worksheet-frame-picker .collapsible-card-heading{grid-template-columns:1fr auto auto}.collapsed-frame-preview{width:24px;height:30px;box-shadow:inset 0 0 0 1px var(--line);background:#fff;border-radius:3px;display:block}.collapsed-frame-preview.frame-simple{border:2px solid var(--green)}.collapsed-frame-preview.frame-double{border:3px double var(--green)}.collapsed-frame-preview.frame-corners{box-shadow:inset 4px 4px 0 -2px var(--green), inset -4px -4px 0 -2px var(--green);border:0}.collapsed-frame-preview.frame-geometric{border:2px dashed var(--green)}.collapsed-frame-preview.frame-dotted{border:3px dotted var(--green)}.collapsed-frame-preview.frame-formal{border:3px double var(--green);outline:1px solid var(--line)}.collapsed-frame-preview.frame-notebook{border:2px solid var(--green);background:repeating-linear-gradient(to bottom, #fff 0 6px, var(--line) 6px 7px)}.collapsed-frame-preview.frame-arabic{border:2px solid var(--green);box-shadow:inset 5px 5px 0 -2px var(--green), inset -5px -5px 0 -2px var(--green)}.collapsed-frame-preview.frame-nature{border:1px solid var(--line);box-shadow:inset 5px 5px 0 -3px var(--green), inset -5px -5px 0 -3px var(--green);border-radius:8px 2px}.frame-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.frame-choice{border:1px solid var(--line);min-width:0;min-height:70px;color:var(--ink);text-align:right;background:#fff;border-radius:11px;grid-template-columns:48px 1fr auto;align-items:center;gap:7px;padding:8px;display:grid;position:relative}.frame-choice.active{border:2px solid var(--green);background:var(--soft)}.frame-choice>span{background:#fff;border-radius:3px;width:44px;height:52px;display:block;box-shadow:inset 0 0 0 1px #dce5e1}.frame-choice>b{font-size:11px}.frame-choice>em{color:var(--green);font-style:normal;font-weight:800}.frame-choice.frame-none>span{position:relative}.frame-choice.frame-none>span:after{content:"بدون";height:100%;color:var(--muted);place-items:center;font-size:8px;display:grid}.frame-choice.frame-simple>span{border:2px solid var(--frame-color,var(--green))}.frame-choice.frame-double>span{border:4px double var(--frame-color,var(--green))}.frame-choice.frame-corners>span{box-shadow:inset 8px 8px 0 -5px var(--frame-color,var(--green)), inset -8px -8px 0 -5px var(--frame-color,var(--green));border:0}.frame-choice.frame-geometric>span{border:3px dashed var(--frame-color,var(--green))}.frame-choice.frame-dotted>span{border:4px dotted var(--frame-color,var(--green));border-radius:6px}.frame-choice.frame-formal>span{border:4px double var(--frame-color,var(--green));outline:2px solid var(--line);outline-offset:2px}.frame-choice.frame-notebook>span{border:2px solid var(--frame-color,var(--green));background:repeating-linear-gradient(to bottom, #fff 0 9px, var(--line) 9px 10px)}.frame-choice.frame-arabic>span{border:2px solid var(--frame-color,var(--green));box-shadow:inset 9px 9px 0 -5px var(--frame-color,var(--green)), inset -9px -9px 0 -5px var(--frame-color,var(--green))}.frame-choice.frame-nature>span{border:1px solid var(--line);box-shadow:inset 8px 8px 0 -5px var(--frame-color,var(--green)), inset -8px -8px 0 -5px var(--frame-color,var(--green));border-radius:10px 3px}.frame-color-control{border:1px solid var(--line);background:#fff;border-radius:12px;grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:10px 12px;display:flex}.frame-color-control span{gap:2px;display:grid}.frame-color-control b{font-size:12px}.frame-color-control small{color:var(--muted);direction:ltr;font-size:9px}.frame-color-control input[type=color]{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:9px;width:48px;height:38px;padding:3px}.color-card-content,.school-fields{gap:11px;display:grid}.school-fields .header-setting-row{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:58px;padding:10px 12px;display:grid;position:relative}.school-fields .header-setting-row>input[type=checkbox]{opacity:0;pointer-events:none;width:1px!important;height:1px!important;margin:0!important;position:absolute!important}.header-setting-copy{flex-direction:column;gap:3px;min-width:0;display:flex}.header-setting-copy b{color:var(--ink);font-size:11px;line-height:1.45}.header-setting-copy small{color:var(--muted);font-size:9px;line-height:1.5}.header-setting-switch{background:#cbd7d3;border-radius:999px;flex:0 0 36px;width:36px;height:21px;transition:background .18s;position:relative;box-shadow:inset 0 0 0 1px #173b351a}.header-setting-switch:after{content:"";top:3px;background:#fff;border-radius:50%;width:15px;height:15px;transition:transform .18s;position:absolute;inset-inline-start:3px;box-shadow:0 1px 3px #173b353d}.header-setting-row>input:checked~.header-setting-switch,.header-setting-row>input:checked~.header-setting-visual .header-setting-switch{background:var(--green)}.header-setting-row>input:checked~.header-setting-switch:after,.header-setting-row>input:checked~.header-setting-visual .header-setting-switch:after{transform:translate(-15px)}.header-setting-row:focus-within{outline-offset:2px;outline:2px solid #07866e33}.header-setting-visual{align-items:center;gap:8px;display:flex}.header-setting-visual>img{object-fit:contain;width:34px;height:34px}.school-fields .school-logo-upload{place-items:center;min-height:44px;padding:10px 12px;font-size:11px;font-weight:700;display:grid;position:relative}.school-logo-upload input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.school-logo-error{color:#a13b3b;margin-top:-5px;font-size:9px}.school-logo-remove{color:#a13b3b;min-height:36px;font:inherit;cursor:pointer;background:snow;border:1px solid #e4b9b9;border-radius:9px;font-size:10px}.ministry-size-control,.school-logo-size-control{border:1px solid var(--line);background:#f8fbfa;border-radius:11px;grid-template-columns:minmax(0,1fr) 120px 28px;align-items:center;gap:9px;min-height:50px;padding:8px 10px;display:grid!important}.school-logo-size-control>span{gap:2px;display:grid}.school-logo-size-control b{color:var(--ink);font-size:10px}.school-logo-size-control small{color:var(--muted);font-size:8px}.school-logo-size-control input{width:100%;accent-color:var(--green);margin:0}.school-logo-size-control output{color:var(--green);text-align:center;font-size:10px;font-weight:800}.ministry-size-control>span{gap:2px;display:grid}.ministry-size-control b{color:var(--ink);font-size:10px}.ministry-size-control small{color:var(--muted);font-size:8px}.ministry-size-control input{width:100%;accent-color:var(--green);margin:0}.ministry-size-control output{color:var(--green);text-align:center;font-size:10px;font-weight:800}.color-presets{box-sizing:border-box;grid-template-columns:repeat(10,minmax(18px,24px));justify-content:space-between;align-items:center;gap:3px;width:100%;min-width:0;max-width:100%;padding:2px 3px;display:grid}.color-presets button{width:clamp(18px,2vw,24px);height:clamp(18px,2vw,24px);min-height:18px;box-shadow:0 0 0 1px var(--line);border:2px solid #fff;border-radius:50%;flex:none;padding:0}.color-presets button.active{box-shadow:0 0 0 2px var(--green);transform:scale(1.08)}.school-data-heading{padding-top:3px}.properties{border-right:1px solid var(--line);padding:18px}.props-head{border-bottom:1px solid var(--line);justify-content:space-between;padding-bottom:14px;display:flex}.props-head small{color:var(--green)}.property-group{border-bottom:1px solid var(--line);flex-direction:column;gap:11px;padding:16px 0;display:flex}.property-group textarea{resize:none;min-height:80px}.align-row,.print-mode{gap:5px;display:flex}.align-title{color:var(--ink);margin:4px 0 7px;font-size:11px;line-height:1.5;display:block}.align-row button,.print-mode button{border:1px solid var(--line);background:#fff;border-radius:8px;flex:1;min-height:38px;padding:7px;font-size:10px}.align-row .active,.print-mode .active{border-color:var(--green);background:var(--soft);color:var(--green)}.property-group p{color:var(--muted);margin:0;font-size:10px;line-height:1.7}.check{align-items:center;gap:6px;display:flex!important}.check input{width:auto!important;margin:0!important}.mobile-tabs{display:none}.modal-layer{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:100;background:#13231ebd;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.large-modal,.print-modal{background:#fff;border-radius:22px;width:min(940px,95vw);max-height:88vh;overflow:hidden;box-shadow:0 30px 80px #0005}.large-modal{flex-direction:column;height:min(88vh,900px);display:flex}.large-modal>header{flex:none}.large-modal>header,.print-modal>header{border-bottom:1px solid var(--line);justify-content:space-between;padding:22px 25px;display:flex}.large-modal header span,.print-modal header span{color:var(--green);font-size:10px;font-weight:700}.large-modal header h2,.print-modal header h2{margin:2px 0;font-size:22px}.large-modal header p{color:var(--muted);margin:3px 0;font-size:11px}.large-modal header>button,.print-modal header>button{background:#f1f4f2;border:0;border-radius:10px;width:44px;height:44px}.library-layout{grid-template-columns:190px 1fr;min-height:520px;display:grid}.large-modal .library-layout{flex:1;min-height:0;overflow:hidden}.library-layout>aside{border-left:1px solid var(--line);flex-direction:column;gap:4px;padding:18px;display:flex}.large-modal .library-layout>aside{min-height:0;overflow-y:auto}.library-layout aside button{text-align:right;background:0 0;border:0;border-radius:8px;padding:9px}.library-layout aside button.active{background:var(--soft);color:var(--green);font-weight:700}.art-content{padding:18px;overflow:auto}.large-modal .art-content{overscroll-behavior:contain;scrollbar-gutter:stable;height:100%;min-height:0;overflow-y:scroll}.large-modal .art-content::-webkit-scrollbar{width:10px}.large-modal .art-content::-webkit-scrollbar-track{background:#eef2ef;border-radius:99px}.large-modal .art-content::-webkit-scrollbar-thumb{background:#9eb7ad;border:2px solid #eef2ef;border-radius:99px}.large-modal .art-content::-webkit-scrollbar-thumb:hover{background:var(--green)}.library-tools{justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px;display:flex}.art-upload-button{color:#fff;min-height:44px;font:inherit;white-space:nowrap;cursor:pointer;background:#076f5d;border:1px solid #056b59;border-radius:10px;flex:none;padding:10px 16px;font-size:12px;font-weight:800;box-shadow:0 7px 18px #076f5d2e}.art-upload-button:hover{background:#055f50;border-color:#055f50}.art-mobile-search{border:1px solid var(--line);width:100%;min-height:42px;font:inherit;background:#fbfcfb;border-radius:10px;margin-bottom:10px;padding:9px 12px;font-size:11px;display:none}.art-category-tabs{scrollbar-width:thin;gap:6px;margin-bottom:12px;padding-bottom:3px;display:flex;overflow-x:auto}.art-category-tabs button{border:1px solid var(--line);color:var(--muted);cursor:pointer;background:#fff;border-radius:99px;flex:none;padding:7px 11px;font-size:10px}.art-category-tabs button.active{background:var(--soft);color:var(--green);border-color:#9bc5b5;font-weight:700}.art-audience-filter{border:1px solid var(--line);background:#f8fbf9;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;padding:10px 12px;display:flex}.art-audience-filter>b{flex:none;font-size:10px}.art-audience-filter .segmented{gap:5px;display:flex}.art-audience-filter button{border:1px solid var(--line);color:var(--muted);font:inherit;background:#fff;border-radius:8px;padding:7px 10px;font-size:9px}.art-audience-filter button.active{border-color:var(--green);background:var(--soft);color:var(--green);font-weight:800}.art-results-line{justify-content:space-between;align-items:center;margin-bottom:10px;font-size:10px;display:flex}.art-results-line span{color:var(--green)}.art-grid{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.art-grid>button{content-visibility:auto;contain-intrinsic-size:150px}.art-grid button{border:1px solid var(--line);background:#fafcfb;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:120px;display:flex}.art-grid span{font-size:48px}.art-grid img{object-fit:contain;object-position:center;filter:grayscale();background:#fff;border-radius:7px;width:92px;height:92px}.art-grid img.art-colored-preview{filter:none}.art-grid em{color:var(--green);font-size:7px;font-style:normal}.art-line-preview{filter:grayscale()}.art-empty{border:1px dashed var(--line);color:var(--muted);text-align:center;border-radius:12px;grid-column:1/-1;padding:30px;font-size:11px}.art-grid small{color:var(--muted)}.art-grid i{color:var(--muted);font-size:7px;font-style:normal}.print-modal{width:min(780px,95vw)}.print-body{grid-template-columns:.8fr 1.2fr;display:grid}.print-preview{background:#edf1ef;flex-direction:column;align-items:center;gap:10px;padding:30px;display:flex}.mini-sheet{background:#fff;width:210px;height:297px;padding:0;position:relative;overflow:hidden;box-shadow:0 12px 25px #20372f22}.actual-sheet-preview .print-preview-worksheet{width:794px!important;min-width:794px!important;height:1123px!important;min-height:1123px!important;box-shadow:none!important;transform-origin:0 0!important;pointer-events:none!important;margin:0!important;position:absolute!important;inset:0 auto auto 0!important;transform:scale(.264484)!important}.actual-sheet-preview .print-preview-worksheet.preview-narrow-margin{padding:26px 30px 24px!important}.mini-sheet.mono{filter:grayscale()}.print-preview-pages{justify-content:center;align-items:center;gap:8px;width:100%;display:flex}.print-preview-pages button,.preview-to-print{color:#087d67;min-height:38px;font:inherit;cursor:pointer;background:#fff;border:1px solid #bfd4cc;border-radius:9px;padding:7px 12px;font-size:10px;font-weight:700}.print-preview-pages button:disabled{color:#89958f;cursor:not-allowed}.print-preview-pages b{font-size:10px}.preview-to-print{color:#fff;background:#087d67;border-color:#087d67;min-width:180px}.print-modal.preview-only{width:min(960px,95vw)}.print-modal.preview-only .print-body{display:block;overflow:auto}.print-modal.preview-only .print-preview{min-height:0;padding:22px}.print-modal.preview-only .mini-sheet{width:420px;height:594px}.print-modal.preview-only .actual-sheet-preview .print-preview-worksheet{transform:scale(.528967)!important}@media (max-width:560px){.print-modal.preview-only .print-preview{padding:14px 8px;display:flex}.print-modal.preview-only .mini-sheet{width:252px;height:356.5px}.print-modal.preview-only .actual-sheet-preview .print-preview-worksheet{transform:scale(.31738)!important}}.print-settings{flex-direction:column;gap:14px;padding:25px;display:flex;overflow-y:auto}.print-preflight{border:1px solid var(--line);background:#fbfcfb;border-radius:13px;gap:7px;padding:11px;display:grid}.preflight-heading{justify-content:space-between;align-items:center;gap:8px;padding-bottom:4px;display:flex}.preflight-heading>b{font-size:11px}.preflight-heading>span{border-radius:99px;padding:5px 9px;font-size:10px;font-weight:700}.preflight-heading>span.ready{color:var(--green);background:#e5f5ee}.preflight-heading>span.warning{color:#8a6410;background:#fff4d7}.preflight-heading>span.blocked{color:#a43a2d;background:#fde8e5}.preflight-item{background:#fff;border-radius:9px;align-items:center;gap:9px;padding:9px 10px;display:flex}.preflight-item i{border-radius:50%;flex:none;place-items:center;width:27px;height:27px;font-style:normal;font-weight:800;display:grid}.preflight-item span{gap:1px;display:grid}.preflight-item b{font-size:11px}.preflight-item small{color:var(--muted);font-size:10px;line-height:1.5}.preflight-item.ready i{color:var(--green);background:#e5f5ee}.preflight-item.warning i{color:#8a6410;background:#fff4d7}.preflight-item.blocked i{color:#a43a2d;background:#fde8e5}.preflight-fix{background:var(--soft);width:100%;min-height:44px;color:var(--green);font:inherit;cursor:pointer;border:1px solid #a8cbbd;border-radius:8px;padding:9px;font-size:10px;font-weight:700}.choice-cards{grid-template-columns:1fr 1fr;gap:8px;display:grid}.choice-cards button{border:1px solid var(--line);text-align:right;background:#fff;border-radius:12px;gap:8px;padding:12px;display:flex}.choice-cards button.active{border-color:var(--green);background:var(--soft)}.choice-cards i{border-radius:50%;width:25px;height:25px}.color-dot{background:conic-gradient(#e85d68,#e9bf46,#4eaa85,#547dd2,#e85d68)}.mono-dot{background:linear-gradient(90deg,#222 50%,#eee 50%)}.choice-cards b,.choice-cards small{display:block}.choice-cards small{color:var(--muted);font-size:10px;line-height:1.45}.download-actions{gap:8px;display:flex}.download-actions button{border-radius:10px;flex:1;padding:11px}.download-actions button:disabled{opacity:.45;cursor:not-allowed}@media (max-width:1100px){.editor-body{grid-template-columns:70px 275px 1fr}.properties{display:none}.worksheet{width:580px;min-height:820px}.canvas-area{padding-inline:15px}}@media (max-width:900px){.hero-actions button{white-space:nowrap;flex-direction:row;gap:5px;min-height:62px}.hero-actions button>span{display:inline}.editor-top{height:58px;padding:0 9px}.editor-brand b,.doc-title small,.editor-actions>button:not(.primary){display:none}.doc-title{border:0;padding-right:5px}.doc-title input{width:130px}.editor-actions .primary{padding:0 9px;font-size:11px}.editor-body{height:calc(100vh - 116px);display:block}.toolrail{display:none}.sidepanel{z-index:30;height:42vh;padding:18px 16px calc(20px + env(safe-area-inset-bottom));border:0;border-radius:20px 20px 0 0;position:fixed;bottom:58px;left:0;right:0;box-shadow:0 -10px 30px #152b2420}.panel-title span{font-size:17px}.panel-title small{font-size:11px;line-height:1.5}.block-list>button,.question-group>button,.template-list>button{min-height:64px;padding:12px}.block-list b,.template-list b{font-size:13px}.block-list small,.template-list small{font-size:11px;line-height:1.45}.canvas-area{height:100%;padding:7px 8px 45vh}.canvas-bar{min-height:40px;margin-bottom:3px}.canvas-bar button{height:34px;min-height:34px}.canvas-page-switcher{min-width:150px}.canvas-page-switcher span{min-width:72px;font-size:10px}.worksheet{width:360px;min-height:510px;padding:20px;font-size:8px}.ws-head h2{font-size:13px}.ws-head{grid-template:"ministry identity logo"60px"date student student"20px/70px minmax(0,1fr) auto;gap:2px 7px;padding-bottom:6px}.ws-head .ws-date{width:auto;min-width:0;margin:0;padding:0;font-size:10px}.ws-school-logo{width:min(var(--school-logo-size,48px), 52px);height:min(var(--school-logo-size,48px), 52px)}.ws-head .ws-ministry-logo{width:min(var(--ministry-logo-width,96px), 68px);height:auto;max-height:60px}.ws-student-name{width:58%;margin:0;font-size:10px}.ws-head,.ws-meta,.ws-student,.ws-blocks{transform-origin:100% 0}.mobile-tabs{z-index:40;color:#fff;background:#17231f;height:58px;display:flex;position:fixed;bottom:0;left:0;right:0}.mobile-tabs button{color:#aebbb6;background:0 0;border:0;flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:58px;display:flex}.mobile-tabs button.active{color:var(--lime)}.mobile-tabs small{font-size:9px}.large-modal,.print-modal{max-height:94vh}.modal-layer:has(.large-modal){align-items:end;padding:10px}.large-modal{border-radius:20px 20px 8px 8px;flex-direction:column;height:min(94dvh,860px);display:flex}.large-modal>header{flex:none;padding:16px 18px}.large-modal header h2{font-size:19px}.large-modal header p{display:none}.library-layout,.print-body{grid-template-columns:1fr}.large-modal .library-layout{flex:1;height:auto;min-height:0;overflow:hidden}.library-layout>aside{display:none}.large-modal .art-content{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;height:100%;min-height:0;padding:14px 14px calc(30px + env(safe-area-inset-bottom));touch-action:pan-y;overflow-y:auto}.art-grid{grid-template-columns:repeat(3,1fr)}.art-mobile-search{display:block}.library-tools{flex-direction:column;align-items:stretch;gap:9px}.library-tools .segmented{width:100%}.library-tools .segmented button{flex:1;font-size:9px}.library-tools>.art-upload-button{width:100%}.art-category-tabs{margin-inline:-4px;padding-inline:4px}.art-grid button{min-height:108px}.art-grid span{font-size:39px}.art-grid img{width:70px;height:70px}.print-preview{display:none}.print-modal{flex-direction:column;display:flex}.print-modal>header{flex:none}.print-body{min-height:0;overflow:hidden}.print-settings{min-height:0;padding:18px;overflow-y:auto}.choice-cards{grid-template-columns:1fr}}.free-loading{color:#173b35;background:#edf4f1;place-items:center;min-height:100vh;font-size:18px;font-weight:700;display:grid}.app-update-notice{inset-inline:16px;z-index:1000;color:#123d35;background:#f2fbf8;border:1px solid #8fcdbf;border-radius:16px;justify-content:space-between;align-items:center;gap:14px;max-width:520px;margin-inline:auto;padding:12px 14px;display:flex;position:fixed;bottom:16px;box-shadow:0 12px 34px #0f362f2e}.app-update-notice span,.app-update-notice small{display:block}.app-update-notice small{color:#55736c;margin-top:2px}.app-update-notice button{color:#fff;min-height:44px;font:inherit;white-space:nowrap;background:#07866e;border:0;border-radius:11px;padding:0 16px;font-weight:700}.download-actions button:disabled{opacity:1;color:#66736f;background:#eef1f0;border-color:#d3dcda}
