/* Direction: Boco Dental — clean white clinic, soft teal accents, calm Inter typography */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #f6fafa;
  --surface: #ffffff;
  --surface-2: #eaeeee;
  --border: #d4d9d9;
  --border-strong: #adb4b4;
  --ink: #26323a;
  --muted: #5d6b73;
  --accent: #0e7c7b;
  --accent-hover: #0c6969;
  --accent-ink: #ffffff;
  --accent-text: #0b6665;
  --accent-strong: #0d7271;
  --accent-soft: #e0f3f2;
  --accent-border: #8ec1c1;
  --success: #1e8a4c;
  --success-ink: #ffffff;
  --success-soft: #dcede5;
  --success-strong: #1a7540;
  --warning: #c26a0a;
  --warning-ink: #ffffff;
  --warning-soft: #f0e9dd;
  --warning-strong: #975307;
  --danger: #c93a3a;
  --danger-ink: #ffffff;
  --danger-soft: #f1e3e3;
  --danger-strong: #b93535;
  --chart-1: #0e7c7b;
  --chart-2: #4a89d3;
  --chart-3: #6f3b87;
  --chart-4: #c15c69;
  --chart-5: #714a01;
  --chart-6: #62943d;

  --font-display: "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.02em;
  --radius-card: 20px;
  --radius-btn: 14px;
  --radius-input: 14px;
  --shadow-card: 0 2px 14px rgba(20, 70, 80, 0.07);
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #021111;
  --surface: #1b2929;
  --surface-2: #0f1d1d;
  --border: #253232;
  --border-strong: #4e5858;
  --ink: #f6fafa;
  --muted: #949d9d;
  --accent: #0e7c7b;
  --accent-hover: #32908f;
  --accent-ink: #ffffff;
  --accent-text: #52a1a1;
  --accent-strong: #439999;
  --accent-soft: #052928;
  --accent-border: #074141;
  --success: #1e8a4c;
  --success-ink: #ffffff;
  --success-soft: #082c1e;
  --success-strong: #50a473;
  --warning: #c26a0a;
  --warning-ink: #ffffff;
  --warning-soft: #2c250f;
  --warning-strong: #cb8130;
  --danger: #c93a3a;
  --danger-ink: #ffffff;
  --danger-soft: #2e1a1a;
  --danger-strong: #d56565;
  --chart-1: #0e7c7b;
  --chart-2: #4a89d3;
  --chart-3: #9c67b6;
  --chart-4: #c15c69;
  --chart-5: #aa7418;
  --chart-6: #62943d;
}

/* Boco Dental — gentle entrances; everything rests visible and moves from an offset. */
@keyframes page-in { from { transform: translateY(10px); } to { transform: none; } }
@keyframes pop { 0% { transform: scale(0.6); } 70% { transform: scale(1.08); } 100% { transform: none; } }
@keyframes grow { from { transform: scaleX(0.15); } to { transform: none; } }

.page-in { animation: page-in 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.pop { animation: pop 0.5s cubic-bezier(0.2, 0.8, 0.3, 1.2); }
.bar-fill { transform-origin: left center; animation: grow 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }

html { scroll-behavior: smooth; }
.htmx-swapping { opacity: 0.6; transition: opacity 0.12s; }

html.reduced-motion .page-in,
html.reduced-motion .pop,
html.reduced-motion .bar-fill { animation: none; }
html.reduced-motion { scroll-behavior: auto; }
