@keyframes sheet-arrive {
  from { transform: translateY(36px) scale(.985); opacity: .05; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes scrim-arrive { from { background-color: transparent; } }
.live-scrim { animation: scrim-arrive .24s ease-out both; }
.live-scrim > .live-sheet {
  animation: sheet-arrive .34s cubic-bezier(.16,1,.3,1) both;
  overscroll-behavior: contain;
}
body:has(.live-scrim) {overflow: hidden}
.explanation-sheet {display:flex; flex-direction:column; overflow:hidden; gap:8px}
.explanation-sheet .info-copy {min-height:0;overflow:auto;overscroll-behavior:contain;line-height:1.55;padding-right:5px}
.info-copy p {margin:0 0 13px;color:#c4d3e4}
.info-copy h3 {font-size:1.01rem;line-height:1.3;margin:20px 0 6px}
.info-copy table {border-collapse:collapse;width:100%;font-size:.87rem;margin-bottom:14px}
.info-copy th,.info-copy td {padding:8px 6px;text-align:left;border-bottom:1px solid #31435b}
.info-copy .table-wrap {overflow-x:auto}
.info-copy a {color:#88d7ff;text-decoration:underline}
.info-done {flex-shrink:0;margin-top:6px}
.explanation-sheet #modalerror:empty {display:none}
button.textlink {border:0;padding:5px 0;background:transparent;font:inherit;color:#81cdff;cursor:pointer;text-align:left}
@media(max-width:700px){
  @keyframes sheet-arrive { from {transform:translateY(min(24vh,120px));opacity:.2} to {transform:translateY(0);opacity:1} }
  .live-scrim > .live-sheet {animation-duration:.4s}
}
@media(prefers-reduced-motion:reduce){.live-scrim,.live-scrim > .live-sheet{animation:none}}

.long-schedule{max-height:50dvh;overflow-y:auto;overscroll-behavior:contain}
