@font-face{font-family:Vazir;src:url(assets/vazirmatn.woff2)}*{box-sizing:border-box}body{margin:0;background:#f6f5f9;color:#30223d;font-family:Vazir,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button,a{cursor:pointer}a{color:#67448a;text-decoration:none}button{background:white;border:1px solid #e2dce9;border-radius:10px;padding:10px 16px;color:#55376b;transition:background .2s,transform .2s}button:hover{background:#f0eaf6}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #bf9656;outline-offset:3px}.primary{background:#593375;color:#fff;border-color:#593375}.primary:hover{background:#422355}.demo{background:#f0e8d9;color:#715a32;text-align:center;font-size:11px;padding:8px 16px;line-height:1.8}header{background:#fff;padding:20px 36px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e9e4ee;gap:20px}.brand{display:flex;align-items:center;gap:13px;font-size:20px;font-weight:800;color:#402451}.brand img{width:52px;height:50px;object-fit:contain}.brand small{display:block;font-size:10px;font-weight:400;color:#95869e;margin-top:4px}.head-actions{display:flex;align-items:center;gap:18px}#save-state{font-size:11px;color:#7d8a78}.workspace{max-width:1600px;margin:auto;display:grid;grid-template-columns:265px minmax(0,1fr)}.sidebar{background:#fff;border-left:1px solid #e7e2ec;padding:28px 22px;min-height:100vh}.sidebar-title{font-weight:800;margin-bottom:27px}.sidebar-title span{display:block;font-size:10px;color:#a08caa;margin-top:4px}.sidebar h3{font-size:12px;margin:28px 0 12px}.sidebar label{font-size:11px;color:#8f8098}.wide{width:100%;margin-top:10px;border-style:dashed}.template{display:flex;align-items:center;gap:12px;text-align:right;width:100%;margin-bottom:9px;padding:13px;font-size:18px}.template span{font-size:12px;font-weight:700}.template small{display:block;font-size:10px;color:#9c8fa4;font-weight:400;margin-top:4px}.palette{display:grid;grid-template-columns:1fr 1fr;gap:8px}.palette button{padding:13px 6px;font-size:11px;text-align:center}.palette b{display:block;font-size:19px;line-height:1.5;margin-bottom:5px;font-weight:400;color:#916ba8}.sidebar-note{border-top:1px solid #eee8f1;margin-top:30px;padding-top:20px;font-size:10px;line-height:2;color:#998aa3}main{padding:32px 42px 65px;min-width:0}.page-title{display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{font-size:11px;color:#a5844d}.page-title h1{font-size:23px;margin:8px 0 25px;line-height:1.8}.draft{font-size:10px;color:#9c8359;white-space:nowrap;background:#f0eade;padding:6px 10px;border-radius:20px}.tabs{display:flex;gap:25px;border-bottom:1px solid #ddd5e5;margin-bottom:28px}.tabs button{border:0;border-radius:0;padding:15px 5px;background:none;color:#a192ab}.tabs button.active{color:#583376;border-bottom:3px solid #583376;font-weight:800}.tabs span{border-radius:7px;padding:2px 8px;background:#eee7f4;margin-right:5px}.editor-top{background:#fff;border:1px solid #e5ddeb;border-radius:20px;overflow:hidden;box-shadow:0 6px 30px #3a214207}.form-cover{position:relative;overflow:hidden;background:linear-gradient(120deg,#2c1c3a,#65417d);color:#fff;padding:30px 32px}.form-cover>span{color:#dfc18d;font-size:10px}.form-cover h2{font-size:25px;margin:15px 0 8px}.form-cover p{font-size:12px;color:#d7c8e2;margin:0}.cover-art{position:absolute;left:35px;top:5px;font-size:95px;color:#dcbf7b33;transform:rotate(-15deg)}.cover-art i{font-size:40px}.form-details{padding:25px 30px}label{display:block;font-size:12px;color:#786582}input:not([type=checkbox]):not([type=radio]),select,textarea{display:block;width:100%;border:1px solid #e5dfea;background:#fdfcfe;padding:11px 13px;border-radius:9px;color:#392744;margin:7px 0 15px;outline:none}input:focus,textarea:focus,select:focus{border-color:#a47abd!important;box-shadow:0 0 0 3px #a47abd16}textarea{resize:vertical;min-height:65px}input[type=checkbox],input[type=radio]{accent-color:var(--accent,#673d83);width:17px;height:17px}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:18px}.section-label{display:flex;align-items:center;justify-content:space-between;margin:28px 0 14px}.section-label h2{font-size:16px}.section-label span{font-size:10px;color:#a496ac}.question{background:#fff;border:1px solid #e4dce9;border-radius:16px;padding:23px 26px;margin-bottom:16px;border-right:3px solid #b298c3}.qtop{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:14px}.qtype{background:#f2edf7;border-radius:7px;padding:6px 10px;font-size:10px;color:#87649e}.qactions{display:flex;gap:5px}.qactions button{padding:5px 9px;font-size:12px}.question .qtitle{font-size:15px;font-weight:700;background:white;border-color:transparent;border-bottom-color:#eae4ef;border-radius:0;padding-right:0}.question .options{font-size:12px;line-height:1.9;min-height:90px}.qfoot{display:flex;gap:15px;justify-content:space-between;align-items:center;border-top:1px solid #f1edf5;padding-top:14px}.check{display:flex;align-items:center;gap:8px}.question details{font-size:11px;color:#927b9f}.question summary{cursor:pointer}.rule{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.add-question{width:100%;border:1px dashed #b9a2c9;background:#f1ebf7;padding:19px}.preview-tools{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;color:#8c7799;font-size:12px}#respondent{max-width:780px;margin:0 auto;--accent:#673d83}#respondent.mobile{max-width:390px}.fill-cover{background:var(--accent);padding:30px;color:white;border-radius:20px 20px 0 0;position:relative}.fill-cover span{font-size:11px;color:#fff9}.fill-cover h2{font-size:27px;line-height:1.7}.fill-cover p{line-height:2;color:#fffd;font-size:13px;white-space:pre-line}.fill-form{background:white;padding:30px;border:1px solid #e4dce9;border-radius:0 0 20px 20px}.fill-question{margin-bottom:28px}.fill-question>label,.fill-question legend{font-size:15px;color:#3e2c4b;font-weight:700;margin-bottom:12px}.fill-question fieldset{border:0;padding:0;margin:0;min-width:0}.choice{display:flex;align-items:center;gap:10px;border:1px solid #e8e1ed;padding:12px;margin:8px 0;border-radius:9px;font-size:13px}.req{color:#ac594d}.rating{display:flex;gap:7px}.rating label{flex:1;justify-content:center;flex-direction:column}.fill-note{font-size:11px;color:#9c8ca5;line-height:2;margin:20px 0}.fill-form .primary{background:var(--accent);border-color:var(--accent);width:100%;padding:15px}.success{background:#fff;border:1px solid #e4dce9;border-radius:20px;padding:50px 25px;text-align:center}.success .tick{font-size:42px;color:#648e7c}.success p{line-height:2;color:#8d7d98}.response-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.response-head h2{font-size:22px}.response-head p{font-size:12px;color:#92849c}#response-stats{margin:25px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.stat{background:white;border:1px solid #e5dfea;border-radius:15px;padding:22px}.stat b{display:block;font-size:25px;margin-bottom:5px}.stat span{font-size:11px;color:#9886a3}.empty{background:white;border:1px dashed #cdbbda;padding:50px 25px;text-align:center;border-radius:20px;color:#9b88a8;line-height:2}.response{background:white;border:1px solid #e5dfea;border-radius:13px;margin:12px 0;padding:20px}.response summary{cursor:pointer;font-size:13px;display:flex;justify-content:space-between;gap:10px}.response time{font-size:11px;color:#9d8ba9}.answer{padding:15px 0;border-bottom:1px solid #eee7f3}.answer b{font-size:12px}.answer p{font-size:13px;color:#786984;white-space:pre-wrap;overflow-wrap:anywhere}dialog{border:0;border-radius:22px;padding:35px;width:min(530px,92vw);color:#402451;box-shadow:0 20px 80px #21112f44}dialog::backdrop{background:#27183266;backdrop-filter:blur(4px)}dialog h2{font-size:22px}dialog p{font-size:13px;line-height:2;color:#93829f}.dialog-close{float:left;border:0;padding:2px 10px;font-size:22px}.dialog-actions{display:flex;align-items:center;gap:25px}#toast{position:fixed;bottom:25px;left:25px;background:#32203e;color:white;padding:12px 22px;border-radius:12px;display:none;font-size:13px;z-index:10}.public-mode .sidebar,.public-mode .page-title,.public-mode .tabs,.public-mode #share,.public-mode #build-view,.public-mode #responses-view,.public-mode .preview-tools{display:none!important}.public-mode .workspace{display:block}.public-mode main{max-width:850px;margin:auto}.public-mode #fill-view{display:block!important}[hidden]{display:none!important}@media(max-width:1050px){main{padding:25px}.workspace{grid-template-columns:220px minmax(0,1fr)}.sidebar{padding:22px 16px}.page-title h1{font-size:19px}.draft{display:none}.cover-art{opacity:.4}.page-title{display:block}}@media(max-width:700px){header{padding:15px}.brand{font-size:16px}.brand small,#save-state{display:none}.brand img{width:40px}.workspace{display:flex;flex-direction:column}.sidebar{min-height:0;border:0;padding:18px}.sidebar-title,.sidebar-note,.sidebar h3,.template{display:none}.sidebar{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sidebar>label{grid-column:1/-1}.sidebar select,.wide{margin:0}.palette{grid-column:1/-1;display:flex;overflow:auto}.palette button{min-width:80px;padding:8px}.palette b{font-size:15px;margin:0}main{padding:20px 15px}.page-title h1{font-size:18px}.tabs{gap:20px}.tabs button{font-size:12px}.form-cover{padding:25px}.form-cover h2{font-size:21px}.form-details,.question,.fill-form{padding:20px}.two-cols,.rule{grid-template-columns:1fr;gap:0}.qfoot{align-items:start;flex-direction:column}.section-label span{display:none}.response-head{display:block}.stat{padding:14px}#response-stats{gap:8px}.stat b{font-size:20px}.fill-cover h2{font-size:23px}.head-actions button{font-size:11px;padding:9px}.response summary{flex-direction:column}}

.auth-card{max-width:480px;margin:65px auto;padding:38px;background:white;border:1px solid #e4dce9;border-radius:24px;box-shadow:0 20px 80px #4c306510}.auth-card h1{font-size:26px}.auth-card p{line-height:2;color:#786984}.auth-card label{display:block;margin:18px 0}.auth-card button{width:100%;margin-top:22px}.auth-card small{line-height:2;color:#85718c}#login-error{color:#ae263e}.head-actions{flex-wrap:wrap}.primary{display:inline-block;text-decoration:none;border-radius:10px;padding:10px 16px}#export-csv{white-space:nowrap}.public-mode .head-actions{display:none!important}@media(max-width:600px){.auth-card{margin:25px 16px;padding:25px}.head-actions{gap:5px}header{flex-wrap:wrap;gap:12px}}
.portal{max-width:1140px;margin:0 auto;padding:44px 28px 80px}.portal-hero{background:linear-gradient(120deg,#30203f,#65457f);color:white;padding:42px;border-radius:24px;margin-bottom:28px}.portal-hero span{color:#e2ce9c;font-size:12px}.portal-hero h1{font-size:32px;margin:16px 0}.portal-hero p{color:#e6ddec}.portal-tools{display:grid;grid-template-columns:1.3fr 1fr;gap:24px}.tool-card,.portal-note,.saved-form{background:white;border:1px solid #e5deec;border-radius:20px;padding:30px}.tool-symbol{font-size:36px;color:#6c4787}.tool-status{display:inline-block;border-radius:99px;background:#eee8f4;color:#684280;padding:5px 12px;font-size:11px}.tool-card h2,.saved-form h2{font-size:23px}.tool-card p,.portal-note p,.library-head p{color:#7b6c87;line-height:2}.tool-stats{display:flex;gap:24px;margin:22px 0}.portal-note{background:#f0ebf5;display:flex;flex-direction:column;justify-content:center}.portal-note>span{font-size:38px;color:#9a7b49}.portal-note h2{font-size:22px}.portal-note a{margin-top:18px}.library-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:25px}.library-head h1{font-size:28px}.form-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.saved-form h2{overflow-wrap:anywhere}.form-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.trash-button{color:#a34855}.public-mode #portal-home{display:none!important}@media(max-width:700px){.portal{padding:24px 16px}.portal-tools,.form-cards{grid-template-columns:1fr}.portal-hero{padding:26px}.portal-hero h1{font-size:25px}.library-head{align-items:start;flex-direction:column}.tool-card,.portal-note,.saved-form{padding:24px}}