:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#14253f;background:#f5f7fb;font-size:14px;--blue:#2563eb;--muted:#64748b;--border:#e5eaf2;--ink:#14253f;--green:#047857;--red:#b42318}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #93b4ff}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button{border:1px solid var(--border);background:white;color:var(--ink);border-radius:9px;min-height:42px;padding:9px 14px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover{background:#f1f5fb}button.primary{background:var(--blue);color:white;border-color:var(--blue)}button.primary:hover{background:#1d4ed8}button.danger{color:var(--red)}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button svg,a svg{width:17px;height:17px;flex-shrink:0}svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}input,select,textarea{border:1px solid #d9e0eb;border-radius:8px;min-height:43px;background:white;color:var(--ink);padding:10px 12px;max-width:100%}textarea{resize:vertical;min-height:88px}label{display:flex;flex-direction:column;gap:7px;font-weight:600;margin-bottom:16px}small,.muted{color:var(--muted);font-weight:400;line-height:1.65}.initial{display:grid;place-items:center;min-height:100vh;color:var(--muted)}.shell{display:grid;grid-template-columns:225px 1fr;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:225px;background:#fff;border-right:1px solid var(--border);display:flex;flex-direction:column;padding:28px 16px;z-index:10}.brand{display:flex;gap:10px;align-items:center;font-size:22px;letter-spacing:-.7px;font-weight:750;padding:0 12px}.brand img{width:35px;height:35px}.brand-sub{color:var(--muted);font-size:11px;letter-spacing:1.6px;font-weight:500;margin:8px 0 26px 58px}.nav-label{font-size:11px;color:#8794a8;letter-spacing:1px;margin:22px 13px 9px}.nav-btn{width:100%;justify-content:flex-start;background:transparent;border:none;border-radius:8px;padding:12px;min-height:45px;margin-bottom:5px;color:#617087;font-weight:500}.nav-btn svg{width:20px;height:20px}.nav-btn.active{background:#edf3ff;color:#1d4ed8;font-weight:650}.nav-count{margin-left:auto;background:#dbe8ff;border-radius:6px;font-size:11px;padding:3px 7px}.sidebar-bottom{margin-top:auto;padding:20px 10px 0;border-top:1px solid var(--border)}.avatar{height:34px;width:34px;border-radius:50%;background:#edf3ff;color:#2458b4;display:grid;place-items:center;font-weight:700;flex-shrink:0}.identity{display:flex;align-items:center;gap:10px}.identity strong{font-size:13px;display:block}.identity small{font-size:11px}.logout{margin-top:12px;width:100%;min-height:35px;font-size:12px}.main{grid-column:2;min-width:0}.topbar{height:79px;background:#fff;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;padding:0 34px;gap:16px}.breadcrumb{font-size:13px;color:#718099}.breadcrumb span{color:var(--ink);margin-left:8px}.top-actions{display:flex;align-items:center;gap:12px}.clock{color:#7a8799;font-size:12px}.bell-btn{position:relative;min-width:42px;padding:9px}.dot{position:absolute;right:6px;top:5px;border:2px solid white;background:#f97316;width:9px;height:9px;border-radius:50%}.content{padding:30px 34px 50px;max-width:1700px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px}.page-heading h1{font-size:27px;letter-spacing:-.7px;margin:0 0 8px;font-weight:720}.page-heading p{color:var(--muted);margin:0;font-size:13px;line-height:1.6}.page-heading .actions{display:flex;gap:9px;flex-wrap:wrap}.eyebrow{font-size:11px;letter-spacing:1.7px;color:#73839a;font-weight:650;margin-bottom:10px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin:0 0 24px}.stat{background:white;border:1px solid var(--border);border-radius:12px;padding:20px;position:relative}.stat-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}.stat-top svg{width:18px;height:18px;color:#7894b8}.stat-value{font-size:32px;line-height:1.2;margin:14px 0 8px;font-weight:700;letter-spacing:-1px;font-variant-numeric:tabular-nums}.stat-foot{color:#8290a3;font-size:11px}.stat.emphasis{border-color:#bfdbfe;background:#f8fbff}.stat.emphasis .stat-value{color:#1d4ed8}.panel{border:1px solid var(--border);background:#fff;border-radius:12px;overflow:hidden;margin-bottom:22px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 22px;border-bottom:1px solid var(--border)}.panel-head h2{font-size:15px;margin:0;font-weight:650}.panel-head p{font-size:12px;color:var(--muted);margin:6px 0 0}.panel-body{padding:22px}.toolbar{display:flex;justify-content:space-between;gap:16px;padding:17px 20px;border-bottom:1px solid var(--border);align-items:center;flex-wrap:wrap}.tabs{display:flex;gap:5px;flex-wrap:wrap}.tab{border:none;background:transparent;font-size:12px;color:var(--muted);min-height:37px;padding:8px 12px}.tab.active{background:#edf3ff;color:#1d4ed8}.search{position:relative}.search svg{position:absolute;left:12px;top:13px;width:17px;height:17px;color:#94a3b8}.search input{padding-left:37px;width:240px;min-height:40px;background:#f9fbfe}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left}th{font-size:11px;color:#8190a4;background:#fafbfd;letter-spacing:.3px;padding:13px 20px;font-weight:550;white-space:nowrap;border-bottom:1px solid var(--border)}td{padding:16px 20px;border-bottom:1px solid #eff2f7;font-size:12px;vertical-align:middle}tr:last-child td{border-bottom:none}tbody tr:hover{background:#fcfdff}td strong{font-weight:600;font-size:13px}.person{display:flex;align-items:center;gap:11px;min-width:165px}.person .avatar{font-size:12px;height:33px;width:33px}.person small{display:block;font-size:10px;margin-top:4px}.phone{font-family:ui-monospace,Consolas,monospace;font-variant-numeric:tabular-nums;color:#3b506b;white-space:nowrap}.badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:500;border-radius:5px;padding:5px 8px;white-space:nowrap;background:#f1f5f9;color:#617087}.badge.blue{background:#eaf2ff;color:#2563eb}.badge.green{background:#eaf8f0;color:#047857}.badge.orange{background:#fff3e5;color:#b65b08}.badge.red{background:#fff0ee;color:#b42318}.call-action{font-size:12px;min-height:34px;padding:7px 11px}.text-button{border:none;background:transparent;color:var(--blue);padding:4px 7px;min-height:30px;font-size:12px}.empty{padding:65px 24px;text-align:center;max-width:580px;margin:auto}.empty .empty-icon{height:58px;width:58px;background:#eff5ff;border-radius:16px;display:grid;place-items:center;margin:0 auto 18px;color:#4b79bf}.empty svg{width:27px;height:27px}.empty h3{font-size:17px;margin:0 0 10px}.empty p{font-size:13px;color:var(--muted);line-height:1.8;margin:0 0 20px}.notice{padding:14px 17px;background:#edf5ff;color:#315b8f;border:1px solid #dceaff;border-radius:9px;margin-bottom:22px;line-height:1.7;font-size:12px;display:flex;align-items:flex-start;gap:10px}.notice svg{width:17px;height:17px;margin-top:2px;flex-shrink:0}.notice.warn{color:#946027;background:#fffbf0;border-color:#f4e6c8}.notice.error{color:#b42318;background:#fff3f1;border-color:#ffdad5}.mini{font-size:11px}.footer-info{display:flex;justify-content:space-between;padding:14px 20px;color:#8692a4;font-size:11px;border-top:1px solid var(--border)}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:22px}.steps{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid var(--border)}.steps:last-child{border:0}.step-num{display:grid;place-items:center;background:#edf3ff;color:#2563eb;width:27px;height:27px;flex-shrink:0;border-radius:50%;font-size:12px}.steps strong{font-size:13px}.steps p{color:var(--muted);font-size:12px;line-height:1.7;margin:5px 0}.connection{display:flex;align-items:center;gap:15px}.connection-logo{background:#edf3ff;color:#2563eb;width:43px;height:43px;border-radius:10px;display:grid;place-items:center;font-weight:750;font-size:20px}.connection h3{font-size:14px;margin:0 0 6px}.connection-meta{margin:18px 0;color:var(--muted);font-size:12px;line-height:1.8;overflow-wrap:anywhere}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.full{grid-column:1/-1}.form-help{color:var(--muted);font-size:12px;line-height:1.8;margin:0 0 20px}.inline-errors{font-size:12px;color:var(--red);white-space:pre-wrap;margin:10px 0;line-height:1.6}.date-range{display:flex;gap:8px;align-items:center}.date-range input{width:150px;font-size:12px;min-height:38px}.funnel-row{display:grid;grid-template-columns:110px 1fr 45px;gap:12px;align-items:center;margin:16px 0;font-size:12px}.bar-track{height:9px;background:#edf2fa;border-radius:5px;overflow:hidden}.bar-fill{height:100%;background:#4a81ed;border-radius:5px}.bar-w-0{width:0}.history-item{padding:16px 0;border-bottom:1px solid var(--border)}.history-item:last-child{border:0}.history-item p{font-size:12px;line-height:1.7;margin:8px 0 0;white-space:pre-wrap}.history-meta{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);margin-top:7px}.modal-backdrop{position:fixed;inset:0;background:#14253f66;z-index:100;display:flex;justify-content:flex-end}.modal{width:540px;max-width:100%;height:100%;overflow-y:auto;background:#fff;box-shadow:-10px 0 50px #14253f11}.modal-head{position:sticky;top:0;z-index:1;background:white;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;padding:21px 24px}.modal-head h2{font-size:19px;margin:0}.modal-body{padding:24px}.contact-profile{display:flex;align-items:center;gap:13px;margin-bottom:24px}.contact-profile .avatar{width:46px;height:46px;font-size:19px}.contact-profile strong{display:block;font-size:19px;margin-bottom:7px}.contact-profile a{font-family:monospace;font-size:15px}.close-modal{padding:6px;min-height:34px;min-width:34px;border:none;color:#64748b}.save-row{display:flex;justify-content:flex-end;gap:10px;padding-top:18px;border-top:1px solid var(--border);margin-top:12px}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.auth-aside{background:#152b4d;color:white;padding:9vw 7vw;display:flex;flex-direction:column;justify-content:center}.auth-aside h1{font-size:43px;letter-spacing:-1px;line-height:1.3;margin:50px 0 20px}.auth-aside p{font-size:15px;line-height:1.9;color:#a9bad2;max-width:360px}.auth-aside .brand{padding:0;color:white}.auth-list{margin-top:32px;display:grid;gap:16px;color:#c1cfe3;font-size:13px}.auth-list span{display:flex;align-items:center;gap:12px}.auth-list svg{width:19px;height:19px;color:#9ad6b7}.auth-main{display:grid;place-items:center;padding:40px}.auth-card{width:350px;max-width:100%}.auth-card h2{font-size:27px;margin:0 0 10px}.auth-card>p{color:var(--muted);font-size:13px;line-height:1.8;margin-bottom:30px}.auth-card button{width:100%;margin-top:10px}.auth-foot{font-size:11px;color:#94a3b8;text-align:center;margin-top:24px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);border-radius:10px;background:#14253f;color:white;padding:13px 21px;font-size:13px;z-index:200;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;max-width:90vw}#toast.visible{opacity:1;transform:translate(-50%,0)}.error-page{padding:80px 30px;text-align:center}.mobile-brand{display:none}.activity-cell{display:flex;gap:7px;align-items:center}.loading-line{height:3px;position:fixed;inset:0 0 auto;background:#2563eb;z-index:201}.pill{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border:1px solid var(--border);border-radius:50px;font-size:11px;color:#738299}.pill i{height:5px;width:5px;background:#10b981;border-radius:50%}.notify-panel{position:fixed;right:28px;top:69px;width:345px;max-width:90vw;background:white;box-shadow:0 15px 50px #14253f22;border:1px solid var(--border);border-radius:12px;padding:20px;z-index:50}.notify-panel h3{margin:0 0 13px;font-size:15px}.notify-panel p{font-size:12px;line-height:1.7;color:var(--muted)}.notify-panel .row{display:flex;gap:8px}.notify-panel .row button{flex:1;font-size:12px}.lead-note{max-width:170px;color:var(--muted);font-size:11px;line-height:1.6}.no-wrap{white-space:nowrap}.field-row{display:flex;gap:12px}.field-row>*{flex:1}.checkbox{flex-direction:row;align-items:center;font-weight:400;font-size:12px}.checkbox input{min-height:auto}.pagination{display:flex;align-items:center;gap:9px}.pagination button{min-height:28px;padding:4px 9px;font-size:11px}.credential-box{font-family:ui-monospace,monospace;font-size:11px;min-height:155px}.password-tip{font-size:11px;margin-bottom:14px;color:var(--muted)}
[hidden]{display:none!important}
@media(min-width:1450px){.content{padding:38px 45px}.topbar{padding:0 45px}.stat{padding:23px}.stat-value{font-size:35px}}
@media(max-width:1100px){.shell{grid-template-columns:190px 1fr}.sidebar{width:190px}.topbar{padding:0 22px}.content{padding:25px 22px}.stats{gap:11px}.stat{padding:16px}.grid-two{grid-template-columns:1fr}.clock{display:none}.stat-value{font-size:27px}.toolbar{padding:13px}.search input{width:210px}.auth-aside h1{font-size:34px}.auth-aside{padding:8vw 5vw}}
@media(max-width:750px){.shell{display:block}.sidebar{position:static;width:100%;padding:14px 16px;border-right:0;border-bottom:1px solid var(--border);display:block}.brand{font-size:20px;padding:0}.brand img{height:30px;width:30px}.brand-sub,.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:4px;margin-top:15px;overflow-x:auto}.nav-btn{width:auto;white-space:nowrap;min-height:39px;padding:8px 12px;margin:0;font-size:12px}.nav-btn svg{height:16px;width:16px}.nav-count{margin-left:2px}.topbar{height:57px;padding:0 16px}.content{padding:23px 16px}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:20px}.page-heading h1{font-size:24px}.page-heading .actions{width:100%}.page-heading .actions button{font-size:12px}.stats{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:20px}.stat{padding:15px}.stat-value{font-size:28px;margin-top:10px}.stat-foot{font-size:10px}.stat-top{font-size:11px}.toolbar{gap:12px}.tabs{gap:2px}.tab{font-size:11px;padding:7px 9px;min-height:35px}.search,.search input{width:100%}.panel-head{padding:17px}.panel-body{padding:17px}.notice{padding:12px;font-size:11px}th,td{padding:13px 14px}.table-wrap table{min-width:760px}.date-range{flex-wrap:wrap}.date-range input{width:135px}.auth{display:block}.auth-aside{display:none}.auth-main{min-height:100vh;padding:25px}.auth-card{width:360px}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.modal-head,.modal-body{padding:20px}.footer-info{padding:12px;font-size:10px;gap:10px}.clock{display:none}.top-actions{gap:8px}.pill{font-size:10px}.notify-panel{right:14px;top:170px}.eyebrow{font-size:10px}.empty{padding:45px 18px}.page-heading .date-range{width:100%}.connection-meta{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.channel-attempts{display:grid;gap:6px;min-width:180px}.channel-row{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:#53647b}.attempt-total{font-size:11px!important;color:#14253f}.channel-attempts .badge{font-size:10px;padding:4px 7px}.lead-entered{display:block!important;white-space:nowrap;line-height:1.7!important;margin-top:7px!important;color:#64748b!important}.contact-review{padding:15px;border:1px solid #e5eaf2;border-radius:10px;margin-bottom:22px;background:#fafcff}.contact-review .channel-attempts{max-width:300px}.contact-review p{margin-bottom:0}.person{min-width:215px}

.lead-phone{display:block;font-size:12px;margin-top:6px}.person .lead-entered{font-size:10px}.table-wrap .channel-row{white-space:nowrap}

.rules-panel{padding:24px;margin:20px 0}.rules-panel h2{font-size:18px;margin:0 0 16px}.rules-panel li{margin:0 0 16px;line-height:1.8}.rules-panel p{line-height:1.8}.rules-panel ol{padding-left:24px}

.filter-panel{display:flex;gap:16px;align-items:end;flex-wrap:wrap;padding:18px;margin:18px 0}.filter-panel label{min-width:150px;margin:0}.filter-panel p{width:100%;margin:0}.bulk-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0}.member-check{display:flex;align-items:center;gap:12px}.member-check input,input[data-select-lead],#select-page{width:18px;height:18px;accent-color:var(--primary,#2563eb)}.person small{display:block;color:#64748b}.history-item dt{font-weight:600}.history-item dd{margin:4px 0 12px}

.dashboard-company-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin:20px 0}.company-score{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.company-score strong{display:block;font-size:30px;color:#1e40af}.company-score span{font-size:13px;color:#64748b}.company-metrics{display:grid;grid-template-columns:1fr auto;gap:12px;font-size:13px}.company-metrics dd{margin:0;text-align:right}.company-metrics dt{color:#64748b}.performance-trend{padding:20px}.trend-row{display:grid;grid-template-columns:100px 1fr 210px;gap:15px;align-items:center;font-size:13px;margin:12px 0}.trend-row progress{width:100%;accent-color:#2563eb}@media(max-width:700px){.trend-row{grid-template-columns:1fr}.dashboard-company-grid{grid-template-columns:1fr}}

.number-report-toolbar{align-items:end}.number-report-toolbar label{margin:0;min-width:160px}.report-note{max-width:220px;white-space:pre-wrap;overflow-wrap:anywhere}

.scope-grid{display:grid;gap:12px}.scope-grid fieldset{border:1px solid #e5eaf2;border-radius:9px;padding:12px 16px}.scope-grid legend{padding:0 6px;font-weight:600}.scope-grid label:last-child{margin-bottom:0}

.client-called td{background:#edf9f1}.client-called:hover td{background:#e2f3e8}.client-called td:first-child{box-shadow:inset 4px 0 #16834a}.client-legacy td{background:#fff9e9}.client-legacy:hover td{background:#fff3d5}.client-legacy td:first-child{box-shadow:inset 4px 0 #d79a16}.tabs{align-items:center;flex-wrap:wrap;gap:10px}

.language-control{display:flex;align-items:center;gap:8px;font-size:12px;flex-shrink:0}.language-control select{width:120px;min-height:44px;padding:8px;border:1px solid #d9e2ef;border-radius:9px;background:#fff;color:#153455}.language-control span{color:#667b96}.auth-card>.language-control{justify-content:flex-end;margin-bottom:22px}html[data-language=my] body{font-family:"Myanmar Text","Noto Sans Myanmar","Pyidaungsu","Segoe UI",sans-serif;line-height:1.8}html[data-language=my] .nav-item{white-space:normal;height:auto;min-height:44px}html[data-language=my] button{height:auto;min-height:44px}html[data-language=my] .topbar{height:auto;min-height:76px}.top-actions{flex-wrap:wrap}@media(max-width:1100px){.top-actions .language-control span{display:none}.topbar{height:auto;min-height:76px;gap:10px;padding-top:10px;padding-bottom:10px}}@media(max-width:640px){.language-control select{width:100px}.top-actions .clock{display:none}.top-actions{gap:8px}}
@media(min-width:751px){.sidebar{overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-width:thin}.sidebar>*{flex-shrink:0}}

/* Shared, independent workspace switcher. */
.workspace-tabs{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.workspace-tab{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 24px;border:1px solid transparent;border-radius:10px;background:transparent;color:#64748b;font-size:15px;font-weight:650;white-space:nowrap;text-decoration:none}.workspace-tab:hover{background:#f1f5fb;text-decoration:none}.workspace-tab.active{background:#edf3ff;border-color:#dce7ff;color:#2563eb}.topbar:has(.workspace-tabs){height:auto;min-height:79px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.topbar:has(.workspace-tabs) .top-actions{margin-left:auto}@media(max-width:700px){.workspace-tabs{flex-basis:100%;gap:6px}.workspace-tab{flex:1;padding:10px 12px;font-size:14px}.topbar:has(.workspace-tabs) .top-actions{width:100%;justify-content:flex-end}}

/* Rei Marketing brand fit */
.sidebar .brand,.sidebar .sp-brand{font-size:19px;gap:9px;white-space:nowrap}.sidebar .brand img,.sidebar .sp-brand img{flex-shrink:0}
