@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');
:root{font-family:Vazirmatn,Tahoma,sans-serif;color:#172033;background:#f5f7fb;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100vh}.topbar{height:72px;padding:0 max(22px,calc((100% - 1160px)/2));display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e9edf4}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#172033;font-weight:800}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#5b5ce2;color:white;font-size:13px;letter-spacing:.5px}
.admin-link{color:#5558d9;text-decoration:none;font-size:14px;font-weight:600}.container{width:min(1100px,calc(100% - 36px));margin:44px auto 80px}.hero{padding:58px 28px 46px;border-radius:28px;background:linear-gradient(130deg,#171d36,#303b70);color:white;text-align:center;box-shadow:0 18px 50px #1b24501c}
.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.5px;color:#999bf8}.hero h1{font-size:clamp(27px,5vw,42px);margin:14px 0 10px}.hero p{color:#c7cbe0;margin:0 0 28px}.search{width:min(560px,100%);height:54px;margin:auto;background:white;border-radius:14px;display:flex;align-items:center;gap:10px;padding:0 17px;color:#777}.search span{font-size:27px}.search input{border:0;outline:0;width:100%;font:inherit;color:#222}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:36px 0 18px}.section-head h1,.section-head h2{font-size:21px;margin:0 0 5px}.section-head p{margin:0;color:#8991a4;font-size:13px}.count,.draft-tag{font-size:12px;color:#6668d7;background:#eeeeff;padding:8px 12px;border-radius:30px}
.prompt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.prompt-card{background:#fff;border:1px solid #e9edf4;border-radius:18px;padding:17px;min-width:0}.prompt-card h3{font-size:16px;margin:0 0 8px}.prompt-card p{font-size:13px;color:#747d91;line-height:1.9;margin:0}.prompt-card .fake-image{height:150px;border-radius:12px;background:linear-gradient(135deg,#e9eaff,#f5eaff);display:grid;place-items:center;color:#7777c9;margin-bottom:14px;font-weight:700}.empty{text-align:center;padding:50px;color:#9299a8}.hidden{display:none!important}footer{text-align:center;color:#9aa1af;font-size:12px;padding:24px}
.admin-body{background:#f5f6fa}.admin-layout{width:min(1200px,calc(100% - 36px));margin:32px auto;display:grid;grid-template-columns:270px 1fr;gap:24px;align-items:start}.side-panel,.form-card,.preview-card{background:white;border:1px solid #e9edf4;border-radius:20px;padding:24px}.side-panel{position:sticky;top:20px}.side-panel h2{font-size:20px}.side-panel p{font-size:13px;color:#858da0;line-height:2}.side-note{display:flex;flex-direction:column;gap:4px;padding:13px 0;border-top:1px solid #eff1f6;font-size:13px}.side-note b{color:#5558d9}.side-note span{color:#838b9d;font-size:12px}.side-note.muted b{color:#9ba2b2}.editor{min-width:0}.editor .section-head{margin:0 0 18px}.form-card{display:grid;gap:17px}.field{display:grid;gap:8px;font-size:13px;font-weight:600}.field input,.field textarea{width:100%;border:1px solid #e2e6ef;border-radius:11px;padding:13px;font:inherit;font-weight:400;outline:none;background:#fcfcfe}.field input:focus,.field textarea:focus{border-color:#7779e8;box-shadow:0 0 0 3px #7779e81a}.field textarea{resize:vertical;line-height:1.9}.field small{font-weight:400;color:#9299a8}.form-actions{display:flex;gap:10px;flex-wrap:wrap}.primary-btn,.secondary-btn{border:0;border-radius:11px;padding:12px 20px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.primary-btn{background:#595bdd;color:#fff}.secondary-btn{background:#f0f1f7;color:#555d70}.notice{font-size:12px;color:#8b93a4;margin:0;line-height:1.8}.preview-card{margin-top:20px}.preview-image{width:100%;max-height:340px;object-fit:cover;border-radius:14px}.preview-card h3{margin:15px 0 6px}.preview-card p{color:#737d91;font-size:13px}.preview-card pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f8fc;padding:16px;border-radius:12px;line-height:1.9;font:13px Vazirmatn,Tahoma,sans-serif}
@media(max-width:800px){.prompt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-layout{grid-template-columns:1fr}.side-panel{position:static}.side-panel p{margin-bottom:8px}.container{margin-top:24px}.hero{padding:42px 18px}}
@media(max-width:520px){.topbar{height:62px;padding:0 16px}.brand{font-size:13px}.brand-mark{width:34px;height:34px}.container{width:calc(100% - 26px)}.prompt-grid{grid-template-columns:1fr}.hero{border-radius:20px}.section-head h1,.section-head h2{font-size:18px}.admin-layout{width:calc(100% - 24px);margin:18px auto}.side-panel,.form-card,.preview-card{padding:18px}.form-actions>*{flex:1}.draft-tag{white-space:nowrap}}
