.ev{--bg:#fff;--tx:#1b1f2a;--mu:#667085;--bd:#e2e5ee;--in:#fff;--ac:#6366f1;--act:#fff;--bad:#b91c1c;--badbg:#fee2e2;max-width:900px;margin:auto;padding:1.5rem max(1rem,env(safe-area-inset-right)) 2rem;color:var(--tx);font-family:Vazirmatn,sans-serif;line-height:1.7}html[data-theme=dark] .ev{--bg:#181c2e;--tx:#e8eaf3;--mu:#9aa3b8;--bd:#2c3250;--in:#11152a;--ac:#818cf8;--act:#10132a;--bad:#fca5a5;--badbg:#5a1a1a}@media(prefers-color-scheme:dark){html:not([data-theme=light]) .ev{--bg:#181c2e;--tx:#e8eaf3;--mu:#9aa3b8;--bd:#2c3250;--in:#11152a;--ac:#818cf8;--act:#10132a;--bad:#fca5a5;--badbg:#5a1a1a}}body{margin:0;background:#f4f5f9}html[data-theme=dark] body{background:#0f1220}@media(prefers-color-scheme:dark){html:not([data-theme=light]) body{background:#0f1220}}.ev h1{margin:0}.ev h2{font-size:1.2rem}.muted{color:var(--mu)}.ev header{margin-bottom:1rem}.ev-card{background:var(--bg);border:1px solid var(--bd);border-radius:16px;padding:1.25rem;margin:1rem 0}.ev label{display:block;font-weight:600;margin:.7rem 0 .3rem}.input{width:100%;min-height:46px;padding:.55rem .85rem;font:inherit;font-size:16px;color:var(--tx);background:var(--in);border:1.5px solid var(--bd);border-radius:10px}.input:focus-visible{outline:none;border-color:var(--ac)}textarea.input{resize:vertical}.actions,.row{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;justify-content:space-between;margin-top:1rem}.btn{min-height:44px;padding:.4rem 1rem;font:inherit;font-weight:700;color:var(--tx);background:transparent;border:1px solid var(--bd);border-radius:10px;cursor:pointer}.primary{background:var(--ac);border-color:var(--ac);color:var(--act)}.danger{background:var(--badbg);border-color:transparent;color:var(--bad)}#preview{max-width:100%;max-height:240px;margin:.5rem 0;border-radius:10px}.filters{display:grid;gap:.6rem}.list{display:grid;gap:.7rem}.item{padding:.8rem 1rem;border:1px solid var(--bd);border-radius:12px;background:var(--in);border-inline-start:5px solid var(--ac)}.item h3{margin:0}.meta{color:var(--mu);font-size:.85rem}.item img{max-width:100%;max-height:180px;border-radius:8px;margin:.5rem 0}.none{color:var(--mu);text-align:center;padding:1rem}dialog{border:1px solid #e2e5ee;border-radius:16px;padding:1.25rem;font-family:Vazirmatn;max-width:calc(100vw - 1rem)}dialog::backdrop{background:#0008}#toast{position:fixed;bottom:1rem;inset-inline:1rem;margin:auto;max-width:400px;background:#111827;color:#fff;border-radius:12px;padding:.75rem;text-align:center;font-weight:600}@media(min-width:640px){.filters{grid-template-columns:2fr 1fr}}