/* Staff Quindlee palette and type: the staff design (30 Nov 2026): forest #153f34 on warm cream, Poppins.
   Every staff page loads this after quindlee-tokens.css so the staff look wins
   there; patient pages never load it. Shared spacing, radius and token names
   stay in quindlee-tokens.css. */
:root {
  --cream: #f7f6ef;
  --cream-dark: #e3e3da;
  --border: #e3e3da;
  --ink: #1d2a24;
  --ink-soft: #55615a;
  --ink-faint: #55615a;
  --teal: #153f34;
  --teal-light: #E4F6EE;
  --teal-mid: #0f3329;
  --amber: #6b4a14;
  --amber-light: #fcf2e2;
  --amber-dark: #6b4a14;
  --warn: #6b4a14;
  --warn-light: #fcf2e2;
  --red: #9e3f34;
  --red-dark: #9e3f34;
  --danger: #9e3f34;
  --white: #fff;
  /* The design's other roles, named once: every staff screen reads these, none keeps its own hex. */
  --line-soft: #f0f0e9;
  --chip: #f1f1ea;
  --hover: #fbfbf7;
  --mint-text: #1d5a43;
  --mint-line: #cfe0d6;
  --mint-bright: #54D8A8;
  --muted-dot: #a9b3ad;
  --coral: #fa7864;
  --listen-bg: #2a1d1a;
  --online-bg: #fff3ea; --online: #8a4a2c;
  --msg-bg: #eef0f6; --msg: #3c4a78;
  --res-bg: #f3eefa; --res: #5b3f86;
  --shadow-card: 0 1px 2px rgba(21,63,52,.06), 0 8px 28px rgba(21,63,52,.07);
  --font-body: 'Poppins', system-ui, sans-serif;
  --sans: 'Poppins', system-ui, sans-serif;
  --serif: 'Poppins', system-ui, sans-serif;

  /* Components that use the shared --color-* names directly get the staff palette too. */
  --color-forest: #153f34;
  --color-ink: #1d2a24;
  --color-text-primary: #1d2a24;
  --color-text-secondary: #55615a;
  --color-text-tertiary: #55615a;
  --color-text-disabled: #8b968f;
  --color-border: #e3e3da;
  --color-border-strong: #cfd2c6;
  --color-surface-warm: #f7f6ef;
  --color-mint: #2f9e72;
  --color-mint-deep: #153f34;
  --color-mint-text: #1d5a43;
  --color-mint-tint: #E4F6EE;
  --color-mint-pale: #E4F6EE;
  --color-surface-mint: #E4F6EE;
  --color-success: #2f9e72;
  --color-success-bg: #E4F6EE;
  --color-success-text: #1d5a43;
  /* No orange call to action on staff pages; warm states use the staff amber. */
  --color-orange: #9b5c17;
  --color-orange-deep: #9b5c17;
  --color-orange-hover: #b06c1e;
  --color-orange-press: #7f4a12;
  --color-orange-tint: #fcf2e2;
  --color-peach-line: #ecd8b4;
  --color-surface-peach: #fcf2e2;
  --color-warning: #6b4a14;
  --color-warning-bg: #fcf2e2;
  --color-warning-text: #6b4a14;
  --color-warning-glyph: #6b4a14;
  --color-error: #9e3f34;
  --color-error-bg: #FCEAE3;
  --color-error-text: #9e3f34;
  --color-error-glyph: #9e3f34;
  --font-display: var(--font-body);
  --btn-primary-bg: #153f34;
  --btn-primary-text: #fff;
  --btn-primary-border: #153f34;
  --btn-primary-bg-hover: #0f3329;
  --btn-primary-bg-focus: #0f3329;
  --btn-primary-bg-active: #0c2a22;
  --link-color: #153f34;
  --link-color-hover: #0c2a22;
  --shadow-focus: 0 0 0 3px rgba(21, 63, 52, .14);
}

/* The staff wordmark: "quindlee." in the staff font, green full stop. */
.staff-wordmark { font: 700 23px/1 var(--sans); letter-spacing: -.065em; color: var(--ink); white-space: nowrap; }
.staff-wordmark span { color: #54D8A8; }
.staff-wordmark.is-large { font-size: 36px; display: inline-block; }

/* The staff design's text: 14px, as the design (one owner: pages set only their family and colours). */
body { font-size: 14px; line-height: 1.5; }

/* Shared staff interaction baseline, also used inside the shell's module frames. */
:where(button, a, input, select, textarea, summary):focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
:where(button, input, select, textarea) { touch-action: manipulation; }
:where(input, textarea, select) { max-width: 100%; }
@media (max-width: 720px) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]), textarea, select { font-size: 16px !important; }
}
@media (prefers-reduced-motion: no-preference) {
  :where(button, summary) { transition: background-color .12s ease, border-color .12s ease, color .12s ease; }
}

/* Loading skeleton (window.wcSkeleton in staff-workspace.js): grey rows in place of a bare "Loading…". */
.wc-skel { display: grid; gap: 10px; padding: 12px 0; }
.wc-skel span { display: block; height: 56px; border-radius: 12px; background: linear-gradient(90deg, #eef1ee 0%, #f6f8f6 50%, #eef1ee 100%) 0 0 / 200% 100%; }
.wc-skel span:nth-child(3n+2) { width: 86%; } .wc-skel span:nth-child(3n) { width: 72%; }
.wc-skel.slim span { height: 18px; border-radius: 6px; }
@media (prefers-reduced-motion: no-preference) { .wc-skel span { animation: wc-skel 1.2s ease-in-out infinite; } }
@keyframes wc-skel { to { background-position: -200% 0; } }

/* Count tiles: a pastel icon chip, an uppercase label and a big number. */
.wc-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;margin:0 0 16px}
.wc-tile{position:relative;display:block;width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:18px;background:#fff;text-align:left;font:inherit;color:inherit;cursor:pointer;box-shadow:0 1px 2px rgba(21,63,52,.06),0 8px 28px rgba(21,63,52,.07)}
.wc-tile:hover{border-color:#153f34}.wc-tile[aria-selected=true]{border-color:var(--tone,#153f34);box-shadow:0 0 0 2px color-mix(in srgb,var(--tone,#153f34) 25%,transparent)}
.wc-tile small{display:block;font:700 11px var(--font-body);letter-spacing:.08em;text-transform:uppercase;color:var(--ink-soft);padding-right:34px}
.wc-tile b{display:block;margin-top:6px;font:700 26px/1 var(--font-body);font-variant-numeric:tabular-nums;letter-spacing:-.02em;color:var(--tone,var(--ink))}
.wc-tile i{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:color-mix(in srgb,var(--tone,#153f34) 14%,#fff);color:var(--tone,#153f34);font-style:normal;font-size:14px}
@media (max-width:600px){.wc-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:12px}.wc-tile{padding:8px 10px}.wc-tile i{display:none}.wc-tile small{padding-right:0;font-size:10px;letter-spacing:.04em}.wc-tile b{margin-top:4px;font-size:19px}}
