/* PankajCRM · UI v2 · 100% local assets. No third-party fonts or runtime dependencies. */
:root{font-family:Inter,"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;color-scheme:light;--page:#f5f7fc;--surface:#fff;--surface-soft:#f8faff;--surface-strong:#edf1fa;--ink:#17233b;--muted:#73809a;--line:#e5eaf4;--line-strong:#d5dded;--nav:#111b31;--nav-soft:#1b2b48;--brand:#5656df;--brand-dark:#4143be;--brand-light:#eeedff;--good:#0e9477;--good-bg:#e6f9f3;--warn:#bd7c1f;--warn-bg:#fff7e8;--bad:#cc4758;--bad-bg:#fff0f1;--shadow:0 4px 24px rgba(26,43,87,.045);--large-shadow:0 22px 65px rgba(17,27,49,.16);--radius:16px;--sidebar-width:258px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:var(--page);color:var(--ink);font-size:14px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer;transition:background .18s,border-color .18s,transform .18s,box-shadow .18s}button:disabled{opacity:.5;cursor:not-allowed;transform:none!important}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #8c88fb;outline-offset:2px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(23px,2.1vw,29px);letter-spacing:-1.15px;line-height:1.25;font-weight:780;margin-bottom:5px}h2{font-size:16px;letter-spacing:-.35px;line-height:1.3;font-weight:780;margin-bottom:16px}h3{font-size:13px;font-weight:760;margin:7px 0 12px}p{line-height:1.62}a{color:var(--brand);text-underline-offset:3px}small,.muted{color:var(--muted)}small{font-size:12px}.tiny{font-size:11px}.hidden{display:none!important}.boot-screen{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:10px;color:var(--muted)}.boot-logo,.brand-mark{display:grid;place-items:center;color:white;font-size:24px;font-weight:900;letter-spacing:-2px;width:43px;height:43px;border-radius:14px;background:linear-gradient(140deg,#8a81ff,#4b50ce);box-shadow:0 7px 18px rgba(102,91,223,.25)}
/* Sign-in */
.auth-screen{min-height:100vh;display:grid;grid-template-columns:minmax(420px,1fr) minmax(420px,1fr);background:var(--surface)}.auth-showcase{background:#111b31;color:#fff;padding:58px clamp(38px,7vw,108px);display:flex;flex-direction:column;min-height:100vh;position:relative;overflow:hidden}.auth-showcase:before,.auth-showcase:after{content:"";position:absolute;width:440px;height:440px;border:1px solid rgba(179,184,255,.13);border-radius:50%;top:19%;left:45%;pointer-events:none}.auth-showcase:after{width:620px;height:620px;top:8%;left:28%}.auth-head{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:800;letter-spacing:-.65px;position:relative;z-index:1}.auth-head .brand-mark{width:44px;height:44px;font-size:23px}.auth-copy{margin:auto 0;position:relative;z-index:1;max-width:490px}.auth-eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:#a7b4ff;margin-bottom:22px}.auth-copy h2{font-size:clamp(32px,4vw,53px);font-weight:800;line-height:1.09;letter-spacing:-2.4px;margin-bottom:24px}.auth-copy h2 span{color:#aaa8ff}.auth-copy p{color:#afbbd4;font-size:15px;max-width:380px}.auth-points{display:flex;gap:9px;flex-wrap:wrap;margin-top:32px}.auth-points span{padding:9px 12px;background:#ffffff0c;border:1px solid #ffffff21;border-radius:30px;font-size:11px;color:#d6dcf4;font-weight:700}.auth-bottom{font-size:11px;color:#8290ae;position:relative;z-index:1}.auth-panel{display:grid;place-content:center;padding:40px 30px}.login{width:min(440px,100%);margin:auto;padding:15px 8px;box-shadow:none;background:transparent;border:0}.login .login-emblem{width:50px;height:50px;display:grid;place-items:center;border-radius:14px;background:var(--brand-light);color:var(--brand);margin-bottom:28px}.login h1{font-size:34px;letter-spacing:-1.6px}.login>.muted{margin-bottom:31px}.login .field{margin:0 0 18px}.login label{font-size:12px}.login input{height:47px;padding:12px 14px}.login button[type=submit]{width:100%;height:47px;justify-content:center;font-size:13px;margin-top:5px}.login .footer{line-height:1.6;margin-top:27px}.login #message{margin:0 0 15px}
/* App shell */
.shell{display:flex;min-height:100vh}.sidebar{width:var(--sidebar-width);min-height:100vh;background:var(--nav);color:#adbbd2;padding:22px 13px 19px;display:flex;flex-direction:column;gap:10px;position:sticky;top:0;height:100vh;flex-shrink:0;z-index:35}.sidebar-brand{display:flex;align-items:center;gap:10px;padding:4px 10px 25px;color:#fff;border-bottom:1px solid #ffffff12;margin-bottom:14px}.brand-title{font-size:18px;letter-spacing:-.7px;font-weight:850;line-height:1.1}.brand-title span{color:#9996ff}.brand-sub{color:#8494b3;font-size:10px;letter-spacing:1.5px;text-transform:uppercase;font-weight:780;margin-top:6px}.nav-heading{font-size:10px;letter-spacing:1.65px;color:#667c9e;font-weight:850;text-transform:uppercase;padding:1px 13px;margin:4px 0 8px}.sidebar nav{display:flex;flex-direction:column;gap:3px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#344665 transparent;padding:0 3px}.sidebar nav button{border:1px solid transparent;border-radius:10px;display:flex;align-items:center;text-align:left;gap:12px;flex:none;background:transparent;color:#9baec9;padding:11px 12px;font-weight:650;font-size:12px;min-height:42px;width:100%}.sidebar nav button svg{width:17px;height:17px;flex:none;opacity:.85}.sidebar nav button:hover{background:#1c2b47;color:#fff}.sidebar nav button.active{color:#fff;background:#26375a;border-color:#34486f;box-shadow:inset 3px 0 0 #a69eff}.sidebar nav button.active svg{color:#b4b1ff;opacity:1}.sidebar nav button.special{margin-top:9px;border-top:1px solid #263852;border-radius:0;padding-top:17px}.sidebar nav button.special.active{border-radius:10px;border-color:#34486f}.sidebar-spacer{flex:1;min-height:12px}.side-card{border-radius:13px;padding:15px;background:linear-gradient(150deg,#223657,#192844);border:1px solid #344663}.side-card-label{display:flex;align-items:center;gap:7px;color:#c6bfff;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:1px}.side-card strong{display:block;color:#fff;font-size:12px;margin:9px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.side-card small{color:#99a9c4;font-size:10px;overflow-wrap:anywhere}.sidebar-bottom{color:#637897;font-size:10px;padding:5px 8px}.main{flex:1;min-width:0;width:calc(100% - var(--sidebar-width));max-width:none;padding:0}.topbar{height:77px;background:var(--surface);border-bottom:1px solid var(--line);padding:0 clamp(20px,3vw,46px);display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:0;z-index:20}.topbar-left{display:flex;align-items:center;gap:14px;min-width:0}.breadcrumb{font-size:11px;color:var(--muted);font-weight:650}.breadcrumb b{color:var(--ink)}.breadcrumb span{padding:0 8px;color:#b4bdce}.topbar-actions{display:flex;align-items:center;gap:9px}.top-user{border-left:1px solid var(--line);padding-left:15px;display:flex;align-items:center;gap:10px;margin-left:5px}.top-user .avatar{width:35px;height:35px;border-radius:11px;background:linear-gradient(145deg,#b2a4ff,#6766df);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:850}.top-user strong{font-size:11px;display:block;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-user small{font-size:10px;display:block;margin-top:3px}.icon-button{padding:9px;width:35px;height:35px;display:grid;place-items:center;background:var(--surface);color:var(--muted);border:1px solid var(--line)}.icon-button svg{width:16px;height:16px}.icon-button:hover{background:var(--surface-soft);color:var(--brand)}.hamburger{display:none}.overlay{display:none}.workspace{max-width:1600px;margin:auto;padding:31px clamp(20px,3vw,46px) 42px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:25px}.page-eyebrow{color:var(--brand);letter-spacing:1.6px;text-transform:uppercase;font-size:10px;font-weight:850;margin-bottom:8px}.page-heading .subtitle{margin:0;color:var(--muted);font-size:12px;max-width:720px}.page-tag{display:inline-flex;align-items:center;gap:7px;background:var(--good-bg);border:1px solid #bfe9de;color:var(--good);font-size:10px;font-weight:800;padding:8px 10px;border-radius:30px;white-space:nowrap}.page-tag i{width:6px;height:6px;background:currentColor;border-radius:50%}.footer{font-size:10px;color:var(--muted);line-height:1.8;padding:6px 2px;margin-top:26px}.view-content{min-height:320px}
/* Panels, content */
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow);margin-bottom:18px;min-width:0}.card h2{display:flex;align-items:center;gap:9px;padding-bottom:14px;border-bottom:1px solid var(--line);margin:0 0 19px}.card h2:before{content:"";width:5px;height:17px;border-radius:6px;background:var(--brand);flex:none}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:17px}.grid>.card{margin-bottom:0}.grid+.card,.grid+.note,.grid+.dashboard-section{margin-top:18px}.stat{font-size:30px;font-weight:850;line-height:1.2;letter-spacing:-1.2px;margin:8px 0}.stat-box{position:relative;overflow:hidden;min-height:154px;display:flex;flex-direction:column;justify-content:space-between;padding:20px}.stat-box:before{display:none}.stat-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.stat-title{font-size:12px;color:var(--muted);font-weight:650}.stat-box .stat{margin:13px 0 0;font-size:31px}.stat-box .stat-foot{font-size:10px;color:var(--muted);line-height:1.4;margin-top:6px}.stat-icon{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;background:#eeedff;color:#5853d6}.stat-icon svg{width:18px;height:18px}.stat-box:nth-child(4n+2) .stat-icon{background:#e8f8f3;color:#189778}.stat-box:nth-child(4n+3) .stat-icon{background:#fff4e4;color:#ba852f}.stat-box:nth-child(4n+4) .stat-icon{background:#f2ecff;color:#8963c3}.dashboard-intro{position:relative;overflow:hidden;border-radius:18px;background:linear-gradient(115deg,#262a74,#4b50c7);color:#fff;padding:29px 30px;min-height:172px;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:0 13px 27px #4745b51b}.dashboard-intro:after{content:"";position:absolute;width:260px;height:260px;border:1px solid #ffffff31;border-radius:50%;right:22px;top:-86px;box-shadow:0 0 0 48px #ffffff08,0 0 0 98px #ffffff05}.dashboard-intro>*{position:relative;z-index:1}.dashboard-intro small{color:#cbcaff;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:1.6px}.dashboard-intro h2{font-size:23px;letter-spacing:-.8px;margin:10px 0 7px;color:#fff;border:0;padding:0}.dashboard-intro h2:before{display:none}.dashboard-intro p{color:#dbddff;font-size:12px;margin:0;max-width:550px}.intro-action{background:#fff;color:#4948bd!important;white-space:nowrap;min-width:170px}.intro-action:hover{background:#eeedff}.dashboard-section{margin:22px 0}.dashboard-section h2{border:0;padding:0}.dashboard-section h2:before{display:none}.dash-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:13px}.action-tile{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:18px;text-align:left;color:var(--ink);display:flex;align-items:center;gap:13px;min-height:78px;box-shadow:var(--shadow)}.action-tile:hover{border-color:#b9b4fa;transform:translateY(-2px);box-shadow:0 12px 30px #272e6410}.action-tile .tile-icon{width:38px;height:38px;border-radius:11px;background:var(--brand-light);color:var(--brand);display:grid;place-items:center;flex:none}.action-tile .tile-icon svg{width:17px;height:17px}.action-tile b{display:block;font-size:12px}.action-tile small{display:block;font-size:10px;margin-top:5px;line-height:1.35}.action-tile .tile-arrow{margin-left:auto;color:#a6b0c3}.action-tile .tile-arrow svg{width:15px;height:15px}.inline-stat{display:flex;justify-content:space-between;align-items:center;padding:9px 0;border-bottom:1px solid var(--line);font-size:12px}.inline-stat:last-child{border:0}.inline-stat b{font-size:15px}
/* Controls */
button:not(.icon-button):not(.action-tile):not(.hamburger):not([data-nav]){display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:9px;background:var(--brand);color:#fff;padding:10px 14px;font-size:12px;font-weight:750;min-height:37px;line-height:1.25}button:not(.icon-button):not(.action-tile):not(.hamburger):not([data-nav]):hover:not(:disabled){background:var(--brand-dark);transform:translateY(-1px)}button.secondary:not(.icon-button),button#enableAll{background:var(--surface-strong);color:#3b4967;border:1px solid var(--line-strong)}button.secondary:hover:not(:disabled),button#enableAll:hover{background:#e3e8f6!important;color:var(--brand-dark)}button.danger:not(.icon-button),button#disableAll{background:var(--bad-bg);color:var(--bad);border:1px solid #ffd2d8}button.danger:hover:not(:disabled),button#disableAll:hover{background:#ffe1e6!important;color:#b22943}button .btn-icon{display:inline-flex;align-items:center;margin-right:6px}button .btn-icon svg{width:14px;height:14px}.btns{display:flex;gap:8px;flex-wrap:wrap;align-items:center}input,select,textarea{display:block;width:100%;min-width:0;background:var(--surface);border:1px solid var(--line-strong);border-radius:9px;padding:10px 12px;color:var(--ink);outline:0;font-size:12px;transition:border-color .18s,box-shadow .18s}input:focus,select:focus,textarea:focus{border-color:#9b97f9;box-shadow:0 0 0 3px #9993ff19}input[type=checkbox]{width:16px;height:16px;flex:none;accent-color:var(--brand);margin:0}input[type=file]{padding:12px}input::placeholder,textarea::placeholder{color:#a3adc0}textarea{min-height:90px;resize:vertical}.field{display:grid;gap:7px;margin-bottom:16px}.field label{font-size:11px;font-weight:800;color:#485572}.field button{justify-self:start}.field input,.field select{min-height:42px}.toggle{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:10px;margin:5px 0;background:var(--surface-soft);color:var(--ink);font-size:12px;line-height:1.4;cursor:pointer}.toggle:hover{border-color:#c6c3f3}.toggle:has(input:disabled){opacity:.55}.toggle:has(input:checked){border-color:#cfcaf8;background:#f7f6ff}.toggle input{min-width:16px}.scroll{max-height:470px;overflow:auto;padding-right:4px;scrollbar-width:thin}.note{background:var(--warn-bg);border:1px solid #f4dfb7;color:#906320;padding:13px 15px;border-radius:11px;font-size:11px;line-height:1.75;margin:14px 0}.note.good{background:var(--good-bg);border-color:#bde8db;color:#187f68}.pill{display:inline-flex;align-items:center;background:var(--brand-light);border:1px solid #dedcff;color:var(--brand-dark);padding:5px 9px;border-radius:20px;font-size:10px;font-weight:800;white-space:nowrap;line-height:1.2}.status-green{background:var(--good-bg);color:var(--good);border-color:#c0ecde}.status-orange{background:var(--warn-bg);color:var(--warn);border-color:#f9e4c0}.status-red{background:var(--bad-bg);color:var(--bad);border-color:#ffd3d8}.error{color:var(--bad)}.contentrow{border:1px solid var(--line);padding:17px;border-radius:13px;margin:11px 0;background:var(--surface-soft);overflow-wrap:anywhere;font-size:12px}.contentrow>b{font-size:13px}.contentrow p{color:var(--muted);font-size:11px;margin:12px 0;line-height:1.8}.contentrow .btns{margin:12px 0}.contentrow .toggle{max-width:340px;background:var(--surface)}.contentrow a{font-size:12px;font-weight:750}.contentrow form.disposition{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:14px 0}.contentrow form.disposition select{max-width:225px}.contentrow .pill{margin-left:6px}.tablewrap{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:12px;scrollbar-width:thin}.tablewrap table{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap;text-align:left}.tablewrap td,.tablewrap th{padding:13px 14px;text-align:left;border-bottom:1px solid var(--line);vertical-align:middle;max-width:290px;overflow-wrap:anywhere}.tablewrap td{white-space:normal}.tablewrap th{background:var(--surface-soft);color:var(--muted);font-weight:850;font-size:10px;text-transform:uppercase;letter-spacing:.5px}.tablewrap tbody tr:hover{background:var(--surface-soft)}.tablewrap tbody tr:last-child td{border-bottom:0}.tablewrap td:first-child{font-weight:700}.tablewrap button{min-height:30px!important;padding:7px 9px!important;font-size:10px!important;white-space:nowrap}.table-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:5px 0 13px}.table-search{position:relative;width:min(310px,100%)}.table-search input{height:37px;padding-left:36px;font-size:11px}.table-search svg{position:absolute;left:12px;top:10px;width:16px;height:16px;color:var(--muted)}.table-count{color:var(--muted);font-size:10px;font-weight:700}.table-empty{padding:18px;text-align:center;font-size:12px;color:var(--muted)}.empty-state{text-align:center;border:1px dashed var(--line-strong);background:var(--surface-soft);padding:27px;border-radius:12px;color:var(--muted);font-size:12px}.empty-state:before{content:"◌";display:block;font-size:34px;color:#aaa7e8;margin-bottom:8px}#message{position:relative;z-index:5;font-size:12px;font-weight:650;line-height:1.55;border-radius:10px;display:none;align-items:center;gap:9px;margin-bottom:16px;padding:11px 14px;border:1px solid var(--line)}#message:not(:empty){display:flex;background:#eeedff;color:var(--brand-dark);border-color:#dcd9ff}#message.bad{background:var(--bad-bg)!important;color:var(--bad);border-color:#ffccd4}#message svg{width:17px;height:17px;flex:none}#permissionList .toggle{margin:0;min-height:56px}#permissionList{gap:10px}.demo-limit{font-size:10px;color:var(--muted);margin-top:8px}
/* Dark theme is optional and local to this browser */
html.theme-dark{color-scheme:dark;--page:#0e1524;--surface:#172239;--surface-soft:#1b2a43;--surface-strong:#243652;--ink:#eef1fc;--muted:#9caac4;--line:#2a3852;--line-strong:#3a4b68;--nav:#0b1220;--nav-soft:#172640;--brand:#9994ff;--brand-dark:#7f78f0;--brand-light:#292957;--good:#60d7b1;--good-bg:#1d423d;--warn:#eab979;--warn-bg:#463720;--bad:#ff9dab;--bad-bg:#492735;--shadow:0 4px 24px #0002}.theme-dark .field label{color:#c0c8e1}.theme-dark input::placeholder,.theme-dark textarea::placeholder{color:#7f90ae}.theme-dark .dashboard-intro{background:linear-gradient(115deg,#28296c,#3e4198)}.theme-dark .toggle:has(input:checked){background:#272954;border-color:#57518b}.theme-dark button.secondary:not(.icon-button){color:#d0d6ed}.theme-dark button.secondary:hover{background:#364766!important;color:#fff}.theme-dark .login .login-emblem{background:#292957}.theme-dark .stat-icon{background:#292957}.theme-dark .stat-box:nth-child(4n+2) .stat-icon{background:#1d423d}.theme-dark .stat-box:nth-child(4n+3) .stat-icon{background:#463720}.theme-dark .stat-box:nth-child(4n+4) .stat-icon{background:#382d59}.theme-dark .auth-panel{background:#111827}.theme-dark .login input{background:#172239}
/* Responsive */
@media(max-width:1160px){:root{--sidebar-width:226px}.sidebar{padding:17px 10px}.workspace{padding:25px 22px 36px}.topbar{padding:0 22px}.top-user strong{max-width:88px}.stat-box{min-height:143px}.grid{gap:12px}}
@media(max-width:800px){.auth-screen{grid-template-columns:1fr}.auth-showcase{display:none}.auth-panel{min-height:100vh}.sidebar{position:fixed;left:0;top:0;height:100dvh;width:min(280px,84vw);transform:translateX(-105%);transition:transform .2s;box-shadow:var(--large-shadow)}.sidebar.open{transform:translateX(0)}.overlay.show{display:block;position:fixed;inset:0;background:#07132baa;z-index:30}.main{width:100%}.hamburger{display:grid;place-items:center!important;border:1px solid var(--line)!important;width:35px;height:35px;padding:7px!important;background:var(--surface)!important;color:var(--ink)!important}.hamburger svg{width:18px;height:18px}.topbar{height:65px}.workspace{padding:22px 17px 30px}.top-user{padding-left:10px}.top-user .user-info{display:none}.page-heading{margin-bottom:20px}.dashboard-intro{padding:23px;min-height:160px}.dashboard-intro h2{font-size:20px}}
@media(max-width:540px){.topbar{padding:0 13px}.topbar-actions{gap:6px}.top-user{margin-left:0;padding-left:7px}.page-heading{align-items:flex-start}.page-tag{display:none}.dashboard-intro{display:block}.intro-action{margin-top:18px}.dashboard-intro:after{right:-155px}.card{padding:16px;border-radius:13px}.card h2{font-size:15px}.grid{grid-template-columns:1fr}.grid>.card{margin-bottom:0}.stat-box{min-height:116px;padding:17px}.stat-box .stat{font-size:27px}.dash-actions{grid-template-columns:1fr}.contentrow{padding:14px}.page-heading h1{font-size:24px}.auth-panel{padding:25px 19px}.login{padding:0}.login h1{font-size:30px}.tablewrap td,.tablewrap th{padding:11px}.table-tools{align-items:stretch}.table-search{width:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Accessible content-share dialogue */
svg{width:18px;height:18px;flex:none}.sidebar-brand svg{width:19px;height:19px}.intro-action svg,.topbar #logout svg{width:15px;height:15px}.topbar #logout{gap:7px}.login .login-emblem svg{width:25px;height:25px}.modal-backdrop{position:fixed;inset:0;z-index:90;background:#071225b8;display:flex;align-items:center;justify-content:center;padding:19px;overflow:auto}.modal-panel{background:var(--surface);border:1px solid var(--line);border-radius:18px;width:min(560px,100%);max-height:93vh;overflow:auto;box-shadow:var(--large-shadow)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px 22px;border-bottom:1px solid var(--line)}.modal-header h2{border:0;padding:0;margin:0;font-size:17px}.modal-header h2:before{display:none}.modal-header .icon-button{flex:none}.modal-body{padding:21px 22px}.modal-body .field{margin-bottom:14px}.modal-foot{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;padding:16px 22px;border-top:1px solid var(--line)}.modal-body textarea[readonly]{min-height:110px;line-height:1.6;background:var(--surface-soft)}body.modal-open{overflow:hidden}@media(max-width:540px){.modal-backdrop{padding:8px}.modal-panel{border-radius:13px}.modal-header,.modal-body,.modal-foot{padding:15px}.topbar #logout span{display:none}.topbar #logout{width:36px;height:36px;padding:7px!important}}
/* Keep white welcome call-to-action visually distinct from the purple primary buttons. */
button.intro-action:not(.icon-button):not(.action-tile):not(.hamburger):not([data-nav]){background:#fff!important;color:#4948bd!important;gap:8px}
button.intro-action:not(.icon-button):not(.action-tile):not(.hamburger):not([data-nav]):hover{background:#eeedff!important}

/* Module 02 UI review: password visibility on every rendered password input. */
.password-field-wrap{display:block;position:relative;width:100%;min-width:0}
.password-field-wrap>input{padding-right:77px!important}
button.password-visibility-toggle:not(.icon-button):not(.action-tile):not(.hamburger):not([data-nav]){
  position:absolute;right:6px;top:50%;transform:translateY(-50%)!important;
  min-height:31px;height:31px;padding:3px 10px;border:1px solid var(--line-strong);
  border-radius:7px;background:var(--surface-soft);color:var(--ink);
  font-size:11px;font-weight:700;line-height:1;z-index:1
}
button.password-visibility-toggle:not(.icon-button):not(.action-tile):not(.hamburger):not([data-nav]):hover:not(:disabled){
  background:var(--surface-strong);transform:translateY(-50%)!important
}
.password-success-popup{border:1px solid var(--line-strong);border-radius:17px;
  width:min(410px,calc(100% - 28px));max-width:100%;padding:28px 25px;
  color:var(--ink);background:var(--surface);box-shadow:0 20px 60px #0005;text-align:center
}
.password-success-popup::backdrop{background:#071225a8}
.password-success-popup h2{display:block;margin:14px 0 9px;padding:0;border:0;font-size:20px;color:var(--ink)}
.password-success-popup h2:before{display:none}
.password-success-popup p{color:var(--muted);font-size:13px;line-height:1.65}
.password-success-mark{display:grid;place-items:center;width:54px;height:54px;
  margin:auto;border-radius:50%;background:var(--good-bg);color:var(--good);font-size:30px;font-weight:900
}
.password-success-popup #passwordSuccessOk{width:100%;margin-top:8px}

/* Six recognizable offline SVG action icons; shared by My Workspace and Current Batch. */
button.lead-action-button:not(.icon-button){gap:7px;white-space:nowrap;min-height:39px;align-items:center;}
.lead-action-icon{display:inline-block;width:19px;height:19px;min-width:19px;object-fit:contain;vertical-align:middle;flex:none;}
.lead-action-label{display:inline-block;font-weight:750;line-height:1.2;}
@media(max-width:540px){button.lead-action-button:not(.icon-button){min-height:41px;}}

/* PankajCRM centered modal system: all notifications use reference-style dialog, outside click / Esc / X. */
.crm-dialog,
.crm-security-dialog{
  position:fixed;inset:0;margin:auto;box-sizing:border-box;
  width:min(540px,calc(100vw - 32px));max-width:100%;max-height:min(90dvh,760px);
  padding:0;overflow-y:auto;border:1px solid var(--line);border-radius:22px;
  background:var(--surface);color:var(--ink);box-shadow:0 30px 100px #080f2a66;
  font:inherit;overscroll-behavior:contain;
}
.crm-dialog::backdrop,.crm-security-dialog::backdrop{background:#071225ad;backdrop-filter:blur(5px)}
.crm-dialog-form{margin:0;display:flex;flex-direction:column;min-width:0}
.crm-dialog-header{display:flex;align-items:flex-start;gap:14px;padding:24px 24px 19px;background:linear-gradient(130deg,var(--brand-light),var(--surface) 76%);border-bottom:1px solid var(--line)}
.crm-dialog-symbol{width:43px;height:43px;display:grid;place-items:center;flex:none;border-radius:14px;background:var(--brand);color:white;font-size:23px;font-weight:850;box-shadow:0 6px 17px #6154cc2d}
.crm-dialog-warning .crm-dialog-symbol{background:#b88421}.crm-dialog-danger .crm-dialog-symbol{background:#bd3546}
.crm-dialog-heading{min-width:0;flex:1}.crm-dialog-heading h2,.crm-security-title h2{margin:1px 0 0!important;border:none!important;padding:0!important;font-size:21px!important;line-height:1.35;letter-spacing:-.5px;color:var(--ink)}
.crm-dialog-heading h2:before,.crm-security-title h2:before{display:none!important}
.crm-dialog-heading p{margin:7px 0 0;color:var(--muted);font-size:13px;line-height:1.55;overflow-wrap:anywhere;white-space:pre-line}
.crm-dialog .crm-dialog-x,.crm-security-dialog .crm-dialog-x{width:31px;height:31px;min-height:31px;padding:0;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--muted);font-size:23px;line-height:1;font-weight:500;flex:none}
.crm-dialog .crm-dialog-x:hover,.crm-security-dialog .crm-dialog-x:hover{background:var(--surface-soft);color:var(--ink)}
.crm-dialog-content{padding:22px 24px 7px}
.crm-dialog-question{font-size:12px;color:var(--muted);margin:0 0 15px}
.crm-dialog-field{margin:0 0 17px}.crm-dialog-field label{display:block;font-size:12px;line-height:1.5;font-weight:800;color:var(--ink);margin-bottom:7px}
.crm-dialog-field label span{color:var(--bad)}
.crm-dialog-field input,.crm-dialog-field select,.crm-dialog-field textarea{box-sizing:border-box;display:block;width:100%;min-height:45px;border:1px solid var(--line-strong);border-radius:11px;background:var(--surface);color:var(--ink);padding:11px 12px;font-size:13px;line-height:1.5;outline:none}
.crm-dialog-field textarea{resize:vertical;min-height:110px}
.crm-dialog-field input:focus,.crm-dialog-field select:focus,.crm-dialog-field textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-light)}
.crm-dialog-field small{display:block;margin:7px 0 0;color:var(--muted);font-size:11px;line-height:1.5}
.crm-dialog-error:not([hidden]){padding:11px 13px;margin-bottom:13px;border:1px solid #ed9fad;border-radius:10px;background:var(--bad-bg);color:var(--bad);font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.crm-dialog-footer{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px;padding:17px 24px 22px;border-top:1px solid var(--line);background:var(--surface-soft)}
.crm-dialog-progress{margin-right:auto;font-size:10px;line-height:1.4;color:var(--muted)}
.crm-dialog .crm-dialog-cancel,.crm-dialog .crm-dialog-primary{border-radius:10px;min-height:42px;padding:10px 17px;font-size:12px;font-weight:800}
.crm-dialog .crm-dialog-cancel{background:var(--surface);color:var(--ink);border:1px solid var(--line-strong)}
.crm-dialog .crm-dialog-primary{background:var(--brand);color:#fff;border:1px solid var(--brand)}
.crm-dialog-danger .crm-dialog-primary{background:#bd3546;border-color:#bd3546}
.crm-dialog .crm-dialog-primary:disabled{opacity:.65;cursor:wait}
.crm-dialog[aria-busy="true"] .crm-dialog-x,.crm-dialog[aria-busy="true"] .crm-dialog-cancel{opacity:.5;cursor:not-allowed}
.crm-security-dialog{padding:23px 25px;max-width:520px}.crm-security-title{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:16px}
.crm-security-dialog p{font-size:12px;line-height:1.7;color:var(--muted)}
.crm-security-dialog h3{font-size:16px;margin:19px 0 14px}
.crm-security-dialog label{display:block;margin:0 0 13px;font-size:12px;font-weight:700;color:var(--ink)}
.crm-security-dialog input{display:block;width:100%;box-sizing:border-box;margin-top:6px;min-height:42px;border-radius:10px}
.crm-security-dialog button:not(.password-visibility-toggle){margin:4px 6px 4px 0}
.crm-security-dialog #securityX{margin:0}
.modal-backdrop{backdrop-filter:blur(5px)}.modal-backdrop[data-busy="1"]{cursor:progress}
.modal-panel{border-radius:20px}.modal-header{background:linear-gradient(130deg,var(--brand-light),var(--surface) 80%)}
.modal-panel .modal-body .field input,.modal-panel .modal-body .field select,.modal-panel .modal-body .field textarea{border-radius:10px}
@media(max-width:540px){.crm-dialog,.crm-security-dialog{width:calc(100vw - 20px);max-height:92dvh;border-radius:16px}.crm-dialog-header{padding:19px 17px 16px}.crm-dialog-content{padding:18px 17px 5px}.crm-dialog-footer{padding:14px 17px 18px}.crm-dialog-heading h2{font-size:18px!important}.crm-dialog-progress{flex-basis:100%}.crm-security-dialog{padding:18px}}


/* Centered reference success popup -- applies to every success, info, warning and error. */
.crm-result-dialog{
  position:fixed!important;inset:0!important;margin:auto!important;box-sizing:border-box;
  width:min(430px,calc(100vw - 32px));max-width:100%;max-height:min(86dvh,680px);
  overflow-y:auto;padding:28px 27px 27px;border:1px solid var(--line);
  border-radius:18px;background:var(--surface);color:var(--ink);
  box-shadow:0 25px 85px #07122566;font:inherit;text-align:center;
  overscroll-behavior:contain;
}
.crm-result-dialog::backdrop{background:#101b30b8;backdrop-filter:blur(2px)}
.crm-result-dialog .crm-result-icon{
  display:grid;place-items:center;width:54px;height:54px;margin:0 auto 18px;
  background:#e3f9f3;color:#139477;border-radius:50%;font-size:31px;font-weight:600;line-height:1;
}
.crm-result-dialog.crm-result-info .crm-result-icon{background:#eeedff;color:#5656df}
.crm-result-dialog.crm-result-warning .crm-result-icon{background:#fff2d9;color:#a56a12}
.crm-result-dialog.crm-result-error .crm-result-icon{background:#fff0f2;color:#c13e52}
.crm-result-dialog h2#crm-result-title{
  margin:0 0 11px!important;padding:0!important;border:0!important;
  font-size:19px!important;font-weight:800;letter-spacing:-.35px;line-height:1.3;color:var(--ink)
}
.crm-result-dialog h2#crm-result-title:before{display:none!important}
.crm-result-dialog p#crm-result-message{
  margin:0 auto 20px;max-width:365px;color:var(--muted);font-size:13px;line-height:1.65;
  white-space:pre-line;overflow-wrap:anywhere;
}
.crm-result-dialog .crm-result-ok:not(.icon-button){
  display:flex;justify-content:center;align-items:center;width:140px;min-height:37px;
  margin:0 auto;padding:9px 18px;border:0;border-radius:10px;
  background:#5656df;color:white;font-size:12px;font-weight:760;
}
.crm-result-dialog .crm-result-ok:hover:not(:disabled){background:#4545c5}
.crm-result-dialog button.crm-result-x:not(.icon-button):not(.action-tile):not(.hamburger):not([data-nav]){
  position:absolute;right:12px;top:10px;width:27px;height:27px;min-height:27px;
  border:0;border-radius:8px;background:transparent;color:var(--muted);
  padding:0;font-size:21px;font-weight:500;line-height:1;box-shadow:none;
}
.crm-result-dialog button.crm-result-x:not(.icon-button):not(.action-tile):not(.hamburger):not([data-nav]):hover:not(:disabled){
  background:var(--surface-soft);color:var(--ink);transform:none;
}
/* Align confirmations and the existing edit/request/share popups with reference styling. */
.crm-dialog-simple{width:min(430px,calc(100vw - 32px))}
.crm-dialog-simple .crm-dialog-header{display:block;text-align:center;padding:27px 25px 10px;background:var(--surface);border:0}
.crm-dialog-simple .crm-dialog-symbol{width:54px;height:54px;margin:0 auto 15px;border-radius:50%;background:#eeedff;color:#5656df;box-shadow:none}
.crm-dialog-simple.crm-dialog-warning .crm-dialog-symbol{background:#fff2d9;color:#a56a12}
.crm-dialog-simple.crm-dialog-danger .crm-dialog-symbol{background:#fff0f2;color:#c13e52}
.crm-dialog-simple .crm-dialog-heading h2{font-size:19px!important}
.crm-dialog-simple .crm-dialog-heading p{margin-top:10px;font-size:13px;line-height:1.65}
.crm-dialog-simple .crm-dialog-x{position:absolute;right:11px;top:10px}
.crm-dialog-simple .crm-dialog-content{padding:0 24px;min-height:0}
.crm-dialog-simple .crm-dialog-question{margin:0 0 5px;text-align:center}
.crm-dialog-simple .crm-dialog-footer{justify-content:center;padding:16px 20px 25px;border:0;background:var(--surface)}
.crm-dialog-simple .crm-dialog-footer .crm-dialog-primary{min-width:130px;background:#5656df;border-color:#5656df}
.crm-dialog-simple .crm-dialog-footer .crm-dialog-cancel{min-width:100px}
.crm-dialog-simple.crm-dialog-danger .crm-dialog-footer .crm-dialog-primary{background:#bd3546;border-color:#bd3546}
.modal-panel{box-shadow:0 25px 85px #07122566}
@media(max-width:540px){
  .crm-result-dialog{width:calc(100vw - 24px);padding:27px 18px 24px;border-radius:16px}
  .crm-result-dialog p#crm-result-message{font-size:12px}
}

/* Activity Notes V2 — lead details, separate notes filters and readable immutable notes. */
.crm-activity-lead-box{min-width:190px;max-width:310px;border:1px solid #a6cad5;border-radius:10px;padding:10px 12px;background:var(--surface-soft);line-height:1.5;overflow-wrap:anywhere}
.crm-activity-lead-box strong{display:block;font-size:14px;margin-bottom:4px;color:var(--ink)}
.crm-activity-lead-box small{font-size:11px;font-weight:750;color:var(--muted)}
.crm-note-preview{max-width:280px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}
.crm-note-preview button{display:block;margin-top:7px;white-space:nowrap}
.crm-note-full{white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #9fbac5;border-radius:10px;padding:14px;max-height:48vh;overflow:auto;line-height:1.6}
.crm-note-read-dialog{max-width:min(92vw,660px)}
.crm-note-form-context{display:grid;gap:12px;margin-bottom:14px}
.crm-note-form-context .crm-activity-lead-box{max-width:unset}
.crm-note-activity{border:1px solid #c0d1da;padding:12px;border-radius:10px;line-height:1.7}
.crm-notes-filter{margin:12px 0;padding:12px;border:1px solid #c8dbe3;border-radius:12px}
@media(max-width:640px){.crm-activity-lead-box{min-width:165px}.crm-note-read-dialog{max-width:96vw}}

/* Per-account, per-report browser column ordering; never changes saved CRM data. */
.crm-column-tools{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:10px 0 8px;font-size:11px;color:var(--muted)}
.crm-column-help{font-weight:700;flex:1 1 230px}
.crm-column-status{font-size:10px;flex:0 1 auto}
button.crm-column-reset:not(.icon-button){padding:7px 11px;min-height:32px;font-size:10px;flex:none}
.tablewrap .crm-reorderable-table thead th[draggable="true"]{cursor:grab;user-select:none;touch-action:pan-x}
.tablewrap .crm-reorderable-table thead th[draggable="true"]:focus-visible{outline:3px solid var(--brand);outline-offset:-3px}
.tablewrap .crm-reorderable-table thead th.crm-column-dragging{opacity:.55;cursor:grabbing}
.tablewrap .crm-reorderable-table thead th.crm-column-drop-target{box-shadow:inset 4px 0 0 var(--brand);background:var(--brand-light);color:var(--ink)}
@media(max-width:540px){.crm-column-tools{gap:7px}.crm-column-help{flex-basis:100%}}
/* Dashboard Recent Leads Alignment Fix — UI only, no CRM data changes.
   Keep the Recent Leads title/action and auto table search/count on the same horizontal inset.
   Desktop: Search left, record count right. Small screens: controls stack cleanly. */
.shell #view .exact-dashboard .exact-leads .exact-card-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:16px 14px 8px;
}
.shell #view .exact-dashboard .exact-leads .exact-card-head .exact-link{
  justify-self:end;
  margin:0;
}
.shell #view .exact-dashboard .exact-leads > .table-tools{
  display:grid;
  grid-template-columns:minmax(220px,310px) minmax(0,1fr);
  align-items:center;
  gap:12px;
  width:calc(100% - 28px);
  margin:5px 14px 13px;
}
.shell #view .exact-dashboard .exact-leads > .table-tools .table-search{
  width:100%;
  min-width:0;
}
.shell #view .exact-dashboard .exact-leads > .table-tools .table-count{
  justify-self:end;
  align-self:center;
  min-height:37px;
  display:flex;
  align-items:center;
  text-align:right;
  white-space:nowrap;
}
@media(max-width:640px){
  .shell #view .exact-dashboard .exact-leads > .table-tools{
    grid-template-columns:minmax(0,1fr);
    align-items:stretch;
  }
  .shell #view .exact-dashboard .exact-leads > .table-tools .table-count{
    justify-self:start;
    min-height:0;
    text-align:left;
    white-space:normal;
  }
}
/* Dashboard Recent Leads Right Edge Fix — follow-up visual correction.
   A later theme rule sets the Recent Leads table wrapper to width:100% while it
   also has 14px left/right margins, which makes the table protrude to the right.
   This higher-specificity rule restores the intended inset without changing data. */
.shell #view .exact-dashboard .exact-leads > .tablewrap{
  width:calc(100% - 28px);
  max-width:calc(100% - 28px);
  margin:0 14px 12px;
  box-sizing:border-box;
}

/* Member Lead Detail V2 — TeleCRM-inspired single-screen workflow, using PankajCRM branding. */
.lead-detail-page{display:flex;flex-direction:column;gap:14px;min-width:0}
.lead-detail-v2-topline{display:flex;align-items:center;justify-content:space-between;gap:12px}
.lead-detail-v2-back{min-height:38px}
.lead-detail-v2-topstate{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.lead-detail-scope{font-size:11px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;color:var(--muted)}

.lead-detail-v2-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px 24px;padding:18px 20px}
.lead-detail-v2-identity{display:flex;align-items:center;gap:14px;min-width:0}
.lead-detail-v2-avatar{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:var(--brand-light);color:var(--brand);font-size:20px;font-weight:900;flex:0 0 auto}
.lead-detail-v2-title{min-width:0}
.lead-detail-eyebrow{display:block;color:var(--muted);font-size:10px;font-weight:850;letter-spacing:.75px;text-transform:uppercase;margin-bottom:3px}
.lead-detail-v2-title h1{margin:0 0 3px;font-size:22px;line-height:1.15;overflow-wrap:anywhere}
.lead-detail-phone{font-size:15px;font-weight:800;text-decoration:none}
.lead-detail-v2-header-status{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:6px}
.lead-detail-v2-status-label{font-size:10px;color:var(--muted);font-weight:800;text-transform:uppercase;letter-spacing:.6px}
.lead-detail-v2-header-meta{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-top:1px solid var(--line);padding-top:13px}
.lead-detail-v2-header-meta>div{padding:0 14px;border-right:1px solid var(--line);min-width:0}
.lead-detail-v2-header-meta>div:first-child{padding-left:0}
.lead-detail-v2-header-meta>div:last-child{border-right:0}
.lead-detail-v2-header-meta span{display:block;color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.45px;margin-bottom:4px}
.lead-detail-v2-header-meta b{display:block;overflow-wrap:anywhere;font-size:13px}

.lead-detail-v2-actions-card{padding:12px 14px}
.lead-detail-v2-actions-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:10px}
.lead-detail-v2-actions-heading>div{display:flex;align-items:baseline;gap:10px;min-width:0}
.lead-detail-v2-actions-heading strong{font-size:14px}
.lead-detail-v2-actions-heading span,.lead-detail-v2-actions-heading small{color:var(--muted);font-size:11px}
.lead-detail-actions{display:flex;gap:8px;flex-wrap:wrap}
.lead-detail-action{min-height:42px;justify-content:center;gap:7px;padding:9px 13px;border-radius:11px}
.lead-detail-action svg,.lead-detail-open svg{width:18px;height:18px;flex:0 0 auto}
.lead-detail-call{font-weight:850}
.lead-detail-whatsapp{font-weight:850}
.lead-detail-v2-action-note{margin:9px 0 0}

.lead-detail-v2-workspace{display:grid;grid-template-columns:minmax(0,1fr) 355px;gap:14px;align-items:start}
.lead-detail-v2-main{display:flex;flex-direction:column;gap:14px;min-width:0}
.lead-detail-v2-side{display:flex;flex-direction:column;gap:12px;min-width:0;position:sticky;top:12px}
.lead-detail-v2-timeline-card{padding:0;overflow:hidden}
.lead-detail-v2-timeline-head{padding:16px 18px 12px;border-bottom:1px solid var(--line);margin:0}
.lead-detail-v2-timeline-head>div{min-width:0}
.lead-detail-v2-timeline-head h2{margin:0}
.lead-detail-v2-timeline-head p{margin:4px 0 0;color:var(--muted);font-size:12px}
.lead-detail-v2-composer{padding:14px 18px;border-bottom:1px solid var(--line);background:var(--surface-soft)}
.lead-detail-v2-composer .field{margin:0}
.lead-detail-v2-composer textarea{min-height:74px;resize:vertical;background:var(--surface)}
.lead-detail-v2-composer-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px}
.lead-detail-v2-composer-actions small{color:var(--muted)}
.lead-detail-v2-timeline{padding:10px 18px 18px}
.lead-detail-v2-event{display:grid;grid-template-columns:34px minmax(0,1fr);gap:11px;position:relative;padding:12px 0}
.lead-detail-v2-event:not(:last-child)::after{content:"";position:absolute;left:16px;top:43px;bottom:-8px;width:1px;background:var(--line)}
.lead-detail-v2-event-dot{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--surface-soft);border:1px solid var(--line);position:relative;z-index:1}
.lead-detail-v2-event-dot svg{width:16px;height:16px}
.lead-detail-v2-event-body{padding:2px 0;min-width:0}
.lead-detail-v2-event-title{font-weight:850;font-size:13px}
.lead-detail-v2-event-body p{margin:4px 0 5px;white-space:pre-wrap;overflow-wrap:anywhere}
.lead-detail-v2-event-body small{color:var(--muted)}
.lead-detail-v2-event-future{margin-top:4px}
.lead-detail-v2-event-future .lead-detail-v2-event-dot{background:var(--brand-light);color:var(--brand);border-color:transparent}
.lead-detail-v2-empty-event{margin:8px 0 2px;padding:14px;border:1px dashed var(--line-strong);border-radius:12px;background:var(--surface-soft)}
.lead-detail-v2-empty-event p{margin:5px 0 0;color:var(--muted)}

.lead-detail-v2-history-card{padding:0;overflow:hidden}
.lead-detail-v2-history-card details>summary{list-style:none;cursor:pointer;padding:15px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:850}
.lead-detail-v2-history-card details>summary::-webkit-details-marker{display:none}
.lead-detail-v2-history-card details>summary span{display:flex;align-items:center;gap:8px}
.lead-detail-v2-history-card details>summary small{font-weight:650;color:var(--muted)}
.lead-detail-history{max-width:100%;overflow:auto;border-top:1px solid var(--line)}
.lead-detail-history table{min-width:720px}

.lead-detail-v2-side-card{padding:15px}
.lead-detail-v2-side-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}
.lead-detail-v2-side-head h2{font-size:15px;margin:2px 0 0}
.lead-detail-v2-kicker{font-size:9px;text-transform:uppercase;letter-spacing:.7px;font-weight:850;color:var(--muted)}
.lead-detail-v2-status-form{display:flex;flex-direction:column;gap:9px}
.lead-detail-v2-status-form .field{margin:0}
.lead-detail-v2-status-form button{width:100%}
.lead-detail-v2-followup{padding:12px;border:1px solid var(--line);border-radius:11px;background:var(--surface-soft)}
.lead-detail-v2-followup span{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;font-weight:800;letter-spacing:.55px;margin-bottom:3px}
.lead-detail-v2-followup b{display:block}
.lead-detail-v2-followup p{margin:5px 0 0;color:var(--muted)}
.lead-detail-v2-field-list{display:flex;flex-direction:column}
.lead-detail-v2-field-list>div{display:grid;grid-template-columns:minmax(88px,.85fr) minmax(0,1.15fr);gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}
.lead-detail-v2-field-list>div:last-child{border-bottom:0}
.lead-detail-v2-field-list span{color:var(--muted);font-size:11px;font-weight:750}
.lead-detail-v2-field-list b{font-size:12px;text-align:right;overflow-wrap:anywhere}
.lead-detail-v2-assignment-id{font-size:10px;color:var(--muted);max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lead-detail-v2-side-action{margin-top:12px}
.lead-detail-v2-side-action button{width:100%}
.lead-detail-open{display:inline-flex;align-items:center;justify-content:center;gap:7px}

@media (max-width:1080px){
  .lead-detail-v2-workspace{grid-template-columns:minmax(0,1fr) 320px}
  .lead-detail-v2-header-meta{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:10px}
  .lead-detail-v2-header-meta>div:nth-child(2){border-right:0}
  .lead-detail-v2-header-meta>div:nth-child(3){padding-left:0}
}
@media (max-width:860px){
  .lead-detail-v2-workspace{grid-template-columns:1fr}
  .lead-detail-v2-side{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .lead-detail-v2-side-card:nth-child(3),.lead-detail-v2-side-card:nth-child(4){grid-column:span 1}
}
@media (max-width:640px){
  .lead-detail-page{gap:10px;padding-bottom:92px}
  .lead-detail-v2-topline{align-items:center}
  .lead-detail-v2-back{padding:8px 10px}
  .lead-detail-v2-topstate .lead-detail-scope{display:none}
  .lead-detail-v2-header{grid-template-columns:1fr;padding:14px}
  .lead-detail-v2-identity{align-items:flex-start}
  .lead-detail-v2-avatar{width:42px;height:42px;border-radius:12px}
  .lead-detail-v2-title h1{font-size:19px}
  .lead-detail-phone{font-size:17px}
  .lead-detail-v2-header-status{align-items:flex-start}
  .lead-detail-v2-header-meta{grid-template-columns:1fr 1fr;gap:0;padding-top:10px}
  .lead-detail-v2-header-meta>div{padding:7px 10px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
  .lead-detail-v2-header-meta>div:nth-child(even){border-right:0}
  .lead-detail-v2-header-meta>div:nth-child(odd){padding-left:0}
  .lead-detail-v2-header-meta>div:nth-last-child(-n+2){border-bottom:0}
  .lead-detail-v2-actions-card{position:fixed;left:10px;right:10px;bottom:10px;z-index:80;padding:8px;border-radius:14px;box-shadow:0 12px 38px rgba(0,0,0,.22)}
  .lead-detail-v2-actions-heading,.lead-detail-v2-action-note{display:none}
  .lead-detail-actions{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:7px;scrollbar-width:none}
  .lead-detail-actions::-webkit-scrollbar{display:none}
  .lead-detail-action{flex:0 0 auto;min-width:102px;min-height:48px;padding:8px 11px}
  .lead-detail-v2-side{display:flex}
  .lead-detail-v2-composer{padding:12px}
  .lead-detail-v2-composer-actions{align-items:stretch;flex-direction:column}
  .lead-detail-v2-composer-actions button{width:100%}
  .lead-detail-v2-timeline{padding:8px 12px 14px}
  .lead-detail-v2-timeline-head{padding:13px 12px 10px}
  .lead-detail-v2-timeline-head>span{display:none}
  .lead-detail-v2-history-card details>summary{align-items:flex-start;flex-direction:column}
}



/* ============================================================
   Member Lead Detail — FINAL LAYOUT POLISH
   2026-09-23
   UI only. No API, DB, workflow or permission changes.
   Goals:
   - consistent spacing/alignment across the full Lead Detail page
   - remove inherited red styling from Call / WhatsApp / Telegram
   - align Previous Assignment History with Assignment on desktop
   - remove unnecessary history-table horizontal overflow on desktop
   - preserve responsive/mobile action-strip behavior
   ============================================================ */

.shell #view .lead-detail-v2{
  --lead-detail-gap:16px;
}

.shell #view .lead-detail-v2 > .card,
.shell #view .lead-detail-v2 .lead-detail-v2-workspace .card{
  margin-bottom:0;
}

.shell #view .lead-detail-v2{
  gap:var(--lead-detail-gap);
}

.shell #view .lead-detail-v2-topline{
  min-height:40px;
}

.shell #view .lead-detail-v2-header{
  align-items:center;
  gap:16px 24px;
  padding:20px;
}

.shell #view .lead-detail-v2-header-status{
  min-width:132px;
}

.shell #view .lead-detail-v2-header-meta{
  align-items:stretch;
}

.shell #view .lead-detail-v2-header-meta > div{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:48px;
}

.shell #view .lead-detail-v2-actions-card{
  padding:14px 16px;
}

.shell #view .lead-detail-v2-actions-heading{
  align-items:center;
  margin-bottom:11px;
}

.shell #view .lead-detail-actions{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:9px;
  align-items:stretch;
}

.shell #view .lead-detail-actions .lead-detail-action{
  width:100%;
  min-width:0;
  min-height:43px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 10px;
  line-height:1.15;
  box-shadow:none;
}

/* Force a calm AcnoFin teal/neutral action palette.
   Higher specificity + !important intentionally defeats older theme rules
   that paint call/chat buttons red. */
.shell #view .lead-detail-v2 .lead-detail-actions button.lead-detail-call,
.shell #view .lead-detail-v2 .lead-detail-actions button.lead-detail-whatsapp,
.shell #view .lead-detail-v2 .lead-detail-actions button.lead-detail-telegram{
  background:var(--surface-soft)!important;
  color:var(--ink)!important;
  border:1px solid #9fd8e2!important;
  box-shadow:none!important;
}

.shell #view .lead-detail-v2 .lead-detail-actions button.lead-detail-call:hover:not(:disabled),
.shell #view .lead-detail-v2 .lead-detail-actions button.lead-detail-whatsapp:hover:not(:disabled),
.shell #view .lead-detail-v2 .lead-detail-actions button.lead-detail-telegram:hover:not(:disabled){
  background:#e9f8fa!important;
  color:#087f91!important;
  border-color:#67c4d1!important;
  transform:none;
}

.shell #view .lead-detail-v2 .lead-detail-actions button.lead-detail-call:focus-visible,
.shell #view .lead-detail-v2 .lead-detail-actions button.lead-detail-whatsapp:focus-visible,
.shell #view .lead-detail-v2 .lead-detail-actions button.lead-detail-telegram:focus-visible{
  outline:3px solid rgba(9,151,171,.2);
  outline-offset:2px;
}

.shell #view .lead-detail-v2-action-note{
  margin:10px 0 0;
}

.shell #view .lead-detail-v2-timeline-card{
  min-width:0;
}

