.photo-action[data-astro-cid-qcuf67ol]{display:inline-flex;align-items:center;justify-content:center;gap:7px}.photo-action[data-astro-cid-qcuf67ol] svg[data-astro-cid-qcuf67ol]{flex:none}.photo-history[data-astro-cid-qcuf67ol]{display:flex;gap:6px;margin-block-start:8px}.photo-history[data-astro-cid-qcuf67ol] button[data-astro-cid-qcuf67ol]{padding:3px 10px;min-height:36px;font-size:.85rem}@font-face{font-family:Noto Naskh Arabic;src:url(/_astro/noto-naskh-arabic.BdBAMxnO.woff2) format("woff2");font-weight:700}@font-face{font-family:Aref Ruqaa;src:url(/_astro/aref-ruqaa.D30apH1C.woff2) format("woff2");font-weight:700}#photoText[data-astro-cid-qcuf67ol]{text-align:start}.photo-tool[data-astro-cid-qcuf67ol] [data-astro-cid-qcuf67ol][hidden]{display:none}.photo-stage[data-astro-cid-qcuf67ol]{position:relative;width:fit-content;max-width:100%;margin:12px auto}#photoTextSurface[data-astro-cid-qcuf67ol]{position:absolute;inset:0;overflow:hidden;border-radius:8px;pointer-events:none}#photoTextLayers[data-astro-cid-qcuf67ol] button,#photoTextEditor[data-astro-cid-qcuf67ol]{position:absolute;pointer-events:auto}#photoTextLayers[data-astro-cid-qcuf67ol] button{background:transparent;border:1px solid transparent;border-radius:4px;padding:0;transform:translate(-50%,-50%);touch-action:none;cursor:move}#photoTextLayers[data-astro-cid-qcuf67ol] button:hover,#photoTextLayers[data-astro-cid-qcuf67ol] button[aria-pressed=true]{border-color:var(--ac);box-shadow:0 0 0 1px #fff}#photoTextEditor[data-astro-cid-qcuf67ol]{box-sizing:border-box;margin:0;padding:4px 6px;resize:none;overflow:auto;transform:translate(-50%,-50%);border:1px solid var(--ac);border-radius:4px;background:#fffffff2;outline:1px solid #fff;text-align:center;line-height:1.25;font-weight:700}#photoSelectionRemove[data-astro-cid-qcuf67ol]{position:absolute;z-index:2;pointer-events:auto;display:grid;place-items:center;width:44px;height:44px;padding:0;transform:translate(-50%,-50%);background:transparent;color:#162033}#photoSelectionRemove[data-astro-cid-qcuf67ol] svg[data-astro-cid-qcuf67ol]{box-sizing:content-box;padding:3px;background:#fff;border:1px solid #cdd5e4;border-radius:50%;box-shadow:0 1px 4px #0003}.photo-text-format[data-astro-cid-qcuf67ol]{display:flex;flex-wrap:wrap;gap:4px;grid-column:1 / -1}.photo-text-format[data-astro-cid-qcuf67ol] button[data-astro-cid-qcuf67ol]{display:grid;place-items:center;width:44px;height:44px;padding:0}.photo-text-format[data-astro-cid-qcuf67ol] button[data-astro-cid-qcuf67ol][aria-pressed=true]{background:var(--ac);color:var(--acink)}.photo-tool[data-astro-cid-qcuf67ol] canvas[data-astro-cid-qcuf67ol]{display:block;max-width:100%;max-height:56dvh;width:auto;height:auto;margin:0;touch-action:none;background:var(--soft);border-radius:8px}.photo-controls[data-astro-cid-qcuf67ol]{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:10px;margin-block:12px;align-items:end}.photo-controls[data-astro-cid-qcuf67ol] label[data-astro-cid-qcuf67ol]{display:grid;gap:4px;min-width:0}.photo-controls[data-astro-cid-qcuf67ol] input[data-astro-cid-qcuf67ol],.photo-controls[data-astro-cid-qcuf67ol] select[data-astro-cid-qcuf67ol],.photo-controls[data-astro-cid-qcuf67ol] textarea[data-astro-cid-qcuf67ol]{max-width:100%;width:100%;min-width:0;font:inherit}.photo-controls[data-astro-cid-qcuf67ol] .photo-check[data-astro-cid-qcuf67ol]{display:flex;align-items:center}.photo-controls[data-astro-cid-qcuf67ol] .photo-check[data-astro-cid-qcuf67ol] input[data-astro-cid-qcuf67ol]{width:auto}.photo-wide[data-astro-cid-qcuf67ol]{grid-column:1 / -1}.photo-mode[data-astro-cid-qcuf67ol]{display:flex;flex-wrap:wrap;gap:8px;margin-block:12px}.photo-mode[data-astro-cid-qcuf67ol] button[data-astro-cid-qcuf67ol]{min-height:44px;padding:8px 12px}.photo-mode[data-astro-cid-qcuf67ol] button[data-astro-cid-qcuf67ol][aria-pressed=true]{background:var(--ac);color:var(--acink)}.photo-tool[data-astro-cid-qcuf67ol][data-mode=all]:has(#photoWorkspace:not([hidden])) .photo-processing[data-astro-cid-qcuf67ol]{display:none}#photoStatus[data-astro-cid-qcuf67ol]:empty{display:none}.studio-toolbar[data-astro-cid-qcuf67ol]{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-inline-size:0;margin-block-end:8px}.studio-toolbar[data-astro-cid-qcuf67ol] button[data-astro-cid-qcuf67ol]{min-block-size:44px;padding:4px 8px;font-size:.9rem;white-space:nowrap}.studio-toolbar[data-astro-cid-qcuf67ol] .photo-history[data-astro-cid-qcuf67ol]{margin:0}.studio-toolbar[data-astro-cid-qcuf67ol] .photo-mode[data-astro-cid-qcuf67ol]{order:1;flex:1 0 100%;margin:0;flex-wrap:nowrap;overflow-x:auto;padding:4px;scrollbar-width:thin;scrollbar-color:var(--line) transparent;overscroll-behavior-inline:contain}.studio-toolbar[data-astro-cid-qcuf67ol] .photo-mode[data-astro-cid-qcuf67ol] button[data-astro-cid-qcuf67ol]{flex:none}.studio-toolbar[data-astro-cid-qcuf67ol] .photo-mode[data-astro-cid-qcuf67ol]::-webkit-scrollbar{height:4px}.studio-toolbar[data-astro-cid-qcuf67ol] .photo-mode[data-astro-cid-qcuf67ol]::-webkit-scrollbar-thumb{background:var(--line);border-radius:4px}#photoExport[data-astro-cid-qcuf67ol]{margin-inline-start:auto}#photoExportDialog[data-astro-cid-qcuf67ol]{inline-size:min(100% - 24px,360px);padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--card);color:var(--ink)}#photoExportDialog[data-astro-cid-qcuf67ol]::backdrop{background:#0f172a80}#photoExportForm[data-astro-cid-qcuf67ol]{display:grid;gap:8px}#photoExportTitle[data-astro-cid-qcuf67ol]{margin:0 0 4px;font-size:1.1rem}#photoExportFormat[data-astro-cid-qcuf67ol]{min-block-size:44px;border:1px solid var(--line);border-radius:8px;padding:8px;font:inherit;color:var(--ink);background:var(--bg)}.photo-export-actions[data-astro-cid-qcuf67ol]{display:flex;flex-wrap:wrap;justify-content:end;gap:8px;margin-block-start:8px}.photo-export-actions[data-astro-cid-qcuf67ol] button[data-astro-cid-qcuf67ol]{min-block-size:44px}.photo-tool[data-astro-cid-qcuf67ol] [data-astro-cid-qcuf67ol]:is(textarea,select,summary,canvas,[tabindex]):focus-visible{outline:3px solid var(--ac);outline-offset:2px}.photo-tool[data-astro-cid-qcuf67ol][data-mode=all]{padding:clamp(8px,2vw,16px)}.photo-tool[data-astro-cid-qcuf67ol][data-mode=all] #photoWorkspace[data-astro-cid-qcuf67ol]{display:grid;gap:12px;min-inline-size:0}.studio-preview[data-astro-cid-qcuf67ol]{display:grid;place-items:center;min-inline-size:0;background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:8px}.studio-preview[data-astro-cid-qcuf67ol] .photo-stage[data-astro-cid-qcuf67ol]{inline-size:min(100%,var(--preview-native-width,100%),calc(var(--studio-preview-height,56dvh) * var(--preview-aspect,1)));margin:0}.studio-preview[data-astro-cid-qcuf67ol] canvas[data-astro-cid-qcuf67ol]{inline-size:100%;block-size:auto;max-height:none}.studio-crop-touch[data-astro-cid-qcuf67ol]{display:none}@media(any-pointer:coarse){.studio-crop-touch[data-astro-cid-qcuf67ol]{display:block;margin:0}}.studio-properties[data-astro-cid-qcuf67ol]{min-inline-size:0;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--card)}.studio-properties-heading[data-astro-cid-qcuf67ol]{display:flex;align-items:center;justify-content:space-between;gap:8px}.studio-properties-heading[data-astro-cid-qcuf67ol] h2[data-astro-cid-qcuf67ol]{margin:0;font-size:1rem}.studio-properties[data-astro-cid-qcuf67ol] .photo-controls[data-astro-cid-qcuf67ol]{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-block:8px 0;align-items:start;font-size:.9rem}.studio-properties[data-astro-cid-qcuf67ol] [data-astro-cid-qcuf67ol][data-file],.studio-properties[data-astro-cid-qcuf67ol] .photo-check[data-astro-cid-qcuf67ol]{grid-column:1 / -1;min-block-size:44px}.studio-properties[data-astro-cid-qcuf67ol] textarea[data-astro-cid-qcuf67ol],.studio-properties[data-astro-cid-qcuf67ol] select[data-astro-cid-qcuf67ol],.studio-properties[data-astro-cid-qcuf67ol] input[data-astro-cid-qcuf67ol][type=number]{min-block-size:44px;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--ink);font-size:1rem}.studio-properties[data-astro-cid-qcuf67ol] [data-astro-cid-qcuf67ol]:is(input[type=range],input[type=color]){min-block-size:44px;accent-color:var(--ac)}.studio-fonts[data-astro-cid-qcuf67ol]{padding:0;border:1px solid var(--line);border-radius:8px}.studio-fonts[data-astro-cid-qcuf67ol] summary[data-astro-cid-qcuf67ol]{min-block-size:44px;padding:8px;cursor:pointer}.studio-fonts[data-astro-cid-qcuf67ol] summary[data-astro-cid-qcuf67ol] bdi[data-astro-cid-qcuf67ol]{margin-inline-start:8px;overflow-wrap:anywhere;font-weight:400}#photoFontOptions[data-astro-cid-qcuf67ol]{display:grid;gap:4px;max-block-size:min(144px,24dvh);overflow:auto;overscroll-behavior:contain;padding:4px}#photoFontOptions[data-astro-cid-qcuf67ol] button{min-inline-size:0;min-block-size:44px;padding:4px 8px;text-align:start;background:var(--bg);color:var(--ink);overflow-wrap:anywhere}#photoFontOptions[data-astro-cid-qcuf67ol] button[aria-pressed=true],#photoFontOptions[data-astro-cid-qcuf67ol] button:hover{background:var(--soft)}.studio-mobile-title[data-astro-cid-qcuf67ol],.studio-mobile-label[data-astro-cid-qcuf67ol],#photoMobileTools[data-astro-cid-qcuf67ol],.photo-mode[data-astro-cid-qcuf67ol] svg[data-astro-cid-qcuf67ol],.photo-history[data-astro-cid-qcuf67ol] svg[data-astro-cid-qcuf67ol]{display:none}.studio-empty[data-astro-cid-qcuf67ol]{display:grid;place-items:center;min-block-size:clamp(240px,44svh,460px);padding:24px;background:var(--soft);border-radius:12px}.studio-empty-card[data-astro-cid-qcuf67ol]{display:grid;justify-items:center;gap:8px;inline-size:min(100%,340px);padding:24px 12px;text-align:center;background:var(--card);border:2px dashed var(--line);border-radius:16px}.studio-empty-card[data-astro-cid-qcuf67ol] svg[data-astro-cid-qcuf67ol]{color:var(--ac)}.studio-empty-card[data-astro-cid-qcuf67ol] p[data-astro-cid-qcuf67ol]{margin:0;color:var(--mute);font-size:.85rem}.studio-empty-card[data-astro-cid-qcuf67ol] button[data-astro-cid-qcuf67ol]{min-block-size:44px}.photo-tool[data-astro-cid-qcuf67ol][data-ready] .studio-empty[data-astro-cid-qcuf67ol]{display:none}.studio-toolbar[data-astro-cid-qcuf67ol] svg[data-astro-cid-qcuf67ol],.studio-empty[data-astro-cid-qcuf67ol] svg[data-astro-cid-qcuf67ol],#photoMobileTools[data-astro-cid-qcuf67ol] svg[data-astro-cid-qcuf67ol]{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}@media(max-width:767px){body:has(#photoTool[data-mode=all][data-ready][data-dock-visible]) astro-dev-toolbar{display:none}main:has(>.photo-tool[data-mode=all])>h1{position:absolute;inline-size:1px;block-size:1px;overflow:hidden;clip-path:inset(50%)}.photo-tool[data-astro-cid-qcuf67ol][data-mode=all]{padding:0;margin-block:12px;border-radius:16px}.photo-tool[data-astro-cid-qcuf67ol][data-mode=all] .photo-processing[data-astro-cid-qcuf67ol]{display:none}.studio-toolbar[data-astro-cid-qcuf67ol]{flex-wrap:nowrap;gap:4px;margin:0;padding:8px;border-block-end:1px solid var(--line);border-start-start-radius:inherit;border-start-end-radius:inherit}.studio-toolbar[data-astro-cid-qcuf67ol] .studio-source[data-astro-cid-qcuf67ol]{min-inline-size:44px;padding:0}.studio-toolbar[data-astro-cid-qcuf67ol] .studio-source[data-astro-cid-qcuf67ol] span[data-astro-cid-qcuf67ol],.studio-toolbar[data-astro-cid-qcuf67ol] .photo-history[data-astro-cid-qcuf67ol] span[data-astro-cid-qcuf67ol],.photo-tool[data-astro-cid-qcuf67ol][data-mode=all] .studio-tool-label[data-astro-cid-qcuf67ol]{display:none}.studio-mobile-title[data-astro-cid-qcuf67ol]{display:block;flex:1;min-inline-size:0;font-size:clamp(.85rem,3.4vw,1rem);line-height:1.25;font-weight:700}.studio-toolbar[data-astro-cid-qcuf67ol] .photo-history[data-astro-cid-qcuf67ol]{gap:0}.studio-toolbar[data-astro-cid-qcuf67ol] .photo-history[data-astro-cid-qcuf67ol] button[data-astro-cid-qcuf67ol]{display:grid;place-items:center;min-inline-size:44px;padding:0;background:transparent;color:var(--ink)}#photoExport[data-astro-cid-qcuf67ol]{margin:0}.studio-toolbar[data-astro-cid-qcuf67ol] #photoExport[data-astro-cid-qcuf67ol] .local-result{position:absolute;inset-inline-end:8px;inset-block-start:100%;z-index:3;padding:4px;margin:0;background:var(--card);border:1px solid var(--line);border-radius:8px}.studio-toolbar[data-astro-cid-qcuf67ol]{position:relative}.studio-mobile-label[data-astro-cid-qcuf67ol]{display:inline}#photoStatus[data-astro-cid-qcuf67ol]:not(:empty){margin:8px}.studio-empty[data-astro-cid-qcuf67ol]{min-block-size:clamp(240px,52svh,460px);border-radius:0 0 16px 16px}.photo-tool[data-astro-cid-qcuf67ol][data-mode=all]:not([data-ready]) [data-astro-cid-qcuf67ol]:is(#photoHistory,#photoExport,#photoMobileTools){display:none}.photo-tool[data-astro-cid-qcuf67ol][data-mode=all][data-ready]{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;block-size:clamp(320px,calc(100svh - var(--app-header-height,61px) - 24px),860px)}.photo-tool[data-astro-cid-qcuf67ol][data-mode=all] .studio-toolbar[data-astro-cid-qcuf67ol]{grid-row:1}.photo-tool[data-astro-cid-qcuf67ol][data-mode=all] #photoStatus[data-astro-cid-qcuf67ol]{grid-row:2}.photo-tool[data-astro-cid-qcuf67ol][data-mode=all] #photoWorkspace[data-astro-cid-qcuf67ol]{grid-row:3;grid-template-rows:minmax(0,1fr) min(32svh,256px,48%);min-block-size:0;background:var(--soft)}.photo-tool[data-astro-cid-qcuf67ol][data-mode=all] #photoMobileTools[data-astro-cid-qcuf67ol]{grid-row:4}.photo-tool[data-astro-cid-qcuf67ol][data-mode=all] #photoWorkspace[data-astro-cid-qcuf67ol]{gap:0}.studio-preview[data-astro-cid-qcuf67ol]{container-type:size;min-block-size:0;padding:8px;border:0;border-radius:0;background:var(--soft)}.studio-preview[data-astro-cid-qcuf67ol] .photo-stage[data-astro-cid-qcuf67ol]{--studio-preview-height:100cqh}.studio-properties[data-astro-cid-qcuf67ol]{min-block-size:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 12px 12px;border:0;border-block-start:1px solid var(--line);border-radius:0}.studio-properties-heading[data-astro-cid-qcuf67ol]{position:sticky;inset-block-start:0;z-index:1;padding-block:4px;background:var(--card)}.photo-tool[data-astro-cid-qcuf67ol][data-mode=all]:not([data-properties-open]) .studio-properties[data-astro-cid-qcuf67ol]{display:none}.studio-properties-close[data-astro-cid-qcuf67ol]{min-width:44px;min-height:44px;padding:4px 8px;color:var(--ac);background:transparent}#photoMobileTools[data-astro-cid-qcuf67ol],#photoMobileTools[data-astro-cid-qcuf67ol] svg[data-astro-cid-qcuf67ol],.studio-toolbar[data-astro-cid-qcuf67ol] .photo-history[data-astro-cid-qcuf67ol] svg[data-astro-cid-qcuf67ol]{display:block}#photoMobileTools[data-astro-cid-qcuf67ol]{min-block-size:calc(57px + env(safe-area-inset-bottom));background:var(--card);border-radius:0 0 16px 16px}#photoMobileTools[data-astro-cid-qcuf67ol] .photo-mode[data-astro-cid-qcuf67ol]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:4px;margin:0;border-block-start:1px solid var(--line)}.photo-tool[data-astro-cid-qcuf67ol][data-ready][data-dock-visible] #photoMobileTools[data-astro-cid-qcuf67ol] .photo-mode[data-astro-cid-qcuf67ol]{position:fixed;z-index:9;inset-block-end:0;inset-inline:0;padding-inline-start:max(8px,env(safe-area-inset-left));padding-inline-end:max(8px,env(safe-area-inset-right));padding-block-end:calc(4px + env(safe-area-inset-bottom));background:var(--card)}[data-astro-cid-qcuf67ol][dir=rtl] .photo-tool[data-astro-cid-qcuf67ol][data-ready][data-dock-visible] #photoMobileTools[data-astro-cid-qcuf67ol] .photo-mode[data-astro-cid-qcuf67ol]{padding-inline-start:max(8px,env(safe-area-inset-right));padding-inline-end:max(8px,env(safe-area-inset-left))}#photoMobileTools[data-astro-cid-qcuf67ol] button[data-astro-cid-qcuf67ol]{display:grid;place-items:center;align-content:center;gap:4px;min-block-size:48px;min-inline-size:0;padding:2px;background:transparent;color:var(--mute);font-size:.72rem;line-height:1.15;overflow-wrap:anywhere}#photoMobileTools[data-astro-cid-qcuf67ol] button[data-astro-cid-qcuf67ol][aria-pressed=true]:not(:disabled){color:var(--ac);background:var(--soft)}#photoMobileTools[data-astro-cid-qcuf67ol] .studio-mobile-label[data-astro-cid-qcuf67ol]{display:block;text-align:center}.photo-tool[data-astro-cid-qcuf67ol][data-mode=all]:not([data-ready]) .studio-source[data-astro-cid-qcuf67ol]{display:none}}@media(min-width:768px){.photo-tool[data-astro-cid-qcuf67ol][data-mode=all] #photoWorkspace[data-astro-cid-qcuf67ol]{grid-template-columns:minmax(0,1fr) minmax(0,clamp(220px,27%,300px));align-items:start}.studio-preview[data-astro-cid-qcuf67ol]{padding:12px}.studio-properties[data-astro-cid-qcuf67ol]{position:sticky;inset-block-start:8px}.studio-properties-close[data-astro-cid-qcuf67ol]{display:none}.photo-mode[data-astro-cid-qcuf67ol] [data-astro-cid-qcuf67ol][data-photo-mode=overlay]{order:-1}.photo-mode[data-astro-cid-qcuf67ol] [data-astro-cid-qcuf67ol][data-photo-mode=crop]{order:-2}.photo-tool[data-astro-cid-qcuf67ol][data-mode=all]:not([data-ready]) .studio-toolbar[data-astro-cid-qcuf67ol]{display:none}}
