@import"https://cdn.jsdelivr.net/npm/vazirmatn@33.003/Vazirmatn-font-face.css";:root{line-height:1.6}*{box-sizing:border-box}html,body,#root{margin:0;height:100%;min-height:100%;min-height:100dvh}html,body{overflow:hidden}#root{height:100%;min-height:100dvh;overflow:hidden}body{font-family:Vazirmatn,Tahoma,sans-serif;background:#eef3f8;color:#0b1220;direction:rtl;-webkit-tap-highlight-color:transparent}img,svg,video{max-width:100%;height:auto}button,input,select,textarea{font:inherit;max-width:100%}a{color:#0f766e}.kamjed-login{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:1.25rem;background:radial-gradient(100% 80% at 50% -10%,#c7f0e8 0%,transparent 55%),linear-gradient(165deg,#eef3f8,#e7edf5)}.kamjed-login-form input{border:1px solid #d7dee8;border-radius:12px;padding:.7rem .8rem;font:inherit;text-align:right;direction:rtl;min-height:48px}html{direction:rtl}:root{--font: "Vazirmatn", Tahoma, sans-serif;--bg: #f0f2f5;--surface: #ffffff;--sidebar: #0f172a;--sidebar-text: #e2e8f0;--sidebar-muted: #94a3b8;--sidebar-width: 260px;--primary: #2563eb;--primary-soft: #eff6ff;--border: #e2e8f0;--text: #0f172a;--text-muted: #64748b;--success: #059669;--warning: #d97706;--radius: 12px;--shadow: 0 1px 3px rgb(15 23 42 / 6%), 0 4px 12px rgb(15 23 42 / 4%);--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--safe-right: env(safe-area-inset-right, 0px);--safe-left: env(safe-area-inset-left, 0px)}body{font-family:var(--font);background:var(--bg);color:var(--text);-webkit-text-size-adjust:100%;text-size-adjust:100%}.app-shell{display:grid;grid-template-columns:minmax(0,1fr) var(--sidebar-width);height:100vh;height:100dvh;max-height:100dvh;overflow:hidden;direction:ltr}.app-shell>.sidebar{grid-column:2;direction:rtl;min-height:0;max-height:100dvh;overflow-y:auto}.app-shell>.app-main{grid-column:1;direction:rtl;min-width:0;min-height:0;max-height:100dvh;display:flex;flex-direction:column;overflow:hidden}.sidebar{width:var(--sidebar-width);background:var(--sidebar);color:var(--sidebar-text);padding:.85rem .75rem calc(.85rem + var(--safe-bottom));display:flex;flex-direction:column;gap:.35rem;overscroll-behavior:contain;border-left:1px solid rgb(255 255 255 / 6%)}.sidebar-brand{font-weight:700;font-size:1.05rem;padding:.15rem .65rem}.sidebar-user{font-size:.78rem;color:var(--sidebar-muted);padding:0 .65rem .65rem;border-bottom:1px solid rgb(255 255 255 / 8%);margin-bottom:.25rem;word-break:break-all}.sidebar nav{display:flex;flex-direction:column;gap:.15rem;flex:1;min-height:0}.sidebar nav a{color:var(--sidebar-text);text-decoration:none;padding:.48rem .65rem;border-radius:8px;font-size:.88rem;transition:background .15s}.sidebar nav a:hover{background:#ffffff14}.sidebar nav a.active{background:var(--primary);color:#fff}.btn-logout{margin-top:auto;padding:.6rem .75rem;border:1px solid rgb(255 255 255 / 15%);background:transparent;color:var(--sidebar-text);border-radius:8px;cursor:pointer;font-family:inherit;font-size:.9rem}.btn-logout:hover{background:#ffffff0f}.main-content{flex:1;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:.85rem 1rem 1rem}.page-header{margin-bottom:.75rem}.page-header h1{margin:0 0 .2rem;font-size:1.3rem;font-weight:700}.page-header p{margin:0;color:var(--text-muted);font-size:.88rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.75rem;margin-bottom:.85rem}.stat-card{background:var(--surface);border-radius:var(--radius);padding:.85rem 1rem;box-shadow:var(--shadow);border:1px solid var(--border)}.stat-card .label{font-size:.85rem;color:var(--text-muted);margin-bottom:.35rem}.stat-card .value{font-size:1.75rem;font-weight:700;line-height:1.2}.stat-card .sub{font-size:.8rem;color:var(--text-muted);margin-top:.35rem}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}@media(max-width:900px){.grid-2{grid-template-columns:1fr}}.card{background:var(--surface);border-radius:var(--radius);padding:.9rem 1rem;box-shadow:var(--shadow);border:1px solid var(--border)}.card h2{margin:0 0 .75rem;font-size:1.02rem;font-weight:600}.table-wrap{overflow-x:auto}table.data-table{width:100%;border-collapse:collapse;font-size:.88rem}table.data-table th,table.data-table td{padding:.65rem .5rem;text-align:right;border-bottom:1px solid var(--border)}table.data-table th{color:var(--text-muted);font-weight:600;font-size:.8rem}.badge{display:inline-block;padding:.15rem .5rem;border-radius:999px;font-size:.75rem;font-weight:500}.badge-incoming{background:#dbeafe;color:#1d4ed8}.badge-bridged{background:#d1fae5;color:#047857}.badge-ended{background:#f1f5f9;color:#475569}.checklist{list-style:none;padding:0;margin:0}.checklist li{display:flex;align-items:flex-start;gap:.65rem;padding:.65rem 0;border-bottom:1px solid var(--border);font-size:.9rem}.checklist li:last-child{border-bottom:none}.check-icon{width:1.25rem;height:1.25rem;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:.7rem}.check-icon.done{background:#d1fae5;color:var(--success)}.check-icon.todo{background:#fef3c7;color:var(--warning)}.quick-links{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}.btn{display:inline-flex;align-items:center;padding:.5rem 1rem;border-radius:8px;font-family:inherit;font-size:.88rem;text-decoration:none;border:none;cursor:pointer}.btn-primary{background:var(--primary);color:#fff}.btn-outline{background:var(--surface);color:var(--primary);border:1px solid var(--border)}.info-box{background:var(--primary-soft);border:1px solid #bfdbfe;border-radius:var(--radius);padding:1rem 1.15rem;font-size:.88rem;line-height:1.7}.info-box code{background:#ffffffb3;padding:.1rem .35rem;border-radius:4px;font-size:.82rem}.toolbar{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;align-items:center;margin-bottom:.65rem}.btn-sm{padding:.35rem .65rem;font-size:.8rem}.btn-danger{background:#dc2626;color:#fff}.btn-danger-outline{background:#fff;color:#dc2626;border:1px solid #fecaca}.actions-cell{display:flex;flex-wrap:wrap;gap:.35rem}.form-field{display:block;margin-bottom:1rem}.form-label{display:block;font-size:.88rem;font-weight:600;margin-bottom:.35rem}.form-hint{display:block;font-size:.78rem;color:var(--text-muted);margin-top:.25rem}.form-input{width:100%;padding:.55rem .65rem;border:1px solid var(--border);border-radius:8px;font-family:inherit;font-size:.9rem}.form-actions{display:flex;gap:.5rem;justify-content:flex-start;margin-top:1.25rem}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;z-index:100;display:flex;align-items:center;justify-content:center;padding:1rem}.modal-panel{background:var(--surface);border-radius:var(--radius);width:100%;max-width:440px;max-height:90vh;overflow:auto;box-shadow:0 20px 40px #00000026}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.15rem;border-bottom:1px solid var(--border)}.modal-header h2{margin:0;font-size:1.05rem}.modal-close{border:none;background:transparent;font-size:1.5rem;line-height:1;cursor:pointer;color:var(--text-muted)}.modal-body{padding:1.15rem}.alert-error{color:#b91c1c;font-size:.88rem;margin-bottom:.75rem}.mobile-bar,.menu-toggle,.sidebar-overlay{display:none}@media(max-width:900px){.app-shell{display:flex;flex-direction:column;direction:rtl;height:100dvh;max-height:100dvh;overflow:hidden}.app-shell>.app-main,.app-shell>.sidebar{grid-column:auto}.app-shell>.app-main{flex:1;min-height:0;max-height:none;overflow:hidden}.mobile-bar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:calc(.75rem + var(--safe-top)) 1rem .75rem;background:var(--sidebar);color:#fff;position:sticky;top:0;z-index:20}.menu-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:40px;min-width:72px;background:#ffffff1f;border:1px solid rgb(255 255 255 / 16%);color:#fff;padding:.45rem .85rem;border-radius:10px;font-family:inherit;font-size:.9rem;font-weight:700;cursor:pointer}.sidebar{position:fixed;top:0;right:0;left:auto;z-index:40;width:min(var(--sidebar-width),86vw);height:100%;height:100dvh;transform:translate(110%);transition:transform .25s ease;box-shadow:-8px 0 28px #00000047;border-left:none}.sidebar.open{transform:translate(0)}.sidebar-overlay{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;z-index:35}.sidebar-overlay.open{display:block}.main-content{padding:.75rem .75rem calc(.9rem + var(--safe-bottom))}.page-header h1{font-size:1.15rem}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.stat-card{padding:.85rem}.stat-card .value{font-size:1.35rem}.card{padding:.95rem}.toolbar{flex-direction:column;align-items:stretch}.toolbar .btn,.form-actions .btn{width:100%;justify-content:center}.uc-form,.uc-module-grid{grid-template-columns:1fr}table.data-table{font-size:.8rem;min-width:520px}.modal-panel{max-width:100%;margin:0;border-radius:16px 16px 12px 12px}.modal-backdrop{align-items:flex-end;padding:0}}@media(max-width:480px){.stats-grid{grid-template-columns:1fr}.btn,.btn-sm{min-height:42px}}.muted{color:var(--text-muted)}.error-text{color:#b91c1c}.uc-module-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.75rem;margin-top:1rem}.uc-module-card{display:flex;flex-direction:column;gap:.35rem;padding:1rem;border-radius:14px;border:1px solid #e2e8f0;background:#fff;text-decoration:none;color:inherit;transition:border-color .15s,box-shadow .15s}.uc-module-card:hover{border-color:#0f766e;box-shadow:0 8px 24px #0f766e1f}.uc-module-key{font-size:.72rem;color:#64748b;font-family:ui-monospace,monospace}.uc-module-card p{margin:0;font-size:.85rem;color:#475569}.uc-module-card em{font-style:normal;font-size:.75rem;font-weight:700;color:#166534}.uc-form{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.75rem;align-items:end}.uc-form label{display:flex;flex-direction:column;gap:.3rem;font-size:.85rem;font-weight:600}.uc-form input{border:1px solid #d7dee8;border-radius:10px;padding:.55rem .7rem;font:inherit}.uc-presence-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.uc-presence-list li{display:flex;justify-content:space-between;align-items:center;padding:.65rem .8rem;border:1px solid #e2e8f0;border-radius:12px}.phone-app{--phone-ink: #0b1220;--phone-muted: #5b6b7c;--phone-line: #d7dee8;--phone-surface: #f7f9fc;--phone-panel: #ffffff;--phone-accent: #0f766e;--phone-accent-2: #115e59;--phone-call: #16a34a;--phone-call-press: #15803d;--phone-end: #dc2626;--phone-end-press: #b91c1c;--phone-glow: radial-gradient(120% 80% at 50% -10%, #c7f0e8 0%, transparent 55%), radial-gradient(90% 70% at 100% 100%, #dbeafe 0%, transparent 50%), linear-gradient(165deg, #eef3f8 0%, #e7edf5 100%);height:100%;min-height:100%;min-height:100dvh;max-height:100dvh;overflow:auto;padding:max(.5rem,env(safe-area-inset-top)) .75rem max(.75rem,env(safe-area-inset-bottom));background:var(--phone-glow);color:var(--phone-ink);font-family:Vazirmatn,Tahoma,sans-serif;display:flex;justify-content:center;align-items:stretch;box-sizing:border-box}.phone-shell{width:min(100%,440px);margin:0 auto;display:flex;flex-direction:column;gap:.75rem}.phone-device{position:relative;background:var(--phone-panel);border:1px solid rgb(15 23 42 / 6%);border-radius:28px;box-shadow:0 18px 50px #0f172a1a,0 2px #fffc inset;overflow:hidden;display:flex;flex-direction:column;flex:1;min-height:min(720px,calc(100dvh - 2rem))}.phone-screen{padding:.7rem .9rem .65rem;text-align:center;background:linear-gradient(180deg,#0f766e,#134e4a);color:#ecfeff;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:.2rem;flex-shrink:0}.phone-number{font-size:clamp(1.35rem,5vw,1.85rem);font-weight:800;letter-spacing:.04em;line-height:1.25;direction:ltr;unicode-bidi:plaintext;word-break:break-word}.phone-sub{font-size:.82rem;opacity:.9;line-height:1.35;max-width:32ch;margin-inline:auto}.phone-screen-bar{direction:ltr;display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:.5rem;margin-bottom:auto;padding-bottom:.35rem}.phone-menu-btn{width:40px;height:40px;border:0;border-radius:12px;background:#ffffff24;display:grid;place-content:center;gap:4px;cursor:pointer;padding:0}.phone-menu-btn span{display:block;width:16px;height:2px;border-radius:2px;background:#ecfeff}.phone-screen-brand{font-weight:800;font-size:.95rem;letter-spacing:.02em;justify-self:center}.phone-screen-status{font-size:.75rem;font-weight:700;padding:.28rem .55rem;border-radius:999px;background:#ffffff29}.phone-screen-status[data-ok="0"]{background:#fb923c59}.phone-screen-label{font-size:.8rem;opacity:.85}.phone-screen-number{position:relative;font-size:clamp(1.8rem,7vw,2.4rem);font-weight:700;letter-spacing:.04em;direction:ltr;unicode-bidi:plaintext;min-height:1.2em;word-break:break-all;padding-inline:2rem}.phone-inline-back{position:absolute;inset-inline-end:0;top:50%;transform:translateY(-50%);border:0;background:#ffffff24;color:#ecfeff;width:36px;height:36px;border-radius:999px;font:inherit;cursor:pointer}.phone-screen-sub{font-size:.85rem;opacity:.9;min-height:1.2em}.phone-screen-timer{font-size:.95rem;font-weight:700;letter-spacing:.06em;direction:ltr;margin-top:.15rem;opacity:.95}.phone-menu-spacer{width:40px;height:40px}.phone-body{padding:.85rem .85rem 1rem;display:flex;flex-direction:column;gap:.85rem;flex:1}.phone-search{position:relative}.phone-search input{width:100%;border:1px solid var(--phone-line);background:var(--phone-surface);border-radius:14px;padding:.8rem .95rem;font:inherit;font-size:.95rem;color:var(--phone-ink);outline:none;box-sizing:border-box}.phone-search input:focus{border-color:#5eead4;box-shadow:0 0 0 3px #0f766e1f}.phone-contacts{max-height:none;overflow:auto;border:1px solid var(--phone-line);border-radius:16px;background:#fff;-webkit-overflow-scrolling:touch;flex:1}.phone-contact{width:100%;border:0;border-bottom:1px solid #eef2f7;background:transparent;text-align:right;padding:.7rem .85rem;display:flex;align-items:center;gap:.75rem;cursor:pointer;font:inherit;color:inherit}.phone-contact:last-child{border-bottom:0}.phone-contact:active,.phone-contact:hover{background:#f0fdfa}.phone-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#99f6e4,#5eead4);color:#134e4a;font-weight:800;flex-shrink:0}.phone-contact-meta{flex:1;min-width:0}.phone-contact-name{font-weight:700;font-size:.95rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.phone-contact-num{color:var(--phone-muted);font-size:.82rem;direction:ltr;unicode-bidi:plaintext}.phone-empty{padding:1rem;text-align:center;color:var(--phone-muted);font-size:.9rem}.phone-dial-hint{font-size:.82rem;color:var(--phone-muted);text-align:center;line-height:1.45;padding:.35rem .5rem}.phone-dial-feedback{border-radius:12px;padding:.65rem .8rem;background:#fff7ed;color:#c2410c;font-size:.88rem;font-weight:700;text-align:center;line-height:1.4}.phone-dial-feedback.is-info{background:#eff6ff;color:#1d4ed8}.phone-incall-nomicro{font-size:.8rem;font-weight:700;color:#1d4ed8;background:#eff6ff;border-radius:999px;padding:.3rem .7rem}.phone-dial-suggest{max-height:168px;overflow:auto;border:1px solid var(--phone-line);border-radius:16px;background:#fff;-webkit-overflow-scrolling:touch;flex-shrink:0}.phone-dial-suggest-empty{padding:.75rem;text-align:center;color:var(--phone-muted);font-size:.85rem}.phone-dial-suggest-item{width:100%;border:0;border-bottom:1px solid #eef2f7;background:transparent;text-align:right;padding:.65rem .75rem;display:flex;align-items:center;gap:.65rem;cursor:pointer;font:inherit;color:inherit}.phone-dial-suggest-item:last-child{border-bottom:0}.phone-dial-suggest-item:hover,.phone-dial-suggest-item:active{background:#f0fdfa}.phone-dial-suggest-call{flex-shrink:0;font-size:.78rem;font-weight:800;color:var(--phone-call);background:#dcfce7;border-radius:999px;padding:.35rem .65rem}.phone-pad{direction:ltr;display:grid;grid-template-columns:repeat(3,minmax(0,72px));justify-content:center;justify-items:center;align-content:center;gap:.65rem 1rem;margin-block:auto;width:100%;-webkit-user-select:none;user-select:none}.phone-key{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;border-radius:999px;aspect-ratio:1;width:72px;height:72px;max-height:72px;background:#eef3f8;color:var(--phone-ink);font:inherit;font-size:1.55rem;font-weight:700;cursor:pointer;display:grid;place-items:center;transition:transform .08s ease,background .15s ease;touch-action:manipulation}.phone-key small{display:block;font-size:.55rem;font-weight:600;letter-spacing:.08em;color:var(--phone-muted);margin-top:-.15rem}.phone-key:active{transform:scale(.94);background:#dbe7f1}.phone-actions{display:grid;grid-template-columns:1fr 1.35fr 1fr;gap:.65rem;align-items:center;margin-top:.35rem}.phone-actions-single{grid-template-columns:1fr;justify-items:center;margin-top:.25rem}.phone-call-main{width:min(100%,180px);max-height:72px;aspect-ratio:auto;height:64px;border-radius:999px;font-size:1.15rem}.phone-incall{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.55rem;text-align:center;padding:.5rem .25rem .25rem}.phone-incall.is-incoming{background:linear-gradient(180deg,#ecfdf5 0%,transparent 45%);border-radius:18px}.phone-incoming-banner{font-size:1rem;font-weight:800;color:#047857;background:#d1fae5;border-radius:999px;padding:.4rem .9rem;animation:phone-pulse 1.2s ease-in-out infinite}@keyframes phone-pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.04);opacity:.85}}.phone-action-chip{border:0;background:transparent;display:grid;justify-items:center;gap:.35rem;font:inherit;font-size:.9rem;font-weight:800;color:var(--phone-ink);cursor:pointer;padding:0}.phone-action-chip .phone-round{width:72px;height:72px;max-height:72px}.phone-action-answer{color:#15803d}.phone-action-decline{color:#b91c1c}.phone-incall-avatar{width:96px;height:96px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#99f6e4,#5eead4);color:#134e4a;font-size:1.8rem;font-weight:800;margin-bottom:.35rem}.phone-incall-name{font-size:1.35rem;font-weight:800}.phone-incall-num{direction:ltr;unicode-bidi:plaintext;color:var(--phone-muted);font-size:1.05rem;font-weight:600}.phone-incall-meta{color:var(--phone-muted);font-size:1.15rem;font-weight:700;letter-spacing:.08em;direction:ltr;margin-bottom:1rem}.phone-incall-actions{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:.65rem;margin-top:auto;align-items:center}.phone-incall-actions.is-ringing{grid-template-columns:1fr 1fr}.phone-mute,.phone-speaker,.phone-hang-wide{aspect-ratio:1;max-height:72px;height:64px;width:100%;border-radius:18px;font-size:.92rem;padding:.5rem}.phone-mute,.phone-speaker{background:#eef3f8;color:var(--phone-ink)}.phone-hang-wide{background:var(--phone-end);color:#fff;box-shadow:0 10px 24px #dc262640}.phone-mute.is-on,.phone-speaker.is-on{background:#ecfdf5;color:#047857}.phone-speaker.is-off{background:#eef3f8;color:var(--phone-ink)}.phone-icon-btn{display:grid;place-items:center}.phone-icon-btn svg{display:block}.phone-presence{display:inline-flex;align-items:center;gap:.35rem;font-size:.82rem;font-weight:700;padding:.25rem .65rem;border-radius:999px}.phone-presence:before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}.phone-presence.is-online{color:#047857;background:#ecfdf5}.phone-presence.is-offline{color:#b45309;background:#fffbeb}.phone-online-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-inline-start:.4rem;background:#cbd5e1;vertical-align:middle}.phone-online-dot.on{background:#16a34a;box-shadow:0 0 0 3px #16a34a2e}.phone-incall-actions .phone-call{aspect-ratio:auto;max-height:none;height:64px;border-radius:18px}.phone-round{border:0;border-radius:999px;aspect-ratio:1;max-height:64px;font:inherit;font-weight:700;cursor:pointer;touch-action:manipulation}.phone-round:disabled{opacity:.45;cursor:not-allowed}.phone-backspace{background:#eef3f8;color:var(--phone-ink)}.phone-call{background:var(--phone-call);color:#fff;box-shadow:0 10px 24px #16a34a47;font-size:1rem}.phone-call:active:not(:disabled){background:var(--phone-call-press)}.phone-hang{background:var(--phone-end);color:#fff;box-shadow:0 10px 24px #dc262640}.phone-hang:active:not(:disabled){background:var(--phone-end-press)}.phone-answer{background:var(--phone-call);color:#fff;grid-column:1 / -1;border:0;border-radius:16px;padding:.9rem 1rem;font:inherit;font-weight:800;font-size:1.05rem;cursor:pointer;animation:phone-pulse 1.4s ease-in-out infinite}@keyframes phone-pulse{0%,to{box-shadow:0 0 #16a34a59}50%{box-shadow:0 0 0 10px #16a34a00}}.phone-settings-body{display:grid;gap:.65rem}.phone-settings-body label{display:grid;gap:.3rem;font-size:.85rem;color:var(--phone-muted)}.phone-settings-body input,.phone-settings-body select{border:1px solid var(--phone-line);border-radius:12px;padding:.7rem .8rem;font:inherit;color:var(--phone-ink);background:#fff}.phone-settings-body input.is-readonly{background:#f1f5f9;color:var(--phone-ink);cursor:default}.phone-settings-body .btn-row{display:flex;gap:.5rem;flex-wrap:wrap}.phone-settings-body .btn-connect{border:0;border-radius:12px;padding:.7rem 1rem;background:var(--phone-accent);color:#fff;font:inherit;font-weight:700;cursor:pointer}.phone-settings-body .btn-connect:disabled{opacity:.7;cursor:wait}.phone-settings-body .btn-edit{border:1px solid var(--phone-line);border-radius:12px;padding:.7rem 1rem;background:#fff;color:var(--phone-ink);font:inherit;font-weight:700;cursor:pointer}.phone-sip-status{border-radius:12px;padding:.75rem .85rem;background:#eef3f8;color:var(--phone-ink);font-size:.9rem;font-weight:600;line-height:1.45}.phone-sip-status.is-ok{background:#ecfdf5;color:#047857}.phone-sip-status.is-error{background:#fef2f2;color:#b91c1c}.phone-sip-status.is-busy{background:#eff6ff;color:#1d4ed8}.phone-sip-saved{display:grid;gap:.35rem;padding:.75rem .85rem;border:1px solid var(--phone-line);border-radius:12px;background:#fff;color:var(--phone-ink);font-size:.92rem}.phone-sip-saved-note{margin-top:.25rem;font-size:.78rem;color:var(--phone-muted);line-height:1.45}.phone-audio-box{display:grid;gap:.55rem;padding:.75rem;border:1px solid var(--phone-line);border-radius:14px;background:#f8fafc}.phone-audio-title{font-size:.85rem;font-weight:800;color:var(--phone-ink)}.phone-settings-body .btn-audio{border:0;border-radius:12px;padding:.7rem 1rem;background:#0f766e;color:#fff;font:inherit;font-weight:700;cursor:pointer}.phone-hint{font-size:.78rem;color:var(--phone-muted);line-height:1.5}.phone-menu{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;justify-content:flex-start;direction:ltr;overflow:hidden;border-radius:inherit}.phone-menu-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;width:auto;height:auto;margin:0;padding:0;border:0;border-radius:0;-moz-appearance:none;appearance:none;-webkit-appearance:none;background:#0f172a59;cursor:pointer;outline:none;box-shadow:none}.phone-menu-panel{position:relative;z-index:1;direction:rtl;width:min(92%,360px);height:100%;background:#fff;box-shadow:8px 0 30px #0f172a2e;display:flex;flex-direction:column;animation:phone-drawer .2s ease}@keyframes phone-drawer{0%{transform:translate(-12px);opacity:.6}to{transform:translate(0);opacity:1}}.phone-menu-head{display:flex;align-items:center;justify-content:space-between;padding:.9rem 1rem;border-bottom:1px solid var(--phone-line)}.phone-menu-close{border:0;background:#eef3f8;border-radius:999px;padding:.35rem .75rem;font:inherit;font-size:.85rem;font-weight:700;cursor:pointer}.phone-menu-tabs{display:grid;grid-template-columns:1fr 1fr;gap:.35rem;padding:.65rem .75rem 0}.phone-menu-tabs button{border:0;border-radius:12px;padding:.6rem .5rem;font:inherit;font-weight:700;background:#eef3f8;color:var(--phone-muted);cursor:pointer}.phone-menu-tabs button.active{background:#ccfbf1;color:#0f766e}.phone-menu-body{padding:.75rem;display:flex;flex-direction:column;gap:.75rem;flex:1;min-height:0;overflow:auto}@media(max-width:420px){.phone-device{border-radius:22px;min-height:min(680px,calc(100dvh - 1.5rem))}.phone-key{max-height:64px;font-size:1.4rem}}@media(min-width:760px){.phone-app{padding:1.5rem;align-items:center}.phone-shell{width:min(100%,440px)}.phone-device{min-height:740px}}.phone-topbar{display:flex;align-items:center;justify-content:space-between;padding:0 .25rem}.phone-brand{display:flex;align-items:center;gap:.45rem;font-family:Vazirmatn,Tahoma,sans-serif}.phone-top-actions{display:flex;gap:.65rem;align-items:center}.phone-link{border:0;background:transparent;color:#0f766e;font:inherit;font-weight:700;text-decoration:none;cursor:pointer;padding:.2rem}.phone-install-hint{display:flex;gap:.5rem;align-items:center;justify-content:space-between;background:#ecfeff;border:1px solid #99f6e4;color:#115e59;border-radius:14px;padding:.55rem .75rem;font-size:.85rem}.phone-install-hint button{border:0;background:#0f766e;color:#fff;border-radius:999px;padding:.25rem .7rem;font:inherit;cursor:pointer}.phone-ext-chip{align-self:center;background:#ffffff29;border-radius:999px;padding:.12rem .65rem;font-size:.75rem;margin-bottom:.1rem}.phone-user-mail{opacity:.75;font-size:.72rem;margin-top:.15rem}.phone-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:.3rem;margin-top:auto;padding:.45rem .55rem max(.45rem,env(safe-area-inset-bottom));border-top:1px solid var(--phone-line);background:#f8fafc;flex-shrink:0}.phone-tabs button{border:0;border-radius:12px;padding:.65rem .2rem;font:inherit;font-size:.78rem;font-weight:700;background:transparent;color:var(--phone-muted);cursor:pointer;touch-action:manipulation}.phone-tabs button.active{background:#ccfbf1;color:#0f766e}.phone-pad-wrap{display:flex;flex-direction:column;flex:1;min-height:0;padding:0 .35rem .75rem}.phone-dest-row{display:flex;align-items:center;gap:.45rem;margin:.65rem .4rem .15rem;direction:ltr}.phone-dest-input{flex:1;min-width:0;width:auto;margin:0;box-sizing:border-box;border:0;border-radius:0;padding:.55rem .35rem;font:inherit;text-align:center;font-size:1.85rem;font-weight:500;letter-spacing:.12em;font-variant-numeric:tabular-nums;background:transparent;color:var(--phone-ink);outline:none;min-height:52px}.phone-dest-input::placeholder{letter-spacing:0;font-size:1.05rem;font-weight:500;color:#94a3b8}.phone-dest-backspace{flex-shrink:0;width:48px;height:48px;border:1px solid var(--phone-line);border-radius:14px;background:#eef3f8;color:#334155;display:grid;place-items:center;cursor:pointer;touch-action:manipulation;padding:0}.phone-dest-backspace:disabled{opacity:.4;cursor:not-allowed}.phone-dest-backspace:active:not(:disabled){background:#dbe7f1;transform:scale(.96)}.phone-call-actions{display:flex;justify-content:center;align-items:center;gap:1rem;margin-top:.85rem;padding-bottom:.35rem}.phone-device.is-incoming{background:#061018;border-color:transparent;min-height:min(780px,calc(100dvh - 1rem))}.phone-device.is-ear-covered{background:#000}.phone-proximity-blank{position:absolute;top:0;right:0;bottom:0;left:0;z-index:40;border:0;margin:0;padding:0;width:100%;height:100%;background:#000;color:#ffffff47;display:grid;place-items:center;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;animation:phone-proximity-fade .35s ease both}.phone-proximity-blank-hint{display:grid;gap:.45rem;justify-items:center;text-align:center;font-size:.95rem;font-weight:700;padding:1rem;opacity:0;animation:phone-proximity-hint 2.8s ease .4s both}.phone-proximity-blank-hint small{font-size:.75rem;font-weight:500;color:#ffffff59}@keyframes phone-proximity-fade{0%{opacity:0}to{opacity:1}}@keyframes phone-proximity-hint{0%,to{opacity:0}20%,70%{opacity:1}}.phone-incoming{position:relative;flex:1;min-height:100%;display:flex;flex-direction:column;justify-content:space-between;padding:1.25rem 1.25rem max(1.5rem,env(safe-area-inset-bottom));color:#f8fafc;overflow:hidden;isolation:isolate;animation:phone-incoming-enter .45s ease-out both}.phone-incoming-glow{position:absolute;inset:-20% -30% auto;height:70%;background:radial-gradient(closest-side at 50% 40%,rgb(45 212 191 / 28%),transparent 70%),radial-gradient(closest-side at 20% 10%,rgb(56 189 248 / 18%),transparent 65%),radial-gradient(closest-side at 80% 20%,rgb(74 222 128 / 16%),transparent 60%);filter:blur(8px);z-index:-1;animation:phone-incoming-glow 3.2s ease-in-out infinite alternate}.phone-incoming-top{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.phone-incoming-badge{display:inline-flex;align-items:center;gap:.45rem;padding:.4rem .75rem;border-radius:999px;background:#ffffff1a;border:1px solid rgb(255 255 255 / 12%);font-size:.82rem;font-weight:700;letter-spacing:.02em}.phone-incoming-badge:before{content:"";width:8px;height:8px;border-radius:999px;background:#4ade80;box-shadow:0 0 #4ade80b3;animation:phone-incoming-dot 1.4s ease-out infinite}.phone-incoming-ext{font-size:.78rem;color:#e2e8f0b8;font-weight:600}.phone-incoming-hero{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.55rem;margin:1.5rem 0 auto}.phone-incoming-orbit{position:relative;width:168px;height:168px;display:grid;place-items:center;margin-bottom:.85rem}.phone-incoming-wave{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:999px;border:1.5px solid rgb(94 234 212 / 35%);animation:phone-incoming-wave 2.4s ease-out infinite}.phone-incoming-wave.w2{animation-delay:.55s}.phone-incoming-wave.w3{animation-delay:1.1s}.phone-incoming-avatar{position:relative;z-index:1;width:112px;height:112px;border-radius:999px;display:grid;place-items:center;font-size:2.1rem;font-weight:800;color:#042f2e;background:linear-gradient(160deg,#99f6e4,#5eead4 45%,#2dd4bf);box-shadow:0 0 0 6px #2dd4bf2e,0 18px 40px #0f172a59;animation:phone-incoming-avatar 1.8s ease-in-out infinite}.phone-incoming-name{margin:0;font-size:clamp(1.55rem,5vw,2rem);font-weight:800;letter-spacing:-.01em;max-width:16ch;line-height:1.25}.phone-incoming-number{margin:0;font-size:1.15rem;font-weight:600;letter-spacing:.08em;color:#e2e8f0c7;font-variant-numeric:tabular-nums}.phone-incoming-hint{margin:.35rem 0 0;font-size:.86rem;color:#94a3b8f2;animation:phone-incoming-hint 1.8s ease-in-out infinite}.phone-incoming-actions{display:flex;justify-content:space-around;align-items:flex-end;gap:2rem;padding:.5rem .75rem .25rem}.phone-incoming-action{display:flex;flex-direction:column;align-items:center;gap:.65rem;min-width:96px}.phone-incoming-action>span{font-size:.9rem;font-weight:700;color:#e2e8f0e0}.phone-incoming-btn{position:relative;width:78px;height:78px;border:0;border-radius:999px;display:grid;place-items:center;color:#fff;cursor:pointer;touch-action:manipulation;transition:transform .12s ease,filter .12s ease}.phone-incoming-btn:active{transform:scale(.94)}.phone-incoming-decline{background:linear-gradient(160deg,#f87171,#dc2626 55%,#b91c1c);box-shadow:0 14px 28px #dc262659}.phone-incoming-answer{width:88px;height:88px;background:linear-gradient(160deg,#4ade80,#16a34a 55%,#15803d);box-shadow:0 16px 34px #16a34a6b;animation:phone-incoming-answer-shake .55s ease-in-out infinite}.phone-incoming-answer-pulse{position:absolute;top:-10px;right:-10px;bottom:-10px;left:-10px;border-radius:999px;border:2px solid rgb(74 222 128 / 55%);animation:phone-incoming-answer-ring 1.5s ease-out infinite;pointer-events:none}@keyframes phone-incoming-enter{0%{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:none}}@keyframes phone-incoming-glow{0%{opacity:.75;transform:scale(1)}to{opacity:1;transform:scale(1.06)}}@keyframes phone-incoming-dot{0%{box-shadow:0 0 #4ade808c}to{box-shadow:0 0 0 12px #4ade8000}}@keyframes phone-incoming-wave{0%{transform:scale(.72);opacity:.7}to{transform:scale(1.35);opacity:0}}@keyframes phone-incoming-avatar{0%,to{transform:scale(1)}50%{transform:scale(1.035)}}@keyframes phone-incoming-hint{0%,to{opacity:.55}50%{opacity:1}}@keyframes phone-incoming-answer-ring{0%{transform:scale(.92);opacity:.9}to{transform:scale(1.35);opacity:0}}@keyframes phone-incoming-answer-shake{0%,to{transform:rotate(0)}20%{transform:rotate(-8deg)}40%{transform:rotate(8deg)}60%{transform:rotate(-5deg)}80%{transform:rotate(5deg)}}@media(prefers-reduced-motion:reduce){.phone-incoming,.phone-incoming-glow,.phone-incoming-wave,.phone-incoming-avatar,.phone-incoming-hint,.phone-incoming-answer,.phone-incoming-answer-pulse,.phone-incoming-badge:before{animation:none!important}}.phone-btn{border:0;font:inherit;font-weight:800;cursor:pointer;touch-action:manipulation}.phone-btn:disabled{opacity:.45;cursor:not-allowed}.phone-btn-call{background:var(--phone-call);color:#fff;box-shadow:0 10px 24px #16a34a47}.phone-btn-call-round{width:72px;height:72px;border-radius:999px;display:grid;place-items:center;padding:0}.phone-btn-call-round:active:not(:disabled){background:var(--phone-call-press);transform:scale(.96)}.phone-btn-end{background:var(--phone-end);color:#fff;border-radius:16px;padding:.85rem 1.4rem}.phone-incall-bar,.phone-transfer{display:none}.phone-active{position:relative;flex:1;min-height:100%;display:flex;flex-direction:column;justify-content:space-between;padding:1.25rem 1.25rem max(1.5rem,env(safe-area-inset-bottom));color:#f8fafc;overflow:hidden;isolation:isolate;animation:phone-incoming-enter .4s ease-out both}.phone-active-glow{background:radial-gradient(closest-side at 50% 35%,rgb(56 189 248 / 22%),transparent 70%),radial-gradient(closest-side at 15% 8%,rgb(45 212 191 / 16%),transparent 60%),radial-gradient(closest-side at 85% 15%,rgb(129 140 248 / 16%),transparent 55%)}.phone-active.is-calling .phone-active-badge:before{background:#38bdf8;box-shadow:0 0 #38bdf8b3}.phone-active-hero{margin-top:1.1rem}.phone-active-orbit{width:150px;height:150px}.phone-active-avatar{background:linear-gradient(160deg,#bae6fd,#7dd3fc 40%,#38bdf8);color:#0c4a6e;box-shadow:0 0 0 6px #38bdf829,0 18px 40px #0f172a59}.phone-active-timer{margin:.45rem 0 0;font-size:1.2rem;font-weight:700;letter-spacing:.1em;color:#e2e8f0;font-variant-numeric:tabular-nums}.phone-active-controls{display:flex;flex-direction:column;gap:1.35rem;padding-top:.5rem}.phone-active-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem .85rem;justify-items:center;max-width:280px;margin-inline:auto}.phone-active-chip{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;color:#e2e8f0;display:grid;justify-items:center;gap:.55rem;cursor:pointer;padding:0;font:inherit;touch-action:manipulation;min-width:88px}.phone-active-chip em{font-style:normal;font-size:.82rem;font-weight:700;color:#e2e8f0e0}.phone-active-icon{width:64px;height:64px;border-radius:999px;display:grid;place-items:center;background:#ffffff1a;border:1px solid rgb(255 255 255 / 12%);color:#f8fafc;transition:background .15s ease,transform .12s ease,border-color .15s ease}.phone-active-chip:active .phone-active-icon{transform:scale(.94)}.phone-active-chip.is-on .phone-active-icon{background:#f8fafc;color:#0f172a;border-color:transparent}.phone-active-chip.is-on em{color:#fde68a}.phone-active-hangup{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;align-self:center;width:min(100%,280px);height:58px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;gap:.55rem;background:linear-gradient(160deg,#f87171,#dc2626 55%,#b91c1c);color:#fff;font:inherit;font-size:1.05rem;font-weight:800;cursor:pointer;box-shadow:0 16px 32px #dc262659;touch-action:manipulation}.phone-active-hangup:active{transform:scale(.97)}.phone-active-transfer{display:grid;grid-template-columns:1fr auto auto;gap:.45rem;align-items:center;padding:.35rem 0 .5rem}.phone-active-transfer input{min-width:0;border:1px solid rgb(255 255 255 / 16%);border-radius:14px;padding:.8rem .85rem;font:inherit;font-size:1.05rem;text-align:center;letter-spacing:.08em;background:#ffffff14;color:#f8fafc;outline:none}.phone-active-transfer input::placeholder{color:#94a3b8e5;letter-spacing:0;font-size:.92rem}.phone-active-transfer button{border:0;border-radius:14px;padding:.8rem .95rem;font:inherit;font-weight:800;background:#38bdf8;color:#0c4a6e;cursor:pointer}.phone-active-transfer button.ghost{background:#ffffff1a;color:#e2e8f0}.phone-list{padding:.65rem .75rem .5rem;flex:1;min-height:0;overflow:auto}.phone-list input{width:100%;box-sizing:border-box;border:1px solid var(--phone-line);border-radius:12px;padding:.6rem .75rem;font:inherit;margin-bottom:.55rem}.phone-list ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.35rem}.phone-list li button{width:100%;display:flex;justify-content:space-between;align-items:center;gap:.5rem;border:1px solid #e8eef5;background:#fff;border-radius:14px;padding:.7rem .8rem;font:inherit;text-align:right;cursor:pointer}.phone-list li button span{display:flex;flex-direction:column;gap:.15rem;font-weight:700}.phone-list li button small{color:var(--phone-muted);font-weight:500}.phone-list li button em{font-style:normal;font-size:.75rem;font-weight:700;border-radius:999px;padding:.15rem .5rem}.phone-list li button em.on{background:#dcfce7;color:#166534}.phone-list li button em.off{background:#f1f5f9;color:#64748b}.phone-list li.empty{text-align:center;color:var(--phone-muted);padding:1.5rem}.phone-btn-ghost{background:#e2e8f0!important;color:#334155!important}.kamjed-login{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:1.25rem;background:radial-gradient(100% 80% at 50% -10%,#c7f0e8 0%,transparent 55%),linear-gradient(165deg,#eef3f8,#e7edf5);font-family:Vazirmatn,Tahoma,sans-serif;color:#0b1220}.kamjed-login-card{width:min(100%,420px);background:#fff;border-radius:24px;border:1px solid rgb(15 23 42 / 6%);box-shadow:0 18px 50px #0f172a1a;padding:1.4rem 1.25rem 1.25rem}.kamjed-login-brand{display:flex;align-items:center;gap:.75rem;margin-bottom:1.1rem}.kamjed-login-brand h1{margin:0;font-size:1.55rem}.kamjed-login-brand p{margin:.15rem 0 0;color:#5b6b7c;font-size:.9rem}.kamjed-login-form{display:flex;flex-direction:column;gap:.75rem}.kamjed-login-form label{display:flex;flex-direction:column;gap:.35rem;font-weight:700;font-size:.9rem}.kamjed-login-form input{border:1px solid #d7dee8;border-radius:12px;padding:.7rem .8rem;font:inherit}.kamjed-login-form button{margin-top:.35rem;border:0;border-radius:14px;padding:.85rem 1rem;background:linear-gradient(180deg,#0f766e,#115e59);color:#fff;font:inherit;font-weight:800;cursor:pointer}.kamjed-login-form button:disabled{opacity:.7;cursor:wait}.kamjed-login-error{color:#b91c1c;margin:0;font-size:.9rem}.kamjed-login-hint{margin:1rem 0 0;color:#5b6b7c;font-size:.82rem;line-height:1.6}@media(max-width:480px){.phone-app{padding:0;max-height:100dvh;overflow:hidden}.phone-shell{width:100%;height:100dvh;max-height:100dvh;gap:0}.phone-topbar{padding:.45rem .75rem;border-radius:0}.phone-device{border-radius:0;border:0;box-shadow:none;min-height:0;flex:1;height:auto}.phone-screen{min-height:0;padding:.55rem .75rem .5rem;gap:.12rem}.phone-number{font-size:1.25rem}.phone-sub{font-size:.78rem;max-width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.phone-user-mail{display:none}.phone-ext-chip{font-size:.7rem;padding:.1rem .55rem}.phone-tabs{padding:.35rem .4rem max(.4rem,env(safe-area-inset-bottom));gap:.2rem}.phone-tabs button{padding:.7rem .15rem;font-size:.72rem;border-radius:10px}.phone-pad-wrap{padding-bottom:.35rem}.phone-install-hint{margin:.35rem .5rem 0;font-size:.78rem;padding:.45rem .6rem}}
