/* CSHL "Demo site" notice modal (2026-10-04). Self-contained: also used on the
   standalone landing page, which does not load app.css. Palette = app.css tokens. */
.demo-notice[hidden] { display: none !important; }
.demo-notice {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.demo-notice__backdrop {
  position: absolute; inset: 0;
  background: rgba(13, 35, 55, .62);
}
.demo-notice__card {
  position: relative;
  width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: #ffffff; color: #1a2733;
  border-top: 4px solid #356096; border-radius: 12px;
  box-shadow: 0 20px 50px rgba(13, 35, 55, .28);
  padding: 28px 28px 24px;
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem; line-height: 1.55; text-align: left;
}
.demo-notice__card:focus { outline: none; }
.demo-notice__title {
  margin: 0 0 10px;
  font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  font-weight: 700; font-size: 1.7rem; line-height: 1.05;
  text-transform: uppercase; letter-spacing: .01em; color: #0d2337;
}
.demo-notice__body { margin: 0 0 22px; color: #1a2733; }
.demo-notice__body a { color: #356096; font-weight: 600; text-decoration: underline; }
.demo-notice__body a:hover { color: #2b4f7d; }
.demo-notice__actions { display: flex; justify-content: flex-end; }
.demo-notice .demo-notice__ok {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 22px;
  background: #356096; color: #ffffff; border: 2px solid #356096; border-radius: 6px;
  font-family: "Barlow", system-ui, sans-serif; font-weight: 700; font-size: .95rem;
  letter-spacing: .02em; cursor: pointer; transform: none;
}
.demo-notice .demo-notice__ok:hover { background: #2b4f7d; border-color: #2b4f7d; color: #ffffff; }
.demo-notice .demo-notice__ok:focus-visible { outline: 3px solid #e8b23a; outline-offset: 2px; }
html.demo-notice-open, html.demo-notice-open body { overflow: hidden; }
@media (max-width: 480px) {
  .demo-notice__card { padding: 22px 18px 18px; }
  .demo-notice__title { font-size: 1.45rem; }
  .demo-notice .demo-notice__ok { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .demo-notice__card { animation: demo-notice-in .18s ease-out; }
  @keyframes demo-notice-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
