@font-face{font-family:Vazirmatn;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/1abbc144918f74fd-s.p.woff2) format("woff2");unicode-range:u+06??,u+0750-077f,u+0870-088e,u+0890-0891,u+0897-08e1,u+08e3-08ff,u+200c-200e,u+2010-2011,u+204f,u+2e41,u+fb50-fdff,u+fe70-fe74,u+fe76-fefc,u+102e0-102fb,u+10e60-10e7e,u+10ec2-10ec4,u+10efc-10eff,u+1ee00-1ee03,u+1ee05-1ee1f,u+1ee21-1ee22,u+1ee24,u+1ee27,u+1ee29-1ee32,u+1ee34-1ee37,u+1ee39,u+1ee3b,u+1ee42,u+1ee47,u+1ee49,u+1ee4b,u+1ee4d-1ee4f,u+1ee51-1ee52,u+1ee54,u+1ee57,u+1ee59,u+1ee5b,u+1ee5d,u+1ee5f,u+1ee61-1ee62,u+1ee64,u+1ee67-1ee6a,u+1ee6c-1ee72,u+1ee74-1ee77,u+1ee79-1ee7c,u+1ee7e,u+1ee80-1ee89,u+1ee8b-1ee9b,u+1eea1-1eea3,u+1eea5-1eea9,u+1eeab-1eebb,u+1eef0-1eef1}@font-face{font-family:Vazirmatn;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/17cf9497af825577-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Vazirmatn;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/8c96cc4bd2a39381-s.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Vazirmatn Fallback;src:local("Arial");ascent-override:101.87%;descent-override:53.36%;line-gap-override:0.00%;size-adjust:100.66%}.__className_aaf65b{font-family:Vazirmatn,Vazirmatn Fallback;font-style:normal}.__variable_aaf65b{--vazirmatn:"Vazirmatn","Vazirmatn Fallback"}@font-face{font-family:IranNastaliq;src:url(/_next/static/media/08003ef8b7907a3f-s.p.woff2) format("woff2");font-display:swap;font-weight:500;font-style:normal}@font-face{font-family:IranNastaliq Fallback;src:local("Arial");ascent-override:143.25%;descent-override:121.77%;line-gap-override:14.33%;size-adjust:102.25%}.__className_afd706{font-family:IranNastaliq,IranNastaliq Fallback;font-weight:500;font-style:normal}.__variable_afd706{--irannastaliq:"IranNastaliq","IranNastaliq Fallback"}

