/* Denta fonts, self-hosted (SIL OFL 1.1, licences in app/assets/fonts/).
   Latin and Latin Extended only; Cyrillic falls back to system-ui. */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url("/assets/bricolage-grotesque-latin-ext-f02b0791.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url("/assets/bricolage-grotesque-latin-b86257e5.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/schibsted-grotesk-latin-ext-09d230b2.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/schibsted-grotesk-latin-0a37e4d0.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@keyframes voice-pulse-wake {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0.5); }
  50%       { box-shadow: 0 0 0 12px rgba(59,130,246,0); }
}
@keyframes voice-pulse-listen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.6); transform: scale(1); }
  50%       { box-shadow: 0 0 0 18px rgba(239,68,68,0); transform: scale(1.06); }
}
@keyframes voice-spin {
  to { transform: rotate(360deg); }
}

/* Phone: keep the voice button above the bottom bar. */
@media (max-width: 767px) { .voice-fab { bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important; } }

/*
 *= require_tree .
 *= require_self
 */
/* Overview card: hidden until fold_controller applies the stored state (no
   open-then-collapse flash). If JS never runs the card appears after 0.4 s. */
[data-fold-pending] { visibility: hidden; animation: fold-reveal 0s 0.4s forwards; }
@keyframes fold-reveal { to { visibility: visible; } }

/* Phone flash toast (Phase 4a Task 4): fades out after a few seconds below md;
   desktop keeps the inline banner untouched. */
@keyframes flash-toast-out {
  to { opacity: 0; visibility: hidden; }
}
@media (max-width: 767px) {
  .flash-toast { animation: flash-toast-out 0.4s ease 8s forwards; }
}