.shell #view .lead-detail-v2-timeline-head,
.shell #view .lead-detail-v2-composer,
.shell #view .lead-detail-v2-timeline{
  box-sizing:border-box;
}

.shell #view .lead-detail-v2-composer-actions{
  min-height:38px;
}

.shell #view .lead-detail-v2-composer-actions > button{
  flex:0 0 auto;
}

.shell #view .lead-detail-v2-side-card{
  padding:16px;
}

.shell #view .lead-detail-v2-side-head{
  min-height:42px;
  align-items:flex-start;
  margin-bottom:11px;
}

.shell #view .lead-detail-v2-side-head h2{
  line-height:1.25;
}

.shell #view .lead-detail-v2-field-list > div{
  min-height:34px;
  align-items:center;
  padding:7px 0;
}

.shell #view .lead-detail-v2-field-list b{
  line-height:1.35;
}

.shell #view .lead-detail-v2-followup{
  min-height:108px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.shell #view .lead-detail-v2-history-card details > summary{
  min-height:52px;
  box-sizing:border-box;
}

.shell #view .lead-detail-history{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  box-sizing:border-box;
}

.shell #view .lead-detail-history table{
  width:100%;
  min-width:0;
  table-layout:fixed;
}

.shell #view .lead-detail-history th,
.shell #view .lead-detail-history td{
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:normal;
  vertical-align:middle;
}

