@font-face{font-family:Inter;src:url('Inter.ttf') format('truetype');font-display:swap}*{box-sizing:border-box}body{margin:0;background:#f5f7fa;color:#152b3c;font-family:Inter,Arial,sans-serif;font-size:16px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #69bcb2;outline-offset:3px}.demo-ribbon{height:34px;background:#fff4d9;border-bottom:1px solid #eddfbd;display:flex;align-items:center;justify-content:space-between;padding:0 25px;font-size:14px;color:#795e25;letter-spacing:.025em}.demo-ribbon>span:first-child{display:flex;gap:8px;align-items:center;font-weight:700}.demo-ribbon b{font-weight:400;border-left:1px solid #d4bf8c;padding-left:8px}.live-dot{display:inline-block;background:#c69d43;width:6px;height:6px;border-radius:50%}.app{display:flex;min-height:calc(100vh - 34px)}.sidebar{width:236px;background:#fff;border-right:1px solid #e5eaf0;display:flex;flex-direction:column;padding:29px 17px 16px;flex-shrink:0}.brand{display:flex;align-items:center;gap:9px;padding:0 5px;color:#163d43;font-size:18px;font-weight:800;line-height:1.2;letter-spacing:.045em}.brand>span:last-child>span{display:block;font-size:12px;letter-spacing:.07em;font-weight:600;margin-top:5px}.brand-symbol{background:#e5f3f0;width:37px;height:39px;display:grid;place-items:center;border-radius:10px;color:#218475;font-size:26px}.workspace-label{font-size:13px;font-weight:700;letter-spacing:.12em;color:#95a2ad;margin:39px 12px 12px}nav{display:grid;gap:5px}nav a{display:flex;gap:11px;align-items:center;padding:12px;border-radius:8px;color:#6c7e8d;font-size:16px;font-weight:500}nav a.active{background:#e8f3f0;color:#075b4d;font-weight:700}nav a:hover{background:#f0f5f4}.nav-count{margin-left:auto;background:#fff;border:1px solid #c9e2dc;min-width:22px;text-align:center;border-radius:5px;font-size:14px}.nav-icon{width:18px;height:18px;display:inline-flex;align-items:center}.nav-icon svg{width:18px;height:18px}.sidebar-bottom{margin-top:auto;padding-top:50px}.demo-note{background:#f1f7f5;border:1px solid #e0eee9;border-radius:11px;padding:17px 13px}.small-tag{font-size:12px;letter-spacing:.1em;color:#126344;font-weight:700}.demo-note strong{display:block;font-size:16px;margin-top:9px}.demo-note p{color:#6c7e7b;font-size:14px;line-height:1.6;margin:6px 0 14px}.button{border:1px solid transparent;border-radius:7px;padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#096554;color:white;font-size:15px;font-weight:600;min-height:37px}.button:hover{background:#126354}.button.secondary{background:#fff;border:1px solid #dce4e9;color:#465b68}.button.secondary:hover{background:#f3f7f7}.button.subtle{background:#edf6f3;color:#237c69}.tour-button{width:100%;font-size:14px;padding:9px}.tour-button span{margin-left:auto}.provider{border-top:1px solid #e9edef;margin:22px 5px 0;padding-top:17px;color:#87969f;font-size:13px;line-height:1.9}.provider b{color:#5a6a72;font-weight:600}.provider span{font-size:12px}.main-shell{min-width:0;flex:1;display:flex;flex-direction:column}.topbar{height:78px;border-bottom:1px solid #e5eaf0;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 32px}.breadcrumb{font-size:15px;color:#526577}.breadcrumb span{margin:0 11px;color:#c4ccd2}.breadcrumb strong{color:#4c6170;font-weight:500}.top-actions{display:flex;align-items:center;gap:10px}.icon-button{background:none;border:0;color:#71838c;padding:8px;font-size:15px}.icon-button span{font-size:14px;margin-left:4px}.avatar{width:32px;height:32px;border-radius:50%;background:#e4f0ec;color:#4c8072;display:grid;place-items:center;font-size:14px;font-weight:700;margin-left:13px}.viewer strong{font-size:14px;font-weight:600;display:block}.viewer span{font-size:13px;color:#526577}main{padding:31px 32px 24px;max-width:1680px;width:100%;margin:auto auto 0;flex:1}.page-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:23px}.eyebrow{font-size:13px;letter-spacing:.11em;font-weight:700;color:#7e949d;margin-bottom:6px}.page-head h1{font-size:30px;letter-spacing:-.7px;line-height:1.25;margin:0 0 8px;font-weight:650}.page-head p{margin:0;color:#506273;font-size:15px}.head-tools{display:flex;gap:8px;align-items:center;margin-top:8px}.date-pill{background:#fff;border:1px solid #e0e7eb;color:#6a7e8b;padding:9px 11px;border-radius:7px;font-size:14px;white-space:nowrap}.section-label{font-size:14px;color:#4d6273;margin:18px 0 11px;font-weight:600}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:22px}.stat{background:white;border:1px solid #e4e9ef;border-radius:10px;padding:18px;position:relative}.stat-label{font-size:14px;color:#526577;display:flex;align-items:center;gap:6px}.stat-icon{margin-left:auto;width:27px;height:27px;background:#f1f6f5;border-radius:8px;display:grid;place-items:center;color:#538e82}.stat-value{font-size:29px;font-weight:650;letter-spacing:-1px;line-height:1.3;margin:9px 0 6px}.stat-foot{color:#526577;font-size:13px}.stat-foot b{color:#268b71;font-weight:500}.stat-foot.warn b{color:#80510a}.dashboard-grid{display:grid;grid-template-columns:1.7fr 1fr;gap:19px;margin-bottom:20px}.panel{background:#fff;border:1px solid #e4e9ef;border-radius:11px;overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 13px;gap:10px}.panel-head h2{font-size:16px;font-weight:600;margin:0}.panel-head p{font-size:13px;color:#526577;margin:4px 0 0}.text-link{font-size:14px;color:#25836f;cursor:pointer;background:none;border:0;padding:0;white-space:nowrap}.legend{display:flex;gap:13px;align-items:center;font-size:13px;color:#526577}.legend i,.legend-dot{width:7px;height:7px;display:inline-block;border-radius:3px;background:#278976;margin-right:4px}.legend .pale{background:#e0ece7}.department-bars{padding:8px 20px 15px}.department-bar{width:100%;border:0;background:none;display:grid;grid-template-columns:100px 1fr 25px;align-items:center;gap:12px;margin:0 0 13px;text-align:left;color:#6d8190;padding:0;font-size:14px}.department-bar:hover{color:#157661}.department-bar .track{height:13px;background:#f3f6f7;border-radius:4px;display:flex;overflow:hidden}.department-bar .fill{height:100%;background:#368c79}.department-bar .fill-open{height:100%;background:#d9e9e2}.department-bar b{text-align:right;font-size:14px;font-weight:600;color:#526b77}.panel-bottom{border-top:1px solid #edf1f3;padding:11px 20px;color:#526577;font-size:13px;background:#fcfdfd}.resolution-wrap{display:flex;align-items:center;justify-content:center;gap:25px;padding:19px 15px 22px}.donut{width:130px;height:130px;border-radius:50%;background:conic-gradient(#2a8874 var(--resolved),#edc77c var(--resolved) var(--progress),#dbe6ee var(--progress));display:grid;place-items:center;transform:rotate(0deg)}.donut-hole{width:103px;height:103px;background:white;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column}.donut-hole b{font-size:30px;font-weight:650;letter-spacing:-.5px}.donut-hole span{font-size:13px;color:#526577}.status-legend{display:grid;gap:12px;min-width:90px}.status-legend div{display:flex;align-items:center;gap:5px;color:#526577;font-size:13px}.status-legend b{margin-left:auto;color:#395561;font-size:15px}.status-legend i{width:7px;height:7px;display:inline-block;border-radius:2px}.hint-banner{margin:0 20px 15px;background:#eef6f3;color:#365d50;border-radius:6px;font-size:13px;line-height:1.5;padding:10px 11px}.complaint-table{width:100%;border-collapse:collapse;text-align:left;min-width:720px}.table-scroll{overflow:auto}.complaint-table th{font-size:12px;letter-spacing:.055em;color:#526577;font-weight:600;background:#fafcfd;padding:10px 16px;border-top:1px solid #edf1f3;border-bottom:1px solid #edf1f3;white-space:nowrap}.complaint-table td{font-size:14px;padding:13px 16px;border-bottom:1px solid #eef2f5;color:#4d6273;vertical-align:middle}.complaint-table tr:last-child td{border-bottom:0}.complaint-table tbody tr{cursor:pointer}.complaint-table tbody tr:hover{background:#f7faf9}.complaint-id{color:#3a8976!important;font-size:13px!important;font-weight:600}.complaint-title{color:#3d5362;font-size:14px;font-weight:550;display:block;margin-bottom:3px}.complaint-subtitle{font-size:13px;color:#526577}.pill{display:inline-flex;align-items:center;gap:4px;border-radius:4px;padding:3px 7px;font-size:12px;white-space:nowrap;font-weight:500}.pill.open{color:#1f527e;background:#eaf2f9}.pill.progress{color:#78500c;background:#fff4d9}.pill.resolved{color:#126344;background:#e7f5ed}.pill.high{color:#a13923;background:#fff0e9}.pill.medium{color:#78500c;background:#faf5e8}.pill.low{color:#4c6070;background:#f0f4f5}.priority-dot{height:5px;width:5px;background:currentColor;border-radius:50%}.department-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.department-card{padding:20px;background:white;border:1px solid #e2e9ee;border-radius:11px;cursor:pointer;text-align:left;color:inherit}.department-card:hover{border-color:#83b9a8;box-shadow:0 5px 20px #213f4c09}.department-card h2{font-size:18px;margin:10px 0 5px}.department-card p{color:#526577;font-size:14px;margin:0}.department-card .dept-symbol{font-size:18px;width:38px;height:38px;background:#eef6f2;border-radius:10px;display:grid;place-items:center;color:#3c8a77}.dept-counts{display:flex;gap:20px;margin-top:23px;border-top:1px solid #edf1f3;padding-top:13px}.dept-counts b{font-size:24px;font-weight:600;display:block}.dept-counts span{color:#526577;font-size:13px}.dept-progress{background:#eef3f2;height:4px;border-radius:5px;margin:15px 0 5px;overflow:hidden}.dept-progress>span{height:100%;background:#398b77;display:block}.filters{display:flex;gap:10px;flex-wrap:wrap;padding:15px 20px;border-top:1px solid #eef1f4;border-bottom:1px solid #eef1f4;align-items:center}.filters input,.filters select,.control{background:#fff;border:1px solid #dce5e9;border-radius:6px;min-height:36px;padding:8px 11px;color:#5d7684;font-size:14px}.filters input{flex:1;min-width:170px}.filters select{max-width:180px}.result-count{font-size:14px;color:#526577;margin-left:auto}.empty{padding:44px 20px;text-align:center;color:#526577;font-size:16px}.app-footer{display:flex;justify-content:space-between;gap:10px;padding:18px 32px;font-size:12px;color:#526577}.two-column{display:grid;grid-template-columns:1.05fr 1fr;gap:22px}.wa-description{padding:0 20px 20px;color:#728a96;font-size:15px}.wa-description h3{font-size:15px;color:#415b68;margin:18px 0 5px}.wa-example{background:#edf7f2;border:1px solid #d0e9dd;border-radius:8px;padding:12px;font-size:14px;color:#5a8475}.wa-event{display:flex;gap:12px;align-items:flex-start;padding:15px 20px;border-top:1px solid #edf1f2;cursor:pointer}.wa-event:hover{background:#f6faf8}.event-icon{height:30px;width:30px;background:#e8f5ec;color:#3c9664;border-radius:8px;display:grid;place-items:center;flex-shrink:0}.wa-event strong{font-size:15px;display:block;color:#4c6471}.wa-event p{font-size:14px;color:#526577;margin:3px 0}.wa-event small{font-size:12px;color:#126344}.phone{border:6px solid #293b43;border-radius:33px;max-width:321px;min-height:480px;margin:0 auto;background:#e6efec;box-shadow:0 15px 35px #203b4b13;overflow:hidden;position:relative}.phone-top{background:#fff;text-align:center;padding:10px;font-size:13px;color:#6c7c82}.phone-header{background:#166b58;color:#fff;padding:13px 14px;display:flex;gap:9px;align-items:center}.phone-header strong{display:block;font-size:16px}.phone-header span{font-size:12px;color:#cae5dd}.wa-avatar{border-radius:50%;background:#ffffff25;display:grid;place-items:center;width:30px;height:30px}.phone-screen{padding:17px 12px 25px;min-height:330px;background:radial-gradient(#cddcd6 1px,transparent 1px);background-size:18px 18px}.wa-date{text-align:center;font-size:12px;color:#526b5c;margin:0 auto 17px;background:#fff9;width:max-content;padding:3px 8px;border-radius:4px}.message-bubble{background:#fff;box-shadow:0 1px 2px #1f4c3814;max-width:250px;border-radius:0 9px 9px 9px;padding:13px 12px;color:#33534a;font-size:14px;line-height:1.8}.message-bubble b{display:block;color:#245345;font-size:15px;margin-bottom:7px}.message-bubble button{margin-top:12px;display:block;width:100%;border:0;border-top:1px solid #e6efea;color:#21826a;padding:9px 0 0;background:none;font-size:14px}.message-meta{text-align:right;color:#526b5c;font-size:12px;margin-top:9px}.simulated-stamp{color:#916b24;background:#fff2cd;border-radius:4px;font-size:12px;padding:4px 7px;display:block;text-align:center;margin-bottom:12px}.form-shell{max-width:810px;margin:auto}.form-hero{background:#163f43;color:white;padding:25px 29px;border-bottom:4px solid #79ad94;border-radius:12px 12px 0 0}.form-hero h2{font-size:24px;margin:6px 0}.form-hero p{color:#b0cdca;font-size:15px}.patient-form{background:#fff;border:1px solid #e1e8ec;border-top:0;border-radius:0 0 12px 12px;padding:27px 29px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field label{font-size:14px;font-weight:600;color:#526d78;display:block;margin-bottom:6px}.field small{color:#526577;font-size:13px;font-weight:400}.field input,.field select,.field textarea{width:100%;border:1px solid #dbe5e9;border-radius:6px;padding:10px 11px;font-size:15px;color:#48616d;background:white;min-height:38px}.field textarea{min-height:110px;resize:vertical}.field.full{grid-column:1/-1}.form-section{border-top:1px solid #e9eff1;margin:22px 0 16px;padding-top:17px;font-size:16px;font-weight:600}.rating-options{display:flex;gap:8px;flex-wrap:wrap}.rating-options label{border:1px solid #dae5e8;border-radius:6px;padding:9px 13px;font-size:14px;color:#6d8590;cursor:pointer}.rating-options input{margin:0 5px 0 0;accent-color:#218471}.check-row{display:flex;align-items:flex-start;gap:8px;font-size:14px;color:#526577;margin:16px 0}.check-row input{accent-color:#218471;margin-top:3px}.form-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:23px}.form-actions span{color:#526577;font-size:13px}.success-card{text-align:center;padding:45px 25px;background:white;border:1px solid #d9e8e0;border-radius:10px}.success-icon{font-size:30px;color:#28896e}.success-card h2{font-size:24px}.success-card .ref{background:#edf7f0;padding:13px;border-radius:7px;font-size:18px;margin:20px auto;max-width:250px;color:#27846c}.success-card p{color:#7d939d;font-size:15px}.overlay{position:fixed;inset:0;background:#102e3b66;z-index:100;display:flex;justify-content:flex-end;backdrop-filter:blur(2px)}.drawer{width:min(600px,100%);height:100%;background:#fff;box-shadow:-15px 0 60px #102d3b22;overflow:auto;animation:slide-in .2s ease}.drawer-header{padding:25px 28px;border-bottom:1px solid #e5ecef;display:flex;align-items:flex-start;gap:15px;justify-content:space-between}.drawer-header h2{font-size:24px;line-height:1.4;margin:6px 0}.drawer-body{padding:23px 28px}.drawer-section{margin-bottom:22px}.drawer-section h3{font-size:14px;color:#526577;letter-spacing:.05em;text-transform:uppercase;margin:0 0 10px}.detail-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:25px}.detail-meta span{font-size:12px;color:#526577;display:block;margin-bottom:5px}.detail-meta strong{font-size:15px;font-weight:500;color:#486775}.detail-description{font-size:16px;line-height:1.9;color:#6a8490;background:#f6f9fa;border:1px solid #e8eff1;border-radius:7px;padding:14px}.detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.detail-fields select,.drawer textarea{width:100%}.drawer textarea{min-height:70px;resize:vertical;margin-bottom:9px}.actions-row{display:flex;gap:8px;flex-wrap:wrap}.timeline-item{border-left:2px solid #d8e9e1;padding:0 0 17px 16px;position:relative;font-size:14px;color:#7c959e}.timeline-item:before{content:'';width:7px;height:7px;background:#7fbaa4;border:3px solid #fff;border-radius:50%;position:absolute;left:-6px;top:0}.timeline-item strong{font-size:14px;color:#56727d;display:block}.timeline-item span{font-size:12px;display:block;margin-top:4px;color:#526577}.drawer-notice{font-size:13px;background:#fff8e8;color:#70500f;border-radius:6px;padding:10px 12px;margin:20px 0}.close-button{background:#f0f4f5;border:0;border-radius:50%;width:29px;height:29px;color:#72909b;font-size:18px;flex-shrink:0}.resolution-form{padding:13px;background:#f0f7f3;border:1px solid #d4e6dc;border-radius:8px;margin:12px 0}.resolution-form label{font-size:14px;display:block;color:#5a8071;margin-bottom:7px}.note-item{background:#f8fafb;border-radius:6px;padding:10px;margin-bottom:8px;font-size:14px;color:#728e9b}.note-item small{display:block;font-size:12px;color:#526577;margin-top:5px}.notice-panel{background:#fff8e6;border:1px solid #eee0bc;color:#70500f;padding:12px 16px;border-radius:8px;font-size:14px;margin-bottom:20px}.status-callout{padding:10px;border-radius:6px;background:#edf7f0;color:#40856c;font-size:14px;margin:9px 0}.tour-banner{display:flex;gap:15px;align-items:center;justify-content:space-between;background:#173f43;color:#dfede9;border-radius:9px;padding:15px 18px;margin-bottom:22px}.tour-banner strong{font-size:16px;display:block}.tour-banner p{font-size:14px;margin:4px 0;color:#a9c7c1}.tour-step{font-size:13px;color:#95b9b0;white-space:nowrap}.tour-controls{display:flex;gap:7px;align-items:center}.tour-controls button{font-size:14px}.mobile-only{display:none}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:200;background:#183e3d;color:#fff;font-size:15px;padding:12px 20px;border-radius:8px;box-shadow:0 5px 30px #163f4933;display:none;max-width:90vw}.inline-form-notice{color:#526577;font-size:13px;margin-top:12px}.card-note{font-size:14px;color:#46665b;padding:0 20px 17px}.form-label-pair{display:flex;justify-content:space-between;gap:5px}@keyframes slide-in{from{transform:translateX(100%)}to{transform:translateX(0)}}@media(min-width:1550px){main{padding-top:40px}.department-bar{margin-bottom:18px}.resolution-wrap{padding:30px 20px}.stat{padding:24px}.stat-value{font-size:35px}}@media(max-width:1150px){.sidebar{width:205px}.topbar,main{padding-left:22px;padding-right:22px}.department-bar{grid-template-columns:85px 1fr 20px;gap:8px}.resolution-wrap{gap:13px}.donut{width:110px;height:110px}.donut-hole{width:85px;height:85px}.department-grid{grid-template-columns:repeat(2,1fr)}.two-column{gap:13px}.viewer{display:none}}@media(max-width:850px){.sidebar{width:73px;padding:22px 10px}.brand>span:last-child,.workspace-label,.sidebar-bottom,nav .nav-label,.nav-count{display:none}.brand{padding:0;justify-content:center}.brand-symbol{width:35px}.sidebar nav{margin-top:27px}nav a{justify-content:center;padding:13px}.nav-icon{width:21px}.topbar{height:66px}.stats{gap:10px}.stat{padding:14px}.stat-label{font-size:13px}.stat-icon{display:none}.stat-value{font-size:26px}.dashboard-grid{grid-template-columns:1fr 1fr;gap:13px}.department-bar{grid-template-columns:80px 1fr 15px}.panel-head{padding:15px}.department-bars{padding:10px 15px}.resolution-wrap{flex-direction:column;gap:16px}.status-legend{display:flex;gap:12px;font-size:12px}.status-legend div{display:block}.status-legend b{display:block;margin:4px 0 0 12px}.legend{display:none}.two-column{grid-template-columns:1fr}.phone{margin-top:8px}.page-head h1{font-size:28px}.head-tools{flex-wrap:wrap;justify-content:flex-end}.date-pill{display:none}.app-footer{font-size:12px;padding:17px 22px}.demo-ribbon{padding:0 15px;font-size:12px}.demo-ribbon>span:last-child{font-size:12px}.stat-foot{font-size:12px}.topbar .breadcrumb{font-size:14px}}@media(max-width:550px){.demo-ribbon{height:auto;min-height:40px;display:block;padding:5px 12px;font-size:12px}.demo-ribbon>span:last-child{display:block;padding-left:14px;font-size:12px}.app{min-height:calc(100vh - 40px)}.sidebar{width:55px;padding:20px 6px}.brand-symbol{height:30px;width:30px;font-size:21px;border-radius:7px}nav a{padding:12px 7px}.topbar{padding:0 14px}.top-actions{gap:3px}.icon-button span{display:none}.avatar{margin-left:4px;width:27px;height:27px}.breadcrumb span{margin:0 5px}main{padding:23px 14px 15px}.page-head{display:block;margin-bottom:18px}.page-head h1{font-size:28px}.page-head p{font-size:14px}.head-tools{justify-content:flex-start;margin-top:15px}.stats{grid-template-columns:1fr 1fr;gap:9px}.stat-value{font-size:26px}.stat-foot{font-size:12px}.dashboard-grid{grid-template-columns:1fr;gap:14px}.resolution-wrap{flex-direction:row;gap:30px}.status-legend{display:grid;gap:9px}.status-legend div{display:flex}.status-legend b{margin:0 0 0 auto}.department-grid{grid-template-columns:1fr}.app-footer{padding:14px;display:block}.app-footer span{display:block}.tour-banner{display:block;padding:13px}.tour-controls{margin-top:12px}.tour-step{display:block;margin-bottom:6px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.patient-form{padding:20px 17px}.form-hero{padding:20px}.form-actions{flex-direction:column;align-items:flex-start}.form-actions button{width:100%}.filters{padding:12px;gap:8px}.filters input{min-width:100%;width:100%}.filters select{flex:1;max-width:100%}.drawer-header{padding:20px}.drawer-body{padding:20px}.detail-fields{grid-template-columns:1fr}.detail-meta{grid-template-columns:repeat(2,1fr)}.two-column{display:block}.phone{margin-top:25px}.wa-description{padding:0 15px 17px}.rating-options label{padding:8px}.panel-head{gap:8px}.panel-head h2{font-size:16px}.text-link{font-size:13px}}

.mobile-tour{display:none}@media(max-width:850px){.mobile-tour{display:inline-block}}


/* Readability pass, 22 October 2026. Preserve the demo workflows. */
:root{--ink:#152b3c;--muted:#526577;--line:#ccd8df;--teal:#096554}
body{font-size:16px;line-height:1.6;background:#edf2f6;color:var(--ink)}
.demo-ribbon{height:auto;min-height:44px;padding:10px 24px;gap:12px;font-size:13px;color:#67480c;background:#fff3d2;border-color:#e5c980}
.demo-ribbon>span:last-child{font-size:13px}.demo-ribbon b{font-weight:500}.live-dot{width:8px;height:8px}
.sidebar{width:248px;background:#123447;color:#fff;padding:30px 18px 20px;border:0}
.brand{color:#fff;font-size:19px;letter-spacing:.02em;gap:12px}.brand>span:last-child>span{font-size:9px;color:#e0eaf0;letter-spacing:.03em}
.brand-symbol{background:#e1f3eb;color:#096554;width:42px;height:44px;flex-shrink:0}
.workspace-label{color:#bdd4df;font-size:12px;margin:38px 12px 14px;letter-spacing:.08em}
nav{gap:8px}nav a{min-height:50px;font-size:15px;color:#e0eaf0;padding:12px;font-weight:550}
nav a.active{background:#e1f3eb;color:#064c3f;box-shadow:inset 4px 0 #49bd94}
nav a:hover{background:#21485c;color:white}nav a.active:hover{background:#d1eddf;color:#064c3f}
.nav-icon,.nav-icon svg{width:21px;height:21px}.nav-count{font-size:13px;color:#064c3f;min-width:28px;background:#fff}
.demo-note{background:#21485c;border-color:#426475;padding:18px 14px}.small-tag{color:#bddfd2;font-size:12px}
.demo-note strong{font-size:18px}.demo-note p{color:#e0eaf0;font-size:14px}.tour-button{font-size:14px;background:#e1f3eb;color:#064c3f}.tour-button:hover{background:#c8e9da}
.provider{border-color:#426475;color:#cadce5;font-size:13px;line-height:1.6}.provider b{color:white}.provider span{font-size:12px}
.topbar{min-height:82px;height:auto;padding:18px 28px;gap:14px}.breadcrumb{font-size:14px;color:var(--muted)}.breadcrumb strong{color:var(--ink);font-weight:600}
.icon-button{min-width:44px;min-height:44px;color:#304d60;border-radius:8px}.icon-button:hover{background:#edf2f6}.icon-button span{font-size:14px}
.viewer strong{font-size:14px}.viewer span{font-size:13px}.avatar{width:40px;height:40px;font-size:13px;color:#064c3f}
main{padding:28px;max-width:1680px;margin:0 auto;min-width:0}
.page-head{margin-bottom:26px;align-items:center}.eyebrow{font-size:12px;color:#456174;letter-spacing:.08em}
.page-head h1{font-size:32px;font-weight:750;letter-spacing:-.8px;margin-bottom:10px}.page-head p{font-size:16px;max-width:700px;color:var(--muted)}
.head-tools{flex-wrap:wrap;justify-content:flex-end;margin-top:0}.date-pill{font-size:13px;color:#40596a;padding:10px 12px}
.button{font-size:15px;min-height:46px;padding:11px 16px;font-weight:650}.button.secondary{border-color:#aebfc9;color:#294558}.button.subtle{color:#075b4d;background:#e1f3eb}
.text-link{font-size:14px;color:#075b4d;font-weight:650;min-height:44px;padding:8px 4px;white-space:normal;text-align:left}
.stats{gap:16px;margin-bottom:24px}.stat{padding:20px;border-color:var(--line);border-top:4px solid #305a73}.stat:nth-child(2){border-top-color:#2c6692}.stat:nth-child(3){border-top-color:#bc841d}.stat:nth-child(4){border-top-color:#17734e}
.stat-label{font-size:14px;color:#40596a;font-weight:600;align-items:flex-start}.stat-value{font-size:38px;font-weight:750;letter-spacing:-1px;margin:8px 0}.stat-foot{font-size:13px;color:var(--muted)}.stat-foot b{font-weight:650;color:#126344}.stat-foot.warn b{color:#80510a}
.panel{border-color:var(--line);box-shadow:0 2px 6px #12344704}.panel-head{padding:22px 22px 16px;align-items:flex-start}.panel-head h2{font-size:19px;font-weight:700;line-height:1.4}.panel-head p{font-size:14px;color:var(--muted);margin-top:6px}
.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(310px,1fr);gap:20px}.legend{font-size:12px;color:#40596a;flex-wrap:wrap;justify-content:flex-end;gap:8px}.legend i,.legend-dot{width:10px;height:10px}.legend .pale{background:#90b8a7}
.department-bars{padding:0 22px 16px}.department-bar{min-height:44px;grid-template-columns:112px minmax(0,1fr) 24px;gap:12px;margin:0;font-size:14px;color:#294558;border-radius:6px}.department-bar:hover{background:#eff6f2;color:#064c3f}.department-bar .track{height:17px;background:#edf2f6}.department-bar .fill{background:#17734e}.department-bar .fill-open{background:#90b8a7}.department-bar b{font-size:15px;color:var(--ink)}
.panel-bottom{font-size:13px;padding:14px 22px;color:var(--muted);background:#f7f9fb;border-color:#dce4e9}
.resolution-wrap{gap:24px;padding:28px 20px;flex-wrap:wrap}.donut{width:142px;height:142px}.donut-hole{width:108px;height:108px}.donut-hole b{font-size:32px;font-weight:750}.donut-hole span{font-size:14px}.status-legend{gap:14px;min-width:112px}.status-legend div{font-size:14px;color:#40596a;gap:8px}.status-legend b{font-size:16px;color:var(--ink)}.status-legend i{width:10px;height:10px}
.hint-banner{font-size:14px;line-height:1.6;background:#e8f3ed;color:#305844;margin:0 22px 16px;padding:14px}.card-note{font-size:13px;padding:0 22px 20px;color:#46665b}
.complaint-table{min-width:920px}.complaint-table th{font-size:12px;color:#40596a;font-weight:700;padding:14px 18px;background:#edf2f6;letter-spacing:.035em}.complaint-table td{font-size:14px;padding:18px;color:#40596a;border-color:#e1e7eb}.complaint-table tbody tr:hover{background:#eaf5f0}.complaint-id{font-size:13px!important;color:#075b4d!important}.complaint-title{font-size:15px;font-weight:650;color:var(--ink);line-height:1.5;min-width:210px}.complaint-subtitle{font-size:13px;color:var(--muted)}
.pill{font-size:12px;padding:5px 9px;font-weight:650;border-radius:6px}.pill.open{color:#164e78;background:#e4f0fa}.pill.progress,.pill.medium{color:#76500a;background:#fff0c6}.pill.resolved{color:#126344;background:#def2e5}.pill.high{color:#982f21;background:#ffe9e2}.pill.low{color:#40596a;background:#edf2f6}
.department-grid{gap:20px}.department-card{padding:24px;border-color:var(--line);transition:border-color .15s,box-shadow .15s}.department-card:hover{border-color:#096554;box-shadow:0 4px 14px #12344712}.department-card h2{font-size:23px;margin:16px 0 5px}.department-card p{font-size:14px;color:var(--muted)}.dept-counts{gap:22px}.dept-counts b{font-size:28px;color:var(--ink)}.dept-counts span{font-size:13px;color:var(--muted)}.dept-progress{height:7px;margin:20px 0 12px}
.filters{padding:18px 22px;gap:12px;background:#f7f9fb}.filters input,.filters select,.control{font-size:16px;min-height:46px;border-color:#aebfc9;color:#294558;padding:10px 12px}.filters select{max-width:220px}.filters input{min-width:220px}.result-count{font-size:14px}
.two-column{grid-template-columns:minmax(0,1.2fr) minmax(340px,1fr);gap:24px}.wa-description{font-size:16px;color:#40596a;padding:0 22px 24px}.wa-description h3{font-size:17px;color:var(--ink)}.wa-example{font-size:15px;color:#305844;padding:16px}.wa-event{padding:18px 22px}.wa-event strong{font-size:16px;color:var(--ink)}.wa-event p{font-size:14px;color:var(--muted)}.wa-event small{font-size:13px;color:#126344}.event-icon{width:38px;height:38px}
.phone{max-width:360px;min-height:520px}.phone-top{font-size:12px}.phone-header strong{font-size:16px}.phone-header span{font-size:12px;color:#e1f3eb}.phone-screen{padding:18px 14px 28px}.message-bubble{max-width:300px;font-size:15px;line-height:1.7;padding:18px 15px;color:#264c3c}.message-bubble b{font-size:16px}.message-bubble button{font-size:15px;min-height:44px;color:#075b4d}.message-meta,.wa-date{font-size:12px}.simulated-stamp{font-size:12px;color:#67480c}
.notice-panel{font-size:14px;color:#67480c;padding:16px}.form-shell{max-width:900px}.form-hero h2{font-size:27px}.form-hero p{font-size:16px;color:#dfede9}.field label{font-size:15px;color:#294558}.field small{font-size:13px;color:var(--muted)}.field input,.field select,.field textarea{font-size:16px;min-height:48px;border-color:#aebfc9;color:#294558}.field textarea{min-height:130px}.form-section{font-size:18px;color:var(--ink)}.rating-options label{font-size:15px;min-height:46px;display:flex;align-items:center;color:#294558}.check-row{font-size:14px;color:#40596a;gap:10px;align-items:flex-start}.check-row input{width:19px;height:19px;flex-shrink:0}.form-actions span,.inline-form-notice{font-size:13px;color:var(--muted)}.success-card p{font-size:16px}
.drawer{width:min(720px,100%)}.drawer-header{padding:26px 28px;position:sticky;top:0;background:#fff;z-index:2;border-bottom:2px solid #dce4e9}.drawer-header h2{font-size:26px;margin:8px 0 12px}.close-button{width:44px;height:44px;font-size:26px;color:#294558;background:#edf2f6}.drawer-body{padding:28px}.drawer-section{margin-bottom:30px}.drawer-section h3{font-size:14px;color:#40596a;letter-spacing:.04em;margin-bottom:14px}.detail-meta{gap:22px 16px;grid-template-columns:repeat(2,minmax(0,1fr))}.detail-meta span{font-size:12px;color:var(--muted)}.detail-meta strong{font-size:15px;color:#294558;font-weight:600}.detail-description{font-size:16px;color:#294558;line-height:1.8;padding:18px;background:#f2f6f9}.drawer-section>p{font-size:14px!important;color:var(--muted)!important}.drawer textarea{font-size:16px;min-height:100px}.note-item,.timeline-item,.timeline-item strong{font-size:15px;color:#294558}.note-item small,.timeline-item span{font-size:13px;color:var(--muted)}.timeline-item{padding-bottom:22px}.drawer-notice{font-size:14px;color:#70500f}.resolution-form{padding:18px}.resolution-form label{font-size:15px;color:#305844}.status-callout{font-size:15px;color:#126344}
.tour-banner{padding:20px;gap:20px}.tour-banner strong{font-size:19px;color:#fff}.tour-banner p{font-size:15px;color:#dfede9}.tour-step{font-size:12px;color:#bddfd2}.tour-controls button{font-size:15px}.app-footer{font-size:12px;color:var(--muted);padding:20px 28px}.empty{font-size:16px}#toast{font-size:15px;bottom:24px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,tr:focus-visible{outline:3px solid #1579b5;outline-offset:3px}
::placeholder{color:#526577;opacity:1}
@media(min-width:1550px){.stat-value{font-size:42px}.department-bar{margin:0;min-height:46px}.resolution-wrap{padding:32px 20px}}
@media(max-width:1200px){.sidebar{width:224px;padding:26px 14px}.brand{font-size:17px}.brand>span:last-child>span{font-size:8px}main{padding:24px}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr)}.resolution-wrap{flex-direction:column;gap:20px}.legend{display:none}.page-head{align-items:flex-start;flex-wrap:wrap}.head-tools{justify-content:flex-start}.stat{padding:17px}.stat-label{font-size:14px}.stat-foot{font-size:13px}.stat-icon{display:none}.department-bar{grid-template-columns:108px 1fr 22px}}
@media(max-width:1000px){.dashboard-grid{grid-template-columns:1fr}.resolution-wrap{flex-direction:row}.status-legend{display:grid}.status-legend div{display:flex}.status-legend b{margin-left:auto}.two-column{grid-template-columns:1fr}.department-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.department-bar{grid-template-columns:120px 1fr 24px}.viewer{display:none}}
@media(max-width:850px){.app{display:block}.sidebar{width:100%;padding:16px 20px;background:#123447;display:block}.brand{justify-content:flex-start;font-size:19px}.brand>span:last-child{display:block}.brand>span:last-child>span{font-size:9px}.workspace-label,.sidebar-bottom{display:none}.sidebar nav{margin-top:16px;display:flex;gap:8px;overflow-x:auto;padding-bottom:3px}nav a{padding:10px 14px;min-height:46px;white-space:nowrap;justify-content:flex-start;flex-shrink:0}nav .nav-label{display:inline;font-size:14px}.nav-count{display:none}.nav-icon{width:19px}.topbar{padding:12px 20px;min-height:66px}.breadcrumb{font-size:14px}.breadcrumb span{margin:0 6px}.icon-button span{display:inline;font-size:13px}.date-pill{display:inline-block}.page-head h1{font-size:30px}.page-head p{font-size:16px}.panel-head h2{font-size:19px}.text-link{font-size:14px}.demo-ribbon{padding:9px 20px;font-size:13px}.demo-ribbon>span:last-child{font-size:12px}.topbar .breadcrumb{font-size:14px}.app-footer{font-size:12px}.mobile-tour{display:inline-block}.stat-value{font-size:36px}.stat-foot{font-size:13px}#toast{bottom:20px}}
@media(max-width:600px){.demo-ribbon{display:block;padding:10px 16px}.demo-ribbon>span:last-child{display:block;padding:4px 0 0}.demo-ribbon>span:first-child{flex-wrap:wrap;font-size:12px}.sidebar{padding:18px 16px 12px}.sidebar nav{gap:7px}nav a{min-height:46px;padding:10px 12px}nav .nav-label{font-size:14px}.brand-symbol{width:40px;height:40px;font-size:27px}.topbar{padding:12px 16px;gap:6px}.breadcrumb{max-width:55%;line-height:1.45}.top-actions{gap:2px}.avatar{display:none}.icon-button span{display:none}main{padding:24px 16px}.page-head{display:block}.page-head h1{font-size:28px}.head-tools{margin-top:16px;gap:10px}.date-pill{display:none}.stats{gap:12px}.stat{padding:15px 13px}.stat-label{font-size:14px;line-height:1.5}.stat-value{font-size:34px}.stat-foot{font-size:13px}.panel-head{padding:20px 16px 14px;flex-wrap:wrap}.panel-head h2{font-size:19px}.panel-head p{font-size:14px}.department-bars{padding:0 16px 16px}.department-bar{grid-template-columns:112px 1fr 20px;gap:8px;font-size:14px;min-height:46px}.department-bar .track{height:16px}.resolution-wrap{gap:24px;padding:22px 16px;flex-wrap:wrap}.status-legend{gap:12px;display:grid;min-width:110px}.status-legend div{font-size:14px}.status-legend b{font-size:16px}.hint-banner{margin:0 16px 16px}.card-note{padding:0 16px 20px}.panel-bottom{padding:14px 16px}.department-grid{grid-template-columns:1fr}.department-card{padding:22px}.filters{padding:16px;gap:12px}.filters input{min-width:100%;width:100%}.filters select{min-width:0;flex:1 1 130px;max-width:100%}.filters .text-link{width:100%}.two-column{display:block}.phone{max-width:360px;margin-top:24px}.message-bubble{font-size:15px}.drawer-header,.drawer-body{padding:22px 18px}.drawer-header h2{font-size:23px}.detail-meta{gap:20px 12px}.detail-fields{grid-template-columns:1fr}.drawer .actions-row .button{flex:1 1 180px}.patient-form{padding:24px 18px}.form-hero{padding:24px 20px}.form-hero h2{font-size:25px}.form-grid{grid-template-columns:1fr}.form-actions{align-items:stretch}.tour-banner{padding:18px}.tour-controls{margin-top:16px}.app-footer{padding:20px 16px;line-height:1.8;display:block}.app-footer span{display:block}.wa-description{padding:0 16px 20px}.wa-event{padding:18px 16px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* On phones, each complaint becomes a readable card instead of a wide table. */
@media(max-width:600px){
.complaint-table{min-width:0;display:block}.complaint-table thead{display:none}.complaint-table tbody{display:grid;padding:0 16px}.complaint-table tbody tr{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;padding:20px 0;border-bottom:1px solid #ccd8df}.complaint-table tbody tr:last-child{border-bottom:0}.complaint-table td{display:block;padding:0;border:0;font-size:14px;min-width:0}.complaint-table td:nth-child(1),.complaint-table td:nth-child(2){grid-column:1/-1}.complaint-table td[data-label]::before{content:attr(data-label);display:block;font-size:12px;color:#526577;font-weight:600;margin-bottom:4px}.complaint-title{font-size:16px;min-width:0}.complaint-subtitle{display:block;margin-top:6px}.table-scroll{overflow:visible}.complaint-table .pill{white-space:normal}
}
/* Five labelled destinations stay within reach on a phone. */
@media(max-width:600px){.sidebar{padding:18px 16px}.sidebar nav{position:fixed;inset:auto 0 0;margin:0;padding:8px 6px max(8px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;background:#123447;border-top:1px solid #426475;z-index:50;overflow:visible;box-shadow:0 -3px 16px #12344718}nav a{flex-direction:column;justify-content:flex-start;text-align:center;gap:5px;min-width:0;min-height:68px;padding:8px 3px;white-space:normal;border-radius:7px}nav .nav-label{font-size:12px;line-height:1.35;font-weight:600}nav a.active{box-shadow:inset 0 3px #49bd94}.app-footer{padding-bottom:110px}#toast{bottom:100px}.phone{width:100%}}
