/* The patient app's look, 3 October 2026: glass on blue and orange (docs/PATIENT_APP_THEME.md).
 *
 * Dr. Ranadheer, after Sara Aahaar was redone this way: "not only Aahaaram - everything in the
 * patient app, completely. I just want a premium, great look." So this file is loaded LAST and
 * re-dresses the app's own shell - the page, the name bar, cards, buttons, rows, the token card,
 * the bar at the bottom - without touching what any screen says or does. patient_app.css and
 * patient_app_premium.css still lay everything out; this only changes how it looks.
 *
 * The parts: a fixed field of the hospital's two colours, frosted cards floating on it, small
 * controls, one orange for the thing to press, Outfit for letters (Anek Telugu, set smaller, for
 * Telugu), and the tab bar lifted off the screen's edge into a floating pill.
 *
 * Sara Aahaar brings its own stylesheet and hides this shell while it is open (body.aa-on).
 */
:root {
  --fl-o:#E2570F; --fl-o-dk:#A63E07; --fl-o-lt:#F59A63; --fl-o-soft:#FFF0E6; --fl-o-rgb:226,87,15;   /* "1 Deep", his pick 3 Oct 2026 */
  --g-page:#FFFFFF; --g-ink:#141A24; --g-soft:#5B6474; --g-acc:var(--fl-o-dk); --g-clay:#D9482B;
  --g-glass:#FFFFFF; --g-edge:#ECEEF2; --g-rail:#ECEEF2;
  --g-shadow:0 1px 3px rgba(16,24,40,.06);
  --g-orange:var(--fl-o);
  --g-blue:var(--fl-o);
  --g-ring:var(--fl-o);
  /* the old sheets read these: point them at the new palette */
  --bg:#FFFFFF; --text:#0C1526; --muted:#4F5C78; --faint:#4F5C78; --line:rgba(12,21,38,.11); --card:#FFFFFF;
  --blue:var(--fl-o-dk); --blue-soft:rgba(var(--fl-o-rgb),.1); --orange-dark:#C2480A; --orange-soft:rgba(255,150,71,.18);
  --shadow: 0 1px 3px rgba(16,24,40,.06); --curtain:transparent;
  --font:"Anek Telugu", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Telugu", system-ui, sans-serif;
}
html, body { background:var(--g-page); color:var(--g-ink); font-family:var(--font); line-height:1.45; }
body.te { line-height:1.5; }
button, input, textarea, select { font-family:inherit; }

