/* Jaipur Eye & Dental Hospital's own look on the staff pages (BRAND jedh, 1 Dec; the user: "the theme made from their
   website, but superb better"). Loaded last; only pages with .brand-jedh change. The page also carries .brand-drmate
   (BRANDS["jedh"]["look"]): the 28 Nov structure (sidebar, pill buttons, cards, type scale) in this hospital's colours.
   From jaipureyedental.com: Poppins headings over Inter text, the navy-to-blue of its hero (#1A365D to #0066CC) and #0066CC
   for what is pressed. From its eye-and-tooth mark, the two colours of its two units, the eye's cyan and the tooth's lime:
   one thin cyan-and-lime line is the signature (the band's foot, the sidebar's edge, the sign-in art), never a fill.
   The page is its reception's white stone (#f5f3ee), not a cool grey. Emergencies stay crimson, never the brand's blue;
   "free" and "good" stay green. */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap");

body.brand-jedh {
  --jd-navy: #0e2a47;          /* the band and the sidebar: the hero's #1A365D, deepened so white text reads at 14:1 */
  --jd-navy-2: #16426f;
  --jd-blue: #0066cc;          /* their primary (5.6:1 on white) */
  --jd-blue-deep: #0052a3;
  --jd-cyan: #2bafe0;          /* the mark's eye: rings and the signature only, never text on white */
  --jd-lime: #9dc13e;          /* the mark's tooth: the signature only */
  --jd-cyan-ink: #0a6a93;      /* the eye's colour as text on white (5.6:1) */
  --jd-signature: linear-gradient(90deg, var(--jd-cyan) 0 50%, var(--jd-lime) 50% 100%);
  --paper: #f5f3ee;
  --paper-2: #fbfaf7;
  --white: #ffffff;
  --ink: #0f1d2e;
  --muted: #586272;
  --line: #e6e1d6;
  --line-strong: #d3cbbd;
  --navy: #0066cc;             /* what is pressed or chosen */
  --navy-hover: #0052a3;
  --mint: #0b7a55;             /* good, free, done */
  --mint-soft: #e2f2ea;
  --amber: #965a09;
  --amber-soft: #fbefdc;
  --red: #c8102e;
  --red-soft: #fff0f2;
  --blue-soft: #e8f1fb;
  --ring: 0 0 0 3px rgba(43, 175, 224, .32);
  --shadow: 0 1px 2px rgba(14, 42, 71, .05), 0 6px 18px -10px rgba(14, 42, 71, .16);
  --shadow-lift: 0 2px 4px rgba(14, 42, 71, .06), 0 24px 46px -22px rgba(14, 42, 71, .34);
  --look-text: "Inter", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
  --look-display: "Poppins", "Noto Sans Devanagari", system-ui, sans-serif;   /* Poppins sets Hindi too */
  --look-display-weight: 600;
  --hui-head-font: "Poppins", sans-serif;
  --hui-tint: #e8f1fb;
  --hui-focus: var(--jd-blue);
  font-family: var(--look-text);
  font-feature-settings: "cv11", "ss01";
  background: var(--paper);
  color: var(--ink);
}
body.brand-jedh :is(input, select, textarea, button) { font-family: inherit; }
body.brand-jedh :focus-visible { outline-color: var(--jd-blue); }

/* ---------- type: Poppins for titles and large figures, a size down from the serif's (Poppins sets wide) ---------- */
body.brand-jedh :is(h1, h2, h3) { letter-spacing: -.012em; }
body.brand-jedh .page-title h1 { font-size: 34px; line-height: 1.12; letter-spacing: -.02em; }
body.brand-jedh .look-hello h1 { font-size: 34px; line-height: 1.12; letter-spacing: -.02em; }
body.brand-jedh .look-hello h1 em { font-style: normal; color: var(--jd-blue); }
body.brand-jedh :is(.fd-title h2, .card-head h2) { font-size: 19px; letter-spacing: -.01em; }
body.brand-jedh:not(.fd-many) .fd-stat b { font-size: 38px; letter-spacing: -.02em; font-variant-numeric: tabular-nums lining-nums; }
body.brand-jedh .fd-stat b { font-family: var(--look-display); font-weight: 600; }
body.brand-jedh .kpi b { font-size: 32px; letter-spacing: -.02em; }
body.brand-jedh .start-head h1 { font-size: 30px; letter-spacing: -.02em; }
body.brand-jedh .panel-head h2 { font-size: 18px; }
body.brand-jedh :is(.look-eyebrow, .panel-head small) { color: var(--jd-cyan-ink); }
@media (max-width: 760px) {
  body.brand-jedh :is(.page-title h1, .look-hello h1) { font-size: 27px; }
  body.brand-jedh .start-head h1 { font-size: 25px; }
}

