:root {
  color-scheme: light;
  --clinic-ink: #304a45;
  --clinic-green: #24695f;
  --clinic-paper: #fffaf1;
  --clinic-rule: #d8c9b0;
  font-family: "Trebuchet MS", system-ui, sans-serif;
  color: var(--clinic-ink);
  background: #fff6e9;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; line-height: 1.45; }
[hidden] { display: none !important; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: default; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #853548; outline-offset: 3px; }
.clinic-shell { padding: clamp(.75rem,3vw,1.6rem); width: 100%; margin: auto; }
.clinic-bar { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin: 0 0 .8rem; }
.clinic-bar h1 { font: bold clamp(1.4rem,4.5vw,2.4rem)/1.12 Georgia,serif; margin: 0; color: #3e4944; }
.clinic-panel { padding: clamp(.8rem,2.6vw,1.5rem); border: 1px solid var(--clinic-rule); border-radius: 20px; background: var(--clinic-paper); }
.clinic-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.primary, .secondary { min-height: 44px; border-radius: 12px; border: 1px solid; padding: .52rem .95rem; font: 700 1rem/1.24 "Trebuchet MS",system-ui,sans-serif; }
.primary { background: var(--clinic-green); color: white; border-color: #195247; }
.secondary { background: #fffcf5; color: #284e46; border-color: #a1ad96; }
.clinic-bar .secondary { flex-shrink: 0; }
@media (hover:hover) {
  .primary:hover:not(:disabled) { background: #19574e; }
  .secondary:hover:not(:disabled) { background: #e7eee3; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
