@font-face {
  font-family: "Exo";
  src: url("../fonts/exo/Exo-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --brand-primary: #651b7e;
  --brand-primary-hover: #4d1460;
  --brand-cream: #ebd7a4;
  --color-background: #faf7ef;
  --color-surface: #ffffff;
  --color-text: #281b2d;
  --color-text-muted: #64566a;
  --color-border: #d8cbdc;
  --color-success: #21643e;
  --color-warning: #805400;
  --color-danger: #ad2639;
  --radius-card: 1rem;
  --radius-control: 0.5rem;
  font-family: "Exo", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--color-background); color: var(--color-text); }
a { color: var(--brand-primary); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--brand-primary); outline-offset: 3px; }
.app-brand { display: flex; align-items: center; gap: 0.75rem; }
.app-brand__logo { display: block; width: 56px; height: 56px; object-fit: contain; background: white; border-radius: 50%; }
.app-header { padding: 1rem 1.5rem; background: var(--color-surface); border-bottom: 3px solid var(--brand-cream); }
.app-sidebar { background: var(--brand-primary); color: white; }
.app-sidebar a { color: white; }
.app-sidebar a[aria-current="page"] { background: var(--brand-cream); color: var(--brand-primary); font-weight: 700; }
.app-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: 1.25rem; }
.button-primary { border: 1px solid var(--brand-primary); border-radius: var(--radius-control); padding: 0.75rem 1rem; background: var(--brand-primary); color: white; cursor: pointer; }
.button-primary:hover { background: var(--brand-primary-hover); }
.button-secondary { border: 1px solid var(--brand-primary); border-radius: var(--radius-control); padding: 0.75rem 1rem; background: var(--brand-cream); color: var(--brand-primary); cursor: pointer; }
.button-primary:disabled, .button-secondary:disabled { opacity: 0.55; cursor: not-allowed; }

@media print {
  body { background: white; color: black; }
  .no-print { display: none !important; }
  .app-brand__logo { width: 16mm; height: 16mm; }
}
