:root{--nav:#12263b;--ink:#1c2e43;--muted:#607288;--line:#dce5ee;--green:#087f83;--accent:#e7f5f4;--bg:#f3f6fa;--white:#fff;--radius:12px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.55}button,input,textarea,select{font:inherit}button,a,input,select,textarea{outline-offset:3px}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin:0 0 12px}h1{font-size:30px;line-height:1.25;letter-spacing:-.6px;font-weight:700}h2{font-size:20px;line-height:1.35;letter-spacing:-.25px;font-weight:650}h3{font-size:17px;font-weight:650}small{display:block;font-size:14px;color:var(--muted);line-height:1.5}.muted,.mini{color:var(--muted)}.mini{font-size:14px!important}.eyebrow{font-size:12px;letter-spacing:1.4px;font-weight:650;color:var(--muted)}.prewrap{white-space:pre-wrap;overflow-wrap:anywhere}.wide{grid-column:1/-1}.section-gap{margin-top:24px}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 17px;border:1px solid var(--green);border-radius:8px;background:var(--green);color:#fff;font-size:14px;font-weight:650;cursor:pointer;white-space:nowrap;transition:background .15s}.button:hover{background:#06686d;color:#fff;text-decoration:none}.button.secondary{background:#fff;border-color:var(--line);color:#29445c}.button.secondary:hover{border-color:#79b9bc;background:#f2faf9}.button.small{min-height:38px;padding:7px 13px;font-size:14px}.inline-form{display:inline-flex;margin:0}.text-link{font-size:14px;font-weight:600;white-space:nowrap}.text-button{background:none;border:0;color:var(--green);font-size:14px;font-weight:600;padding:10px;cursor:pointer}.badge{display:inline-flex;align-items:center;white-space:nowrap;border-radius:6px;padding:5px 9px;background:#edf3f9;color:#42607c;font-size:14px;font-weight:550}.badge.new-enquiry,.badge.new{background:#eaf1fc;color:#355f9c}.badge.closed-/-won,.badge.won,.badge.reason-submitted{background:#e5f5ee;color:#2d7455}.badge.reason-required,.badge.lost{background:#fff0e8;color:#a15c38}.alert{padding:14px 17px;background:#eaf6f5;border:1px solid #bfe1df;border-radius:9px;color:#236767;margin-bottom:20px;font-size:15px}.alert.error{background:#fff1ed;border-color:#f0cbc0;color:#984b39}.sidebar{position:fixed;inset:0 auto 0 0;width:256px;background:var(--nav);color:#fff;display:flex;flex-direction:column;padding:25px 17px;z-index:30;overflow-y:auto}.brand{display:flex;align-items:center;gap:12px;color:white;padding:0 10px 22px}.brand:hover{color:#fff;text-decoration:none}.brandmark{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;background:#0b9196;border-radius:11px;color:#fff;font-size:24px;font-weight:750;flex-shrink:0}.brand>span:last-child{font-size:21px;font-weight:700;letter-spacing:-.3px}.brand small{font-size:11px;color:#98b2c9;letter-spacing:1.6px;margin-top:1px}.nav-label{font-size:11px;color:#839db5;font-weight:650;letter-spacing:1.4px;padding:17px 14px 10px}.sidebar nav{flex:1;flex-shrink:0}.sidebar nav a{display:flex;align-items:center;gap:12px;border-radius:8px;padding:11px 14px;margin:3px 0;color:#c3d1df;font-size:14px;font-weight:550;min-height:44px}.sidebar nav a>span{display:flex;align-items:center;color:#9bb2c7}.sidebar nav a:hover{background:#203b51;color:#fff;text-decoration:none}.sidebar nav a.active{background:#087f83;color:#fff}.sidebar nav a.active>span{color:#fff}.sidebar-note{border:1px solid #365064;background:#1b344a;border-radius:10px;padding:13px;margin-top:24px;font-size:14px;color:#dbe9f3;flex-shrink:0}.sidebar-note small{color:#9eb7cb;font-size:13px;margin-top:3px}.pulse{display:inline-block;width:7px;height:7px;background:#64d8c2;border-radius:50%;margin-right:7px}.profile{display:flex;align-items:center;gap:10px;padding:19px 3px 0;margin-top:20px;border-top:1px solid #30485d;color:#e8f0f7;font-size:14px;flex-shrink:0}.profile small{color:#96b0c6;font-size:13px}.avatar{width:36px;height:36px;border-radius:50%;background:#294a63;display:flex;align-items:center;justify-content:center;font-weight:650;color:#d7ebf5;flex-shrink:0}.profile form{margin-left:auto}.logout{border:0;background:none;color:#a8c3d8;cursor:pointer;font-size:23px}.workspace{margin-left:256px}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 30px}.topbar-title{font-weight:600;white-space:nowrap;font-size:14px}.breadcrumb{color:#8292a6;font-weight:400}.global-search{margin-left:auto}.global-search input{width:270px;border:1px solid var(--line);background:#f8fafc;border-radius:8px;padding:10px 14px;height:42px;font-size:14px}.top-right{display:flex;align-items:center;gap:16px;font-size:14px;color:var(--muted);white-space:nowrap}.top-right .badge{font-size:13px;background:#f0f5fa}.mobile-menu{display:none;background:none;border:0;color:var(--ink);font-size:22px;cursor:pointer}main{max-width:1480px;margin:auto;padding:29px 30px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.page-head .eyebrow{display:none}.page-head h1{margin:0}.dashboard-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.dashboard-intro p{font-size:15px;color:var(--muted);margin:0}.live-status{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);white-space:nowrap}.live-status i{width:7px;height:7px;background:#16a183;border-radius:50%}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:25px}.stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:19px 20px;box-shadow:0 3px 8px #172b4103;min-height:142px}.stat-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:14px;font-weight:550;color:#4c647c;min-height:32px}.stat-symbol{width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:var(--accent);color:var(--green);border-radius:8px;flex-shrink:0}.stat-value{font-size:34px;font-weight:700;color:#193047;line-height:1.2;margin:11px 0 6px}.stat p{font-size:13px;color:var(--muted);margin:0}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 3px 8px #172b4103;min-width:0}.panel p{color:var(--muted);font-size:14px;line-height:1.6}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.panel-head h2{margin:0 0 5px}.panel-head p{margin:0}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(300px,1fr);gap:24px;align-items:start;margin-bottom:24px}.dashboard-grid .panel{margin-bottom:0}.dashboard-side{display:flex;flex-direction:column;gap:22px}.dashboard-leads{padding-bottom:12px}.table-wrap{width:100%;overflow-x:auto;border-radius:8px}table{border-collapse:collapse;width:100%;font-size:14px}th{background:#f5f8fb;color:#536a82;font-size:13px;font-weight:650;text-align:left;white-space:nowrap;padding:13px 14px;border-bottom:1px solid var(--line)}td{padding:16px 14px;color:#405a73;border-bottom:1px solid #e8eef4;font-size:14px;vertical-align:middle}tr:last-child td{border-bottom:0}td strong{font-size:14px;font-weight:650}td small{font-size:13px;margin-top:4px;max-width:240px}.patient-name{font-weight:650;color:#223f58}.patient-name:hover{color:var(--green)}.deadline-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #e8eef4}.deadline-row a{color:#263f56;font-size:14px;font-weight:650}.deadline-row small{margin-top:4px;font-size:13px}.deadline-tag{padding:5px 8px;border-radius:6px;background:#e8f7f4;color:#247568;font-size:13px;font-weight:650;white-space:nowrap}.deadline-tag.overdue{background:#fff0e7;color:#a35e31}.panel-note{border-top:1px solid #e7edf3;padding-top:15px;font-size:13px!important;margin:18px 0 0;color:#65798e!important}.quick-actions h2{margin-bottom:7px}.quick-actions>a{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #e8eef4;color:#29465d}.quick-actions>a:last-child{border-bottom:0;padding-bottom:0}.quick-actions>a>svg{color:var(--green);flex-shrink:0}.quick-actions>a span{font-size:14px;font-weight:600}.quick-actions small{font-size:13px;font-weight:400;margin-top:3px}.quick-actions b{margin-left:auto;color:#7b8fa1;font-size:18px}.empty-inline{padding:22px 0;color:#667d94;font-size:14px}.empty-note{padding:20px 0}.list-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #e8eef4}.list-item:last-child{border-bottom:0}.list-item strong{font-size:15px}.list-item small{margin-top:4px;font-size:14px}.form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.form label{display:flex;flex-direction:column;gap:7px;color:#405870;font-size:14px;font-weight:550;min-width:0}.form input,.form select,.form textarea,.filters input,.filters select{width:100%;border:1px solid #cdd9e4;border-radius:7px;background:#fff;color:#233f56;padding:11px 12px;min-height:44px;font-size:15px;box-shadow:0 1px 2px #13273b03}.form textarea{line-height:1.6;resize:vertical}.form input:focus,.form textarea:focus,.form select:focus{outline:2px solid #0a858520;border-color:#35979b}.form input[readonly]{background:#f5f8fb;color:#6a7b8e}.form .button{justify-self:start}.form .check{flex-direction:row;align-items:flex-start;gap:10px;line-height:1.55;font-size:14px;font-weight:400}.check input{width:17px;height:17px;min-height:0;padding:0;flex-shrink:0;accent-color:var(--green);margin:3px 0 0}.filters{display:flex;align-items:center;gap:12px;margin-bottom:20px}.filters input,.filters select{width:auto;flex:1;min-width:120px}.filters .button{flex-shrink:0}.settings-heading{margin:12px 0 0;padding-top:20px;border-top:1px solid var(--line);font-size:18px}.code{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;border:1px solid #dbe4ec;border-radius:8px;background:#f6f9fc;font-size:14px;line-height:1.7;color:#36536b;max-width:100%}.empty{text-align:center;padding:32px 20px;color:var(--muted)}.empty h3{font-size:18px;margin-top:14px}.empty p{font-size:14px}.empty-icon{width:46px;height:46px;margin:auto;background:#edf5f6;border-radius:12px;font-size:25px;display:flex;align-items:center;justify-content:center;color:#529195}.staff-card{padding:17px 18px;border:1px solid var(--line);border-radius:8px;margin-bottom:12px}.staff-card summary{font-size:15px;color:#415a73;cursor:pointer}.staff-card summary strong{color:#223f57}.staff-card .form{margin-top:22px}.reason-card{background:#f8fafc;border:1px solid var(--line);border-radius:9px;padding:20px;margin-bottom:16px}.reason-card .form{margin-top:18px}.reason-card small{font-size:14px}.sla-box{background:#eaf7f6;border:1px solid #bee0dd;border-radius:8px;padding:15px;margin-bottom:22px;color:#24706e}.sla-box strong{display:block;font-size:15px}.sla-box small{font-size:14px;color:#527a7b;margin-top:5px}summary{font-size:14px;font-weight:550;cursor:pointer;color:#3c6579}.inbox-grid{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px}.contact-list{margin-top:18px;max-height:650px;overflow-y:auto}.contact-list a{display:block;padding:15px 12px;color:#3b5870;border-bottom:1px solid #e7edf4;border-radius:6px;margin-bottom:4px}.contact-list a.selected{background:#e9f6f5;border:1px solid #c6e4e1}.contact-list a strong{font-size:15px}.contact-list small{font-size:14px;overflow-wrap:anywhere}.message-stream{max-height:540px;overflow-y:auto;margin:20px 0;padding-right:8px}.message{padding:16px;background:#f6f9fc;border:1px solid #e0e8f0;border-radius:10px;margin-bottom:14px;max-width:100%;overflow-wrap:anywhere}.message.out{background:#eaf7f5;border-color:#cde5e1}.message-meta{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:10px;color:#607a90;font-size:14px}.message-meta strong{font-size:14px;color:#305569}.message-body{white-space:pre-wrap;font-size:15px;line-height:1.65;color:#29465c}.agent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.agent-card{padding:20px;border:1px solid var(--line);border-radius:10px}.agent-icon{width:36px;height:36px;background:#eaf6f4;border-radius:8px;color:#438a87;display:flex;align-items:center;justify-content:center;margin-bottom:14px}.agent-card h3{font-size:17px}.agent-card p{font-size:14px}.ai-overview{display:flex;align-items:center;gap:18px;padding:20px 24px;background:#eaf5f4;border:1px solid #c9e5e1;border-radius:12px;margin-bottom:24px}.ai-overview .badge{margin-left:auto;background:white;color:#287570}.ai-overview h2{margin-bottom:5px}.ai-overview p{margin:0;color:#537879;font-size:15px}.ai-mark{width:52px;height:52px;background:#0a8589;color:#fff;border-radius:13px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.ai-mark svg{width:26px;height:26px}.chat-preview{display:block;width:100%;height:670px;border:1px solid #d6e2ea;border-radius:12px;background:#fff;margin-top:20px}.test-result{margin-top:18px;padding:15px;background:#f6f9fc;border-radius:8px}.test-result p{margin-top:10px}.auth{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#eff5f8,#e1eeed);padding:24px}.auth-card{width:460px;max-width:100%;background:#fff;border:1px solid #d8e5eb;border-radius:18px;padding:36px;box-shadow:0 20px 60px #19394d0a}.auth-card .brandmark{margin-bottom:24px}.auth-card h1{font-size:31px;margin:12px 0}.auth-card>p{font-size:15px;color:var(--muted);margin-bottom:24px}.auth-card .form{grid-template-columns:1fr}.auth-card .button{width:100%}footer{padding:15px 30px 25px;max-width:1480px;margin:auto;font-size:13px;color:#6d8195}.hero,.summary-number,.bar-chart{display:none}.pipeline{display:flex;flex-wrap:wrap;gap:10px}.pipeline>div{background:#f2f7fa;padding:15px;border-radius:8px}.pipeline strong{display:block;font-size:24px}.item-row{display:grid;grid-template-columns:1fr}.widget-body{background:white;margin:0;padding:0;font-size:15px}.chat-header{display:flex;align-items:center;gap:12px;padding:20px;background:#112d40;color:#fff;border-radius:0;position:sticky;top:0;z-index:2}.chat-brand{width:38px;height:38px;background:#0c9094;color:white;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:23px;font-weight:750}.chat-header strong{display:block;font-size:18px}.chat-header span{display:block;font-size:13px;color:#b5cfdd}.chat-header i{margin-left:auto;width:8px;height:8px;background:#76d9be;border-radius:50%}.chat-content{padding:23px;max-width:none;margin:0}.chat-content h1{font-size:23px;margin-bottom:10px}.chat-intro{font-size:14px;color:#60758b;margin-bottom:22px;line-height:1.65}.widget-body .form{grid-template-columns:1fr;gap:15px}.widget-body .button{width:100%}.chat-disclosure{font-size:13px!important;line-height:1.6;color:#6a7c8d;margin:0}.chat-controls{display:flex;gap:12px;align-items:center;margin-top:16px}.chat-controls .button{width:auto}.widget-body .message-stream{max-height:350px;margin-top:0}.widget-body .message small{font-size:13px;margin-bottom:6px}.widget-body .check{font-size:13px}.widget-body .alert{font-size:14px}
@media(max-width:1250px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.global-search input{width:210px}.top-right>span:last-child{display:none}.dashboard-grid{grid-template-columns:minmax(0,1fr) 310px}.panel{padding:21px}}@media(max-width:1050px){.dashboard-grid{grid-template-columns:1fr}.dashboard-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.global-search{display:none}.inbox-grid{grid-template-columns:230px minmax(0,1fr)}.grid{gap:20px}.topbar{padding:0 24px}main{padding:25px 24px}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:256px}.sidebar.open{transform:translateX(0)}.workspace{margin-left:0}.mobile-menu{display:block}.topbar{height:65px;padding:0 17px;gap:12px}.topbar-title{font-size:14px;margin-right:auto}.breadcrumb{display:none}.top-right{gap:0}.top-right .badge{font-size:12px}.top-right>span{display:none}main{padding:22px 16px}.page-head{gap:10px;margin-bottom:16px}.page-head h1{font-size:25px}.page-head .button{padding:8px 12px;min-height:40px;font-size:14px}.dashboard-intro{display:block;margin-bottom:21px}.dashboard-intro p{font-size:14px}.live-status{margin-top:12px;font-size:13px}.stats{gap:12px;margin-bottom:20px}.stat{padding:16px;min-height:140px}.stat-top{font-size:14px;align-items:flex-start;min-height:40px}.stat-symbol{width:28px;height:28px}.stat-symbol svg{width:17px;height:17px}.stat-value{font-size:30px;margin-top:9px}.stat p{font-size:13px}.panel{padding:19px;margin-bottom:20px}.panel h2{font-size:19px}.panel-head{align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:18px}.panel-head p{font-size:14px}.grid,.dashboard-grid,.dashboard-side,.inbox-grid,.agent-grid{grid-template-columns:1fr;gap:20px}.form{grid-template-columns:1fr;gap:17px}.form input,.form select,.form textarea{font-size:16px}.filters{flex-wrap:wrap;gap:10px}.filters input,.filters select{min-width:110px}.table-wrap{overflow-x:auto}th,td{padding:13px 12px;font-size:14px}.badge{font-size:13px}.staff-card{padding:15px}.staff-card summary{font-size:14px}.ai-overview{padding:18px;align-items:flex-start;flex-wrap:wrap;gap:13px}.ai-overview h2{font-size:19px}.ai-overview p{font-size:14px}.ai-overview .badge{margin-left:0}.ai-mark{width:40px;height:40px}.chat-preview{height:720px}.contact-list{max-height:240px}.inbox-grid .panel{margin-bottom:0}footer{padding:12px 16px 24px;font-size:13px}.auth-card{padding:28px}.chat-content{padding:20px}.chat-controls{flex-wrap:wrap}.code{font-size:14px}}
.profile>div:nth-child(2){flex:1;min-width:0}.profile form{display:block;flex:none}.logout{width:30px;padding:2px}.mobile-lead-meta{display:none}@media(max-width:760px){.dashboard-leads th:nth-child(2),.dashboard-leads th:nth-child(3),.dashboard-leads td:nth-child(2),.dashboard-leads td:nth-child(3){display:none}.dashboard-leads td:first-child{width:65%}.dashboard-leads td:last-child{width:35%;text-align:right}.dashboard-leads .badge{white-space:normal;text-align:left}.mobile-lead-meta{display:block;font-size:13px!important}}

.filters{flex-wrap:wrap;align-items:flex-end}.filters label{display:grid;gap:6px;font-size:14px;color:var(--muted)}.filters label input{margin:0}
