.free-workspace{padding-top:94px}.free-ruler{z-index:3;pointer-events:none;background-color:#fff8e8;border:1px solid #d7c8a6;position:absolute}.free-ruler.horizontal{background-image:repeating-linear-gradient(90deg,#0000 0 9px,#7d725a 10px 11px,#0000 11px 49px,#554e3e 50px 51px);height:14px;top:-15px;left:0;right:0}.free-ruler.vertical{background-image:repeating-linear-gradient(0deg,#0000 0 9px,#7d725a 10px 11px,#0000 11px 49px,#554e3e 50px 51px);width:14px;top:0;bottom:0;left:-15px}.resize-handle{place-items:center;font-size:12px;display:grid;box-shadow:0 2px 8px #173b3540;color:#fff!important;cursor:nwse-resize!important;background:#07866e!important;border:2px solid #fff!important;border-radius:50%!important;width:28px!important;height:28px!important;min-height:0!important;padding:0!important;position:absolute!important;bottom:-12px!important;left:-12px!important}.alignment-guide{z-index:1000!important;pointer-events:none!important;background:#e83e8c!important;position:absolute!important}.alignment-guide.vertical{width:1px!important;top:0!important;bottom:0!important}.alignment-guide.horizontal{height:1px!important;left:0!important;right:0!important}.layers-panel{border-top:1px solid #d9e4e0;margin-top:4px;padding-top:16px}.layers-heading{gap:3px;margin-bottom:10px;display:grid}.layers-panel>p{color:#72837e;background:#f5f8f7;border-radius:10px;padding:12px;font-size:13px}.layer-row{cursor:pointer;background:#fff;border:1px solid #d9e4e0;border-radius:10px;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:46px;margin-bottom:6px;padding:6px 8px;display:grid}.layer-row.active{background:#edf9f5;border-color:#07866e}.layer-row>span{color:#087a66;background:#edf4f1;border-radius:8px;place-items:center;width:28px;height:28px;font-weight:700;display:grid}.layer-row>b{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.layer-row>div{gap:3px;display:flex}.layer-row button{cursor:pointer;background:#fff;border:1px solid #d2dfda;border-radius:7px;width:27px;height:27px}.layer-row button:disabled{opacity:.3}.free-properties{scrollbar-gutter:stable}@media print{.free-ruler,.resize-handle,.alignment-guide{display:none!important}}.layer-row.hidden{opacity:.58}.free-quick-actions{grid-template-columns:repeat(2,1fr);gap:7px;display:grid}.free-quick-actions button{min-height:38px;font:inherit;cursor:pointer;background:#fff;border:1px solid #cbdad5;border-radius:9px}.free-quick-actions button.active{color:#06715e;background:#e7f6f1;border-color:#07866e}.free-properties button:disabled{cursor:not-allowed;opacity:.55}.free-multi-tools{background:#f0faf7;border:1px solid #a8d7ca;border-radius:12px;gap:8px;padding:12px;display:grid}.free-multi-tools>div{grid-template-columns:repeat(2,1fr);gap:6px;display:grid}.free-multi-tools button{min-height:36px;font:inherit;cursor:pointer;background:#fff;border:1px solid #c6dcd5;border-radius:8px}.free-multi-tools small{line-height:1.5}.free-pages-bar{box-sizing:border-box;white-space:nowrap;direction:rtl;background:#f8fbfa;border-bottom:1px solid #d8e3df;align-items:center;gap:7px;height:48px;padding:5px 14px;display:flex;overflow-x:auto}.free-pages-bar button{min-height:34px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d1dfda;border-radius:9px;padding:0 12px}.free-pages-bar button.active{color:#fff;background:#07866e;border-color:#07866e}.free-layout{height:calc(100dvh - 120px)!important}@media (max-width:900px){.free-pages-bar{padding-inline:8px}.free-pages-bar b{display:none}.free-layout{height:calc(100dvh - 178px)!important}}.free-print-pages{width:794px;position:fixed;top:0;left:-10000px}.free-export-page{background:#fff;margin:0;box-shadow:none!important;position:relative!important;inset:auto!important;transform:none!important}@media print{.free-pages-bar,.free-layout{display:none!important}.free-print-pages{width:794px;display:block;position:static}.free-export-page{break-after:page;page-break-after:always}.free-export-page:last-child{break-after:auto;page-break-after:auto}}.free-element.circle{border-radius:50%!important}.free-element.text span{width:100%;text-align:inherit;display:block}.free-element.line.arrow-start:before,.free-element.line.arrow-end:after{content:"";border-top:7px solid #0000;border-bottom:7px solid #0000;width:0;height:0;position:absolute;top:-8px}.free-element.line.arrow-start:before{border-left:12px solid;right:-2px}.free-element.line.arrow-end:after{border-right:12px solid;left:-2px}.free-text-format,.free-line-format{background:#f4f8f6;border-radius:10px;gap:8px;padding:10px;display:grid}.free-text-format>div,.free-line-format>div{gap:5px;display:flex}.free-text-format button,.free-line-format button{min-height:34px;font:inherit;background:#fff;border:1px solid #cbdad5;border-radius:8px;flex:1}.free-text-format button.active,.free-line-format button.active{color:#06715e;background:#e7f6f1;border-color:#07866e}.free-text-format select,.free-line-format select{min-height:38px;font:inherit;background:#fff;border:1px solid #cbdad5;border-radius:8px}.free-header-controls{background:#f7fbf9;border:1px solid #d7e4df;border-radius:14px;margin-bottom:14px;overflow:hidden}.free-header-toggle{text-align:right;width:100%;font:inherit;color:#173b35;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;padding:12px;display:flex}.free-header-toggle span{gap:2px;display:grid}.free-header-toggle em{font-size:20px;font-style:normal}.free-header-body{border-top:1px solid #dce7e3;gap:9px;padding:10px;display:grid}.header-mode-tabs{grid-template-columns:repeat(3,1fr);gap:5px;display:grid}.header-mode-tabs button{min-height:34px;font:inherit;background:#fff;border:1px solid #cfddd8;border-radius:8px;font-size:12px}.header-mode-tabs button.active{color:#fff;background:#07866e;border-color:#07866e}.free-header-body label{color:#5d736c;gap:4px;font-size:11px;display:grid}.free-header-body input{width:100%;min-width:0;height:36px;font:inherit;box-sizing:border-box;background:#fff;border:1px solid #d2dfda;border-radius:8px;padding:0 8px}.header-fields-grid{grid-template-columns:1fr 1fr;gap:6px;display:grid}.free-school-header{z-index:1;color:#172f29;pointer-events:none;border-bottom:3px solid #07866e;padding-bottom:14px;position:absolute;top:42px;left:56px;right:56px}.free-school-header>div:first-child{text-align:right;gap:5px;display:grid}.free-school-header b{font-size:17px}.free-school-header strong{font-size:30px}.free-header-meta{gap:8px;margin-top:14px;display:flex}.free-header-meta span{background:#eaf6f2;border-radius:7px;min-width:90px;padding:7px 14px;font-size:13px}.free-student-line{margin-top:18px;font-size:13px;justify-content:space-between!important;display:flex!important}.free-school-header.simple{padding-bottom:12px}.free-school-header.simple>div:first-child{justify-content:space-between;align-items:end;display:flex}.free-school-header.simple strong{font-size:25px}.free-school-header~.free-empty{top:390px}@media (max-width:560px){.free-header-controls{margin:0 0 10px}.free-header-toggle{padding:8px}.free-header-toggle span small,.free-header-body{display:none}.free-header-controls.open .free-header-body{display:grid}.free-header-controls.open{z-index:30;background:#fff;width:250px;position:fixed;top:78px;right:84px;box-shadow:0 14px 40px #173b3540}.free-workspace{padding-top:86px}}.free-school-header b,.free-school-header strong{opacity:1;line-height:1.25;display:block;color:#172f29!important}.shape-appearance{background:#f7fbf9;border:1px solid #d6e3de;border-radius:13px;gap:11px;padding:10px;display:grid}.appearance-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.appearance-row span{gap:2px;display:grid}.appearance-row span small{font-size:10px}.appearance-row button{min-width:62px;height:34px;font:inherit;background:#fff;border:1px solid #cedbd7;border-radius:9px;font-size:12px}.appearance-row button.active{color:#fff;background:#07866e;border-color:#07866e}.appearance-controls{grid-template-columns:88px minmax(0,1fr);align-items:end;gap:8px;display:grid}.appearance-controls label,.fill-color-control{background:#fff;border:1px solid #dce6e2;border-radius:9px;padding:7px}.appearance-controls input[type=color],.fill-color-control input[type=color]{background:0 0;border:0;width:100%;height:34px}.fill-color-control{grid-template-columns:1fr 60px!important;align-items:center!important;display:grid!important}.fill-color-control input{justify-self:end}
.free-studio{height:100dvh}.free-layout{direction:rtl;height:calc(100dvh - 72px)}.free-mobile-tabs{display:none}.resize-handle{left:auto!important;right:-12px!important}.free-element.outside-page{outline-color:#b54708!important}.free-boundary-warning{color:#8a3d0a;background:#fff7ed;border:1px solid #f0b37e;border-radius:10px;margin:0;padding:10px 12px;font-size:13px;line-height:1.6}.free-top-actions button:disabled,.layer-row button:disabled{cursor:not-allowed;opacity:1!important;color:#66736f!important;background:#eef1f0!important;border-color:#d5dcda!important}@media (max-width:900px){.free-studio{height:100dvh;padding-bottom:58px}.free-layout{height:calc(100dvh - 130px);display:block}.free-workspace{box-sizing:border-box;touch-action:none;height:100%;padding:92px 34px 40px}.free-page,.free-element{touch-action:none}.free-tools,.free-properties{z-index:40;background:#fff;border:1px solid #cbdad5;border-radius:18px;width:auto;max-height:min(58vh,520px);padding:14px;display:none;position:fixed;inset:auto 8px 64px;overflow:auto;box-shadow:0 15px 50px #173b3540}.free-layout[data-mobile-panel=tools] .free-tools{display:block}.free-layout[data-mobile-panel=properties] .free-properties,.free-layout[data-mobile-panel=layers] .free-properties{display:flex}.free-layout[data-mobile-panel=layers] .free-properties>:not(.layers-panel),.free-layout[data-mobile-panel=properties] .layers-panel{display:none}.free-mobile-tabs{z-index:60;height:58px;padding:4px 7px calc(4px + env(safe-area-inset-bottom));background:#0d241e;border-top:1px solid #18352e;grid-template-columns:repeat(4,1fr);gap:3px;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -5px 18px #0b1e1830}.free-mobile-tabs button{color:#d8e4df;font:inherit;background:0 0;border:0;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:1px;font-size:11px;display:flex}.free-mobile-tabs button svg{width:19px;height:19px}.free-mobile-tabs button small{font-size:10px;line-height:1.1}.free-mobile-tabs button.active{color:#c8ff4d;background:#193d34;font-weight:800}.free-header-controls.open{width:auto!important;box-shadow:none!important;position:static!important}.free-top-actions button:nth-child(2){display:inline-flex}.free-tool-grid{grid-template-columns:repeat(3,1fr)!important}.free-tool-grid button,.free-tool-grid label{min-height:70px}.free-properties:has(.free-properties-empty){display:none}.free-layout[data-mobile-panel=layers] .free-properties:has(.free-properties-empty){display:flex}}@media (max-width:560px){.free-layout{height:calc(100dvh - 140px)}.free-workspace{padding:86px 26px 34px}.free-top-actions{scrollbar-width:none;overflow-x:auto;flex-wrap:nowrap!important}.free-top-actions::-webkit-scrollbar{display:none}.free-top-actions button{white-space:nowrap;min-height:42px}.free-pages{scrollbar-width:none;overflow-x:auto}.free-pages::-webkit-scrollbar{display:none}.resize-handle{width:44px!important;height:44px!important;bottom:-20px!important;right:-20px!important}.layer-row button,.free-zoom button{width:44px;height:44px}.free-header-controls.open{position:static!important}}@media print{.free-mobile-tabs{display:none!important}}.free-brand-logo{object-fit:contain;flex-shrink:0;width:64px;height:44px}.free-tools .free-tools-heading{gap:5px;margin:14px 0 18px;line-height:1.6;display:grid}.free-tools-heading>b,.free-tools-heading>small{overflow-wrap:anywhere;min-width:0;display:block}
.worksheet[dir=ltr]{text-align:left;direction:ltr}.worksheet[dir=ltr] .ws-head{grid-template-columns:auto minmax(0,1fr) 110px;grid-template-areas:"logo identity ministry""student student date"}.worksheet[dir=ltr] .ws-head>.ws-identity,.worksheet[dir=ltr] :is(.ws-logo,.ws-school-logo){justify-self:start}.worksheet[dir=ltr] .ws-ministry-logo{justify-self:end}.worksheet[dir=ltr].exam-paper .ws-head h2:before{content:"Exam — "}.worksheet[dir=ltr].answer-key-paper .ws-head h2:before{content:"Answer key — "}.worksheet[dir=ltr] :is(.ws-identity,.ws-date,.ws-student-name,.word-search-grid,.bar-chart,.count-color-symbols,.trace-number-activity span){direction:ltr}.worksheet[dir=ltr] :is(.ws-identity,.ws-student-name){text-align:left}.worksheet[dir=ltr] .ws-identity h2{margin-left:0;margin-right:auto}.worksheet[dir=ltr] .ws-block.align-left h3{justify-content:flex-start}.worksheet[dir=ltr] .ws-block.align-right h3{justify-content:flex-end}[data-activity-language=en] :is(input:not([type]),input[type=text],textarea){text-align:left;direction:ltr}.activity-language-setting{border:1px solid var(--line);background:var(--soft);border-radius:12px;padding:12px}.activity-language-setting small{color:#425b54;font-weight:400;line-height:1.7;display:block}.direct-image-slot,.worksheet-image{position:relative}.direct-image-slot>img{object-fit:contain;width:100%;height:100%}.direct-image-upload{z-index:4;color:#fff;cursor:pointer;background:#07866e;border-radius:9px;place-items:center;width:44px;height:44px;font:24px Arial;display:grid;position:absolute;top:6px;right:6px;overflow:hidden}.direct-image-upload input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}@media print{.direct-image-upload{display:none!important}}.element-properties .true-false-item-editor{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:6px;padding:8px;display:grid}.element-properties .true-false-item-editor>label{gap:4px;min-width:0;font-size:12px}.element-properties .true-false-item-editor textarea{box-sizing:border-box;resize:none;width:100%;max-height:none;padding:8px;font-size:17px;line-height:1.6;overflow:auto;min-height:52px!important}.element-properties .true-false-answer-buttons{align-items:center;gap:3px;margin-top:21px;display:flex}.element-properties .true-false-answer-buttons button{color:#31554b;background:#fff;border:1px solid #c4d9d0;border-radius:8px;flex:0 0 36px;width:36px;min-width:36px;height:44px;min-height:44px;padding:0;font-size:19px}.element-properties .true-false-answer-buttons button.active{color:#07866e;background:#e4f4ed;border-color:#07866e}.element-properties .true-false-answer-buttons button.danger{color:#b42318}