/* ---------- controls ---------- */
body.brand-jedh .btn.primary, body.brand-jedh a.btn.primary {
  background: linear-gradient(180deg, #0a6fd6, var(--jd-blue)); border-color: var(--jd-blue-deep); color: #fff;
  box-shadow: 0 1px 2px rgba(0, 61, 122, .3), inset 0 1px 0 rgba(255, 255, 255, .14);
}
body.brand-jedh .btn.primary:hover:not(:disabled), body.brand-jedh a.btn.primary:hover { background: var(--jd-blue-deep); border-color: var(--jd-blue-deep); }
body.brand-jedh :is(.rx-input, .field input, .field select, .field textarea, input[type="search"]):focus { border-color: var(--jd-blue); box-shadow: var(--ring); }
body.brand-jedh .fd-stat .fd-ico { background: var(--blue-soft); color: var(--jd-blue-deep); }
body.brand-jedh .nav-count { background: var(--blue-soft); color: var(--jd-blue-deep); }
body.brand-jedh .combo-list [role=option].on { background: var(--blue-soft); }

/* ---------- the band (narrow screens): navy, the mark in its own colours, the name in Poppins, the signature below ---------- */
body.brand-jedh .topbar.staff-bar {
  background: var(--jd-signature) left bottom / 100% 3px no-repeat, linear-gradient(100deg, var(--jd-navy) 0%, var(--jd-navy-2) 100%);
  color: #fff; border-bottom: 0; box-shadow: 0 1px 6px rgba(14, 42, 71, .25);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
body.brand-jedh .staff-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
body.brand-jedh .brand-hosp { display: block; height: 30px; width: auto; flex: none; }
body.brand-jedh .brand-word { font: 600 15.5px/1.15 "Poppins", system-ui, sans-serif; letter-spacing: -.01em; color: #fff; white-space: nowrap; }
body.brand-jedh .brand-by { display: flex; flex-direction: column; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .28); line-height: 1.15; }
body.brand-jedh .staff-bar .brand-by strong { font: 600 12px/1.2 var(--look-text); letter-spacing: 0; color: rgba(255, 255, 255, .92); }
body.brand-jedh .brand-by small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .74); white-space: nowrap; }
/* The tabs in white on the band only where they are on the band: under 761 px they move to the phone's white tab bar
   at the foot (polish.css), where white was white on white (seen by the session building Agarwal's look, 1 Dec, on this
   page's own 375 px shot); there the page you are on takes the blue tint. The More sheet's links stay dark. */