/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */@layer properties;@layer theme, base, components, utilities;@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-orange-400:oklch(75% 0.183 55.934);--color-blue-500:oklch(62.3% 0.214 259.815);--color-gray-300:oklch(87.2% 0.01 258.338);--color-gray-400:oklch(70.7% 0.022 261.325);--color-gray-500:oklch(55.1% 0.027 264.364);--color-stone-700:oklch(37.4% 0.01 67.558);--color-stone-900:oklch(21.6% 0.006 56.043);--color-black:#000;--color-white:#fff;--spacing:0.25rem;--text-xs:0.75rem;--text-xs--line-height:calc(1 / 0.75);--text-sm:0.875rem;--text-sm--line-height:calc(1.25 / 0.875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--font-weight-semibold:600;--radius-md:0.375rem;--radius-lg:0.5rem;--radius-xl:0.75rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,::file-selector-button,:after,:before{box-sizing:border-box;margin:0;padding:0;border:0 solid}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:rgba(0,0,0,0)}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}::file-selector-button,button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:rgba(0,0,0,0);opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports(not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::placeholder{color:currentcolor}@supports(color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}::file-selector-button,button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{.visible{visibility:visible}.\!relative{position:relative!important}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.top-0{top:calc(var(--spacing)*0)}.right-0{right:calc(var(--spacing)*0)}.left-0{left:calc(var(--spacing)*0)}.left-8{left:calc(var(--spacing)*8)}.z-10{z-index:10}.z-50{z-index:50}.z-1000{z-index:1000}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-8{margin-top:calc(var(--spacing)*8)}.-mb-4{margin-bottom:calc(var(--spacing)*-4)}.-mb-8{margin-bottom:calc(var(--spacing)*-8)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-12{margin-bottom:calc(var(--spacing)*12)}.\!flex{display:flex!important}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.table{display:table}.\!aspect-square{aspect-ratio:1/1!important}.\!h-8{height:calc(var(--spacing)*8)!important}.\!h-10{height:calc(var(--spacing)*10)!important}.\!h-24{height:calc(var(--spacing)*24)!important}.h-0{height:calc(var(--spacing)*0)}.h-16{height:calc(var(--spacing)*16)}.h-\[calc\(70vh\)\]{height:70vh}.h-\[calc\(100vh_-_4rem\)\]{height:calc(100vh - 4rem)}.h-\[calc\(100vh_-_9rem\)\]{height:calc(100vh - 9rem)}.h-full{height:100%}.h-px{height:1px}.\!w-8{width:calc(var(--spacing)*8)!important}.\!w-10{width:calc(var(--spacing)*10)!important}.\!w-24{width:calc(var(--spacing)*24)!important}.w-0{width:calc(var(--spacing)*0)}.w-8{width:calc(var(--spacing)*8)}.w-auto{width:auto}.w-full{width:100%}.w-screen{width:100vw}.grow{flex-grow:1}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, )}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-around{justify-content:space-around}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-y-scroll{overflow-y:scroll}.rounded{border-radius:.25rem}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-t-xl{border-top-left-radius:var(--radius-xl);border-top-right-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-500{border-color:var(--color-gray-500)}.bg-black{background-color:var(--color-black)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-400{background-color:var(--color-gray-400)}.bg-stone-700\/80{background-color:color-mix(in srgb,oklch(37.4% .01 67.558deg) 80%,transparent)}@supports(color:color-mix(in lab,red,red)){.bg-stone-700\/80{background-color:color-mix(in oklab,var(--color-stone-700) 80%,transparent)}}.bg-stone-900{background-color:var(--color-stone-900)}.object-contain{object-fit:contain}.p-1{padding:calc(var(--spacing)*1)}.p-4{padding:calc(var(--spacing)*4)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-6{padding-top:calc(var(--spacing)*6)}.pb-8{padding-bottom:calc(var(--spacing)*8)}.pb-32{padding-bottom:calc(var(--spacing)*32)}.text-center{text-align:center}.text-end{text-align:end}.text-start{text-align:start}.\!text-sm{font-size:var(--text-sm)!important;line-height:var(--tw-leading,var(--text-sm--line-height))!important}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.\!text-orange-400{color:var(--color-orange-400)!important}.\!text-white{color:var(--color-white)!important}.text-orange-400{color:var(--color-orange-400)}.text-white{color:var(--color-white)}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px)}.blur,.brightness-0{filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.brightness-0{--tw-brightness:brightness(0%)}.grayscale{--tw-grayscale:grayscale(100%)}.grayscale,.invert{filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.invert{--tw-invert:invert(100%)}@media(min-width:48rem){.md\:absolute{position:absolute}.md\:fixed{position:fixed}.md\:right-0{right:calc(var(--spacing)*0)}.md\:block{display:block}.md\:w-1\/2{width:50%}.md\:w-2\/3{width:66.6666666667%}.md\:w-auto{width:auto}.md\:w-full{width:100%}.md\:grow{flex-grow:1}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}.md\:text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@layer properties{@supports((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}:root{--background:#0a0a0a;--foreground:#ededed;font-family:var(--vazirmatn),system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}@theme inline{--color-background:var(--background);--color-foreground:var(--foreground);--font-sans:var(--font-geist-sans);--font-mono:var(--font-geist-mono)}@media(prefers-color-scheme:dark){:root{--background:#0a0a0a;--foreground:#ededed}}body{background:var(--background);color:var(--foreground);font-family:Arial,Helvetica,sans-serif}.font{font-family:var(--vazirmatn),sans-serif!important}.app{height:100vh;width:100%;align-items:center;display:flex;flex-direction:column;color:#eaeaea;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}.topbar{justify-content:space-between;padding:10px 14px;border-bottom:1px solid #2a2a2a}.left,.topbar{display:flex;align-items:center;gap:12px}.fileBtn{display:inline-flex;align-items:center;justify-content:center;background:#2d6cdf;color:#fff;padding:8px 12px;border-radius:10px;cursor:pointer;-webkit-user-select:none;user-select:none;font-weight:600}.smallText{opacity:.85;font-size:13px}.right{display:flex;gap:8px}button{background:#2a2a2a;color:#eaeaea;border:1px solid #3a3a3a;border-radius:10px;padding:8px 12px;cursor:pointer}button:hover{filter:brightness(1.1)}button:disabled{opacity:.45;cursor:not-allowed}button.warn{background:#c06a00;border-color:#c06a00;color:#fff}body::-webkit-scrollbar{display:none}.hideScrollBar{-ms-overflow-style:none}.hideScrollBar::-webkit-scrollbar{display:none}.controls{border-bottom:1px solid #2a2a2a;display:flex;flex-direction:column;gap:10px}.row{width:100%;display:flex;flex-wrap:wrap;gap:14px;align-items:center}.backdr,label{background:#171717;border:1px solid #2a2a2a}label{display:inline-flex;gap:8px;align-items:center;border-radius:12px;padding:8px 10px}label.checkbox{background:rgba(0,0,0,0);border:none;padding:0}input[type=number],select{background:#0f0f0f;border:1px solid #2a2a2a;color:#eaeaea;border-radius:8px;padding:6px 8px}input[type=range]{width:220px}.hint{opacity:.75;font-size:13px}.previewWrap{flex:1 1;min-height:300px;padding:12px}canvas{width:100%;height:100%;border-radius:16px;background:#101010;border:1px solid #2a2a2a;touch-action:none}.btnPrimary{background:#2d6cdf;border:1px solid #2d6cdf;color:#fff;border-radius:10px;padding:8px 12px;cursor:pointer;font-weight:600}.btnPrimary:hover{filter:brightness(1.08)}.inputBar{position:fixed;left:auto;right:auto;bottom:12px;display:flex;gap:10px;align-items:center;padding:10px;border-radius:16px;background:rgba(20,20,20,.92);border:1px solid #2a2a2a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:50}.iconBtn{display:flex;align-items:center;flex-direction:row;background:#1b1b1b;cursor:pointer;font-size:18px;font-family:var(--vazirmatn),system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}.iconBtn,.textInput{height:44px;border-radius:12px;border:1px solid #2a2a2a;color:#eaeaea}.textInput{flex:1 1;background:#0f0f0f;padding:0 12px;outline:none}.sendBtn{height:44px;padding:0 16px;border-radius:12px;background:#2d6cdf;border:1px solid #2d6cdf;color:#fff;font-weight:700;cursor:pointer}.sendBtn:disabled{opacity:.45;cursor:not-allowed}.fontSelect,.fontSize{height:44px;border-radius:12px;border:1px solid #2a2a2a;background:#0f0f0f;color:#eaeaea;padding:0 10px}.fontSize{width:90px}.previewCanvas{touch-action:none;-webkit-user-select:none;user-select:none}