:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#172a47;background:#f4f8fd;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}.top{height:76px;background:white;display:flex;align-items:center;justify-content:space-between;padding:0 36px;box-shadow:0 2px 18px #173b6310;position:sticky;top:0;z-index:3}.brand{display:flex;gap:12px;align-items:center}.shield{height:46px;width:43px;display:grid;place-items:center;background:linear-gradient(135deg,#19ab73 45%,#1665ca 46%);clip-path:polygon(50% 0,94% 14%,90% 68%,50% 100%,10% 68%,6% 14%);color:white;font-size:25px;font-weight:900}.brandname{font-size:25px;font-weight:850;letter-spacing:-1px}.brandname .green{color:#139b6d}.brandname .blue{color:#1167c9}.sub{font-size:11px;letter-spacing:1.3px;color:#63748c;font-weight:700}.userline{display:flex;gap:12px;align-items:center}.pill{background:#edf5ff;color:#1a62b7;padding:9px 14px;border-radius:99px;font-weight:750;font-size:12px}.wrap{max-width:1480px;margin:auto;padding:30px 32px 60px}.heading{display:flex;align-items:flex-end;justify-content:space-between;margin:0 0 22px;gap:12px}.heading h1{font-size:28px;letter-spacing:-.8px;margin:0 0 5px}.muted{color:#8291a5;font-size:13px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:0 0 22px}.metric,.panel{background:white;border:1px solid #e4edf8;border-radius:17px;box-shadow:0 8px 25px #173b6308}.metric{padding:20px}.metric .num{font-size:29px;font-weight:850;color:#115db9;margin:7px 0 0}.smalllabel{font-size:12px;color:#72839a;font-weight:700}.workspace{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(350px,1fr);gap:20px;align-items:start}.panel{padding:22px}.panel h2{font-size:18px;margin:0 0 5px;letter-spacing:-.4px}.panelhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:14px}.field label{font-size:12px;color:#526982;font-weight:750}.field input,.field select,.search{border:1px solid #d9e5f2;background:#fff;border-radius:9px;padding:11px 12px;width:100%;outline:none;color:#20344f;min-width:0}.field input:focus,.field select:focus,.search:focus{border-color:#2377d4;box-shadow:0 0 0 3px #2377d41c}.fields2{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.fields3{display:grid;grid-template-columns:repeat(3,1fr);gap:0 12px}.btn{border:1px solid transparent;padding:10px 15px;border-radius:9px;background:#166bcb;color:#fff;font-weight:750;font-size:13px;white-space:nowrap}.btn.secondary{background:#ecf4ff;color:#1764bc}.btn.outline{background:white;color:#526d89;border:1px solid #dce7f2}.btn.red{background:#fff0f0;color:#bf3c40}.btn.green{background:#128b64}.btn.tiny{font-size:11px;padding:7px 9px}.btn:hover:not(:disabled){filter:brightness(.96)}.actions{display:flex;flex-wrap:wrap;gap:8px}.filterbar{display:flex;gap:9px;flex-wrap:wrap;margin:10px 0 17px}.filterbar>*{flex:1;min-width:120px}.filterbar .search{flex:2}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;background:#f5f9ff;color:#718299;text-transform:uppercase;letter-spacing:.3px;font-size:10px;padding:13px 10px;white-space:nowrap}td{padding:13px 10px;border-bottom:1px solid #edf2f8;vertical-align:middle}td strong{font-size:12px}.status{font-size:11px;font-weight:750;background:#eaf3ff;color:#1769ca;padding:5px 9px;border-radius:30px;display:inline-block}.status.Completed{background:#e3f8ef;color:#138d60}.status.Cancelled,.status.Skipped{background:#fff0ee;color:#c45b48}.status.Called{background:#fff4d9;color:#a87511}.status.Checked-In{background:#e6f8ef;color:#188853}.slots{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;max-height:188px;overflow:auto}.slot{border:1px solid #d7e7f8;color:#2267b2;background:#f6faff;border-radius:8px;padding:10px 3px;font-size:12px;font-weight:750}.slot.selected{background:#176bc7;color:white;border-color:#176bc7}.slot:disabled{color:#9aa9bb;background:#f3f5f8;text-decoration:line-through}.hint{font-size:11px;color:#8797a9;margin:5px 0 14px}.tabs{display:flex;gap:8px;margin-bottom:18px}.tab{padding:10px 15px;background:#eff5fd;border:0;border-radius:9px;color:#45647f;font-weight:750}.tab.active{color:white;background:#126cc8}.banner{background:#eaf9f2;border:1px solid #cbe9d9;border-radius:12px;padding:13px;margin:14px 0;color:#137451;font-size:13px}.error{background:#fff0ef;border:1px solid #f7d4d0;color:#bd3c32;padding:12px 15px;border-radius:10px;margin:15px 0;font-size:13px}.loginpage{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.loginart{background:linear-gradient(150deg,#0b458e,#126ec5 60%,#13a777);color:#fff;padding:10%;display:flex;flex-direction:column;justify-content:center}.loginart h1{font-size:clamp(32px,4vw,58px);line-height:1.12;letter-spacing:-2px;margin-bottom:12px}.loginart p{line-height:1.8;opacity:.85}.loginform{max-width:440px;width:calc(100% - 40px);margin:auto}.loginform h2{font-size:30px;margin:38px 0 6px}.link{color:#166cca;cursor:pointer;text-decoration:underline}.empty{padding:40px 12px;text-align:center;color:#92a2b4;font-size:13px}.doctorcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:14px}.doctorcard{border:1px solid #dfebf7;border-radius:12px;padding:18px}.right{display:flex;justify-content:flex-end}.hide{display:none!important}.receipt{display:none}.publicpage{max-width:560px;margin:70px auto;padding:25px}.progress{display:flex;gap:12px;align-items:center;background:#eaf4ff;border-radius:12px;padding:18px;margin:14px 0}.progress b{font-size:35px;color:#145fb9}.footer{text-align:center;margin:30px 0;color:#9daabe;font-size:12px}@media(max-width:960px){.workspace{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,1fr)}.loginpage{grid-template-columns:1fr}.loginart{display:none}.loginform{padding-top:60px}.top{padding:0 17px}.wrap{padding:20px 15px}.brandname{font-size:21px}}@media(max-width:530px){.fields2,.fields3{grid-template-columns:1fr}.metrics{gap:8px}.metric{padding:13px}.metric .num{font-size:23px}.slots{grid-template-columns:repeat(3,1fr)}.panel{padding:16px}.pill{display:none}.heading h1{font-size:23px}}@media print{@page{size:A5 portrait;margin:6mm}body{background:white}.top,.wrap,.footer,.publicpage,.loginpage{display:none!important}.receipt{display:block!important;width:100%;font-family:Arial,sans-serif;color:black}.rhead{text-align:center;border-bottom:2px solid #111;padding:5px}.rhead h1{margin:2px 0;font-size:19px}.rhead p{font-size:10px;margin:3px}.rtoken{text-align:center;font-size:39px;font-weight:900;padding:10px}.rgrid{display:grid;grid-template-columns:1fr 1fr;gap:9px;font-size:11px;margin:14px 0}.rqr{text-align:center;border-top:1px dashed #555;padding:12px}.rqr img{height:112px;width:112px}.rfoot{text-align:center;font-size:10px;margin-top:12px}}

