@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/font-face.css');

html,body,button,input,textarea,select,option,a,label,table,thead,tbody,tr,th,td,div,span,p,h1,h2,h3,h4,h5,h6{font-family:'Vazir',Tahoma,Arial,sans-serif!important;}

:root{--bg:#eef1f4;--ink:#18212f;--muted:#667085;--line:#cbd2dc;--card:#fff;--accent:#245cff;--ok:#0f8a5f;--danger:#b42318;--soft:#f7f8fa}
*{box-sizing:border-box}body{margin:0;background:#172033;font-family:'Vazir',Tahoma,Arial,sans-serif;color:var(--ink)}
.app{max-width:430px;margin:auto;min-height:100vh;background:var(--bg);box-shadow:0 0 30px #0004;padding-bottom:28px}
header{background:#172033;color:#fff;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:10}.brand{font-weight:800;font-size:14px}.small{font-size:11px;color:var(--muted);line-height:1.8}.wrap{padding:14px}.card{background:#fff;border:1.5px solid #8d98a7;border-radius:14px;padding:14px;margin-bottom:12px}.soft{background:#f8fafc;border-color:#d6dce5}.section-title{font-size:20px;margin:0 0 10px}.label{font-size:11px;color:#596274;margin:0 0 5px}.stack{display:grid;gap:9px}.row{display:flex;gap:8px;align-items:center}.between{display:flex;justify-content:space-between;align-items:center;gap:10px}.btn{border:0;border-radius:11px;padding:12px 14px;font-weight:800;cursor:pointer;font-family:inherit}.btn.primary{background:var(--accent);color:#fff;width:100%}.btn.secondary{background:#fff;color:var(--ink);border:1.5px solid #8d98a7;width:100%}.btn.ghost{background:#edf1f6;color:#344054}.btn.danger{background:#fee4e2;color:#912018}.btn:disabled{opacity:.5;cursor:not-allowed}input,textarea,select{width:100%;border:1.5px solid #aab3c0;border-radius:10px;padding:11px;background:#fff;font:inherit;font-size:13px;outline:none}textarea{min-height:110px;resize:vertical}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:9px}.status{padding:10px;border-radius:10px;font-size:12px;line-height:1.8}.status.ok{background:#ebf8f2;border:1px solid #a8dbc8;color:#0b6a4c}.status.warn{background:#fff8e6;border:1px solid #e9ce8e;color:#72510a}.status.err{background:#fee4e2;border:1px solid #f1a7a0;color:#912018}.hidden{display:none!important}.mic{width:74px;height:74px;border-radius:50%;border:4px solid #9db3ff;background:#245cff;color:#fff;font-size:24px;display:grid;place-items:center;margin:auto;cursor:pointer}.mic.rec{background:#d92d20;border-color:#f3a6a0;animation:pulse 1s infinite}@keyframes pulse{50%{transform:scale(1.05)}}.preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:8px}.preview-grid img{width:100%;height:92px;object-fit:cover;border-radius:10px;border:1px solid #cfd6df}.persona{display:grid;grid-template-columns:118px 1fr;gap:7px;border-bottom:1px solid #edf0f3;padding:8px 0;font-size:12px}.persona:last-child{border-bottom:0}.topbar-link{color:#c9d7ff;text-decoration:none;font-size:11px}.pill{font-size:10px;background:#eef2f6;border:1px solid #cdd4df;padding:4px 7px;border-radius:999px}.source-item{padding:11px 0;border-bottom:1px solid #eceff3}.source-item:last-child{border-bottom:0}.source-item b{display:block;font-size:13px}.source-item span{font-size:11px;color:#667085}.loading{display:inline-block;width:15px;height:15px;border:2px solid #fff7;border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite;vertical-align:middle;margin-left:5px}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:390px){.grid2{grid-template-columns:1fr}.app{box-shadow:none}}
#list a .source-name {
    font-weight: 550 !important;
}