/* The look of auth.sicena.com (ident/static/ident.css) with the brand colour of dance.sicena.com in ident: the "paper" theme, night when the
   browser prefers dark. Shared by the public page (landing.html) and the start screen of the app (index.html). Keep it in step with ident. */
:root {
  --fons: #F5EFE3; --fons-bloc: #FFFCF6; --text: #1F2433; --sobre-accent: #FFFCF6; --linia: #DCD1BE;
  --linia-forta: color-mix(in srgb, var(--linia) 55%, var(--text));
  --suau: #585F6F; --brand: #db2777; --accent: var(--brand); --ok: #1b6e3c; --err: #b3261e;
  --lletra: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fons: #0B132B; --fons-bloc: #16223f; --text: #F4F1DE; --sobre-accent: #0B132B; --linia: #2b3a5c; --suau: #9fabc6;
    --brand: color-mix(in srgb, #db2777 62%, #fff); --ok: #8fd6a7; --err: #f2b8b5; color-scheme: dark;
  }
}
.site-head { display: flex; align-items: center; gap: .9rem; padding: .45rem 1.25rem; border-bottom: 1px solid var(--linia); background: var(--fons); }
.site-head .brand { color: var(--text); text-decoration: none; white-space: nowrap; font-size: 1.3rem; font-weight: 300; letter-spacing: -.03em; display: flex; align-items: center; min-height: 44px; }
.site-head .brand svg { height: 1.7rem; width: auto; margin-inline-end: .55rem; }
.site-head .spacer { flex: 1; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .6rem 1.3rem; border-radius: 10px; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; background: var(--accent); color: var(--sobre-accent); border: 1px solid var(--accent); cursor: pointer; }
.pill:hover { filter: brightness(1.08); }
.pill.secondary { background: color-mix(in srgb, var(--accent) 14%, var(--fons)); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 35%, var(--fons)); }
.pill:disabled { opacity: .4; cursor: default; filter: none; }
.pill:focus-visible, .user-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