/* Locked Reception Dashboard UI — v1.1 */
:root{color:#0d2450;background:#f2f7fe}.top{height:74px;padding:0 2.2%;gap:16px;border-bottom:1px solid #e2eafa;box-shadow:0 3px 18px #16488d0a}.brand-image{height:53px;width:auto;max-width:360px;object-fit:contain}.brand{flex-shrink:0}.header-role{font-weight:800;color:#0757b8;background:#e8f2ff;border-radius:26px;padding:12px 17px;font-size:13px}.header-spacer{flex:1}.header-date,.header-user{border:1px solid #d9e5f6;background:#fff;padding:10px 12px;border-radius:12px;font-size:12px;font-weight:750;color:#1a365f;white-space:nowrap}.wrap{max-width:none;padding:20px 2% 30px}.reception-screen{display:flex;flex-direction:column;gap:16px}.reception-intro{display:flex;justify-content:space-between;align-items:center;gap:14px}.reception-intro h1{margin:0;font-size:29px;letter-spacing:-.9px;border-left:5px solid #1ec978;padding-left:15px}.reception-intro p{margin:5px 0 0 20px;color:#677d9e;font-size:13px}.intro-note{padding:13px 17px;border-radius:12px;background:#edfdf6;border:1px solid #c9efd9;color:#23496a;font-size:12px}.intro-note span{margin:0 8px;color:#bbd6d3}.reception-metrics{gap:14px;margin:0}.reception-metrics .metric{display:flex;align-items:center;gap:17px;min-height:93px;padding:16px 18px;background:linear-gradient(155deg,#fff 60%,#e9f4ff);border-radius:16px}.reception-metrics .metric .metric-symbol{border-radius:15px;background:#e5f1ff;color:#0766cb;width:56px;height:56px;display:grid;place-items:center;font-size:29px;font-weight:800}.reception-metrics .metric.m-1{background:linear-gradient(155deg,#fff 60%,#e4faef)}.reception-metrics .metric.m-1 .num{color:#0a9a51}.reception-metrics .metric.m-1 .metric-symbol{background:#e3f8eb;color:#0caa5c}.reception-metrics .metric.m-2{background:linear-gradient(155deg,#fff 60%,#fff5e6)}.reception-metrics .metric.m-2 .num{color:#c68600}.reception-metrics .metric.m-2 .metric-symbol{background:#fff4dd;color:#cd8500}.reception-metrics .metric.m-3 .num{color:#0d4c9b}.reception-metrics .smalllabel{font-size:13px;color:#1c3158}.reception-metrics .num{font-size:32px;margin-top:2px}.quick-actions{display:flex;gap:10px;flex-wrap:wrap}.quick-actions .btn{padding:12px 22px;font-size:13px;box-shadow:0 3px 8px #1b5fac16}.quick-actions .btn:not(.outline),.primary-print{background:linear-gradient(115deg,#0994e4,#0853bf);border-color:#0562c7}.quick-actions .btn.outline{color:#14447d}.reception-workspace{grid-template-columns:minmax(0,1.52fr) minmax(385px,1fr);gap:15px}.reception-workspace .panel{padding:20px;border-radius:17px;min-width:0}.reception-workspace .panel h2{font-size:18px;margin:0;font-weight:850}.reception-workspace .panelhead{margin-bottom:15px}.total-chip{font-size:12px;font-weight:800;color:#1064c5;background:#e7f1ff;padding:9px 13px;border-radius:10px;white-space:nowrap}.reception-workspace .filterbar{margin:0 0 12px;flex-wrap:nowrap}.reception-workspace .field{margin-bottom:10px;gap:5px}.reception-workspace .field label{color:#193357;font-weight:800;font-size:11px}.reception-workspace .field input,.reception-workspace .field select,.reception-workspace .search{padding:9px 11px;border-radius:9px;font-size:13px;min-height:39px}.reception-workspace .tabs{margin-bottom:12px}.reception-workspace .tab{min-width:132px;padding:10px 13px}.reception-workspace .slots{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;max-height:115px;margin-top:9px}.reception-workspace .slot{font-size:11px;padding:8px 1px;white-space:nowrap}.reception-workspace .slot.selected{background:#e3f8e9;color:#077b39;border:1px solid #16a45b}.reception-workspace .hint{margin:8px 0 11px}.reception-workspace .slotlabel{font-weight:800;font-size:12px;color:#19345a}.booking-buttons{display:grid;grid-template-columns:1.7fr 1fr;gap:9px}.booking-buttons .btn{font-size:12px;padding:11px 8px}.appointment-panel th{background:#eaf3ff;color:#17365d;text-transform:none;letter-spacing:0;font-size:11px;padding:12px 7px}.appointment-panel td{padding:11px 7px;font-size:12px}.appointment-panel td .muted{font-size:10px}.appointment-panel .btn.tiny{font-size:10px;padding:6px}.appointment-panel .status{font-size:10px}.appointment-panel .tablewrap{min-height:240px}.reception-workspace .empty{padding:55px 10px}.live-queue-bar{display:flex;align-items:stretch;gap:9px;background:#fff;border:1px solid #e0eaf6;box-shadow:0 7px 24px #163c7310;border-radius:17px;padding:11px;min-height:86px}.queue-heading{min-width:180px;max-width:210px;display:flex;align-items:center;font-size:16px;line-height:1.25;padding:10px;border-right:1px solid #dde5f1}.queue-tile{flex:1.05;min-width:0;display:flex;justify-content:center;flex-direction:column;padding:9px 13px;border:1px solid #dce8fa;border-radius:13px;background:#f7faff}.queue-tile>span{font-size:12px;font-weight:800;color:#154583}.queue-tile b{display:inline-block;font-size:23px;color:#1262c5;margin-top:2px}.queue-tile small{font-size:11px;color:#36537d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.queue-tile.serving{background:linear-gradient(110deg,#0898e7,#0654c4);border-color:#0a70d6}.queue-tile.serving>span,.queue-tile.serving b,.queue-tile.serving small{color:white}.queue-count{flex:.52;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;min-width:62px;border-left:1px solid #e0e9f6}.queue-count b{font-size:24px;color:#1659af}.queue-count span{font-size:10px;color:#52647e}.queue-count.green b{color:#0c9d52}.queue-count.orange b{color:#cf8905}.reception-screen .booking-panel #bookresult .banner{padding:10px}.loginform .brand-image{height:60px}@media(max-width:1350px){.intro-note{max-width:52%}.reception-workspace .slots{grid-template-columns:repeat(3,1fr)}.queue-heading{min-width:145px;font-size:13px}.queue-tile{padding:8px}.queue-count{min-width:48px}.queue-count b{font-size:20px}}@media(max-width:1080px){.intro-note{display:none}.reception-workspace{grid-template-columns:1fr}.live-queue-bar{flex-wrap:wrap}.queue-tile{min-width:160px}.header-date,.header-user{display:none}}@media(max-width:650px){.brand-image{height:35px;max-width:240px}.header-role{display:none}.top{height:62px;gap:6px}.top .btn{font-size:10px;padding:7px}.reception-intro h1{font-size:23px}.reception-metrics .metric{padding:9px;min-height:72px;gap:8px}.reception-metrics .metric-symbol{display:none!important}.reception-metrics .num{font-size:24px}.reception-metrics .smalllabel{font-size:10px}.reception-workspace .filterbar{flex-wrap:wrap}.booking-buttons{grid-template-columns:1fr}.queue-heading{max-width:none;min-width:100%;border:none}.queue-count{min-width:20%}}@media print{.top,.wrap{display:none!important}}


/* Dr.View OPD Reception — compact desktop refinement v1.2
   Original locked branding and palette retained. Other panels unaffected. */
@media (min-width:1081px) {
  .top {height:66px; min-height:66px;}
  .brand-image {height:49px; max-width:390px;}
  .wrap:has(.reception-screen) {padding:12px 1.8% 18px;}
  .reception-screen {gap:10px;}
  .reception-intro h1 {font-size:26px; line-height:1.15;}
  .reception-intro p {font-size:12px; margin-top:3px;}
  .intro-note {padding:10px 13px;}
  .reception-metrics {gap:12px;}
  .reception-metrics .metric {min-height:78px; padding:10px 14px; gap:12px;}
  .reception-metrics .metric .metric-symbol {width:45px; height:45px; font-size:24px; border-radius:12px;}
  .reception-metrics .smalllabel {font-size:12px;}
  .reception-metrics .num {font-size:28px; line-height:1.05;}
  .quick-actions {gap:8px;}
  .quick-actions .btn {padding:9px 16px;}
  .reception-workspace {gap:12px;}
  .reception-workspace .panel {padding:15px 16px;}
  .reception-workspace .panelhead {margin-bottom:11px;}
  .reception-workspace .panel h2 {font-size:17px;}
  .reception-workspace .filterbar {margin-bottom:8px;}
  .reception-workspace .field {margin-bottom:7px; gap:4px;}
  .reception-workspace .field input,
  .reception-workspace .field select,
  .reception-workspace .search {min-height:34px; padding:7px 10px;}
  .reception-workspace .tabs {margin-bottom:8px;}
  .reception-workspace .tab {padding:8px 12px;}
  .reception-workspace .slots {max-height:85px; margin-top:6px;}
  .reception-workspace .slot {padding:7px 2px;}
  .reception-workspace .hint {margin:5px 0 7px;}
  .booking-buttons .btn {padding:9px 7px;}
  .appointment-panel .tablewrap {min-height:0;}
  .appointment-panel .empty {padding:34px 10px;}
  .appointment-panel th {padding:9px 7px;}
  .appointment-panel td {padding:8px 7px;}
  .live-queue-bar {min-height:75px; padding:8px; gap:7px;}
  .queue-heading {padding:7px;}
  .queue-tile {padding:7px 10px;}
  .queue-tile b {font-size:21px;}
  .queue-count b {font-size:21px;}
}
@media (min-width:1081px) and (max-height:850px) {
  .wrap:has(.reception-screen) {padding-top:9px;}
  .reception-screen {gap:8px;}
  .reception-metrics .metric {min-height:70px; padding:8px 12px;}
  .quick-actions .btn {padding:8px 14px;}
  .reception-workspace .panel {padding:12px 14px;}
  .reception-workspace .field {margin-bottom:5px;}
}

/* ===== DR.VIEW — CLEAR KPI ICONS, FONTS & LIVE QUEUE v1.3 ===== */
/* Scoped to the approved reception screen; no layout/print changes. */

.reception-metrics .metric {
  border-color: #cfdef0;
  box-shadow: 0 4px 13px rgba(14, 59, 111, 0.07);
}
.reception-metrics .metric .metric-symbol {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 1px solid #c9def9;
  border-radius: 13px;
  font-size: 0 !important;
}
.reception-metrics .metric .metric-symbol::after {
  display: block;
  font-family: "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  font-size: 25px;
  line-height: 1;
}
.reception-metrics .metric.m-0 .metric-symbol {
  background: #e4efff;
  border-color: #c0d9fc;
}
.reception-metrics .metric.m-0 .metric-symbol::after { content: "📅"; }
.reception-metrics .metric.m-0 .num { color: #1157b8; }
.reception-metrics .metric.m-1 .metric-symbol {
  background: #ddf7e8;
  border-color: #b3e9c9;
}
.reception-metrics .metric.m-1 .metric-symbol::after { content: "👥"; }
.reception-metrics .metric.m-1 .num { color: #087c44; }
.reception-metrics .metric.m-2 .metric-symbol {
  background: #fff0d5;
  border-color: #f3d5a0;
}
.reception-metrics .metric.m-2 .metric-symbol::after { content: "🩺"; }
.reception-metrics .metric.m-2 .num { color: #a66300; }
.reception-metrics .metric.m-3 .metric-symbol {
  background: #e3eeff;
  border-color: #c3d9fa;
}
.reception-metrics .metric.m-3 .metric-symbol::after {
  content: "✓";
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 29px;
  font-weight: 900;
  color: #1554ad;
}
.reception-metrics .metric .smalllabel {
  color: #163456;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.3;
}
.reception-metrics .metric .num {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

/* Bottom live queue: stronger headings and numbers. */
.reception-screen .live-queue-bar {
  border-color: #cfdff2;
  box-shadow: 0 4px 14px rgba(14, 59, 111, 0.07);
}
.reception-screen .queue-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #102d54;
  font-size: 0; /* hides the old decorative symbol; keeps accessible DOM text */
  font-weight: 850;
  line-height: 1.3;
}
.reception-screen .queue-heading::before {
  content: "▥";
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  border: 1px solid #c6dcfa;
  border-radius: 10px;
  background: #e5f0ff;
  color: #185db3;
  font-size: 22px;
}
.reception-screen .queue-heading::after {
  content: "Today's Queue Summary";
  color: #102d54;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.3;
}
.reception-screen .queue-tile {
  background: #f1f7ff;
  border-color: #cbdcf4;
}
.reception-screen .queue-tile > span {
  color: #163b75;
  font-size: 12px;
  font-weight: 850;
}
.reception-screen .queue-tile b {
  color: #1057b6;
  font-size: 24px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.reception-screen .queue-tile small {
  color: #355577;
  font-size: 12px;
  font-weight: 650;
}
.reception-screen .queue-tile.serving {
  background: linear-gradient(110deg, #067bd9, #064dac);
  border-color: #0756b9;
}
.reception-screen .queue-tile.serving > span,
.reception-screen .queue-tile.serving b,
.reception-screen .queue-tile.serving small { color: #fff; }
.reception-screen .queue-count b {
  color: #154f9e;
  font-size: 25px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.reception-screen .queue-count.green b { color: #078146; }
.reception-screen .queue-count.orange b { color: #aa6600; }
.reception-screen .queue-count span {
  color: #34506f;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.3;
}
@media (max-width: 650px) {
  .reception-metrics .metric .metric-symbol {
    display: grid !important;
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .reception-metrics .metric .metric-symbol::after { font-size: 20px; }
  .reception-metrics .metric .smalllabel { font-size: 11px; }
  .reception-metrics .metric .num { font-size: 23px; }
  .reception-screen .queue-count span { font-size: 10px; }
}

/* APPROVED DOCTOR PANEL — appended, Reception rules retained */
.doc-icon { vertical-align:middle; flex-shrink:0; }
.doc-header {gap:14px; border-bottom:1px solid #dce7f6;}
.doc-header-role {display:inline-flex;align-items:center;gap:9px;border-radius:26px;padding:11px 20px;background:#e8f1ff;color:#114cb4;font-weight:850;font-size:15px;white-space:nowrap}
.doc-date-badge {display:inline-flex;align-items:center;gap:9px;border:1px solid #d7e5f5;border-radius:12px;padding:10px 12px;font-size:12px;color:#112c52;font-weight:800;white-space:nowrap}
.doc-profile-avatar {display:grid;place-items:center;width:39px;height:39px;border-radius:50%;background:#e4efff;color:#1565ba;border:1px solid #d2e5fb}
.doc-profile-name {display:flex;flex-direction:column;gap:2px;font-size:13px;line-height:1.25;color:#11284f;white-space:nowrap}
.doc-profile-name small {font-size:11px;color:#44628f}
.wrap:has(.doctor-screen) {max-width:none;padding:18px 1.6% 30px}
.doctor-screen {display:flex;flex-direction:column;gap:17px;color:#0b2553}
.doc-heading {display:flex;align-items:center;justify-content:space-between;gap:12px}
.doc-heading h1 {font-size:29px;line-height:1.2;margin:0;padding-left:16px;border-left:5px solid #22bc76;letter-spacing:-.6px}
.doc-heading p {font-size:14px;color:#506992;margin:5px 0 0 21px}
.doc-date-filter {display:flex;gap:9px;align-items:center;color:#47618a;font-size:12px;font-weight:700}
.doc-date-filter input {min-height:35px;max-width:155px;font-size:12px;padding:7px 9px}
.doc-metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.doc-metric {min-height:94px;border:1px solid #d8e6f6;border-radius:19px;padding:13px 16px;display:flex;align-items:center;gap:16px;background:linear-gradient(150deg,#fff 60%,#e9f5ff);box-shadow:0 5px 16px #163c6d0c}
.doc-metric-icon {width:61px;height:61px;min-width:61px;display:grid;place-items:center;border-radius:18px;background:#e2f0ff;color:#1262c9}
.doc-metric span {display:block;font-size:14px;line-height:1.3;font-weight:850;color:#142d52}
.doc-metric strong {display:block;font-size:31px;line-height:1.2;font-weight:900;color:#135ac3;font-variant-numeric:tabular-nums}
.doc-metric.green {background:linear-gradient(150deg,#fff 60%,#e1fbef)}
.doc-metric.green .doc-metric-icon {background:#ddf8e9;color:#11984b}
.doc-metric.green strong {color:#078947}
.doc-metric.amber {background:linear-gradient(150deg,#fff 60%,#fff2d9)}
.doc-metric.amber .doc-metric-icon {background:#fff0d6;color:#bf7300}
.doc-metric.amber strong {color:#b26900}
.doc-metric.navy .doc-metric-icon {background:#e3eefe;color:#1555b4}
.doc-metric.navy strong {color:#11478e}
.doc-main-grid {display:grid;grid-template-columns:minmax(0,1.16fr) minmax(0,1.33fr) minmax(220px,.56fr);gap:13px;align-items:stretch}
.doc-panel {min-width:0;background:#fff;border:1px solid #d7e4f7;border-radius:18px;padding:13px;box-shadow:0 5px 18px #15427f0a}
.doc-panel h2 {font-size:17px;margin:0;color:#0e2751;line-height:1.3;display:flex;align-items:center;gap:8px;font-weight:850}
.doc-panel-heading {display:flex;align-items:center;justify-content:space-between;gap:8px;margin:3px 3px 15px}
.doc-room {white-space:nowrap}
.doc-pill {padding:8px 12px;border-radius:10px;background:#e4efff;color:#1356b6;font-weight:850;font-size:12px;white-space:nowrap}
.doc-queue-panel {min-height:520px}
.doc-queue-table {overflow:auto;max-height:600px;scrollbar-color:#c2d8f6 transparent}
.doc-table {font-size:12px;min-width:435px}
.doc-table th {padding:10px 7px;background:#eaf2fe;color:#17345e;font-size:10px;text-transform:none;letter-spacing:0}
.doc-table td {padding:9px 7px;border-bottom:1px solid #e5eef9;vertical-align:middle;font-size:11.5px}
.doc-table tr.doc-current-row {background:#e8faef}
.doc-table td small {display:block;color:#58739b;font-size:10.5px;margin-top:3px}
.doc-token-chip {display:inline-block;background:#deebff;color:#125cc4;padding:7px 10px;border-radius:18px;font-size:12px;white-space:nowrap;font-weight:900}
.doc-status {font-size:10px;font-weight:850;border-radius:20px;padding:6px 9px;white-space:nowrap;display:inline-block;background:#e4efff;color:#1860bb}
.doc-status.Checked-In {background:#dff7e9;color:#087e40}
.doc-status.Called {background:#d7f8e7;color:#076e40}
.doc-status.Completed {background:#e5f3f9;color:#19728b}
.doc-status.Skipped {background:#fff2dc;color:#9e6900}
.doc-action-btn {border:1px solid #1b73d1;border-radius:9px;background:#fff;color:#135cba;padding:8px 9px;font-weight:800;font-size:10px;white-space:nowrap;cursor:pointer}
.doc-action-btn.primary {background:linear-gradient(110deg,#0aa76a,#07814f);border-color:#058352;color:#fff}
.doc-action-btn.soft {background:#eaf3ff;border-color:#d2e5fb;color:#1454b5}
.doc-action-btn.text {border-color:transparent;background:transparent;color:#9b6710}
.doc-action-btn:disabled {opacity:.44;cursor:not-allowed}
.doc-actions-cell {min-width:142px;white-space:nowrap}
.doc-action-hint {font-size:10px;color:#677e9b;white-space:nowrap}
.doc-consult-panel {padding:13px}
.doc-consult-banner {display:flex;align-items:center;gap:9px;background:linear-gradient(100deg,#eafbf4,#d9f8e5);color:#0c6942;border-radius:12px;padding:10px 12px;margin-bottom:9px}
.doc-consult-banner strong {color:#123553;font-size:16px;flex:1}
.doc-progress {background:#d7e9f7;color:#365979;padding:5px 11px;border-radius:14px;font-size:11px;font-weight:850}
.doc-progress.in-progress {background:#0b9152;color:white}
.doc-consult-content {min-height:450px}
.doc-consult-placeholder {min-height:445px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;text-align:center;color:#6680a2;padding:20px}
.doc-consult-placeholder svg {color:#1a65bd}
.doc-consult-placeholder h3 {margin:0;color:#19385f}
.doc-consult-placeholder p {max-width:390px;font-size:13px;line-height:1.65}
.doc-patient-head {display:grid;grid-template-columns:1fr 1.2fr;gap:10px;margin-bottom:12px}
.doc-patient-name,.doc-patient-info {background:#f2f7ff;border-radius:12px;padding:10px;min-width:0}
.doc-patient-name {display:flex;align-items:center;gap:10px}
.doc-patient-avatar {width:44px;height:44px;min-width:44px;display:grid;place-items:center;border-radius:50%;background:#deecff;color:#1760b9}
.doc-patient-name strong {font-size:16px;display:block;color:#0d2a55}
.doc-patient-name small {color:#557398;font-size:11px}
.doc-patient-info {display:flex;align-items:center;justify-content:space-between;gap:5px}
.doc-patient-info>div {min-width:0;text-align:center}
.doc-patient-info>div:not(:last-child) {border-right:1px solid #cadbf2;padding-right:8px}
.doc-patient-info span {display:block;font-size:10px;color:#617d9e;margin-bottom:6px}
.doc-patient-info b {font-size:11px;white-space:nowrap}
.doc-patient-info .doc-token-chip {font-size:12px;padding:5px 8px}
.doc-tabs {display:flex;gap:6px;margin:9px 0 11px;flex-wrap:wrap}
.doc-tabs button {border:1px solid transparent;background:#eaf3ff;color:#164678;padding:8px 9px;border-radius:9px;font-weight:800;font-size:10px;display:flex;align-items:center;gap:5px;cursor:pointer}
.doc-tabs button.active {background:linear-gradient(120deg,#0996e2,#0752be);color:#fff}
.doc-tabs button:focus-visible,.doc-side-actions button:focus-visible,.doc-action-btn:focus-visible {outline:2px solid #1979d9;outline-offset:2px}
.doc-form-grid {display:grid;grid-template-columns:1fr 1fr;gap:9px}
.doc-input-field {display:flex;flex-direction:column;gap:5px;margin-bottom:9px;min-width:0}
.doc-input-field span {font-size:11px;font-weight:850;color:#193553}
.doc-input-field textarea,.doc-input-field input {width:100%;border:1px solid #cbdcf1;border-radius:9px;padding:10px;font:inherit;font-size:12px;line-height:1.45;resize:vertical;color:#233b59;background:#fff;outline:none}
.doc-input-field textarea:focus,.doc-input-field input:focus {border-color:#1671db;box-shadow:0 0 0 3px #1c77db17}
.doc-input-field textarea:disabled,.doc-input-field input:disabled {background:#f5f8fc;cursor:default;color:#51647d}
.doc-form-note {font-size:12px;color:#5e7899;line-height:1.5;margin:8px 0}
.doc-consult-actions {display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.doc-consult-actions button {display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:10px;border:1px solid transparent;padding:10px 11px;cursor:pointer;font-size:11px;font-weight:850;flex:1;white-space:nowrap}
.doc-save {background:linear-gradient(110deg,#06a96b,#087a49);color:#fff}
.doc-prescription {background:#e7f1ff;color:#1656a9}
.doc-complete {background:#fff;border-color:#3387e8!important;color:#1554a4}
.doc-read-only {padding:10px;border-radius:8px;background:#f1f5fa;color:#496484;font-size:12px}
.doc-side {display:flex;flex-direction:column;gap:11px;min-width:0}
.doc-side .doc-panel {padding:13px}
.doc-side h2 {margin-bottom:13px}
.doc-next-card {min-height:132px;background:#e7f2ff;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;padding:10px;text-align:center;color:#1b426f}
.doc-next-card strong {font-size:29px;font-weight:900;line-height:1.2;color:#115ac0}
.doc-next-card b {font-size:14px;color:#0e2f5c}
.doc-next-card span {font-size:11px;display:flex;align-items:center;gap:5px}
.doc-next-card small {color:#466a91;font-size:10px}
.doc-side-actions {display:flex;flex-direction:column;gap:8px}
.doc-side-actions button {width:100%;border:1px solid #d4e5f9;border-radius:9px;background:#eaf3ff;color:#174170;padding:11px 7px;display:flex;align-items:center;justify-content:flex-start;gap:10px;text-align:left;font-weight:800;font-size:11px;cursor:pointer}
.doc-side-actions button:hover {background:#dcecff}
.doc-history-card {padding:10px;border:1px solid #e4edf9;background:#f8fbff;border-radius:10px;margin-bottom:8px}
.doc-history-card b {font-size:12px;color:#174875}
.doc-history-card p {font-size:11px;line-height:1.5;color:#435e7d;margin:5px 0}
.doc-empty {padding:34px 12px;color:#758ba9;font-size:13px;text-align:center}
@media (max-width:1250px) {.doc-main-grid {grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}.doc-side {grid-column:1/-1;flex-direction:row}.doc-side>.doc-panel {flex:1}.doc-side-actions {display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.doc-metric {gap:9px;padding:10px}.doc-metric-icon {width:48px;height:48px;min-width:48px}.doc-metric span {font-size:12px}.doc-metric strong {font-size:27px}.doc-profile-name {display:none}}
@media (max-width:830px) {.doc-main-grid {grid-template-columns:1fr}.doc-metrics {grid-template-columns:repeat(2,minmax(0,1fr))}.doc-side {flex-direction:column}.doc-side-actions {display:flex}.doc-heading h1 {font-size:23px}.doc-date-filter {display:none}.doc-patient-head {grid-template-columns:1fr}.doc-header-role,.doc-date-badge {display:none}}
@media (max-width:520px) {.wrap:has(.doctor-screen) {padding:14px 10px}.doc-metrics {gap:8px}.doc-metric {min-height:68px;gap:8px}.doc-metric-icon {width:38px;height:38px;min-width:38px}.doc-metric-icon svg {width:23px}.doc-metric span {font-size:10px}.doc-metric strong {font-size:23px}.doc-form-grid {grid-template-columns:1fr}.doc-profile-avatar {display:none}.doc-header .brand-image {max-width:210px;height:34px}}

/* ================================================================
   Dr.View Doctor Panel — Refined, lighter typography (14 Nov 2026)
   TYPOGRAPHY ONLY. No colors, layout, queue, Reception or print edits.
   Paste at the VERY END of existing static/style.css.
   ================================================================ */

/* Windows-native, crisp modern font; no web connection required. */
.doc-header,
.doctor-screen {
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

/* Header: clear but not heavy */
.doc-header-role { font-weight: 600; }
.doc-profile-name { font-weight: 400; }
.doc-profile-name b { font-weight: 600; }
.doc-profile-name small { font-weight: 400; }
.doc-header .btn { font-weight: 500; }
.doc-date-badge { font-weight: 500; }

/* Dashboard titles & figures */
.doc-heading h1 { font-weight: 650; letter-spacing: -0.35px; }
.doc-heading p { font-weight: 400; }
.doc-panel h2 { font-weight: 600; letter-spacing: -0.15px; }
.doc-room { font-weight: 550; }
.doc-date-filter { font-weight: 500; }
.doc-pill { font-weight: 600; }
.doc-metric span { font-weight: 550; }
.doc-metric strong { font-weight: 700; }

/* Queue: light readable rows, medium emphasis only where needed */
.doc-table th { font-weight: 600; }
.doc-table td { font-weight: 400; }
.doc-table td b,
.doc-table td strong { font-weight: 600; }
.doc-table td small { font-weight: 400; }
.doc-token-chip { font-weight: 650; }
.doc-status { font-weight: 600; }
.doc-action-btn { font-weight: 600; }
.doc-action-hint { font-weight: 400; }

/* Consultation labels, fields, pills and tabs */
.doc-consult-banner strong { font-weight: 600; }
.doc-progress { font-weight: 600; }
.doc-patient-name strong { font-weight: 600; }
.doc-patient-name small { font-weight: 400; }
.doc-patient-info span { font-weight: 400; }
.doc-patient-info b { font-weight: 600; }
.doc-tabs button { font-weight: 550; }
.doc-input-field span { font-weight: 550; }
.doc-input-field textarea,
.doc-input-field input { font-weight: 400; }
.doc-consult-actions button { font-weight: 600; }
.doc-read-only { font-weight: 400; }

/* Right-hand queue and quick actions */
.doc-next-card strong { font-weight: 700; }
.doc-next-card b { font-weight: 600; }
.doc-next-card span,
.doc-next-card small { font-weight: 400; }
.doc-side-actions button { font-weight: 550; }
.doc-history-card b { font-weight: 600; }
.doc-history-card p { font-weight: 400; }


/* Dr.View Professional Rx Studio v1.0. Scope: Doctor Prescription tab only. */
.doctor-screen .rx-studio {font-family:"Segoe UI Variable Text","Segoe UI",Arial,sans-serif;color:#173658;font-weight:400}
.rx-studio-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-radius:11px;background:#f0f7ff;border:1px solid #dae9fc}
.rx-studio-brand{display:flex;align-items:center;gap:11px;min-width:0}
.rx-big{display:grid;place-items:center;width:44px;min-width:44px;height:44px;border-radius:11px;background:#e0f3e9;color:#0b864f;font-family:Georgia,serif;font-size:25px;font-weight:600;font-style:italic}
.rx-studio-brand strong{font-size:15px;font-weight:650;display:block;color:#183956}
.rx-studio-brand small{font-size:11px;font-weight:400;color:#617997;display:block;margin-top:3px}
.rx-save-state{background:#dff5e8;color:#116d45;border-radius:16px;padding:6px 9px;font-size:10px;font-weight:550;white-space:nowrap}
.rx-save-state.pending{background:#fff2d8;color:#95601c}
.rx-explainer{font-size:11px;line-height:1.55;color:#607b99;margin:9px 2px 13px}
.rx-items{display:flex;flex-direction:column;gap:10px}
.rx-medicine{background:#fff;border:1px solid #d6e4f5;border-radius:12px;padding:11px;box-shadow:0 3px 13px #1b5b9708}
.rx-item-head{display:flex;gap:8px;align-items:center;margin-bottom:10px}
.rx-number{font-size:11px;font-weight:650;border-radius:50%;display:grid;place-items:center;background:#e7f2ff;color:#155aba;width:28px;height:28px}
.rx-item-head strong{font-size:12px;font-weight:600;flex:1}
.rx-remove{border:0;background:#fff1ee;color:#b34439;font-weight:550;padding:6px 10px;border-radius:7px;cursor:pointer;font-size:10px}
.rx-fields{display:grid;gap:8px;margin:7px 0}
.rx-name-row,.rx-last-row{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
.rx-detail-row{grid-template-columns:repeat(2,minmax(0,1fr))}
.rx-field{display:flex;flex-direction:column;gap:5px;min-width:0;margin:0}
.rx-field span{font-size:10.5px;font-weight:550;color:#425f7e}
.rx-field span small{font-size:10px;font-weight:400;color:#8294a8}
.rx-field input,.rx-field textarea{width:100%;border:1px solid #cedff1;border-radius:8px;outline:none;font:400 11.5px/1.45 "Segoe UI",Arial,sans-serif;padding:9px 10px;color:#26415c;background:#fff}
.rx-field textarea{resize:vertical;min-height:66px}
.rx-field input:focus,.rx-field textarea:focus{border-color:#2786db;box-shadow:0 0 0 3px #187bdc12}
.rx-field input::placeholder,.rx-field textarea::placeholder{color:#92a5b9}
.rx-add{display:flex;align-items:center;justify-content:center;width:100%;background:#f3f9ff;border:1px dashed #64a4e5;border-radius:9px;color:#1661b6;font-size:12px;font-weight:600;padding:12px;cursor:pointer;margin:12px 0}
.rx-add:hover{background:#e8f3ff}
.rx-empty{background:#f9fbfe;border-radius:8px;border:1px dashed #d3e1f0;text-align:center;padding:24px 12px;font-size:12px;color:#6b83a1}
.rx-extras{display:grid;grid-template-columns:1fr;gap:10px;margin-top:15px}
.rx-footer-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:13px}
.rx-footer-actions button{border:1px solid transparent;cursor:pointer;display:flex;justify-content:center;align-items:center;gap:7px;border-radius:9px;font-size:11px;font-weight:600;padding:12px 7px}
.rx-save-button{background:#098759;color:#fff}
.rx-print-button{background:#e7f2ff;color:#155eba;border-color:#bfdaf9!important}
.rx-footer-actions button:disabled{opacity:.6;cursor:wait}
.rx-footnote{font-size:10px;line-height:1.55;color:#7b8ea5;margin-top:10px}
@media(max-width:650px){.rx-footer-actions,.rx-name-row,.rx-last-row{grid-template-columns:1fr}.rx-detail-row{grid-template-columns:repeat(2,minmax(0,1fr))}.rx-studio-head{flex-wrap:wrap}}


/* Dr.View original pre-printed prescription paper: address and vitals editor.
   Scoped to RX studio. Locked Reception and Doctor typography unchanged. */
.rx-paper-section{margin:12px 0 17px;padding:13px 14px;border:1px solid #d6e5f5;border-radius:12px;background:#f7faff}
.rx-paper-section-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:5px;color:#163966;font-size:13px;font-weight:600;margin-bottom:11px}
.rx-paper-section-head small{font-weight:400;color:#637b99;font-size:11px}
.rx-paper-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.rx-paper-field:first-child{grid-column:span 5}
.rx-paper-grid .rx-field{margin:0;min-width:0}
.rx-paper-grid .rx-field span{font-size:11px;font-weight:500;color:#475e7c}
.rx-paper-grid .rx-field input{min-width:0;width:100%}
@media(max-width:700px){.rx-paper-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rx-paper-field:first-child{grid-column:span 2}}


/* Investigation Studio v1 — isolated to Doctor Investigation tab only. */
.doctor-screen .lab-studio{font-family:"Segoe UI Variable Text","Segoe UI",Arial,sans-serif;font-weight:400;color:#19395b}
.lab-studio-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 13px;background:linear-gradient(100deg,#edf8ff,#effaf4);border:1px solid #d6e8f5;border-radius:12px}
.lab-studio-head strong{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600}
.lab-studio-head small{display:block;margin-top:5px;font-size:11px;color:#66809a;font-weight:400}
.lab-save-state{white-space:nowrap;background:#e0f4e8;color:#147049;border-radius:30px;padding:6px 10px;font-size:10px;font-weight:550}
.lab-save-state.pending{background:#fff1d9;color:#986b1e}
.lab-explainer,.lab-note{font-size:11px;color:#697f98;line-height:1.6;margin:10px 2px 13px}
.lab-top-fields{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin:12px 0}
.lab-order-counter{font-size:11px;color:#6a80a0;padding-bottom:10px}
.lab-items{display:flex;flex-direction:column;gap:10px}
.lab-test-card{background:#fff;border:1px solid #d5e5f4;border-radius:11px;padding:12px;box-shadow:0 3px 9px #14599707}
.lab-test-title{display:flex;align-items:center;gap:8px;margin-bottom:11px}
.lab-test-title b{font-size:12px;font-weight:600;flex:1}
.lab-test-title button{border:0;border-radius:7px;background:#fff0ef;color:#ae4539;padding:7px 10px;font-size:11px;font-weight:500;cursor:pointer}
.lab-test-index{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#e2efff;color:#1264b8;font-size:11px;font-weight:600}
.lab-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.lab-field{display:flex;flex-direction:column;gap:5px;min-width:0}
.lab-field span{font-size:11px;font-weight:500;color:#415d7b}
.lab-field input,.lab-field select,.lab-field textarea{font:400 12px/1.45 "Segoe UI",Arial,sans-serif;color:#173b60;padding:9px 10px;min-width:0;width:100%;border:1px solid #cfdeee;border-radius:8px;background:white;outline:none}
.lab-field textarea{resize:vertical;min-height:72px}
.lab-field input:focus,.lab-field textarea:focus,.lab-field select:focus{border-color:#2585da;box-shadow:0 0 0 3px #2585da12}
.lab-field input:disabled,.lab-field select:disabled,.lab-field textarea:disabled{background:#f4f6f9}
.lab-add{margin:12px 0;width:100%;display:flex;align-items:center;justify-content:center;background:#f4faff;color:#1765af;border:1px dashed #6ba9de;border-radius:9px;padding:12px;font-weight:550;cursor:pointer}
.lab-empty{padding:20px 12px;border:1px dashed #d0deed;border-radius:9px;background:#f8fbff;text-align:center;color:#6b8199;font-size:12px}
.lab-notes{margin-top:8px}
.lab-footer-actions{margin-top:12px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.lab-footer-actions button{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;border-radius:9px;border:1px solid #bed8f0;font-size:12px;font-weight:550;cursor:pointer}
.lab-footer-actions .lab-save{background:#07885a;color:white;border-color:#07885a}
.lab-footer-actions .lab-print{background:#e5f2ff;color:#125cb4}
.lab-legacy{margin-top:16px;border-top:1px solid #e2eaf1;padding-top:12px}
@media(max-width:740px){.lab-form-grid{grid-template-columns:1fr}.lab-top-fields{grid-template-columns:1fr}.lab-footer-actions{grid-template-columns:1fr}.lab-studio-head{flex-wrap:wrap}}


/* Doctor Panel compact Clinical Notes (approved 14 Nov 2026).
   Isolated to doctor UI. No changes to Reception, printing, or admin. */
.doctor-screen .doc-clinical-card{
  border:1px solid #d5e5f5;border-radius:11px;background:#f8fbff;
  margin:0 0 8px;overflow:hidden;
}
.doctor-screen .doc-clinical-summary{
  cursor:pointer;display:flex;align-items:center;gap:9px;
  list-style:none;min-height:46px;padding:9px 11px;color:#22456c;
  font-family:"Segoe UI Variable Text","Segoe UI",Arial,sans-serif;
}
.doctor-screen .doc-clinical-summary::-webkit-details-marker{display:none}
.doctor-screen .doc-clinical-summary:focus-visible{outline:2px solid #217fe2;outline-offset:-3px}
.doctor-screen .doc-clinical-summary-title{display:flex;align-items:center;gap:7px;flex:1;min-width:0;flex-wrap:wrap}
.doctor-screen .doc-clinical-summary-title svg{color:#1561b2}
.doctor-screen .doc-clinical-summary-title strong{font-weight:600;font-size:12.5px;color:#173d65}
.doctor-screen .doc-clinical-summary-title small{font-size:10.5px;color:#7189a3;font-weight:400}
.doctor-screen .doc-clinical-status{font-size:10px;font-weight:550;white-space:nowrap;padding:5px 8px;border-radius:20px;background:#e8f0fb;color:#567493}
.doctor-screen .doc-clinical-status.ready{background:#dcf5e8;color:#087950}
.doctor-screen .doc-clinical-status.pending{background:#fff1d6;color:#915f1c}
.doctor-screen .doc-clinical-chevron{font-size:19px;line-height:1;color:#49749d;transition:transform .18s}
.doctor-screen details[open]>.doc-clinical-summary .doc-clinical-chevron{transform:rotate(180deg)}
.doctor-screen .doc-clinical-card[open]{background:#fff}
.doctor-screen .doc-clinical-body{padding:10px 12px 8px;border-top:1px solid #e2edf8}
.doctor-screen .doc-clinical-helper{font-size:11px;line-height:1.5;margin:0 0 11px;color:#5f7893;font-weight:400}
.doctor-screen .doc-visit-actions{margin:0 0 12px;gap:9px}
.doctor-screen .doc-visit-actions button{padding:10px 13px;font-weight:600;min-height:39px}
.doctor-screen .doc-visit-actions .doc-complete{background:#f6faff}
.doctor-screen .doc-tab-content{min-width:0}
.doctor-screen #docSection_advice>.doc-input-field,
.doctor-screen #docSection_followup>.doc-input-field{margin-top:11px}
@media(max-width:600px){
  .doctor-screen .doc-clinical-summary-title small{display:none}
  .doctor-screen .doc-clinical-status{font-size:9.5px}
  .doctor-screen .doc-clinical-body .doc-form-grid{grid-template-columns:1fr}
}


/* Patient Advice + Follow-Up v1 — tab-body only, approved dashboard unchanged. */
.doctor-screen .doc-care-card{border:1px solid #d8e6f5;border-radius:11px;background:#fff;padding:12px;margin:12px 0 5px;color:#234365;font-family:"Segoe UI Variable Text","Segoe UI",Arial,sans-serif}
.doctor-screen .doc-care-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px solid #e8eff8}
.doctor-screen .doc-care-head h3{display:flex;align-items:center;gap:8px;color:#17446f;font-weight:600;font-size:14px;line-height:1.35;margin:0}
.doctor-screen .doc-care-head h3 svg{color:#1569b9}
.doctor-screen .doc-care-head p{margin:5px 0 0;font-size:11px;font-weight:400;color:#67819e}
.doctor-screen .doc-care-badge{font-size:10.5px;font-weight:500;color:#5e7490;background:#eef4fb;border-radius:16px;padding:6px 9px;white-space:nowrap}
.doctor-screen .doc-care-badge.saved{background:#e2f6eb;color:#09764e}
.doctor-screen .doc-care-input,.doctor-screen .doc-care-date{display:flex;flex-direction:column;gap:7px;margin:13px 0 6px}
.doctor-screen .doc-care-input>span,.doctor-screen .doc-care-date>span{color:#284f76;font-size:11.5px;font-weight:550}
.doctor-screen .doc-care-input textarea{width:100%;min-height:150px;border:1px solid #ccdeef;border-radius:9px;padding:12px 13px;resize:vertical;font:400 12px/1.7 "Segoe UI",Arial,sans-serif;color:#213e60;background:#fff}
.doctor-screen .doc-care-date input{max-width:260px;width:100%;height:42px;border:1px solid #ccdeef;border-radius:9px;padding:8px 12px;font:450 12px "Segoe UI",Arial,sans-serif;color:#213e60;background:#fff}
.doctor-screen .doc-care-input textarea:focus,.doctor-screen .doc-care-date input:focus{outline:0;border-color:#2286dd;box-shadow:0 0 0 3px #2286dd15}
.doctor-screen .doc-care-input textarea:disabled,.doctor-screen .doc-care-date input:disabled{background:#f6f8fc;color:#5e7894}
.doctor-screen .doc-care-bottom{margin:11px 0 0;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#7389a3;font-size:10.5px;font-weight:400;flex-wrap:wrap}
.doctor-screen .doc-care-save{background:#09865c;color:#fff;border:1px solid #09865c;border-radius:9px;min-height:39px;padding:9px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font:600 11.5px "Segoe UI",Arial,sans-serif;cursor:pointer}
.doctor-screen .doc-care-clear{background:#eff5fc;color:#245a92;border:1px solid #d3e2f2;border-radius:9px;min-height:39px;padding:9px 13px;font:500 11.5px "Segoe UI",Arial,sans-serif;cursor:pointer}
.doctor-screen .doc-care-save:hover{background:#05794f}
.doctor-screen .doc-care-note{font-size:10.6px;font-weight:400;color:#6e85a0;line-height:1.6;margin:13px 0 0}
.doctor-screen .doc-care-note strong{font-weight:600;color:#405c79}
.doctor-screen .doc-care-summary{padding:12px;background:#f4f9ff;border:1px solid #e0edf9;border-radius:9px;color:#41668b;font-size:11.5px;font-weight:400;line-height:1.6;margin-top:11px}
@media(max-width:600px){.doctor-screen .doc-care-card{padding:10px}.doctor-screen .doc-care-head{flex-direction:column}.doctor-screen .doc-care-date input{max-width:none}}

/* Dr.View Reception Vital Entry: scoped styles, no changes to locked dashboard. */
.visit-vitals-overlay{position:fixed;inset:0;z-index:5000;background:rgba(9,25,52,.48);display:flex;align-items:center;justify-content:center;padding:20px;overflow:auto}
.visit-vitals-dialog{background:#fff;border:1px solid #d6e4f4;border-radius:18px;padding:22px;width:min(700px,100%);max-height:95vh;overflow:auto;box-shadow:0 28px 95px rgba(12,37,73,.24);color:#12325e}
.visit-vitals-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:18px}
.visit-vitals-head h2{font-size:21px;font-weight:650;color:#102c58;margin:0 0 4px}
.visit-vitals-head p{font-size:12.5px;color:#6883a1;margin:0}
.visit-vitals-x{font-size:18px;color:#667e9c;background:#f1f6fd;border:0;border-radius:9px;width:34px;height:34px;cursor:pointer}
.visit-vitals-loading{padding:30px;text-align:center;color:#67809e}
.visit-vitals-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:15px}
.visit-vitals-field{display:block;min-width:0;font-weight:500;font-size:12.5px;color:#1c416f}
.visit-vitals-field>span{display:block;margin-bottom:7px}
.visit-vitals-field small{font-size:11px;color:#7a8ca5}
.visit-vitals-field>input,.visit-vitals-input{width:100%;height:43px;background:#fff;border:1px solid #cbdcf1;border-radius:9px;outline:0;font-size:14px;color:#173a65}
.visit-vitals-field>input{padding:0 12px;box-sizing:border-box}
.visit-vitals-input{display:flex;align-items:center;overflow:hidden}
.visit-vitals-input input{border:0;background:transparent;padding:0 10px;min-width:0;flex:1;outline:0;width:100%;font:inherit;color:inherit}
.visit-vitals-input em{font-size:12px;font-style:normal;color:#385b80;background:#eef5fd;padding:12px 9px;white-space:nowrap}
.visit-vitals-input select{height:100%;background:#edf5fe;color:#163e6d;border:0;padding:0 7px;font-size:12.5px}
.visit-vitals-field input:focus,.visit-vitals-input:focus-within{border-color:#157bd9;box-shadow:0 0 0 2px rgba(21,123,217,.10)}
.visit-vitals-note{font-size:12px;line-height:1.6;color:#67819f;background:#f5f9ff;border-radius:9px;padding:12px;margin:15px 0}
.visit-vitals-actions{display:flex;align-items:center;gap:9px;justify-content:flex-end;flex-wrap:wrap}
.visit-vitals-actions span{margin-right:auto;font-size:12px;color:#66809d}
.visit-vitals-actions .btn{font-size:12.5px}
.rx-reception-readonly .rx-saved-value{border:1px solid #dce9f7;background:#fff;border-radius:9px;padding:10px 12px;min-width:0}
.rx-reception-readonly .rx-saved-value strong{display:block;font-size:13px;color:#143b68;font-weight:600;word-wrap:break-word;min-height:20px;margin-top:4px}
.rx-reception-footer{display:flex;gap:8px;justify-content:space-between;align-items:center;margin-top:12px;flex-wrap:wrap}
.rx-reception-footer small{font-size:11px;color:#647f9e}
.rx-refresh-vitals{border:1px solid #c8dcf2;background:#eaf4ff;color:#145ba4;border-radius:8px;padding:8px 12px;cursor:pointer;font-size:12px;font-weight:550}
@media(max-width:700px){.visit-vitals-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.visit-vitals-dialog{padding:16px}.rx-reception-footer{align-items:flex-start}}

/* ===============================================================
   Dr.View RECEPTION — Premium Light Typography (15 Nov 2026)
   Added to the original CSS; all existing rules retained unchanged.
   Scope: Reception screen, its top header, and Reception Vitals popup.
   Doctor / Admin / printable PDF styles are NOT modified.
   =============================================================== */
@media screen {
  /* Smooth Windows-native letterforms; no font download required. */
  .reception-screen,
  .visit-vitals-dialog {
    font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
    font-weight: 400;
    letter-spacing: 0;
  }
  .reception-screen button,
  .reception-screen input,
  .reception-screen select,
  .reception-screen textarea,
  .visit-vitals-dialog button,
  .visit-vitals-dialog input,
  .visit-vitals-dialog select,
  .visit-vitals-dialog textarea {
    font-family: inherit;
  }

  /* Branded top bar, only when Reception is open. */
  #app:has(.reception-screen) > .top .header-role { font-weight: 600; }
  #app:has(.reception-screen) > .top .header-date,
  #app:has(.reception-screen) > .top .header-user { font-weight: 500; }
  #app:has(.reception-screen) > .top .btn { font-weight: 500; }

  /* Screen titles and compact descriptions. */
  .reception-screen .reception-intro h1 {
    font-weight: 650;
    letter-spacing: -0.45px;
  }
  .reception-screen .reception-intro p { font-weight: 400; }
  .reception-screen .intro-note { font-weight: 400; }
  .reception-screen .intro-note b { font-weight: 600; }
  .reception-screen .reception-workspace .panel h2 {
    font-weight: 600;
    letter-spacing: -0.18px;
  }
  .reception-screen .reception-workspace .panelhead { font-weight: 500; }
  .reception-screen .total-chip { font-weight: 600; }

  /* KPI headings 550 / numbers 700 — readable, not extra-bold. */
  .reception-screen .reception-metrics .smalllabel { font-weight: 550; }
  .reception-screen .reception-metrics .num { font-weight: 700; }

  /* Actions, buttons and pills. Do not change their size or colors. */
  .reception-screen .btn,
  .reception-screen .quick-actions .btn,
  .reception-screen .booking-buttons .btn { font-weight: 550; }
  .reception-screen .reception-workspace .tab { font-weight: 550; }
  .reception-screen .reception-workspace .slot { font-weight: 550; }
  .reception-screen .reception-workspace .slotlabel { font-weight: 550; }
  .reception-screen .reception-workspace .field label { font-weight: 550; }
  .reception-screen .reception-workspace .field input,
  .reception-screen .reception-workspace .field select,
  .reception-screen .reception-workspace .search { font-weight: 400; }

  /* Patient list: normal body text and medium-emphasis patient name. */
  .reception-screen .appointment-panel table { font-weight: 400; }
  .reception-screen .appointment-panel th { font-weight: 550; }
  .reception-screen .appointment-panel td { font-weight: 400; }
  .reception-screen .appointment-panel td strong,
  .reception-screen .appointment-panel td b { font-weight: 600; }
  .reception-screen .appointment-panel td .muted { font-weight: 400; }
  .reception-screen .appointment-panel .status { font-weight: 550; }
  .reception-screen .appointment-panel .btn.tiny { font-weight: 550; }

  /* Live queue: preserve contrast, soften excessive heavy type. */
  .reception-screen .queue-heading::after { font-weight: 600; }
  .reception-screen .queue-tile > span { font-weight: 550; }
  .reception-screen .queue-tile b { font-weight: 700; }
  .reception-screen .queue-tile small { font-weight: 400; }
  .reception-screen .queue-count b { font-weight: 700; }
  .reception-screen .queue-count span { font-weight: 500; }

  /* Reception-only Address & Vitals popup. Units and data unaffected. */
  .visit-vitals-dialog .visit-vitals-head h2 { font-weight: 600; }
  .visit-vitals-dialog .visit-vitals-field { font-weight: 500; }
  .visit-vitals-dialog .visit-vitals-field small { font-weight: 400; }
  .visit-vitals-dialog .visit-vitals-actions .btn { font-weight: 550; }
  .visit-vitals-dialog input,
  .visit-vitals-dialog select { font-weight: 400; }
}

/* ================================================================
   DR.VIEW RECEPTION — RED LOGOUT + PURE BLACK READABLE TEXT
   Reception-only screen styling; no doctor/admin/print layout changes.
   Append at the VERY END of the existing static/style.css.
   ================================================================ */
@media screen {
  /* Logout is the last button in the Reception header.
     Only the Reception page is affected — the Doctor/Admin Logout stays as is. */
  #app:has(.reception-screen) > .top button[onclick="logout()"] {
    background: #cf2634;
    border: 1px solid #b91f2b;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(174, 25, 44, 0.14);
  }
  #app:has(.reception-screen) > .top button[onclick="logout()"]:hover:not(:disabled) {
    background: #ae1d29;
    border-color: #971723;
    color: #ffffff;
  }
  #app:has(.reception-screen) > .top button[onclick="logout()"]:focus-visible {
    outline: 2px solid #cf2634;
    outline-offset: 3px;
  }

  /* Deep black text, without increasing font weight. */
  .reception-screen {
    color: #000000;
  }
  #app:has(.reception-screen) > .top .header-role,
  #app:has(.reception-screen) > .top .header-date,
  #app:has(.reception-screen) > .top .header-user,
  #app:has(.reception-screen) > .top button[onclick="changePassword()"] {
    color: #000000;
  }
  .reception-screen .reception-intro h1,
  .reception-screen .reception-intro p,
  .reception-screen .intro-note,
  .reception-screen .intro-note b,
  .reception-screen .reception-workspace .panel h2,
  .reception-screen .reception-metrics .smalllabel,
  .reception-screen .reception-workspace .field label,
  .reception-screen .reception-workspace .slotlabel,
  .reception-screen .appointment-panel th,
  .reception-screen .appointment-panel td,
  .reception-screen .appointment-panel td strong,
  .reception-screen .appointment-panel td b,
  .reception-screen .appointment-panel td .muted,
  .reception-screen .queue-heading::after,
  .reception-screen .queue-tile:not(.serving) > span,
  .reception-screen .queue-tile:not(.serving) small,
  .reception-screen .queue-count span,
  .reception-screen .hint,
  .reception-screen .muted,
  .reception-screen .empty {
    color: #000000;
  }
  .reception-screen .reception-workspace input:not([type="radio"]),
  .reception-screen .reception-workspace select,
  .reception-screen .reception-workspace textarea,
  .reception-screen .quick-actions .btn.outline,
  .reception-screen .reception-workspace .btn.outline {
    color: #000000;
  }
  .reception-screen input::placeholder,
  .reception-screen textarea::placeholder {
    color: #505050;
  }

  /* Reception-only Address & Vitals editor. */
  .visit-vitals-dialog,
  .visit-vitals-dialog .visit-vitals-head h2,
  .visit-vitals-dialog .visit-vitals-head p,
  .visit-vitals-dialog .visit-vitals-field,
  .visit-vitals-dialog .visit-vitals-field small,
  .visit-vitals-dialog .visit-vitals-note,
  .visit-vitals-dialog .visit-vitals-actions span,
  .visit-vitals-dialog input,
  .visit-vitals-dialog select,
  .visit-vitals-dialog .visit-vitals-input em {
    color: #000000;
  }

  /* Keep green/blue KPI figures, status badge colors and text on
     colored action buttons unchanged for their established meaning. */
}

/* ======================================================================
   DR.VIEW RECEPTION — LIVE QUEUE CARDS / FINAL COLOR & ICON UPDATE
   Now Serving = GREEN | Next Token = YELLOW | Upcoming = RED.
   Reception screen only. Doctor/Admin/Cash/Printing/DB untouched.
   Append at the very end of static/style.css. Do not remove earlier CSS.
   ====================================================================== */
@media screen {
  /* Now Serving — professional hospital green, high-contrast white text. */
  .reception-screen .live-queue-bar .queue-tile.serving {
    background: linear-gradient(115deg, #078b59 0%, #056940 100%);
    border-color: #066944;
  }
  .reception-screen .live-queue-bar .queue-tile.serving > span,
  .reception-screen .live-queue-bar .queue-tile.serving > b,
  .reception-screen .live-queue-bar .queue-tile.serving > small {
    color: #ffffff;
  }

  /* Next Token — warm yellow with hard black text for readability. */
  .reception-screen .live-queue-bar .queue-tile.next {
    background: linear-gradient(115deg, #ffdf72 0%, #ffc94a 100%);
    border-color: #e2ac28;
  }
  .reception-screen .live-queue-bar .queue-tile.next > span,
  .reception-screen .live-queue-bar .queue-tile.next > b,
  .reception-screen .live-queue-bar .queue-tile.next > small {
    color: #161616;
  }

  /* Upcoming — deep clean red, high-contrast white text. */
  .reception-screen .live-queue-bar .queue-tile.upcoming {
    background: linear-gradient(115deg, #e04450 0%, #be2435 100%);
    border-color: #b52333;
  }
  .reception-screen .live-queue-bar .queue-tile.upcoming > span,
  .reception-screen .live-queue-bar .queue-tile.upcoming > b,
  .reception-screen .live-queue-bar .queue-tile.upcoming > small {
    color: #ffffff;
  }

  /* Replace decorative box glyph with a crisp vector 'queue list' icon. */
  .reception-screen .live-queue-bar .queue-heading::before {
    content: "";
    font-size: 0;
    background-color: #e7f1ff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231658aa' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='4'/%3E%3Ccircle cx='8' cy='9' r='1'/%3E%3Cpath d='M12 9h5'/%3E%3Ccircle cx='8' cy='15' r='1'/%3E%3Cpath d='M12 15h5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 23px 23px;
    background-position: center;
    border: 1px solid #bfd7f5;
    border-radius: 10px;
  }
  .reception-screen .live-queue-bar .queue-heading::after {
    color: #000000;
    font-weight: 600;
  }
}

/* =====================================================================
   Dr.View Hospital Reception KPI — Premium colorful cards + vector icons
   Scope: ONLY 4 top Reception metric cards (not Doctor, Admin or queue).
   Original reception font, layout, cash, vitals, print and prior styles stay.
   Append this block to the END of static/style.css.
   ===================================================================== */
@media screen {
  .reception-screen .reception-metrics .metric {
    border: 1px solid transparent;
    box-shadow: 0 6px 18px rgba(15, 48, 88, 0.13);
    transition: box-shadow .2s ease, transform .2s ease;
  }
  .reception-screen .reception-metrics .metric.m-0 {
    background: linear-gradient(116deg, #2378e9 0%, #1053b5 100%);
    border-color: #145fcb;
  }
  .reception-screen .reception-metrics .metric.m-1 {
    background: linear-gradient(116deg, #15ad77 0%, #057c53 100%);
    border-color: #0c915f;
  }
  .reception-screen .reception-metrics .metric.m-2 {
    background: linear-gradient(116deg, #ffe08b 0%, #ffbf43 100%);
    border-color: #edae36;
  }
  .reception-screen .reception-metrics .metric.m-3 {
    background: linear-gradient(116deg, #9168ec 0%, #6345c7 100%);
    border-color: #7252d4;
  }
  /* Readable numbers and headings; amber gets dark navy for contrast. */
  .reception-screen .reception-metrics .metric.m-0 .smalllabel,
  .reception-screen .reception-metrics .metric.m-0 .num,
  .reception-screen .reception-metrics .metric.m-1 .smalllabel,
  .reception-screen .reception-metrics .metric.m-1 .num,
  .reception-screen .reception-metrics .metric.m-3 .smalllabel,
  .reception-screen .reception-metrics .metric.m-3 .num {
    color: #ffffff;
  }
  .reception-screen .reception-metrics .metric.m-2 .smalllabel,
  .reception-screen .reception-metrics .metric.m-2 .num {
    color: #161a23;
  }
  .reception-screen .reception-metrics .metric .smalllabel { font-weight: 600; }
  .reception-screen .reception-metrics .metric .num { font-weight: 730; }
  /* Swap existing decorative emojis for crisp 28px line SVGs. */
  .reception-screen .reception-metrics .metric .metric-symbol {
    background: rgba(255, 255, 255, .17);
    border: 1px solid rgba(255, 255, 255, .30);
    box-shadow: none;
    display: grid;
    place-items: center;
  }
  .reception-screen .reception-metrics .metric.m-2 .metric-symbol {
    background: rgba(255, 255, 255, .38);
    border-color: rgba(60, 54, 22, .16);
  }
  .reception-screen .reception-metrics .metric .metric-symbol::after {
    content: "";
    display: block;
    width: 28px;
    height: 28px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-size: 0;
  }
  .reception-screen .reception-metrics .metric.m-0 .metric-symbol::after {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2228%22%20height%3D%2228%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M7%203v4M17%203v4M3%2010h18%22%2F%3E%3Cpath%20d%3D%22m9%2015%202%202%204-4%22%2F%3E%3C%2Fsvg%3E");
  }
  .reception-screen .reception-metrics .metric.m-1 .metric-symbol::after {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2228%22%20height%3D%2228%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M16%2020v-2a4%204%200%200%200-4-4H6a4%204%200%200%200-4%204v2%22%2F%3E%3Ccircle%20cx%3D%229%22%20cy%3D%227%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M22%2020v-2a4%204%200%200%200-3-3.87M16%203.13a4%204%200%200%201%200%207.75%22%2F%3E%3C%2Fsvg%3E");
  }
  .reception-screen .reception-metrics .metric.m-2 .metric-symbol::after {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2228%22%20height%3D%2228%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23201D13%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203v5a6%206%200%200%200%2012%200V3M4%203h4M16%203h4M12%2014v2a4%204%200%200%200%208%200v-1%22%2F%3E%3Ccircle%20cx%3D%2220%22%20cy%3D%2212%22%20r%3D%222%22%2F%3E%3C%2Fsvg%3E");
  }
  .reception-screen .reception-metrics .metric.m-3 .metric-symbol::after {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2228%22%20height%3D%2228%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2022s8-4%208-11V5l-8-3-8%203v6c0%207%208%2011%208%2011Z%22%2F%3E%3Cpath%20d%3D%22m8.7%2012%202.2%202.2%204.5-4.8%22%2F%3E%3C%2Fsvg%3E");
  }
  @media (hover:hover) and (prefers-reduced-motion:no-preference) {
    .reception-screen .reception-metrics .metric:hover {
      transform: translateY(-2px);
      box-shadow: 0 9px 22px rgba(15, 48, 88, .16);
    }
  }
  @media (max-width:650px) {
    .reception-screen .reception-metrics .metric .metric-symbol::after {
      width: 21px; height: 21px;
    }
  }
}

/* =====================================================================
   DR.VIEW RECEPTION — PROFESSIONAL TOP HEADER (2026-11-15)
   Only .rcp-topbar is affected. Doctor and Admin headers remain unchanged.
   Palette: hospital blue/white, red Logout; native premium-light type.
   ===================================================================== */
@media screen {
  #app > .top.rcp-topbar {
    height: 72px;
    min-height: 72px;
    padding: 0 2.1%;
    gap: 12px;
    background: #ffffff;
    border-bottom: 1px solid #e2ebf5;
    box-shadow: 0 3px 14px rgba(21, 57, 96, .055);
    font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
    color: #111827;
  }
  .rcp-topbar .brand-image { height: 48px; max-width: 370px; }
  .rcp-topbar .rcp-head-icon { display:block; flex:none; }
  .rcp-topbar .rcp-role-chip {
    display:inline-flex; align-items:center; gap:9px; white-space:nowrap;
    padding:10px 15px; border-radius:12px;
    border:1px solid #d7e6fa;
    background:#edf5ff; color:#1358ad;
    font-size:12.5px; font-weight:600; letter-spacing:.05px;
  }
  .rcp-topbar .rcp-role-chip .rcp-head-icon { width:17px; height:17px; }
  .rcp-topbar .rcp-spacer { flex:1; min-width:10px; }
  .rcp-topbar .rcp-date-chip {
    display:inline-flex; align-items:center; justify-content:center; gap:9px;
    border:1px solid #dce7f4; background:white; border-radius:12px;
    padding:10px 13px; min-height:42px; color:#101828;
    white-space:nowrap; font-size:12.5px; font-weight:550;
    font-variant-numeric:tabular-nums;
  }
  .rcp-topbar .rcp-date-chip .rcp-head-icon { color:#2a65ae; }
  .rcp-topbar .rcp-account-chip {
    display:inline-flex; align-items:center; gap:9px;
    padding:5px 12px 5px 6px;
    min-height:43px; border-radius:12px;
    background:#f4f8ff; border:1px solid #deebf9;
  }
  .rcp-topbar .rcp-account-avatar {
    width:32px; height:32px; display:grid; place-items:center;
    border-radius:9px; background:#e0edff; color:#145db8;
  }
  .rcp-topbar .rcp-account-avatar svg { width:18px; height:18px; }
  .rcp-topbar .rcp-account-info { display:flex; flex-direction:column; gap:0; white-space:nowrap; line-height:1.2; }
  .rcp-topbar .rcp-account-info strong { color:#111827; font-size:12.5px; font-weight:600; }
  .rcp-topbar .rcp-account-info small { color:#61718a; font-size:10px; font-weight:400; }
  .rcp-topbar .rcp-topbar-button {
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    border-radius:11px; min-height:42px; padding:10px 13px;
    font-family:inherit; font-size:12.5px; font-weight:550;
    white-space:nowrap; cursor:pointer;
    transition:background-color .16s ease, box-shadow .16s ease, border-color .16s ease;
  }
  .rcp-topbar .rcp-password {
    background:#fff; border:1px solid #d7e4f4; color:#111827;
  }
  .rcp-topbar .rcp-password:hover:not(:disabled) {
    background:#f0f6ff; border-color:#bed6f4;
  }
  .rcp-topbar .rcp-password .rcp-head-icon { color:#2365b2; }
  #app > .top.rcp-topbar .rcp-logout {
    background:#cb2538; border:1px solid #bf2032; color:#fff;
    font-weight:600; box-shadow:0 3px 9px rgba(194,36,55,.13);
  }
  #app > .top.rcp-topbar .rcp-logout:hover:not(:disabled) {
    background:#ae1c2c; border-color:#9d1b2a; color:#fff;
    box-shadow:0 5px 12px rgba(160,31,45,.2);
  }
  .rcp-topbar .rcp-topbar-button:focus-visible { outline:2px solid #1879d0; outline-offset:3px; }
}
@media screen and (max-width:1160px) {
  #app > .top.rcp-topbar {gap:8px;padding:0 1.5%;}
  .rcp-topbar .rcp-account-info small {display:none;}
}
@media screen and (max-width:960px) {
  .rcp-topbar .rcp-account-chip {display:none;}
  .rcp-topbar .rcp-date-chip {min-height:39px;padding:8px 10px;}
  .rcp-topbar .rcp-topbar-button {min-height:39px;padding:8px 10px;}
}
@media screen and (max-width:650px) {
  #app > .top.rcp-topbar {height:62px;min-height:62px;}
  .rcp-topbar .brand-image {height:34px;max-width:212px;}
  .rcp-topbar .rcp-role-chip, .rcp-topbar .rcp-date-chip {display:none;}
  .rcp-topbar .rcp-password span {display:none;}
  .rcp-topbar .rcp-password {padding:9px;min-width:37px;}
  .rcp-topbar .rcp-logout {padding:9px 10px;}
}
@media (prefers-reduced-motion:reduce) {
  .rcp-topbar .rcp-topbar-button {transition:none;}
}

/* Dr.View Hospital — Reception Address & Vitals modal button update.
   Save = professional blue; Cancel = red; readable premium typography.
   Only affects #visitVitalsModal. Do not change other panels or print CSS. */
@media screen {
  #visitVitalsModal .visit-vitals-dialog {
    font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
    color: #111827;
  }
  #visitVitalsModal .visit-vitals-head h2 {
    color: #111827;
    font-weight: 650;
  }
  #visitVitalsModal .visit-vitals-head p,
  #visitVitalsModal .visit-vitals-field,
  #visitVitalsModal .visit-vitals-field > span,
  #visitVitalsModal .visit-vitals-input input,
  #visitVitalsModal .visit-vitals-field > input,
  #visitVitalsModal .visit-vitals-input select,
  #visitVitalsModal .visit-vitals-input em,
  #visitVitalsModal .visit-vitals-note,
  #visitVitalsModal .visit-vitals-actions span {
    color: #151c28;
  }
  #visitVitalsModal .visit-vitals-field { font-weight: 550; }
  #visitVitalsModal .visit-vitals-input input,
  #visitVitalsModal .visit-vitals-field > input { font-weight: 450; }
  #visitVitalsModal .visit-vitals-actions button.btn {
    font-weight: 600;
    border-radius: 9px;
    min-height: 40px;
    padding: 9px 16px;
    box-shadow: none;
    transition: background-color .16s ease, border-color .16s ease;
  }
  /* Save Address & Vitals */
  #visitVitalsModal #visitVitalsSave.btn {
    background: #0b63ce;
    border: 1px solid #0b63ce;
    color: #ffffff;
  }
  #visitVitalsModal #visitVitalsSave.btn:hover:not(:disabled) {
    background: #084fa9;
    border-color: #084fa9;
  }
  /* Cancel (only the Cancel button in this popup). */
  #visitVitalsModal .visit-vitals-actions button.btn.outline {
    background: #cf2637;
    border: 1px solid #cf2637;
    color: #ffffff;
  }
  #visitVitalsModal .visit-vitals-actions button.btn.outline:hover:not(:disabled) {
    background: #ac1e2c;
    border-color: #ac1e2c;
  }
  #visitVitalsModal .visit-vitals-actions button.btn:focus-visible {
    outline: 2px solid #175cbd;
    outline-offset: 3px;
  }
  #visitVitalsModal .visit-vitals-actions button.btn:disabled {
    opacity: .55;
    cursor: not-allowed;
  }
}
@media (prefers-reduced-motion: reduce) {
  #visitVitalsModal .visit-vitals-actions button.btn { transition: none; }
}

/* ================================================================
   DR.VIEW DOCTOR HEADER — PREMIUM LOGOUT BUTTON (15 NOV 2026)
   ONLY the Doctor Panel Logout button is changed.
   Reception, Admin, patient vitals and print styles are untouched.
   Icon uses a self-contained SVG CSS mask: no extra libraries/files.
   ================================================================ */
@media screen {
  #app > .top.doc-header button[onclick="logout()"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 41px;
    padding: 9px 15px;
    border: 1px solid #b92535;
    border-radius: 11px;
    background: linear-gradient(135deg, #e23d4e 0%, #c51f35 100%);
    color: #ffffff;
    font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    box-shadow: 0 4px 12px rgba(185, 30, 48, 0.17);
    transition: background .18s ease, border-color .18s ease,
                box-shadow .18s ease, transform .18s ease;
  }
  #app > .top.doc-header button[onclick="logout()"]::before {
    content: "";
    display: inline-block;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    background-color: #ffffff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m10%2017%205-5-5-5%22%2F%3E%3Cpath%20d%3D%22M15%2012H3%22%2F%3E%3Cpath%20d%3D%22M12%203h6a2%202%200%200%201%202%202v14a2%202%200%200%201-2%202h-6%22%2F%3E%3C%2Fsvg%3E") center / 17px 17px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.9%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m10%2017%205-5-5-5%22%2F%3E%3Cpath%20d%3D%22M15%2012H3%22%2F%3E%3Cpath%20d%3D%22M12%203h6a2%202%200%200%201%202%202v14a2%202%200%200%201-2%202h-6%22%2F%3E%3C%2Fsvg%3E") center / 17px 17px no-repeat;
  }
  #app > .top.doc-header button[onclick="logout()"]:hover:not(:disabled) {
    background: linear-gradient(135deg, #d32f43 0%, #ac192c 100%);
    border-color: #a4192b;
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(166, 28, 43, 0.23);
    transform: translateY(-1px);
    filter: none;
  }
  #app > .top.doc-header button[onclick="logout()"]:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 7px rgba(166, 28, 43, 0.18);
  }
  #app > .top.doc-header button[onclick="logout()"]:focus-visible {
    outline: 3px solid #ffb3bd;
    outline-offset: 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #app > .top.doc-header button[onclick="logout()"] {transition: none;}
}

/* ================================================================
   DR.VIEW DOCTOR DASHBOARD — MINIMAL TITLE + SINGLE-LINE QUEUE DATE
   15 NOV 2026 | Screen-only; no data or print changes.
   Reception / Admin dashboards are not affected.
   ================================================================ */
@media screen {
  /* Remove the subtitle beneath 'Doctor Dashboard'. */
  .doctor-screen .doc-heading > div:first-child > p {
    display: none !important;
  }
  /* Keep Queue Date on one line beside the date field. */
  .doctor-screen .doc-date-filter {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 11px;
    white-space: nowrap;
    min-width: max-content;
  }
  .doctor-screen .doc-date-filter label {
    display: inline-block;
    flex: 0 0 auto;
    white-space: nowrap;
    line-height: 1.2;
    font-size: 12px;
    font-weight: 550;
    color: #183e70;
  }
  .doctor-screen .doc-date-filter input#doctorDate {
    box-sizing: border-box;
    flex: 0 0 175px;
    width: 175px;
    min-width: 175px;
    max-width: 175px;
  }
}


/* ===================================================================
   Dr.View Doctor Panel - Premium light pastel KPI cards (15 Nov 2026)
   Doctor's four KPI cards ONLY. Reception / Admin / printing unchanged.
   =================================================================== */
@media screen {
  .doctor-screen .doc-metrics > .doc-metric {
    box-shadow: 0 5px 15px rgba(37, 77, 122, 0.065);
    transition: box-shadow .18s ease, border-color .18s ease;
  }
  /* 1. Total Appointments - Light Sky Blue */
  .doctor-screen .doc-metrics > .doc-metric.blue {
    background: linear-gradient(120deg, #eef7ff 0%, #d7eafe 100%);
    border-color: #bddcf9;
  }
  .doctor-screen .doc-metrics > .doc-metric.blue .doc-metric-icon {
    background: #d0e5fc;
    color: #145bb7;
  }
  .doctor-screen .doc-metrics > .doc-metric.blue strong { color: #1456b2; }

  /* 2. Waiting - Light Mint Green */
  .doctor-screen .doc-metrics > .doc-metric.green {
    background: linear-gradient(120deg, #effdf6 0%, #d4f4e4 100%);
    border-color: #b7e9cd;
  }
  .doctor-screen .doc-metrics > .doc-metric.green .doc-metric-icon {
    background: #c9efd9;
    color: #087b4e;
  }
  .doctor-screen .doc-metrics > .doc-metric.green strong { color: #087b4e; }

  /* 3. In Consultation - Light Warm Amber */
  .doctor-screen .doc-metrics > .doc-metric.amber {
    background: linear-gradient(120deg, #fffaf0 0%, #ffeac7 100%);
    border-color: #f2d8a9;
  }
  .doctor-screen .doc-metrics > .doc-metric.amber .doc-metric-icon {
    background: #ffe1ab;
    color: #a9690a;
  }
  .doctor-screen .doc-metrics > .doc-metric.amber strong { color: #a56409; }

  /* 4. Completed - Light Lavender Purple */
  .doctor-screen .doc-metrics > .doc-metric.navy {
    background: linear-gradient(120deg, #f8f5ff 0%, #e8ddff 100%);
    border-color: #d9cafa;
  }
  .doctor-screen .doc-metrics > .doc-metric.navy .doc-metric-icon {
    background: #e4d8fb;
    color: #6845ae;
  }
  .doctor-screen .doc-metrics > .doc-metric.navy strong { color: #6540aa; }

  /* Crisp title text on all four soft backgrounds. */
  .doctor-screen .doc-metrics > .doc-metric span {
    color: #162c4a;
  }
}


/* ============================================================== 
   DR.VIEW DOCTOR — Simple Prescription Studio (15 Nov 2026)
   Doctor Rx only. Reception/dashboard, DB, print overlay unchanged.
   ============================================================== */
.doctor-screen .rx-simple-header{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f0f7ff;border:1px solid #dae9fc;border-radius:11px;padding:10px 12px}
.doctor-screen .rx-simple-header .rx-studio-brand strong{font-size:15px;font-weight:600;color:#123655}
.doctor-screen .rx-simple-header .rx-studio-brand small{font-size:11px;font-weight:400;color:#62809c}
.doctor-screen .rx-simple-patient{margin:10px 0 13px;background:#f7fbff;border:1px solid #d9e8f8;border-radius:11px;padding:10px 12px}
.doctor-screen .rx-simple-patient-label{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:9px}
.doctor-screen .rx-simple-patient-label b{font-size:12px;font-weight:600;color:#144c83}
.doctor-screen .rx-simple-patient-label small{font-size:10.5px;color:#69839e}
.doctor-screen .rx-simple-vitals{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.doctor-screen .rx-simple-vital{padding:8px 6px;background:white;border:1px solid #dfebf8;border-radius:9px;min-width:0}
.doctor-screen .rx-simple-vital small{display:block;font-size:10px;color:#627e9c;margin-bottom:4px}
.doctor-screen .rx-simple-vital b{display:block;color:#163f6c;font-size:11.5px;line-height:1.3;font-weight:600;overflow-wrap:anywhere}
.doctor-screen .rx-simple-patient-details{margin-top:8px}
.doctor-screen .rx-simple-patient-details summary,.doctor-screen .rx-simple-more summary,.doctor-screen .rx-simple-settings summary{cursor:pointer;color:#175fb1;font-size:11px;font-weight:600;padding:6px 0;list-style-position:inside;user-select:none}
.doctor-screen .rx-simple-patient-extra{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-top:5px}
.doctor-screen .rx-simple-patient-extra>div{display:flex;gap:7px;flex-direction:column;min-width:160px;flex:1}
.doctor-screen .rx-simple-patient-extra small{font-size:10px;color:#6885a1}
.doctor-screen .rx-simple-patient-extra b{font-size:11px;font-weight:500;color:#183e67;overflow-wrap:anywhere}
.doctor-screen .rx-simple-list-title{display:flex;align-items:center;justify-content:space-between;margin:9px 0 9px}
.doctor-screen .rx-simple-list-title strong{font-size:13.5px;font-weight:650;color:#173b65}
.doctor-screen .rx-simple-list-title small{font-size:10.5px;color:#6a819c}
.doctor-screen .rx-simple-items{gap:9px}
.doctor-screen .rx-simple-medicine{padding:11px;border:1px solid #d8e5f5;border-radius:10px;background:#fff}
.doctor-screen .rx-simple-medicine-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.doctor-screen .rx-simple-medicine-head strong{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600;color:#173c64}
.doctor-screen .rx-simple-medicine-head .rx-number{width:23px;height:23px;font-weight:600;font-size:11px}
.doctor-screen .rx-simple-medicine-head .rx-remove{font-size:10px;padding:5px 8px}
.doctor-screen .rx-simple-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 11px}
.doctor-screen .rx-simple-grid .rx-field{margin:0}
.doctor-screen .rx-simple-grid .rx-field span{font-size:10.5px;font-weight:550;color:#355a7d}
.doctor-screen .rx-simple-grid .rx-field input{height:39px;font-size:12px;padding:8px 10px}
.doctor-screen .rx-simple-more{margin-top:9px;border-top:1px dashed #dce8f7;padding-top:3px}
.doctor-screen .rx-simple-more summary span{color:#718ba6;font-weight:400}
.doctor-screen .rx-simple-more>.rx-simple-grid{padding-top:8px}
.doctor-screen .rx-simple-add{margin:9px 0 10px;padding:10px;font-size:11.5px;gap:7px}
.doctor-screen .rx-simple-settings{border:1px solid #e1ebf6;border-radius:9px;background:#f8fbff;padding:5px 11px;margin:0 0 11px}
.doctor-screen .rx-simple-settings summary{color:#486a8f}
.doctor-screen .rx-simple-settings .rx-extras{margin:9px 0 7px}
.doctor-screen .rx-simple-settings .rx-field{margin:0 0 8px}
.doctor-screen .rx-simple-footer{margin:3px 0 0}
.doctor-screen .rx-simple-buttons{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:9px}
.doctor-screen .rx-simple-buttons button{min-height:41px;font-size:12px;font-weight:600;padding:10px 7px}
.doctor-screen .rx-simple-print-note{margin:8px 0 0;font-size:10.2px;line-height:1.5;color:#66819d}
@media(max-width:600px){
 .doctor-screen .rx-simple-vitals{grid-template-columns:repeat(3,minmax(0,1fr))}
 .doctor-screen .rx-simple-grid{grid-template-columns:1fr}
 .doctor-screen .rx-simple-patient-label{align-items:flex-start;flex-direction:column;gap:3px}
}

/* Dr.View — Doctor can edit vitals for the active paid consultation.
   Scoped exclusively to the Doctor Prescription Patient Vitals section.
   Append to the end of existing static/style.css. */
.doctor-screen .rx-vitals-head-actions{
  display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;
}
.doctor-screen .rx-vitals-head-actions small{
  color:#58738f;font-size:10px;font-weight:400;
}
.doctor-screen .rx-vitals-edit{
  display:inline-flex;align-items:center;gap:6px;
  color:#0d60bd;background:#e8f2ff;border:1px solid #bedaf7;
  font:600 11px "Segoe UI Variable Text","Segoe UI",Arial,sans-serif;
  padding:7px 11px;border-radius:8px;white-space:nowrap;
  transition:background .16s ease, border-color .16s ease;
}
.doctor-screen .rx-vitals-edit:hover{background:#d8eafb;border-color:#8bbde8}
.doctor-screen .rx-vitals-editor{
  padding:13px;margin-top:11px;border:1px solid #c8def6;border-radius:11px;
  background:#fff;
}
.doctor-screen .rx-vitals-editor-head{
  display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:12px;flex-wrap:wrap;
}
.doctor-screen .rx-vitals-editor-head b{color:#142e52;font-weight:600;font-size:13px}
.doctor-screen .rx-vitals-editor-head small{color:#607a97;font-size:10.5px;font-weight:400}
.doctor-screen .rx-vitals-edit-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;
}
.doctor-screen .rx-vitals-edit-field{min-width:0;display:flex;flex-direction:column;gap:5px}
.doctor-screen .rx-vitals-edit-field>span{font-size:11px;color:#173f68;font-weight:550}
.doctor-screen .rx-vitals-input{
  display:flex;min-width:0;border:1px solid #cbddf1;border-radius:9px;background:#fff;overflow:hidden;
}
.doctor-screen .rx-vitals-input:focus-within{
  border-color:#257ed6;box-shadow:0 0 0 3px #207ad719;
}
.doctor-screen .rx-vitals-input input{
  min-width:0;flex:1;width:100%;border:0;background:transparent;
  color:#102d52;padding:10px 8px;outline:0;font:500 12px "Segoe UI",Arial,sans-serif;
}
.doctor-screen .rx-vitals-input>span,
.doctor-screen .rx-vitals-input select{
  flex-shrink:0;background:#edf4fd;color:#2a5078;
  border:0;border-left:1px solid #d7e7f9;
  padding:10px 7px;font:500 10.5px "Segoe UI",Arial,sans-serif;
}
.doctor-screen .rx-vitals-edit-actions{
  margin-top:13px;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;
}
.doctor-screen .rx-vitals-edit-actions>span{
  flex:1;min-width:170px;color:#657e9a;font-size:10.5px;line-height:1.5;
}
.doctor-screen .rx-vitals-edit-actions button{
  min-height:37px;display:inline-flex;align-items:center;justify-content:center;gap:6px;
  padding:8px 13px;border-radius:9px;font:600 11.5px "Segoe UI",Arial,sans-serif;
}
.doctor-screen .rx-vitals-cancel{background:#fff2f3;border:1px solid #f1c4cc;color:#ae2436}
.doctor-screen .rx-vitals-cancel:hover{background:#ffe3e7}
.doctor-screen .rx-vitals-save{
  background:#0966c9;border:1px solid #0966c9;color:#fff;
  box-shadow:0 2px 8px #165ec424;
}
.doctor-screen .rx-vitals-save:hover{background:#0858b4}
.doctor-screen .rx-vitals-edit:focus-visible,
.doctor-screen .rx-vitals-cancel:focus-visible,
.doctor-screen .rx-vitals-save:focus-visible{
  outline:2px solid #2584de;outline-offset:2px;
}
@media(max-width:640px){
  .doctor-screen .rx-vitals-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .doctor-screen .rx-vitals-edit-actions>span{min-width:100%}
}
@media(max-width:390px){
  .doctor-screen .rx-vitals-edit-grid{grid-template-columns:1fr}
  .doctor-screen .rx-vitals-head-actions small{display:none}
}