/* Desktop: one aligned two-column grid.
   Timeline fills the first three right-side card rows.
   History starts on the same row as Assignment. */
@media (min-width:861px){
  .shell #view .lead-detail-v2-workspace{
    display:grid;
    grid-template-columns:minmax(0,1fr) 355px;
    grid-template-areas:
      "timeline status"
      "timeline followup"
      "timeline profile"
      "history assignment";
    gap:var(--lead-detail-gap);
    align-items:stretch;
  }

  .shell #view .lead-detail-v2-main,
  .shell #view .lead-detail-v2-side{
    display:contents;
  }

  .shell #view .lead-detail-v2-timeline-card{
    grid-area:timeline;
    display:flex;
    flex-direction:column;
    height:100%;
  }

  .shell #view .lead-detail-v2-timeline{
    flex:1 1 auto;
  }

  .shell #view .lead-detail-v2-history-card{
    grid-area:history;
    align-self:start;
  }

  .shell #view .lead-detail-v2-side-card:nth-child(1){
    grid-area:status;
  }

  .shell #view .lead-detail-v2-side-card:nth-child(2){
    grid-area:followup;
  }

  .shell #view .lead-detail-v2-side-card:nth-child(3){
    grid-area:profile;
  }

  .shell #view .lead-detail-v2-side-card:nth-child(4){
    grid-area:assignment;
    align-self:start;
  }
}

