:root{--ink:#26392d;--muted:#748077;--line:#e7ece8;--iris:#2f7545;--iris-soft:#eef6ef}body{background:white;color:var(--ink);font-size:14px}button{min-height:38px;border-radius:8px;font-size:13px}h1{font-size:28px;letter-spacing:-.8px;color:#233d2c}h2,h3{color:#2c4433}.app-rail{position:fixed;inset:0 auto 0 0;width:218px;background:#f8faf8;border-right:1px solid var(--line);padding:30px 16px 18px;z-index:20;display:flex;flex-direction:column}.clinic-brand{display:flex;align-items:center;gap:10px;padding:0 7px 30px;font-size:18px;font-weight:650;letter-spacing:-.5px}.clinic-mark{width:35px;height:35px;background:var(--iris);color:white;border-radius:10px;font-size:30px;display:grid;place-items:center;font-weight:400}.clinic-brand small{display:block;font-size:10px;font-weight:400;letter-spacing:0;color:#7b887d;margin-top:5px}.rail-label{font-size:9px;letter-spacing:1.5px;color:#87938a;font-weight:650;margin:9px 12px 11px}.rail-link{display:flex;gap:11px;align-items:center;border-radius:8px;padding:11px 12px;font-size:12px;color:#66746b;margin:3px 0}.rail-link .icon{width:18px;height:18px;color:#8a978c}.rail-link:hover{background:#edf2ed}.rail-link.active{background:#e5f0e6;color:#29603b;font-weight:600}.rail-link.active .icon{color:#377647}.app-rail nav+ .rail-label{margin-top:26px}.rail-bottom{margin-top:auto;padding-top:20px}.clinic-account{border-top:1px solid var(--line);margin-top:14px;padding:18px 3px 0;display:flex;align-items:center;gap:9px;font-size:11px;font-weight:600}.clinic-account small{display:block;font-size:10px;color:#8a958d;font-weight:400;margin-top:3px}.account-avatar{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#e7eee7;color:#527658}.clinic-account button{margin-left:auto}.workspace-bar{height:68px;margin-left:218px;border-bottom:1px solid var(--line);padding:0 36px;display:flex;align-items:center;justify-content:space-between;background:#fff}.workspace-location{font-size:12px;color:#728078}.workspace-location span{margin:0 13px;color:#c2cbc4}.workspace-preview{font-size:11px;color:#7a887e;display:flex;gap:7px;align-items:center}.workspace-preview i{width:6px;height:6px;background:#79a180;border-radius:50%}.mobile-brand{display:none}#app>main{margin-left:218px}.page,.page.flush{padding:32px 36px;min-height:calc(100vh - 68px)}.queue-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.eyebrow{font-size:9px;font-weight:600;letter-spacing:1.45px;color:#89958b;margin-bottom:10px}.queue-heading p{font-size:12px;color:#7b887f;margin:8px 0 0}.primary-action{padding:12px 17px;display:flex;gap:8px;align-items:center;box-shadow:none}.primary-action .icon{width:17px;height:17px}.queue-summary{display:grid;grid-template-columns:repeat(4,1fr);margin-bottom:28px;border:1px solid var(--line);border-radius:12px;overflow:hidden}.queue-stat{background:white;border:0;border-right:1px solid var(--line);border-radius:0;text-align:left;padding:18px 22px;display:flex;flex-direction:column;align-items:flex-start}.queue-stat:last-child{border:0}.queue-stat:hover,.queue-stat.chosen{background:#f6faf6}.queue-stat>span{font-size:11px;color:#6e7d72;display:flex;align-items:center;gap:7px}.queue-stat strong{font-size:29px;font-weight:550;color:#314f39;margin:12px 0 4px;letter-spacing:-1px}.queue-stat small{font-size:10px;color:#919c94}.stat-dot{width:6px;height:6px;border-radius:50%;background:#9eaaa2}.stat-dot.waiting{background:#d6ac61}.stat-dot.serving-now{background:#7299ad}.stat-dot.dispensary{background:#80aa78}.queue-panel{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:white}.queue-controls{padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.always-search{margin:0;width:340px;max-width:100%;border:1px solid #e4eae4;background:#fafcf9;box-shadow:none;padding:6px 10px}.always-search input{background:transparent;font-size:12px;color:#344b3b}.always-search .icon{width:17px;height:17px}.always-search input::placeholder{color:#98a199}.queue-controls .actions{gap:8px}.filter-toggle,.quiet{display:flex;align-items:center;gap:7px;padding:8px 12px;color:#65776a;border-color:#e1e8e2}.quiet{border-color:transparent;background:transparent}.filter-toggle .icon,.quiet .icon{width:15px;height:15px}.queue-tabs{padding:0 20px;border-bottom:1px solid var(--line)}.queue-tabs .tab{font-size:11px;padding:13px 12px 14px;min-height:40px;border-radius:0;background:transparent;color:#8b958e}.queue-tabs .tab.selected{color:var(--iris);background:transparent;border-bottom:2px solid var(--iris)}.queue-panel th{font-size:9px;letter-spacing:.8px;background:#fafcf9;height:43px;padding:10px 18px;color:#8b998e;border-radius:0!important}.queue-panel td{padding:16px 18px;font-size:11px;height:78px;border-color:#edf1ec}.queue-panel tbody tr:nth-child(even){background:white}.queue-panel tbody tr:hover{background:#f8fbf7}.queue-panel .patient{min-width:0;gap:10px}.queue-panel .patient-name{font-size:11px;max-width:160px;text-transform:capitalize;letter-spacing:.05px}.queue-panel .avatar{width:32px;height:32px;border-radius:50%;background:#f0f5ef;color:#92a18e}.queue-panel .avatar .icon{width:17px;height:17px}.queue-panel .sub{font-size:10px;color:#98a097;margin-top:4px}.queue-number{font-weight:600;color:#57725e;font-variant-numeric:tabular-nums}.queue-panel .status{font-size:10px;border-radius:5px;padding:4px 7px}.queue-panel .status.waiting{background:#fbf5e8;color:#967c41}.queue-panel .status.completed{background:#f0f3f1;color:#849088}.queue-panel td:last-child{white-space:nowrap;text-align:right}.queue-panel td:last-child button{min-height:31px;padding:6px 10px;font-size:10px}.call-button{color:#2f7545;background:#edf6ed;border-color:#dcebdc}.view-button{border-color:transparent;color:#7a8b7e;background:transparent}.queue-panel .iconbtn .icon{width:16px;height:16px}.queue-footer{display:flex;align-items:center;justify-content:space-between;padding:3px 20px;border-top:1px solid var(--line);font-size:10px;color:#939e95}.queue-footer .pager{padding:10px 0;gap:4px}.queue-footer .pager select{padding:5px;font-size:10px}.queue-footnote{margin:17px 2px 20px;font-size:10px;color:#9aa39c;display:flex;align-items:center;gap:6px}.queue-footnote .icon{width:13px;height:13px}.queue-footnote span{margin-left:auto}.expanded-filters{padding:0 20px}.expanded-filters .filters{padding-top:0}.prototype{position:static!important;margin:0 36px 18px 254px;border:0;box-shadow:none;font-size:10px;padding:0;color:#a0aaa3}.queue-page~.prototype{display:none}.profile-menu{left:18px;right:auto;top:auto;bottom:74px}.sidebar-layout .side{width:185px;padding:30px 16px}.side button{font-size:13px;padding:11px}.content,.small-side+.content{padding:32px;min-width:0}.metric{padding:22px}.metric strong{font-size:30px}.content.analytics h1{font-size:28px}.metrics{gap:15px}.settings-grid{border:0;gap:18px;border-radius:0}.settings-card{border:1px solid var(--line);border-radius:12px;padding:24px}.settings-card h2{font-size:18px}.setting-link{padding:14px 0;font-size:13px;gap:10px}.settings-card>.icon{width:24px;height:24px}.settings-page{max-width:none}.detail-layout{grid-template-columns:215px 1fr 1fr}.detail-pane,.patient-side{padding:20px}.bottom-total{box-shadow:none}.toolbar .tab{font-size:12px}.toolbar{flex-wrap:wrap}.toolbar>.actions{margin-left:auto}.savebar{box-shadow:none}.review-feed{max-width:760px}.review-content{gap:20px;padding:24px}.review-actions{padding:12px 20px}.white-card,.metric,.form-card,.review-card{box-shadow:none}.review-summary{padding:12px 20px 26px}.review-stats strong{font-size:24px}.settings-form-stack{margin:24px 0}.mobile-nav{display:none}.qtv-row>div{background:var(--iris)}
@media(min-width:1450px){.queue-page{max-width:1400px}.queue-panel td{font-size:12px}.queue-panel .patient-name{font-size:12px;max-width:220px}}
@media(max-width:1100px){.app-rail{width:190px;padding:24px 12px}.clinic-brand{font-size:16px}.clinic-brand small{font-size:9px}.workspace-bar,#app>main{margin-left:190px}.workspace-bar{padding:0 24px}.page,.page.flush{padding:26px 24px}.queue-stat{padding:17px 15px}.queue-panel th,.queue-panel td{padding-left:12px;padding-right:12px}.queue-panel .avatar{display:none}.queue-tabs{padding:0 8px}.queue-tabs .tab{padding-left:9px;padding-right:9px}.queue-heading h1{font-size:26px}.queue-panel .patient-name{max-width:140px}.prototype{margin-left:214px}.sidebar-layout .side{width:155px}.content{padding:24px}.detail-layout{grid-template-columns:200px 1fr}.detail-pane:last-child{grid-column:2}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.app-rail{display:none}.workspace-bar{margin-left:0;height:64px;padding:0 18px;gap:12px}.workspace-location,.workspace-preview{display:none}.mobile-brand{display:block;font-size:16px;font-weight:600;color:var(--iris)}.mobile-nav{display:block;margin-left:auto;font-size:12px;max-width:190px}#app>main{margin-left:0}.page,.page.flush{padding:25px 18px}.queue-heading{align-items:flex-start;gap:12px;margin-bottom:22px;flex-wrap:wrap}.queue-heading h1{font-size:26px}.queue-heading p{font-size:11px}.eyebrow{font-size:8px}.primary-action{font-size:12px;padding:10px 13px}.queue-summary{grid-template-columns:repeat(2,1fr);margin-bottom:22px}.queue-stat{padding:15px}.queue-stat:nth-child(2){border-right:0}.queue-stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.queue-stat strong{font-size:25px;margin:9px 0 3px}.queue-stat small{font-size:9px}.queue-controls{padding:15px 12px;flex-wrap:wrap;gap:10px}.always-search{width:100%;max-width:none}.queue-controls>.actions{width:100%;justify-content:space-between}.queue-tabs .tabs{flex-basis:auto}.queue-panel .table-wrap{overflow:visible}.queue-panel table thead{display:none}.queue-panel tbody tr{display:grid;grid-template-columns:1fr 1fr;padding:16px;border-bottom:1px solid var(--line);gap:12px}.queue-panel td{display:block;border:0;height:auto;padding:0;font-size:11px}.queue-panel td:first-child{grid-column:1/-1}.queue-panel .patient-name{font-size:12px;max-width:none}.queue-panel .avatar{display:flex}.queue-panel td:nth-child(2):before,.queue-panel td:nth-child(4):before{content:attr(data-label);display:block;font-size:9px;color:#9aa49c;margin-bottom:4px}.queue-panel td:nth-child(3){grid-column:2;grid-row:2}.queue-panel td:nth-child(5){grid-column:1;grid-row:4}.queue-panel td:last-child{grid-column:2;grid-row:4;align-self:center}.queue-panel .sub{font-size:10px}.queue-footer{padding:0 12px}.queue-footnote{flex-wrap:wrap;line-height:1.6}.queue-footnote span{margin-left:0;width:100%;padding-left:19px}.prototype{margin:0 18px 15px}.sidebar-layout .side{width:100%;padding:12px;display:flex}.content,.small-side+.content{padding:22px 18px}.metrics.two{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.detail-layout{display:block}.profile-menu{left:16px;bottom:20px}.settings-page{padding:24px 18px}.queue-panel .patient{text-align:left;justify-content:flex-start}.queue-panel td .cell-content{text-align:left}.queue-panel td:last-child .cell-content{text-align:right}.month-stats{gap:14px}}
/* Readable contrast and comfortable text sizes for a busy front desk. */
.rail-link{font-size:13px;color:#526557}.rail-label{color:#647769}.workspace-location,.workspace-preview{color:#637669}.queue-heading p{font-size:13px;color:#637669}.eyebrow{color:#687c6b}.queue-stat>span{font-size:12px;color:#526b58}.queue-stat small{font-size:11px;color:#6b7e70}.queue-panel td{font-size:13px}.queue-panel .patient-name{font-size:13px}.queue-panel .sub{font-size:11px;color:#6b7d70}.queue-panel th{font-size:10px;color:#617667}.queue-tabs .tab{font-size:12px;color:#697d6d}.always-search input{font-size:13px}.always-search input::placeholder{color:#6e8073}.queue-panel .status{font-size:11px}.queue-panel .status.completed{color:#63776a}.queue-panel td:last-child button{font-size:12px;min-height:36px}.queue-footer,.queue-footnote{font-size:11px;color:#6e8073}.queue-footer .pager select{font-size:12px}.view-button{color:#526e5a}.clinic-account small,.clinic-brand small{color:#6b7e70}.queue-panel td:last-child .iconbtn{padding:6px}.queue-panel .status.waiting{color:#846923}.queue-panel .status.dispensary{color:#427044}@media(max-width:1100px){.queue-panel td,.queue-panel .patient-name{font-size:12px}.queue-panel td:last-child button{font-size:11px}.queue-tabs .tab{font-size:11px}}@media(max-width:760px){.queue-panel td,.queue-panel .patient-name{font-size:13px}.queue-panel .sub{font-size:12px}.queue-panel td:last-child button{font-size:12px;min-height:40px}.queue-panel td:nth-child(2):before,.queue-panel td:nth-child(4):before{color:#657b6b;font-size:11px}}

.clinic-brand>span:last-child{min-width:0;font-size:15px;letter-spacing:-.4px}.clinic-brand{gap:8px}.clinic-mark{flex-shrink:0;width:30px;height:30px}.mobile-brand{font-size:14px}@media(max-width:1100px) and (min-width:761px){.clinic-brand>span:last-child{font-size:13px}}
.patient-whatsapp{display:inline-flex;align-items:center;justify-content:center;color:#268b4d;background:transparent;border:0;border-radius:7px;width:34px;height:36px;padding:7px!important;vertical-align:middle;margin:0 3px;min-height:36px!important}.patient-whatsapp:hover{color:#176c37;background:#edf8ee}.patient-whatsapp .icon{width:19px!important;height:19px!important}#whatsapp-error{font-size:12px;color:#a34242}@media(max-width:760px){.patient-whatsapp{width:40px;height:40px}}