@media (min-width: 761px) {
  body.brand-jedh .staff-bar .mode-nav { background: none; border: 0; }
  body.brand-jedh .staff-bar .mode-nav > a { color: rgba(255, 255, 255, .86); }
  body.brand-jedh .staff-bar .mode-nav > a svg { stroke: currentColor; }
  body.brand-jedh .staff-bar .mode-nav > a:hover:not(.on) { background: rgba(255, 255, 255, .1); color: #fff; }
  body.brand-jedh .staff-bar .mode-nav > a.on { background: #fff; color: var(--jd-navy); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
  body.brand-jedh .staff-bar .mode-nav > a.on svg { stroke: var(--jd-blue); }
  body.brand-jedh .staff-bar .mode-nav > a .nav-count { background: rgba(255, 255, 255, .16); color: #fff; }
  body.brand-jedh .staff-bar .mode-nav > a.on .nav-count { background: var(--blue-soft); color: var(--jd-blue-deep); }
  body.brand-jedh .staff-bar .nav-more > summary { color: rgba(255, 255, 255, .86); }
  body.brand-jedh .staff-bar .nav-more > summary svg { stroke: currentColor; }
}
@media (max-width: 760px) {
  body.brand-jedh .staff-bar .staff-nav > a.on, body.brand-jedh .staff-bar .nav-more > summary.on {
    background: var(--blue-soft); color: var(--jd-blue-deep);
  }
  body.brand-jedh .staff-bar .staff-nav > a.on svg, body.brand-jedh .staff-bar .nav-more > summary.on svg { stroke: var(--jd-blue); }
}
body.brand-jedh .topbar .field span { color: rgba(255, 255, 255, .8); }
body.brand-jedh .tb-icon { color: #fff; }
body.brand-jedh .tb-icon:hover, body.brand-jedh .tb-icon.on { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .26); color: #fff; }
body.brand-jedh .tb-icon:focus-visible, body.brand-jedh .tb-user > summary:focus-visible { box-shadow: 0 0 0 3px rgba(43, 175, 224, .6); }
body.brand-jedh .tb-badge { background: #fff; color: var(--red); box-shadow: 0 0 0 2px var(--jd-navy); }
body.brand-jedh .tb-user > summary { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); }
body.brand-jedh .tb-user > summary:hover { border-color: rgba(255, 255, 255, .5); }
body.brand-jedh .tb-user > summary .staff-who b { color: #fff; }
body.brand-jedh .tb-user > summary .staff-who small, body.brand-jedh .tb-user > summary .tb-chev { color: rgba(255, 255, 255, .78); }
body.brand-jedh .tb-user > summary .tb-avatar { background: linear-gradient(135deg, var(--jd-cyan), var(--jd-blue)); color: #fff; }
body.brand-jedh .tb-powered { margin: 0; padding: 8px 12px 4px; font-size: 11px; color: var(--muted); }
/* Under the sidebar its eleven tabs, the bell and the user share the band: "DrMate · AI front desk" gives way (as
   Rajasthan's does), the tabs close up, and under 1300 px the mark stands alone (measured on a local render, 1 Dec:
   at 1440 px the last three tabs ran off the band with both shown). */
@media (max-width: 1499.98px) { body.brand-jedh .staff-bar .brand-by { display: none; } }
@media (min-width: 1101px) and (max-width: 1499.98px) {
  body.brand-jedh .topbar.staff-bar { gap: 10px; }
  body.brand-jedh .staff-bar .mode-nav { gap: 0; }
  body.brand-jedh .staff-bar .mode-nav a { padding: 6px 7px; }
}
@media (min-width: 1101px) and (max-width: 1439.98px) { body.brand-jedh .brand-word { display: none; } }
@media (min-width: 1101px) and (max-width: 1299.98px) {
  body.brand-jedh .staff-bar .mode-nav a { padding: 6px 6px; font-size: 13px; }
  body.brand-jedh .tb-user .staff-who, body.brand-jedh .tb-chev { display: none; }
}
@media (max-width: 520px) { body.brand-jedh .brand-word { display: none; } }

/* ---------- the sidebar (wide screens: 1300 px for a clinic's desk, 1500 px for the one-screen desk): the band's navy
   standing up, the signature down its right edge ---------- */
@media (min-width: 1300px) {
  body.brand-jedh.brand-drmate:not(:has(.staff-bar.many)) .topbar.staff-bar {
    background: linear-gradient(180deg, var(--jd-cyan) 0 50%, var(--jd-lime) 50% 100%) right top / 3px 100% no-repeat,
                linear-gradient(180deg, var(--jd-navy) 0%, #0b2340 100%);
    border-right: 0; box-shadow: 1px 0 12px rgba(14, 42, 71, .18); -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  body.brand-jedh.brand-drmate:not(:has(.staff-bar.many)) .staff-bar .staff-nav::before { color: rgba(255, 255, 255, .5); }
  body.brand-jedh.brand-drmate:not(:has(.staff-bar.many)) .staff-bar .staff-nav > a { color: rgba(255, 255, 255, .84); }
  body.brand-jedh.brand-drmate:not(:has(.staff-bar.many)) .staff-bar .staff-nav > a svg { stroke: rgba(255, 255, 255, .78); }
  body.brand-jedh.brand-drmate:not(:has(.staff-bar.many)) .staff-bar .staff-nav > a:hover:not(.on) { background: rgba(255, 255, 255, .08); color: #fff; }
  body.brand-jedh.brand-drmate:not(:has(.staff-bar.many)) .staff-bar .staff-nav > a.on {
    background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 3px 0 0 var(--jd-cyan);
  }
  body.brand-jedh.brand-drmate:not(:has(.staff-bar.many)) .staff-bar .staff-nav > a.on svg { stroke: var(--jd-cyan); }
  body.brand-jedh.brand-drmate:not(:has(.staff-bar.many)) .staff-bar .staff-me { border-top-color: rgba(255, 255, 255, .12); }
  body.brand-jedh.brand-drmate:not(:has(.staff-bar.many)) .staff-bar .staff-brand { flex-wrap: wrap; padding: 6px 10px 22px; row-gap: 8px; }
  body.brand-jedh.brand-drmate:not(:has(.staff-bar.many)) .brand-hosp { height: 34px; }
  body.brand-jedh.brand-drmate:not(:has(.staff-bar.many)) .brand-by { display: flex; flex-basis: 100%; padding-left: 0; border-left: 0; }
}
@media (min-width: 1500px) {
  body.brand-jedh:has(.staff-bar.many) .topbar.staff-bar {
    background: linear-gradient(180deg, var(--jd-cyan) 0 50%, var(--jd-lime) 50% 100%) right top / 3px 100% no-repeat,
                linear-gradient(180deg, var(--jd-navy) 0%, #0b2340 100%);
    border-right: 0; box-shadow: 1px 0 12px rgba(14, 42, 71, .18); -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  body.brand-jedh:has(.staff-bar.many) .staff-bar .staff-nav > a { color: rgba(255, 255, 255, .84); }
  body.brand-jedh:has(.staff-bar.many) .staff-bar .staff-nav > a svg { stroke: rgba(255, 255, 255, .78); }
  body.brand-jedh:has(.staff-bar.many) .staff-bar .staff-nav > a:hover:not(.on) { background: rgba(255, 255, 255, .08); color: #fff; }
  body.brand-jedh:has(.staff-bar.many) .staff-bar .staff-nav > a.on { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 3px 0 0 var(--jd-cyan); }
  body.brand-jedh:has(.staff-bar.many) .staff-bar .staff-nav > a.on svg { stroke: var(--jd-cyan); }
  body.brand-jedh:has(.staff-bar.many) .staff-bar .staff-me { border-top-color: rgba(255, 255, 255, .12); }
  body.brand-jedh:has(.staff-bar.many) .staff-bar .staff-brand { flex-wrap: wrap; padding: 6px 10px 22px; row-gap: 8px; }
  body.brand-jedh:has(.staff-bar.many) .brand-hosp { height: 34px; }
  body.brand-jedh:has(.staff-bar.many) .brand-by { display: flex; flex-basis: 100%; padding-left: 0; border-left: 0; }
}

/* ---------- emergencies: crimson, never the brand's blue ---------- */
body.brand-jedh .fd-sos-card { background: var(--red); }
body.brand-jedh .fd-sos-side .fd-sos-call, body.brand-jedh .fd-sos-side a.fd-sos-call:hover { color: var(--red); }
body.brand-jedh :is(.fd-count.sos, .pill.sos, .btn.danger, a.btn.danger) { background: var(--red); border-color: var(--red); color: #fff; }
body.brand-jedh .btn.danger:hover:not(:disabled), body.brand-jedh a.btn.danger:hover { background: #9f0c25; border-color: #9f0c25; }
body.brand-jedh .fd-stat.sos { border-color: #f3b0bd; background: linear-gradient(180deg, var(--red-soft), var(--white) 70%); }
body.brand-jedh :is(.fd-stat.sos b, .fd-stat.sos small) { color: #a00d27; }
body.brand-jedh .np-ico.k-emergency { background: #ffe4ea; color: #a00d27; }
body.brand-jedh .np-item.k-emergency .np-txt b { color: #a00d27; }

/* ---------- slots: tints, so a full day reads as a pattern ---------- */
body.brand-jedh .chip.free { background: var(--white); color: var(--mint); border-color: #b9dcca; }
body.brand-jedh .chip.taken { background: #eeebe4; color: #857d71; }
body.brand-jedh .chip.booked { background: var(--blue-soft); color: var(--jd-blue-deep); }
body.brand-jedh .chip.past { color: #b4ac9f; border-color: #ece8e0; }

/* ---------- the doctor's room and the prescription pad: the band's navy for the voice card, the eye's cyan for labels
   (they drew on "good" green, DrMate's own colour) ---------- */
body.brand-jedh .who.D { background: var(--jd-navy); }
body.brand-jedh .sline.D { background: #f2f7fc; }
body.brand-jedh .eyebrow { color: var(--jd-cyan-ink); }
body.brand-jedh .speak-start {
  background: var(--jd-signature) left bottom / 100% 3px no-repeat, linear-gradient(120deg, var(--jd-navy) 0%, var(--jd-navy-2) 55%, #0b5cb8 100%);
  box-shadow: 0 12px 26px -14px rgba(14, 42, 71, .75);
}
body.brand-jedh .speak-start:hover { box-shadow: 0 16px 30px -14px rgba(14, 42, 71, .85); }
body.brand-jedh .speak-start:focus-visible { outline-color: rgba(43, 175, 224, .55); }
body.brand-jedh .speak-ic { background: rgba(43, 175, 224, .22); box-shadow: inset 0 0 0 1px rgba(43, 175, 224, .45); }

/* ---------- sign-in: the hospital's hero on the left (its navy-to-blue, the eye drawn large and faint in its two
   colours), the form on the right ---------- */
.brand-jedh.login-body { display: block; place-items: normal; min-height: 100vh; padding: 0; background: var(--paper); }
.brand-jedh .rh-login { width: 100%; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(380px, 560px); }
.brand-jedh .rh-art {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  padding: 56px clamp(28px, 5vw, 76px) 64px; color: #fff;
  background: linear-gradient(135deg, #1a365d 0%, #1e4a7a 28%, #0066cc 68%, #0052a3 100%);
}
.brand-jedh .rh-art::before {                  /* the mark's eye, drawn large and faint: the lower lid cyan from the corner, the upper lid lime
                                                  starting part-way up, as in the mark (the two never meet) */
  content: ""; position: absolute; z-index: -1; right: -14%; top: 8%; width: min(78%, 680px); aspect-ratio: 16 / 10;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 200'%3E%3Cg fill='none' stroke-width='9' stroke-linecap='round'%3E%3Cpath d='M66 66C126 22 236 24 300 98' stroke='%239dc13e' stroke-opacity='.34'/%3E%3Cpath d='M20 98C86 186 218 184 292 112' stroke='%232bafe0' stroke-opacity='.42'/%3E%3Ccircle cx='160' cy='101' r='52' stroke='%232bafe0' stroke-opacity='.3' stroke-width='7'/%3E%3Ccircle cx='160' cy='101' r='22' stroke='%23ffffff' stroke-opacity='.14' stroke-width='3'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.brand-jedh .rh-art::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--jd-signature); }
.brand-jedh .rh-art-logo { position: relative; display: block; align-self: flex-start; width: auto; height: 92px; margin-bottom: 6px;
  filter: drop-shadow(0 6px 18px rgba(0, 20, 50, .35)); }
.brand-jedh .rh-word { position: relative; margin: 0; font: 700 clamp(30px, 3.4vw, 46px)/1.08 "Poppins", system-ui, sans-serif; letter-spacing: -.025em; text-wrap: balance; }
.brand-jedh .rh-motto { position: relative; margin: 0; font: 600 clamp(17px, 1.7vw, 21px)/1.4 "Poppins", "Noto Sans Devanagari", sans-serif; color: rgba(255, 255, 255, .86); }
.brand-jedh .rh-art-line { position: relative; margin: 10px 0 0; max-width: 44ch; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .84);
  padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); }
.brand-jedh .rh-login .login-card { align-self: center; justify-self: center; width: min(420px, calc(100% - 32px)); margin: 40px 16px;
  border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-lift); background: var(--white); }
.brand-jedh .rh-login .login-card h1 { margin-top: 12px; font: 600 28px/1.15 "Poppins", system-ui, sans-serif; letter-spacing: -.02em; }
.brand-jedh .rh-card-logo { display: block; width: 72px; height: 72px; margin: -4px 0 0 -6px; }
.brand-jedh .rh-powered { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 24px 0 0; padding-top: 16px;
  border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.brand-jedh .rh-powered img { display: block; height: 9px; width: auto; }
@media (max-width: 880px) {
  .brand-jedh .rh-login { grid-template-columns: 1fr; }
  .brand-jedh .rh-art { padding: 30px 20px 24px; gap: 6px; }
  .brand-jedh .rh-art::before { right: -30%; top: -10%; width: 110%; opacity: .7; }
  .brand-jedh .rh-art-line { display: none; }
  .brand-jedh .rh-art-logo { height: 58px; }
  .brand-jedh .rh-word { font-size: 26px; }
  .brand-jedh .rh-motto { font-size: 16px; }
  .brand-jedh .rh-login .login-card { margin: 24px auto 32px; }
}
