/* NextFound's note to whoever opens the developer tools (templates/includes/_devnote.html, static/devnote.js). Its own
   look on every page, the website's and every school's alike: the selectors start from dialog.devnote so a school's styles
   cannot reach in, and its class names are its own (devnote, devnote__...). They were once "dn", which the Overview's
   ring chart also uses (static/overview.css, .dn { display: flex }): that rule reached the closed dialog and drew it
   at the foot of the page. A closed note is never drawn, whatever any other stylesheet says about its classes. */
dialog.devnote:not([open]) { display: none !important; }
dialog.devnote {
  width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); margin: auto; padding: 28px 28px 24px;
  border: 1px solid #24334D; border-radius: 10px; background: #0A1424; color: #C3CBD8;
  box-shadow: 0 24px 60px rgba(10, 20, 36, .45); font: 400 15px/1.55 "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  text-align: left; overflow: auto;
}
dialog.devnote::backdrop { background: rgba(10, 20, 36, .55); }
dialog.devnote[open] { animation: devnote-in .18s ease-out both; }
dialog.devnote .devnote__kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: #8C99AD;
  font: 600 11px/1.2 ui-monospace, "JetBrains Mono", "Cascadia Mono", Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
dialog.devnote .devnote__dot { width: 8px; height: 8px; border-radius: 50%; background: #D42A20; box-shadow: 0 0 0 4px rgba(212, 42, 32, .18); }
dialog.devnote .devnote__dot--ok { background: #2FB36F; box-shadow: 0 0 0 4px rgba(47, 179, 111, .18); }
dialog.devnote .devnote__title { margin: 0 0 8px; color: #FFFFFF; font: 600 22px/1.25 "Outfit", "Inter", "Segoe UI", system-ui, sans-serif; letter-spacing: -.01em; }
dialog.devnote .devnote__title:focus { outline: none; }
dialog.devnote .devnote__text { margin: 0; }
dialog.devnote .devnote__text a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
dialog.devnote .devnote__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
dialog.devnote .devnote__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px;
  border: 1.5px solid rgba(255, 255, 255, .28); border-radius: 6px; background: transparent; color: #FFFFFF;
  font: 600 14px/1 "Inter", "Segoe UI", system-ui, sans-serif; text-decoration: none; cursor: pointer; }
dialog.devnote .devnote__btn:hover { border-color: #FFFFFF; }
dialog.devnote .devnote__btn--main { border-color: #D42A20; background: #D42A20; }
dialog.devnote .devnote__btn--main:hover { border-color: #B3221A; background: #B3221A; }
dialog.devnote .devnote__btn:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; }
@keyframes devnote-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { dialog.devnote[open] { animation: none; } }
@media (max-width: 420px) { dialog.devnote { padding: 22px 20px 20px; } dialog.devnote .devnote__btn { flex: 1 1 100%; } }