/* ------------------------------------------------------------------ the colour field */
body::before { content:""; position:fixed; inset:0; height:auto; z-index:0; pointer-events:none; background:
    radial-gradient(64% 40% at 92% 4%, #FF9F5C 0%, rgba(255,159,92,0) 70%),
    radial-gradient(76% 46% at 2% 10%, #5E9FF2 0%, rgba(94,159,242,0) 70%),
    radial-gradient(74% 42% at 14% 82%, #86BBF7 0%, rgba(134,187,247,0) 70%),
    radial-gradient(64% 42% at 100% 74%, #FFB98A 0%, rgba(255,185,138,0) 70%), var(--g-page); }
main { padding-bottom:calc(118px + env(safe-area-inset-bottom)); }
main.plain { padding-bottom:40px; }

/* ------------------------------------------------------------------ the name bar */
.top { background:rgba(255,255,255,.28); border-bottom:0; box-shadow:none;
  -webkit-backdrop-filter:blur(20px) saturate(160%); backdrop-filter:blur(20px) saturate(160%); }
.top-in { min-height:68px; gap:10px; }
.top-back { width:44px; height:44px; border-radius:50%; background:var(--g-glass); border:1px solid var(--g-edge); color:var(--g-ink);
  box-shadow:0 6px 16px rgba(16,24,40,0.05); }
.who-av { width:44px; height:44px; border-radius:50%; overflow:hidden; background:#FBE3CB; border:2px solid #fff; box-shadow:0 8px 18px rgba(16,24,40,0.09);
  font-size:15px; color:var(--g-ink); }
.who-av svg { display:block; width:100%; height:100%; }
.who-top .h { font-size:17.5px; font-weight:600; letter-spacing:-.02em; color:var(--g-ink); }
.who-top .s { display:block; background:none; padding:0; margin-top:1px; border-radius:0; font-size:13px; font-weight:500; letter-spacing:0; color:var(--g-soft); }
.lang-btn { min-height:40px; padding:0 15px; border-radius:999px; background:var(--g-glass); border:1px solid var(--g-edge); color:var(--g-ink);
  font-size:13.5px; font-weight:600; box-shadow:0 6px 16px rgba(16,24,40,0.05); }

/* ------------------------------------------------------------------ cards */
.card { background:var(--g-glass); border:1px solid var(--g-edge); border-radius:26px; box-shadow:var(--g-shadow); padding:16px; margin:0 0 12px;
  -webkit-backdrop-filter:blur(22px) saturate(160%); backdrop-filter:blur(22px) saturate(160%); }
@supports not ((backdrop-filter:blur(2px)) or (-webkit-backdrop-filter:blur(2px))) { .card, .top, .tabs { background:rgba(255,255,255,.88); } }
.card.flush { padding:0; }
.card h2 { font-size:17.5px; font-weight:600; letter-spacing:-.02em; color:var(--g-ink); }
.card h3 { font-weight:600; color:var(--g-ink); }
.screen-title { font-size:24px; font-weight:600; letter-spacing:-.03em; color:var(--g-ink); margin:6px 2px 14px; }
.lead, .muted, .hint { color:var(--g-soft); font-weight:500; }
.cap, .hero .cap { font-size:12.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--g-acc); }
body.te .cap { letter-spacing:.02em; }
.refresh-line .when { color:var(--g-soft); font-weight:500; }
.refresh { min-height:38px; padding:0 14px; border-radius:999px; background:var(--g-glass); border:1px solid var(--g-edge); color:var(--g-acc); font-weight:600;
  box-shadow:0 6px 16px rgba(16,24,40,0.05); }

/* ------------------------------------------------------------------ buttons: slim, and one orange */
.btn { min-height:46px; padding:10px 18px; border-radius:16px; font-size:15px; font-weight:600; color:#fff; background:var(--g-orange);
  box-shadow:0 8px 18px rgba(238,90,14,0.11); border:0; }
.btn.blue { background:var(--g-blue); box-shadow:0 8px 18px rgba(var(--fl-o-rgb),.28); }
.btn.ghost { background:rgba(255,255,255,.82); color:var(--g-acc); border:1px solid var(--g-edge); box-shadow:0 6px 14px rgba(16,24,40,0.04); }
.btn.small { min-height:40px; font-size:14px; padding:8px 14px; border-radius:999px; }
.btn.auto { border-radius:999px; }
.linky { color:var(--g-acc); font-weight:600; }
.pill { border-radius:999px; padding:5px 12px; font-size:13px; font-weight:600; background:rgba(255,255,255,.7); color:var(--g-ink); }
.pill.ok { background:rgba(var(--fl-o-rgb),.12); color:var(--fl-o-dk); }
.pill.info { background:rgba(var(--fl-o-rgb),.12); color:var(--fl-o-dk); }
.pill.now { background:rgba(255,150,71,.22); color:#8A3A08; }
.pill.wait { background:rgba(255,150,71,.22); color:#8A3A08; }
.pill.bad { background:rgba(217,72,43,.14); color:#8E2A14; }
label { font-weight:600; font-size:14px; color:var(--g-soft); }
input, textarea, select { border:1px solid rgba(12,21,38,.16); border-radius:16px; background:rgba(255,255,255,.86); color:var(--g-ink); font-weight:500; min-height:48px; padding:11px 14px; }
input:focus, textarea:focus, select:focus { border-color:var(--g-acc); box-shadow:0 0 0 3px rgba(var(--fl-o-rgb),.16); outline:none; }

/* ------------------------------------------------------------------ the token card: glass, with the ring's colours */
.hero, body[data-hero] .hero { background:var(--g-glass) !important; border:1px solid var(--g-edge) !important; color:var(--g-ink) !important;
  box-shadow:var(--g-shadow) !important; border-radius:26px; -webkit-backdrop-filter:blur(22px) saturate(160%); backdrop-filter:blur(22px) saturate(160%); }
.hero::before, .hero::after { display:none !important; }
.hero .what b, .hero .what .sub, .hero b, .hero span, .hero small, .hero p { color:var(--g-ink) !important; text-shadow:none !important; }
.hero .what .sub, .hero .wait, .hero .wait * { color:var(--g-soft) !important; }
.hero .what b { font-size:19px; font-weight:600; letter-spacing:-.02em; }
.hero .tok, body[data-hero] .hero .tok { background:var(--g-ring) !important; border:0 !important; border-radius:20px; box-shadow:0 10px 22px rgba(var(--fl-o-rgb),.3) !important; }
.hero .tok b, .hero .tok small { color:#fff !important; }

/* ------------------------------------------------------------------ rows and people */
.rows .link-row, .link-row { border-color:var(--g-rail); color:var(--g-ink); }
.link-row .ico, .link-row .ico.warm { width:40px; height:40px; border-radius:50%; background:radial-gradient(circle at 35% 30%, #fff 0%, #DCEBFB 100%); color:var(--g-acc);
  border:1px solid var(--g-edge); box-shadow:0 6px 12px rgba(16,24,40,0.05); }
.link-row .ico svg { width:20px; height:20px; }
.link-row .lbl { font-weight:600; font-size:15.5px; }
.link-row .lbl small { color:var(--g-soft); font-weight:500; }
.link-row .go, .person .go { color:var(--g-acc); }
.person { background:var(--g-glass); border:1px solid var(--g-edge); border-radius:24px; box-shadow:var(--g-shadow);
  -webkit-backdrop-filter:blur(22px) saturate(160%); backdrop-filter:blur(22px) saturate(160%); }
.person .av { width:48px; height:48px; border-radius:50%; overflow:hidden; background:#FBE3CB; border:2px solid #fff; box-shadow:0 8px 18px rgba(16,24,40,0.09); padding:0; }
.person .av svg { display:block; width:100%; height:100%; }
.person .name { font-weight:600; color:var(--g-ink); }
.doc-chip { background:rgba(255,255,255,.7); border:1px solid var(--g-edge); }
.steps li, .steps .t { color:var(--g-ink); }

/* ------------------------------------------------------------------ the bar at the bottom, lifted off the edge */
.tabs { left:50%; right:auto; transform:translateX(-50%); bottom:calc(20px + env(safe-area-inset-bottom)); width:auto; max-width:calc(100% - 24px);
  padding:7px; border-radius:999px; background:rgba(255,255,255,.62); border:1px solid rgba(255,255,255,.9);
  box-shadow:0 20px 44px rgba(16,24,40,0.14);
  -webkit-backdrop-filter:blur(26px) saturate(180%); backdrop-filter:blur(26px) saturate(180%); overflow:visible; }
.tabs-in { display:flex; align-items:center; gap:2px; padding:0; max-width:none; }
/* while a box has the keyboard (phone_keys.js marks <html> kb-focus, 21 Oct 2026, QA part 2) the bar steps aside: on the
   keys it covered the box and the button being reached for */
html.kb-focus .tabs { display:none; }
.tab { flex:none; width:52px; min-height:0; height:48px; padding:0; border-radius:999px; flex-direction:row; gap:8px; color:var(--g-soft); background:none; }
.tab::before, .tab::after { display:none !important; }
.tabs-in .tab svg { width:22px; height:22px; padding:0; border-radius:0; background:none !important; box-shadow:none !important; color:inherit; filter:none !important; transform:none !important;
  stroke-width:1.75; }
.tab span, .tabs-in .tab span { display:none; font-size:13.5px; font-weight:600; letter-spacing:0; }
.tab.on { width:auto; padding:0 16px; background:var(--g-ink); color:#fff; }
.tab.on span, .tabs-in .tab.on span { display:inline; color:#fff; }
.tab.leaf { width:48px; margin:0 4px; background:var(--g-orange); color:#fff; box-shadow:0 8px 18px rgba(238,90,14,0.14); }

/* The chat button keeps its place, above the bar. */
.pc-fab { bottom:calc(92px + env(safe-area-inset-bottom)); width:52px; height:52px; box-shadow:0 12px 26px rgba(16,24,40,0.13); }
.toast { border-radius:16px; }

/* ------------------------------------------------------------------ small things that still wore the old colours */
.person .tok { color:var(--g-ink); font-weight:600; }
.person .tok small { color:var(--g-soft); }
.lang-pick button { min-height:44px; font-size:14.5px; border-radius:999px; border:1px solid var(--g-edge); background:rgba(255,255,255,.82); color:var(--g-ink); }
.lang-pick button.on { background:var(--g-ink); border-color:var(--g-ink); color:#fff; box-shadow:none; }
.steps .now, .steps .cur, .steps li.now .t { color:#C2480A; }
.person.on { border-color:rgba(var(--fl-o-rgb),.55); box-shadow:0 0 0 3px rgba(var(--fl-o-rgb),.14), 0 18px 40px rgba(16,24,40,0.08); }


/* ================================================================== Home, laid out afresh (patient_app_home.js) */
.gh-glass { background:var(--g-glass); border:1px solid var(--g-edge); border-radius:26px; box-shadow:var(--g-shadow);
  -webkit-backdrop-filter:blur(22px) saturate(160%); backdrop-filter:blur(22px) saturate(160%); }
.gh-cap { display:block; font-size:12.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--g-acc); }
body.te .gh-cap { letter-spacing:.02em; }

/* the name bar becomes a greeting: no bar at all, her face, "Good evening" over her name */
/* relative, not static: a static bar would sit BEHIND the fixed colour field (body::before) and vanish */
.top { position:relative; z-index:2; background:none; -webkit-backdrop-filter:none; backdrop-filter:none; }
.top-in { padding-right:72px; min-height:72px; }
.top .logo { display:none; }
.top:not(.greet) .who-av { width:40px; height:40px; }
.top.greet .who-av { width:48px; height:48px; }
.top.greet .who-text { display:flex; flex-direction:column-reverse; }
.top.greet .who-top .h { font-size:21px; letter-spacing:-.03em; line-height:1.15; }
.top.greet .who-top .s { font-size:13.5px; margin:0; }
.top.greet .top-back { display:none; }
.lang-btn { min-height:44px; padding:0 14px; }
/* the hospital's messages: a small round glass button at the top, where a bell would be */
.pc-fab { top:calc(14px + env(safe-area-inset-top)); bottom:auto; right:16px; width:44px; height:44px; background:var(--g-glass); color:var(--g-ink);
  border:1px solid var(--g-edge); box-shadow:0 6px 16px rgba(16,24,40,0.05); -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px); position:absolute; }
.pc-fab svg { width:21px; height:21px; }
.pc-fab b { background:#EE5A0E; color:#fff; }

.gh-visit { position:relative; padding:18px 18px 12px; margin:6px 0 0; min-height:0; }
.gh-visit h2 { margin:6px 0 0; font-size:23px; font-weight:600; letter-spacing:-.03em; line-height:1.18; color:var(--g-ink); padding-right:92px; }
.gh-visit p { margin:5px 0 0; font-size:14px; font-weight:500; color:var(--g-soft); }
.gh-visit + .gh-visit { margin-top:12px; }
.gh-visit + .gh-visit h2 { font-size:18px; padding-right:0; }
.gh-tok { position:absolute; right:16px; top:16px; min-width:74px; text-align:center; padding:9px 12px 8px; border-radius:18px; background:rgba(255,255,255,.8); border:1px solid var(--g-edge); }
.gh-tok b { display:block; font-size:22px; font-weight:600; letter-spacing:-.03em; line-height:1.1; color:var(--g-ink); }
.gh-tok small { display:block; font-size:11.5px; font-weight:600; letter-spacing:.14em; color:var(--g-soft); text-transform:uppercase; }
.gh-chips { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }
.gh-chips span { height:30px; padding:0 12px; border-radius:999px; display:inline-flex; align-items:center; font-size:13px; font-weight:500; background:rgba(255,255,255,.72); color:var(--g-ink); }
/* 3D pictures (5 Oct 2026): on the tiles, and one over each step of the visit. They are cut on
   white and laid on with multiply, so the white goes and the soft shadow stays. */
.gh-pic { display:block; font-style:normal; }
.gh-pic img { display:block; width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply; }
.gh-pic + svg { display:none !important; }
.gh-tile .gh-pic { width:54px; height:54px; margin:0 auto 5px; }
/* ...and in place of the round chips of More and of the report and bill cards */
.gs-chip.pic, .gr-ico.pic { background:none !important; box-shadow:none !important; border-radius:0; }
.gs-chip.pic .gh-pic { width:44px; height:44px; }
.gr-ico.pic .gh-pic { width:46px; height:46px; }
.gh-track-p { display:flex; gap:6px; margin-top:14px; align-items:flex-end; }
.gh-track-p span { flex:1; min-width:0; display:flex; justify-content:center; }
.gh-track-p span:first-child { justify-content:flex-start; } .gh-track-p span:last-child { justify-content:flex-end; }
.gh-track-p .gh-pic { width:34px; height:34px; }
.gh-track-p .now .gh-pic { width:48px; height:48px; }
.gh-track-p .next .gh-pic { opacity:.38; filter:grayscale(1); }
.gh-track-p + .gh-track { margin-top:6px; }
.gh-novisit { padding-right:104px; }
.gh-novisit > .gh-pic { position:absolute; right:14px; top:50%; width:78px; height:78px; margin-top:-39px; }
.gh-track { display:flex; gap:6px; margin-top:16px; }
.gh-track i { flex:1; height:5px; border-radius:99px; background:var(--g-rail); }
.gh-track i.on { background:var(--g-ring); }
.gh-track-l { display:flex; gap:6px; margin-top:7px; }
.gh-track-l span { flex:1; min-width:0; text-align:center; font-size:12.5px; font-weight:500; color:var(--g-soft); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gh-track-l span:first-child { text-align:left; } .gh-track-l span:last-child { text-align:right; }
.gh-track-l span.now { color:var(--g-ink); font-weight:600; }
.gh-more { margin-top:12px; padding:0; border:0; background:none; font-size:13.5px; font-weight:600; color:var(--g-acc); min-height:36px; cursor:pointer; }
.gh-steps { margin:12px 0 0; padding-top:12px; border-top:1px solid var(--g-rail); }

.gh-tiles { display:grid; grid-template-columns:repeat(4, 1fr); gap:10px; margin-top:14px; }
.gh-tile { padding:13px 4px 11px; border-radius:22px; text-align:center; color:var(--g-ink); cursor:pointer; }
.gh-tile svg { display:block; width:22px; height:22px; margin:0 auto 7px; color:var(--g-acc); stroke-width:1.75; }
.gh-tile span { display:block; font-size:12.5px; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gh-sec { display:flex; align-items:baseline; justify-content:space-between; margin:22px 2px 10px; }
.gh-sec b { font-size:17px; font-weight:600; letter-spacing:-.02em; color:var(--g-ink); }
.gh-sec button { border:0; background:none; padding:6px 0; font-size:13.5px; font-weight:600; color:#C2480A; cursor:pointer; }

.gh-food { position:relative; display:block; width:100%; text-align:left; padding:16px; color:var(--g-ink); cursor:pointer; min-height:120px; margin-bottom:12px; }
.gh-food-top { display:flex; align-items:center; gap:14px; }
.gh-ring { position:relative; width:64px; height:64px; flex:none; }
.gh-ring svg { width:64px; height:64px; transform:rotate(-90deg); display:block; }
.gh-ring b { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:15px; font-weight:600; }
.gh-food-t b { display:block; font-size:19px; font-weight:600; letter-spacing:-.03em; }
.gh-food-t b small { font-size:13.5px; font-weight:500; color:var(--g-soft); letter-spacing:0; }
.gh-food-t em { display:block; font-style:normal; font-size:14px; font-weight:500; color:var(--g-soft); }
.gh-food-n { display:block; margin-top:12px; font-size:13.5px; font-weight:500; color:var(--g-soft); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; padding-right:96px; }
.gh-food-n b { color:var(--g-ink); font-weight:600; }
.gh-food-pl { position:absolute; right:-10px; top:-18px; width:132px; height:132px; pointer-events:none; }
.gh-food-pl img { width:132px; height:132px; object-fit:contain; filter:drop-shadow(0 12px 14px rgba(16,24,40,0.14)); }
.gh-food-pl span { display:none; }
.gh-food-go { position:absolute; right:16px; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:50%; background:var(--g-orange); color:#fff; display:flex; align-items:center; justify-content:center; }
.gh-food-go svg { width:22px; height:22px; }

/* ------------------------------------------------------------------ the bar: every tab can be read (3 Oct 2026)
   "Reports and bills tab should be highlighted - they are masked": a tab that is not the open one was a
   thin grey icon with no name. Now it is a dark, bold icon with its name under it; the open one stays
   the navy pill with its name beside the icon. */
.tab { width:auto; min-width:56px; padding:0 5px; flex-direction:column; gap:2px; color:var(--g-ink); }
.tabs-in .tab svg { stroke-width:2.1; }
.tab span, .tabs-in .tab span { display:block; font-size:10.5px; font-weight:600; line-height:1.1; color:var(--g-ink); white-space:nowrap; }
.tab.on { flex-direction:row; gap:8px; padding:0 16px; }
.tab.on span, .tabs-in .tab.on span { font-size:13.5px; color:#fff; }
.tab.leaf { min-width:48px; padding:0; }

/* ------------------------------------------------------------------ Home's four tiles, bold (3 Oct 2026)
   "Reports and bills ... they are masked", "Rx, reminders, what about those": a thin pale-blue line icon
   on glass read as switched off. Each tile now carries its icon white on a solid round chip - blue,
   orange, blue, orange, the screen's own two colours - and its name in bold ink. */
.gh-tile { padding:12px 4px 11px; }
.gh-tile svg { width:44px; height:44px; padding:11px; margin:0 auto 8px; border-radius:50%; color:#fff; stroke-width:2.1; box-sizing:border-box;
  background:var(--fl-o); box-shadow:0 8px 16px rgba(var(--fl-o-rgb),.32); }
.gh-tile:nth-child(even) svg { background:var(--g-orange); box-shadow:0 8px 16px rgba(238,90,14,0.13); }
.gh-tile span { font-size:13px; font-weight:600; color:var(--g-ink); }

/* ------------------------------------------------------------------ the doctor, on the visit card (3 Oct 2026)
   Her photo beside her name (static/doctors/<her-name>.jpg; initials when there is no file), and the
   kind of visit under the name. The chip's own pill is taken away: here it is a line of the card. */
.gh-doc { display:grid; grid-template-columns:48px 1fr; column-gap:11px; align-items:center; margin-top:12px; }
.gh-doc .doc-chip { display:contents; }
.gh-doc .doc-chip img, .gh-doc .doc-chip .ini { grid-row:1 / span 2; width:48px; height:48px; border-radius:50%; border:2px solid #fff;
  box-shadow:0 8px 18px rgba(16,24,40,0.10); font-size:15px; color:var(--g-acc); background:linear-gradient(145deg, #FFFFFF, #D5E6FB); }
.gh-doc .doc-chip b { align-self:end; max-width:none; font-size:16px; font-weight:600; letter-spacing:-.02em; color:var(--g-ink); line-height:1.2; }
.gh-doc small { grid-column:2; align-self:start; font-size:13.5px; font-weight:500; color:var(--g-soft); }
.gh-visit + .gh-visit .gh-doc { grid-template-columns:38px 1fr; }
.gh-visit + .gh-visit .gh-doc .doc-chip img, .gh-visit + .gh-visit .gh-doc .doc-chip .ini { width:38px; height:38px; font-size:13px; }

/* ------------------------------------------------------------------ Sara Aahaar on Home, before she has begun */
.gh-food-new { display:block; padding-right:104px; }
.gh-food-new b { font-size:18px; line-height:1.25; }
.gh-food-new em { margin-top:4px; line-height:1.4; }
.gh-food-start { display:inline-flex; align-items:center; gap:7px; height:38px; padding:0 16px; margin-top:13px; border-radius:999px; background:var(--g-orange); color:#fff;
  font-size:14px; font-weight:600; box-shadow:0 8px 18px rgba(238,90,14,0.12); }
.gh-food-start svg { width:17px; height:17px; }

/* Sara Aahaar on Home, when the hospital has not switched it on for this patient yet */
.gh-food-how { display:inline-flex; align-items:center; height:36px; padding:0 15px; margin-top:13px; border-radius:999px; background:rgba(255,255,255,.82);
  border:1px solid var(--g-edge); color:var(--g-acc); font-size:13.5px; font-weight:600; box-shadow:0 6px 14px rgba(16,24,40,0.04); }

/* Home's Sara Aahaar card shows the whole plate too (patient_app_aahaaram.css, aa-combo) */
.gh-food-pl .aa-combo img { width:auto; height:auto; filter:drop-shadow(0 8px 10px rgba(16,24,40,0.14)); }
.gh-food-pl .aa-combo img.m { width:84%; height:84%; }
.gh-food-pl .aa-combo img.s1 { width:46%; height:46%; }
.gh-food-pl .aa-combo img.s2 { width:44%; height:44%; }

/* ================================================================== flat: white and orange (3 Oct 2026)
   He saw the glass and then a clean white preview, and chose: "White + orange, whole app" - "just
   clean UI, no glossy, like capzul". No colour field, no frosting, no shine; white cards with a
   hairline, one orange (--fl-o, set at the top: change the shade there and the whole app follows),
   ink for words. The bar at the bottom: white, the open tab tinted orange. Two colours keep their
   meaning: red for danger, and the light blue of water in Sara Aahaar. */
body::before, .aa::before { display:none !important; }
*, *::before, *::after { -webkit-backdrop-filter:none !important; backdrop-filter:none !important; }
.top { background:#fff !important; border-bottom:1px solid var(--g-edge) !important; }
.tabs { background:#fff !important; border:1px solid var(--g-edge) !important; box-shadow:0 6px 20px rgba(16,24,40,.08) !important; }
.tab.on { background:var(--fl-o-soft) !important; color:var(--fl-o-dk) !important; }
.tab.on span, .tabs-in .tab.on span { color:var(--fl-o-dk) !important; }
.tab.leaf, .aa-dock button.add { color:#fff !important; }
/* Sara Aahaar's food plate on the round middle button (5 Oct 2026) */
.tab.leaf.pic { background:#fff; border:2px solid var(--g-orange); overflow:hidden; box-shadow:0 8px 18px rgba(238,90,14,0.22); }
.tab.leaf.pic img { width:40px; height:40px; display:block; border-radius:50%; object-fit:cover; }
.tab.leaf.pic svg { display:none; }
/* Home, Reports and Bills: his 3D pictures on the bar (the bar is white; multiply lets the lit pill show through) */
.tabs-in .tab.pic:not(.leaf) img { width:30px; height:30px; display:block; mix-blend-mode:multiply; }
.tabs-in .tab.pic:not(.leaf) svg { display:none; }
.tabs-in .tab.pic:not(.leaf) { gap:0; }
.tabs-in .tab.pic.on:not(.leaf) { gap:6px; padding:0 14px 0 10px; }
/* The bar is as wide as what stands on it (11 Oct 2026). It is sized from the middle of the screen by what it
   holds, and a picture that may shrink (img { max-width:100% }, patient_app.css) is counted as nothing there: the
   open tab's 30px picture was missing from the bar's width, so the white pill was 30px narrower than its five
   buttons and "More" hung past its edge. A picture on the bar does not shrink. */
.tabs-in .tab img { max-width:none; }
/* On a narrow phone the five stand closer, and if they still do not fit it is the open tab's word that gives
   way - never a button pushed off the pill. */
.tabs-in { min-width:0; }
.tabs-in .tab.on { flex:0 1 auto; min-width:56px; }
.tabs-in .tab.on span { min-width:0; overflow:hidden; text-overflow:ellipsis; }
@media (max-width:380px) {
  .tabs-in .tab:not(.on):not(.leaf) { min-width:50px; padding:0 2px; }
  .tabs-in .tab.leaf { margin:0 2px; }
}
.aa-dock { background:#fff !important; border:1px solid var(--g-edge) !important; box-shadow:0 6px 20px rgba(16,24,40,.08) !important; }
.aa-dock button.on:not(.add) { background:var(--fl-o-soft) !important; color:var(--fl-o-dk) !important; }
.top-back, .lang-btn, .pc-fab, .aa-round, .ho-back { background:#fff !important; border:1px solid var(--g-edge) !important; box-shadow:none !important; }
.ho-art { background:#F7F8FA !important; }

/* The lettering, like capzul's (3 Oct 2026): the phone's own font for English, Anek Telugu for
   Telugu, calm weights - a screen's title and a card's heading firm, everything else regular. */
.gs-title, .gr-title, .screen-title, .ho-hero h1, .gh-visit h2, .aa-top .t b, .gm-week b, main h1 { font-weight:700 !important; }
.gh-cap, .gs-cap, .aa-cap, .gm-cap, .cap { letter-spacing:.08em; }
body.te .gh-cap, body.te .gs-cap, body.te .aa-cap, body.te .gm-cap, body.te .cap { letter-spacing:0; }

/* The faces beside a name (3 Oct 2026): his generated pictures over the drawn stand-in. Any round
   frame that holds PA_AVATAR gets the picture filling it. */
:has(> img.pa-av) { position:relative; overflow:hidden; }
img.pa-av { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:inherit; z-index:1; background:#fff; }

/* Choosing one's own face: a sheet from the bottom, the faces as round tiles (3 Oct 2026). */
#top-av { cursor:pointer; }
.pa-pick-wrap { position:fixed; inset:0; z-index:200; background:rgba(16,24,40,.38); display:flex; align-items:flex-end; justify-content:center; }
.pa-pick-sheet { width:100%; max-width:560px; max-height:86vh; overflow:auto; background:#fff; border-radius:24px 24px 0 0;
  padding:18px 18px calc(18px + env(safe-area-inset-bottom)); }
.pa-pick-head { display:flex; align-items:center; justify-content:space-between; }
.pa-pick-head b { font-size:19px; font-weight:700; color:var(--g-ink); }
.pa-pick-x { width:40px; height:40px; border-radius:50%; border:1px solid var(--g-edge); background:#fff; font-size:22px; color:var(--g-ink); }
.pa-pick-sheet p { margin:4px 0 14px; font-size:14px; color:var(--g-soft); }
.pa-pick-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:12px; }
.pa-pick { aspect-ratio:1; border-radius:50%; padding:0; border:2px solid var(--g-edge); background:#fff; overflow:hidden; cursor:pointer; }
.pa-pick img { display:block; width:100%; height:100%; object-fit:cover; }
.pa-pick.on { border:3px solid var(--fl-o); box-shadow:0 0 0 3px var(--fl-o-soft); }
.pa-pick-auto { display:block; width:100%; margin-top:16px; min-height:46px; border-radius:999px; border:1px solid var(--g-edge); background:#fff;
  color:var(--fl-o-dk); font-size:15px; font-weight:500; }
.pa-pick-auto.on { background:var(--fl-o-soft); }

/* A package the hospital has put on Home (packages.home_offer, 5 Oct 2026). Since 18 Oct 2026 it is the light half of the premium
   family of the Home banners (patient_app_banners.js): ivory, a champagne hairline, cocoa words, the person in a soft warm light
   and the price in plain bold figures - so Home is not two dark slabs. */
.gh-glass.gh-offer { display:flex; align-items:center; gap:12px; width:100%; margin-top:14px; padding:14px 18px 14px 8px; border-radius:22px;
  text-align:left; color:#2B1208; cursor:pointer; overflow:hidden; border:1px solid #E3C48B;
  background:radial-gradient(70% 140% at 8% 40%,rgba(255,196,140,.55) 0%,rgba(255,196,140,0) 62%),linear-gradient(135deg,#FFFDF8,#FBEEDC);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 6px 10px -8px rgba(74,28,11,.4); backdrop-filter:none; -webkit-backdrop-filter:none; }
.gh-offer-who { flex:none; height:92px; width:auto; margin:-14px 0 -14px; align-self:flex-end; }
.gh-offer-t { flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:3px; }
.gh-offer .gh-cap { font-size:12px; font-weight:700; letter-spacing:.16em; color:#8A4B0B; }
body.te .gh-offer .gh-cap { letter-spacing:.04em; }
.gh-offer-t b { font-size:17px; font-weight:800; line-height:1.15; letter-spacing:-.02em; color:#2B1208; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
body.te .gh-offer-t b { font-size:15px; }
.gh-offer-t small { font-size:12.5px; line-height:1.3; color:#6B4630; }
body.te .gh-offer-t small { font-size:12px; }
.gh-offer-p { flex:none; display:flex; flex-direction:column; align-items:flex-end; }
.gh-offer-p b { color:#2B1208; font-size:20px; font-weight:800; letter-spacing:-.01em; font-variant-numeric:tabular-nums; }
.gh-offer-p s { font-size:12.5px; color:#85604A; text-decoration-thickness:1px; margin-top:1px; }

/* An earlier visit: one line - the date, the doctor, and where it opens (16 Oct 2026) */
.gh-past{display:flex;align-items:center;gap:12px;width:100%;margin:8px 0 0;padding:14px 16px;border:0;text-align:left;font:inherit;color:inherit;cursor:pointer}
.gh-past-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.gh-past-t b{font-size:1rem}.gh-past-t small{opacity:.75}
.gh-past-go{flex:none;font-weight:700;color:var(--or,#e8590c);font-size:.9rem}

/* Bills: what a bill is for, under its amount; Cancel this booking (16 Oct 2026) */
.gr-what{display:block;font-weight:600;font-size:.92rem;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gr-cancel{color:#b42318;border-color:#f3b9b9;margin-top:8px}
.appcard-ask { display:grid; gap:6px; margin:18px 0 0; padding:14px 16px 16px; border-radius:18px; border:1px solid #E2570F; background:#FFF0E6; color:#A63E07; }
.appcard-ask b { font-size:17px; font-weight:700; }
.appcard-ask span { font-size:14.5px; font-weight:500; color:#5B6474; text-wrap:balance; }
.appcard-start { justify-self:start; margin-top:6px; min-height:48px; padding:10px 28px; border-radius:16px; border:1px solid #E2570F; background:#E2570F; color:#fff; font:inherit; font-weight:600; font-size:15.5px; cursor:pointer; box-shadow:0 8px 18px rgba(226,87,15,.24); }
.appcard-start:disabled { opacity:.6; }