@media (min-width:861px) and (max-width:1080px){
  .shell #view .lead-detail-v2-workspace{
    grid-template-columns:minmax(0,1fr) 320px;
  }

  .shell #view .lead-detail-actions{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:860px){
  .shell #view .lead-detail-v2-workspace{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
  }

  .shell #view .lead-detail-v2-main{
    display:flex;
    flex-direction:column;
    gap:12px;
  }

  .shell #view .lead-detail-v2-side{
    position:static;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }

  .shell #view .lead-detail-actions{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:640px){
  .shell #view .lead-detail-v2-actions-card{
    padding:8px;
  }

  .shell #view .lead-detail-actions{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    gap:7px;
  }

  .shell #view .lead-detail-actions .lead-detail-action{
    width:auto;
    min-width:105px;
    min-height:48px;
    flex:0 0 auto;
  }

  .shell #view .lead-detail-v2-side{
    display:flex;
    flex-direction:column;
    gap:10px;
  }

  .shell #view .lead-detail-history{
    overflow-x:auto;
  }

  .shell #view .lead-detail-history table{
    min-width:640px;
    table-layout:auto;
  }
}


/* ============================================================
   Complete Lead Activity Timeline V1 — 2026-09-23
   Existing Lead Detail V2 layout retained.
   ============================================================ */
