@font-face{font-family:Vazir;src:url('/assets/Vazirmatn-wght.woff2')}*{box-sizing:border-box}body{margin:0;background:#f3f6fa;color:#18324d;font-family:Vazir,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button{border:0}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:-1px}h2{font-size:19px}h3{font-size:16px}small,.muted{color:#738498}.shell{display:grid;grid-template-columns:235px 1fr;min-height:100vh}.sidebar{background:white;padding:30px 20px;border-left:1px solid #e6edf2;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;margin-bottom:45px}.mark{background:#082f57;color:white;border-radius:15px;padding:12px;font-size:23px}.brand strong{display:block;font-size:19px}.brand small{font-size:10px;letter-spacing:3px}.nav{display:grid;gap:8px}.nav button{background:transparent;color:#6b7f92;text-align:right;border-radius:10px;padding:13px;display:flex;gap:13px;align-items:center}.nav button.active{background:#eaf8fa;color:#087f91;font-weight:700}.nav span{font-size:20px}.sidefoot{margin-top:auto;border-top:1px solid #edf0f4;padding-top:20px;line-height:2}.avatar{border-radius:50%;background:#e5f1fa;padding:9px 13px;color:#075cb5}.main{min-width:0}.topbar{height:78px;border-bottom:1px solid #e3eaf0;background:#ffffffbd;padding:0 36px;display:flex;align-items:center;justify-content:space-between;gap:15px}.topbar small{display:block}.badge{background:#e5f5ef;color:#21816a;padding:6px 12px;border-radius:20px;font-size:11px}.badge.demo{background:#fff4dc;color:#94681b}.workspace{max-width:1500px;margin:auto;padding:30px 36px}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.pagehead p{color:#758597;margin-top:7px}.btn{padding:11px 19px;border-radius:10px;display:inline-flex;gap:8px;align-items:center;justify-content:center;font-weight:600;background:#fff;border:1px solid #dce5ed;color:#29475f;text-decoration:none}.btn.primary{background:#075cb5;border-color:#075cb5;color:white}.btn.teal{background:#0b8897;color:white;border-color:#0b8897}.btn.small{padding:7px 12px;font-size:12px}.banner{background:linear-gradient(115deg,#0a677b,#082f57 65%);color:white;border-radius:18px;padding:32px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative;min-height:170px}.banner p{color:#b9dbe7;max-width:560px;margin:12px 0 20px;line-height:1.9}.banner .orb{font-size:80px;transform:rotate(-25deg);opacity:.5;padding-left:35px}.eyebrow{font-size:11px;letter-spacing:2px;color:#77d7df}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0}.stat{background:white;border:1px solid #e5ebf1;border-radius:14px;padding:20px;display:flex;justify-content:space-between;align-items:center}.stat strong{font-size:26px;display:block;margin-top:6px}.stat .symbol{font-size:24px;color:#159aae;background:#edf9fa;border-radius:12px;padding:10px}.sectionhead{display:flex;justify-content:space-between;align-items:center;margin:28px 0 16px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{border-radius:16px;background:white;border:1px solid #e1e9ef;overflow:hidden}.cardbody{padding:18px}.cardbody p{color:#7a8a98;font-size:12px;margin:6px 0 18px}.cardfoot{display:flex;align-items:center;justify-content:space-between}.cardpreview{padding:20px;background:#e8eef4;height:260px;overflow:hidden;display:flex;justify-content:center}.mini{width:185px;box-shadow:0 8px 20px #1233;border-radius:5px;overflow:hidden;flex-shrink:0}.note{background:#edf5fb;border:1px solid #dbe9f4;padding:12px 16px;border-radius:10px;font-size:12px;line-height:1.9;color:#47677f;margin-bottom:20px}.panel{background:white;border:1px solid #e1e9ef;border-radius:16px;padding:24px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:22px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.field{display:grid;gap:7px;font-size:12px}.field.wide{grid-column:1/-1}input,textarea,select{width:100%;padding:11px 12px;background:#fcfdff;border:1px solid #dce5ec;border-radius:8px;color:#18324d}textarea{resize:vertical;min-height:95px;line-height:1.9}input[type=color]{height:42px;padding:3px}input[type=file]{font-size:11px}.steps{display:flex;gap:20px;margin-bottom:24px;flex-wrap:wrap}.step{color:#8394a5;font-size:12px}.step.current{color:#075cb5;font-weight:700}.step b{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;background:#e4edf6;border-radius:50%;margin-left:7px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.editor{display:grid;grid-template-columns:minmax(260px, .9fr) minmax(320px,1.1fr);gap:24px}.previewarea{background:#e6edf3;border-radius:16px;padding:22px;display:flex;flex-direction:column;align-items:center;gap:15px}.previewarea .poster{max-width:410px;width:100%;box-shadow:0 15px 30px #18324d25}.poster{--blue:#075cb5;--teal:#16b9cb;aspect-ratio:4/5;position:relative;background:#fff;color:#082f57;overflow:hidden;display:flex;flex-direction:column;font-size:clamp(10px,1vw,14px);container-type:inline-size}.poster.story{aspect-ratio:9/16}.poster.square{aspect-ratio:1}.posterhero{background:linear-gradient(0deg,#082f57c9,transparent 80%),var(--photo) center/cover;min-height:45%;padding:7%;color:white;display:flex;flex-direction:column;justify-content:space-between;flex:1}.poster .wordmark{font-size:2.5cqw;display:flex;align-items:center;gap:6px}.poster .wordmark img{max-width:22%;max-height:42px;object-fit:contain}.poster h2{font-size:8cqw;line-height:1.6;color:inherit;overflow-wrap:anywhere}.poster .subtitle{font-size:3cqw}.postercontent{padding:5% 7%;font-size:3cqw;line-height:1.8}.poster .ribbon{background:var(--blue);color:#fff;padding:3% 5%;border-radius:8px;display:flex;justify-content:space-between;gap:6px;margin-bottom:4%}.poster .price{font-size:6cqw;font-weight:900;color:var(--blue)}.poster .services{font-size:2.8cqw;margin-top:3%;white-space:pre-line}.posterfooter{background:var(--blue);color:white;padding:3% 6%;border-top:4px solid var(--teal);font-size:2.8cqw;display:flex;justify-content:space-between;gap:8px}.poster .sample{background:#fff0d6;color:#8b6319;text-align:center;font-size:2.4cqw;padding:1%}.poster.detail .posterhero{min-height:30%}.poster.detail h2{font-size:7cqw}.poster.culture{background:#f7f0e2;border:7px double #082f57}.poster.culture .posterhero{background:linear-gradient(#f7f0e2dc,#f7f0e2ed),var(--photo) center/cover;color:#082f57;text-align:center;min-height:40%;border-bottom:1px solid #cbbb9a}.poster.culture .postercontent{text-align:center}.poster.culture .posterfooter{background:#082f57}.segmented{display:flex;gap:5px;background:#d9e3ec;padding:4px;border-radius:9px}.segmented button{background:transparent;padding:6px 14px;color:#5a7285;border-radius:6px;font-size:12px}.segmented button.active{background:white;color:#075cb5}.caption{white-space:pre-wrap;min-height:270px}.tabs{display:flex;gap:16px;border-bottom:1px solid #e6edf2;margin-bottom:20px}.tabs button{background:none;padding:12px 6px;color:#8292a1}.tabs button.active{border-bottom:2px solid #0b91a3;color:#0b91a3}.empty{padding:45px;text-align:center;line-height:2;color:#728598}.listrow{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-bottom:1px solid #edf1f5;gap:15px}.checkrow{display:flex;gap:10px;align-items:center;padding:9px 0}.checkrow input{width:auto}.swatches{display:flex;gap:8px;margin:20px 0}.swatches i{width:36px;height:36px;border-radius:50%}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#082f57;color:white;padding:12px 24px;border-radius:12px;z-index:50;display:none;max-width:90vw}.footerhint{font-size:11px;color:#8293a1;margin-top:25px;text-align:center}.logo-preview{max-height:70px;max-width:180px;object-fit:contain}.danger{color:#a64b35}.hidden{display:none}@media(min-width:1500px){.workspace{padding-top:45px}}@media(max-width:1000px){.shell{grid-template-columns:185px 1fr}.sidebar{padding:25px 12px}.workspace{padding:24px}.stats{grid-template-columns:1fr 1fr}.cards{gap:12px}.editor,.grid2{grid-template-columns:1fr}.cardpreview{height:215px}.mini{width:155px}.topbar{padding:0 24px}}@media(max-width:680px){.shell{display:block}.sidebar{height:auto;position:static;padding:16px;border-bottom:1px solid #ddd}.brand{margin-bottom:14px}.brand strong{font-size:16px}.brand small,.sidefoot{display:none}.mark{padding:5px 10px}.nav{display:flex;overflow-x:auto;gap:4px}.nav button{padding:8px 10px;white-space:nowrap;font-size:11px}.nav span{font-size:14px}.topbar{height:60px;padding:0 16px}.workspace{padding:20px 16px}.pagehead{align-items:flex-start}h1{font-size:22px}.pagehead p{font-size:12px}.pagehead .btn{padding:9px 12px;white-space:nowrap;font-size:12px}.banner{padding:23px}.banner .orb{display:none}.banner h2{font-size:20px}.stats{gap:10px}.stat{padding:14px}.stat .symbol{font-size:18px}.cards{grid-template-columns:1fr}.cardpreview{height:280px}.mini{width:215px}.formgrid{grid-template-columns:1fr}.field.wide{grid-column:auto}.panel{padding:18px}.previewarea{padding:16px}.poster{font-size:12px}.editor{grid-template-columns:minmax(0,1fr)}.topbar .badge{font-size:10px}.steps{gap:10px}.step{font-size:10px}}
.auth-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(ellipse at top right,#d9f6f7,transparent 60%),#edf3f9}.auth-card{background:white;padding:32px;border:1px solid #dce8ee;border-radius:20px;width:100%;max-width:480px;box-shadow:0 20px 70px #082f5710}.auth-card .brand{margin-bottom:25px}.secret{display:block;overflow-wrap:anywhere;user-select:all;background:#edf4fa;padding:16px;border-radius:10px;margin:20px 0;line-height:2}.auth-card details{font-size:12px;margin-top:10px}.auth-card summary{cursor:pointer}.auth-card #auth-error{margin-top:15px}.nav{overflow-y:auto}.listrow small{overflow-wrap:anywhere}#history-list{display:flex;gap:8px;flex-wrap:wrap}.auth-card input{font-size:16px}
