/* Senyum clinic demo: the approved look (3 Dec 2026). Calm fintech: light grey page, white cards, black type,
   one green accent plus orange for warnings, Manrope, a dark strip of live figures, a floating black menu.
   Status colours are small dots only. All styles live here: the security policy allows no inline styles. */
@font-face { font-family: Manrope; src: url("/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
:root { --page:#EDEFEE; --card:#fff; --ink:#0B0F0C; --muted:#5C6560; --line:#E6E9E7; --soft:#F1F3F2;
  --green:#12A150; --green-hi:#3DDC84; --orange:#E8710A; --red:#D93025; --dark:#0B0F0C; --dark-line:#26302A; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 15px/1.5 Manrope, system-ui, -apple-system,
  "Segoe UI", Roboto, sans-serif; }
a { color: var(--ink); }
a:hover { color: var(--green); }
h1, h2 { margin: 0; }
h2 { font-size: 15px; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--muted); font-size: 13px; }
.center { text-align: center; }

.demo-bar { margin: 0; background: var(--ink); color: #C9D1CC; font-size: 12.5px; text-align: center; padding: 6px 12px; }
.demo-bar b { color: var(--green-hi); letter-spacing: .06em; }
.wrap { max-width: 1400px; margin: 0 auto; padding: 14px 16px 110px; display: flex; flex-direction: column; gap: 14px; }
main { display: flex; flex-direction: column; gap: 14px; }
footer { text-align: center; color: var(--muted); font-size: 12px; padding-top: 8px; }

/* the dark strip of live figures */
.strip { background: var(--dark); border-radius: 16px; padding: 10px 6px; display: flex; flex-wrap: wrap;
  gap: 8px 0; align-items: center; color: #fff; }
.strip .clinic { font-size: 13px; padding: 0 10px 0 16px; white-space: nowrap; }
.demo-tag { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--dark); background: var(--green-hi);
  border-radius: 999px; padding: 2px 9px; margin-right: 8px; }
.fig { display: flex; align-items: center; gap: 10px; padding: 0 18px; border-left: 1px solid var(--dark-line); }
.fig > div { display: flex; flex-direction: column; }
.fig span { font-size: 11px; color: #9AA59F; }
.fig b { font-size: 14px; white-space: nowrap; }
.fig em { font-style: normal; font-size: 11px; color: var(--green-hi); font-weight: 600; }
.strip .who { margin-left: auto; padding: 0 16px; font-size: 12px; color: var(--green-hi); }
.spark polyline { stroke: var(--green-hi); }
.card .spark.up polyline { stroke: var(--green); }
.card .spark.warn polyline { stroke: var(--orange); }

/* the white hero with a soft green wave */
.hero { background: var(--card); border-radius: 24px; padding: 28px 30px; position: relative; overflow: hidden;
  min-height: 200px; display: flex; align-items: center; }
.hero .wave { position: absolute; right: 0; top: 0; width: 58%; height: 100%; }
.hero-text { position: relative; max-width: 600px; display: flex; flex-direction: column; gap: 10px; }
.hero h1 { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.hero p { font-size: 15px; color: var(--muted); }
.hero p b { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

.btn, button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px;
  border-radius: 999px; font: 700 13.5px Manrope, system-ui, sans-serif; border: 0; background: var(--ink); color: #fff;
  text-decoration: none; cursor: pointer; }
.btn:hover, button:hover { color: #fff; background: #26302A; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid #D3D8D5; }

/* cards and grids */
.card { background: var(--card); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px;
  min-width: 0; }
.card.narrow { max-width: 560px; margin: 30px auto; }
.card.ok { background: #E4F7EC; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.span2 { grid-column: span 2; }
.stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.figure h2 { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.figrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.big { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.big-line { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.rule { border-top: 1px solid var(--soft); padding-top: 8px; }

/* charts (SVG, coloured here) */
.bars { width: 100%; height: 240px; }
.bars rect.past { fill: var(--ink); }
.bars rect.now { fill: var(--green-hi); }
.bars text { font: 13px Manrope, system-ui, sans-serif; fill: var(--muted); }
.bars text.m { font-size: 14px; }
.chair p { display: flex; justify-content: space-between; font-size: 13.5px; }
.meter { width: 100%; height: 10px; display: block; margin-top: 5px; }
.meter .track { fill: var(--page); }
.meter .fill { fill: var(--green); }
.meter .warn { fill: var(--orange); }

/* tables */
.scroll { overflow-x: auto; }
.scroll table { min-width: 480px; }
table.day { min-width: 640px; }
table { border-collapse: collapse; width: 100%; }
th { text-align: left; font-size: 11.5px; color: var(--muted); font-weight: 600; padding: 8px 10px;
  border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
td { font-size: 13.5px; padding: 11px 10px; border-bottom: 1px solid var(--soft); vertical-align: top; }
td.time { white-space: nowrap; font-weight: 700; }
tr.past td { color: var(--muted); }
.tag { font-size: 11px; font-weight: 700; background: var(--soft); border-radius: 6px; padding: 1px 6px; margin-left: 4px; }
.alert { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #B3261E; margin-top: 2px; }

/* status: small dots only */
.pill { font-size: 12px; font-weight: 600; padding: 4px 10px 4px 8px; border-radius: 99px; background: var(--soft);
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.dot.green { background: var(--green); }
.dot.orange { background: var(--orange); }
.dot.red { background: var(--red); }
.dot.black { background: var(--ink); }
.dot.grey { background: #A8B0AC; }
.eye, .list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }

/* sign-in */
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.role h2 { font-size: 20px; letter-spacing: -.01em; }
.role .who-line { font-weight: 600; font-size: 13.5px; }
.role form { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.role label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
input[type=password] { flex: 1 1 110px; min-width: 0; min-height: 44px; border: 1px solid #D3D8D5; border-radius: 12px;
  padding: 0 14px; font: 15px Manrope, system-ui, sans-serif; background: #fff; color: var(--ink); }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--green-hi); outline-offset: 2px; }
.error { color: #B3261E; font-size: 13px; font-weight: 600; }

/* the floating black menu */
.dock { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); background: var(--dark); border-radius: 999px;
  padding: 6px; display: flex; gap: 2px; align-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  max-width: calc(100vw - 20px); overflow-x: auto; z-index: 10; }
.dock .logo { color: #fff; font-size: 15px; padding: 0 12px; }
.dock .logo i { font-style: normal; color: var(--green-hi); }
.dock a { padding: 10px 16px; border-radius: 999px; text-decoration: none; font-size: 13.5px; font-weight: 600;
  color: #C9D1CC; white-space: nowrap; }
.dock a:hover { color: #fff; }
.dock a[aria-current=page] { background: #fff; color: var(--ink); }
.dock form { margin: 0; }
.dock button { background: transparent; color: #C9D1CC; min-height: 40px; padding: 0 14px; font-weight: 600; }
.dock button:hover { background: #26302A; }

@media (max-width: 1100px) {
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3 { grid-template-columns: 1fr; }
  .span2 { grid-column: auto; }
}
@media (max-width: 700px) {
  .wrap { padding: 10px 10px 100px; }
  .grid4, .grid2 { grid-template-columns: 1fr; }
  .strip { flex-wrap: nowrap; overflow-x: auto; }
  .strip .who { display: none; }
  .hero { padding: 22px 20px; min-height: 0; }
  .hero h1 { font-size: 30px; }
  .hero .wave { width: 100%; opacity: .5; }
}