.shell #view .lead-detail-v2-timeline-summary{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  padding:10px 18px 0;
}
.shell #view .lead-detail-v2-timeline-summary span{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:5px 9px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface-soft);
  color:var(--muted);
  font-size:10px;
  font-weight:800;
}
.shell #view .lead-timeline-event .lead-detail-v2-event-title{
  display:flex;
  align-items:center;
  gap:7px;
}
.shell #view .lead-timeline-event .lead-detail-v2-event-body small{
  display:block;
  line-height:1.45;
}
.shell #view .lead-timeline-note .lead-detail-v2-event-dot{
  background:#eefafa;
  color:var(--brand);
  border-color:#bfe8ed;
}
.shell #view .lead-timeline-communication .lead-detail-v2-event-dot{
  background:#f1f8fb;
  color:#087f91;
  border-color:#c9e5eb;
}
.shell #view .lead-timeline-status .lead-detail-v2-event-dot{
  background:#f4f7fb;
  color:var(--ink);
}
.shell #view .lead-timeline-followup .lead-detail-v2-event-dot,
.shell #view .lead-timeline-extension .lead-detail-v2-event-dot,
.shell #view .lead-timeline-assignment .lead-detail-v2-event-dot{
  background:var(--brand-light);
  color:var(--brand);
  border-color:transparent;
}
.shell #view .lead-detail-v2-timeline-footnote{
  margin:0;
  padding:0 18px 16px;
  color:var(--muted);
  font-size:10px;
  line-height:1.5;
}
@media (max-width:640px){
  .shell #view .lead-detail-v2-timeline-summary{
    padding:9px 12px 0;
    gap:5px;
  }
  .shell #view .lead-detail-v2-timeline-summary span{
    font-size:9px;
    min-height:24px;
  }
  .shell #view .lead-detail-v2-timeline-footnote{
    padding:0 12px 14px;
  }
}


/* ============================================================
   Lead Tags / Labels V1 — Full CRM Working Feature
   Accessible light badges, list filters, bulk tagging, settings.
   Tag and Lead Status remain separate concepts.
   ============================================================ */

.lead-tag-list{
  display:inline-flex;
  align-items:center;
  gap:5px;
  flex-wrap:wrap;
  max-width:100%;
}
.lead-tag-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:24px;
  max-width:180px;
  padding:3px 9px;
  border-radius:999px;
  border:1px solid transparent;
  font-size:11px;
  line-height:1.2;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  vertical-align:middle;
  box-shadow:none;
}
button.lead-tag-chip{
  cursor:pointer;
}
.lead-tag-teal{background:#e8f8fa;color:#075f6b;border-color:#a8dfe5}
.lead-tag-blue{background:#eef6ff;color:#185a8d;border-color:#bfd8ee}
.lead-tag-green{background:#edf9f1;color:#22633b;border-color:#bfe2cb}
.lead-tag-amber{background:#fff8e6;color:#76540b;border-color:#ecd79d}
.lead-tag-rose{background:#fff1f3;color:#8b3341;border-color:#efc4cc}
.lead-tag-purple{background:#f5f0ff;color:#604491;border-color:#d8c8ef}
.lead-tag-slate{background:#f1f5f8;color:#415466;border-color:#ccd8e1}
.lead-tag-inactive{opacity:.65;text-decoration:line-through}
.lead-tag-more{background:#f7fafc;color:#4c6172;border-color:#d5e1e9;min-width:auto}
.lead-tag-empty{font-size:12px;color:#6c8091;font-style:italic}

.lead-detail-header-tags{
  margin-top:9px;
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
}
.lead-tag-add-button{
  min-height:28px!important;
  padding:4px 9px!important;
  border-radius:999px!important;
  font-size:11px!important;
}

.lead-tags-dialog{
  width:min(680px,calc(100vw - 28px));
}
.lead-tags-checklist{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  max-height:420px;
  overflow:auto;
  padding:2px;
}
.lead-tags-check{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  padding:10px;
  border:1px solid #d7e4ec;
  border-radius:10px;
  background:#fff;
}
.lead-tags-check input{width:17px;height:17px;flex:0 0 auto}
.lead-tags-check .lead-tag-list{min-width:0}
.lead-tags-check small{margin-left:auto;color:#7b8794}
.lead-tags-check.is-inactive{background:#f8fafb}

.lead-tag-filterbar{
  display:grid;
  grid-template-columns:minmax(180px,.8fr) minmax(220px,1.2fr) auto;
  align-items:end;
  gap:10px;
  margin:10px 0;
  padding:12px;
  border:1px solid #d6e6ed;
  border-radius:12px;
  background:#f8fcfd;
}
.lead-tag-filterbar label{
  display:flex;
  flex-direction:column;
  gap:5px;
  font-size:12px;
  font-weight:700;
  color:#40586b;
}
.lead-tag-filterbar select{
  width:100%;
}
.lead-tag-filterbar select[multiple]{
  min-height:74px;
}
.lead-tag-filter-actions{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}

.lead-tag-bulkbar{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin:10px 0;
  padding:10px 12px;
  border:1px solid #c9e4e9;
  border-radius:12px;
  background:#effafb;
}
.lead-tag-bulkbar strong{color:#0a6574}
.lead-tag-bulkbar select{min-width:180px;max-width:260px}
.lead-tag-bulkbar small{color:#64798a}

.current-batch-tag-row{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  margin:8px 0 10px;
}
.current-batch-tag-manage{
  min-height:28px!important;
  padding:4px 9px!important;
  font-size:11px!important;
}
.lead-tag-card-select{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:0 0 8px;
  color:#526a7c;
  font-size:11px;
  font-weight:700;
}
.lead-tag-card-select input{width:16px;height:16px}

.lead-tag-settings .exact-card-head{
  align-items:flex-start;
}
.lead-tag-settings-scope{
  display:grid;
  grid-template-columns:minmax(240px,380px) 1fr;
  gap:14px;
  align-items:end;
  margin:12px 0;
}
.lead-tag-master-create{
  display:grid;
  grid-template-columns:minmax(170px,1.2fr) minmax(120px,.65fr) minmax(145px,.8fr) minmax(190px,1fr) auto auto auto;
  gap:10px;
  align-items:end;
  padding:14px;
  border:1px solid #d6e6ed;
  border-radius:12px;
  background:#f8fcfd;
}
.lead-tag-master-create .toggle{
  min-height:42px;
  display:flex;
  align-items:center;
}
.lead-tag-master-sub{
  display:block;
  margin-top:5px;
  color:#728697;
}
.lead-tag-mini-toggle{
  display:inline-flex;
  align-items:center;
  gap:5px;
  margin:0 8px 6px 0;
  white-space:nowrap;
}
.lead-tag-save-access{
  display:block;
  margin-top:2px;
}

.lead-timeline-tag .lead-detail-v2-event-dot{
  background:#eef8ff;
  color:#326d91;
}

.theme-dark .lead-tags-check,
.theme-dark .lead-tag-filterbar,
.theme-dark .lead-tag-master-create{
  background:#102530;
  border-color:#31505f;
}
.theme-dark .lead-tag-bulkbar{
  background:#103039;
  border-color:#315c65;
}
.theme-dark .lead-tag-teal{background:#123a40;color:#b7eef3;border-color:#2b626a}
.theme-dark .lead-tag-blue{background:#173449;color:#c8e5fa;border-color:#315970}
.theme-dark .lead-tag-green{background:#173a28;color:#c7efd2;border-color:#356447}
.theme-dark .lead-tag-amber{background:#433713;color:#f6e2a9;border-color:#6d5a25}
.theme-dark .lead-tag-rose{background:#49242b;color:#ffd1d8;border-color:#76414b}
.theme-dark .lead-tag-purple{background:#35284c;color:#e2d4ff;border-color:#5a4777}
.theme-dark .lead-tag-slate{background:#28333c;color:#d9e3ea;border-color:#495965}

@media (max-width:1080px){
  .lead-tag-master-create{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .lead-tag-master-create button[type=submit]{min-height:42px}
}
@media (max-width:760px){
  .lead-tags-checklist{grid-template-columns:1fr}
  .lead-tag-filterbar{grid-template-columns:1fr}
  .lead-tag-settings-scope{grid-template-columns:1fr}
  .lead-tag-master-create{grid-template-columns:1fr}
  .lead-tag-bulkbar{
    align-items:stretch;
  }
  .lead-tag-bulkbar select,
  .lead-tag-bulkbar button{
    flex:1 1 100%;
    max-width:none;
  }
  .lead-detail-header-tags{
    align-items:flex-start;
  }
  .lead-tag-chip{
    max-width:145px;
  }
}

/* Lead Integration Hub v1 */
.integration-provider-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:14px}
.integration-provider{padding:18px;min-height:190px}
.integration-provider .icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--soft,#eef8fb);color:var(--primary,#087d93);margin-bottom:12px}
.integration-provider .icon svg{width:22px;height:22px}
.integration-provider h3{margin:0 0 8px}
.integration-provider p{margin:0 0 14px;color:var(--muted,#64748b);font-size:13px}
.integration-endpoint{padding:16px;border:1px solid #d8e6ec;border-radius:14px;background:#f8fbfc;margin:14px 0 22px}
.integration-endpoint code{display:block;overflow-wrap:anywhere;margin-top:8px;padding:10px;border-radius:10px;background:#102c3a;color:#eefcff;font-size:12px}
.integration-map-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 16px}
.integration-map-grid .field{margin:0}
.integration-provider .pill.good,.pill.good{background:#e9f8ef;color:#17633b;border-color:#bfe6cd}
.integration-provider .pill.note,.pill.note{background:#fff7df;color:#79520c;border-color:#f2dc9f}
.theme-dark .integration-endpoint{background:#102631;border-color:#2b4b57}
.theme-dark .integration-endpoint code{background:#07171f}
@media(max-width:1100px){.integration-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.integration-map-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.integration-provider-grid,.integration-map-grid{grid-template-columns:1fr}}

/* Telephony / Call Sync Hub V1 */
.telephony-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:4px 0 16px}.telephony-status-grid>div{padding:16px;border:1px solid var(--border,#dce6ee);border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(245,250,252,.92))}.telephony-status-grid b{display:block;font-size:22px;color:#0f5f62;margin-bottom:4px}.telephony-status-grid span{display:block;font-size:12px;color:#687987;line-height:1.45}.theme-dark .telephony-status-grid>div{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.1)}.theme-dark .telephony-status-grid b{color:#77d7dc}.theme-dark .telephony-status-grid span{color:#aebec8}@media(max-width:900px){.telephony-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.telephony-status-grid{grid-template-columns:1fr}}
