/* Keep the production backgrounds/footer, but let the call fill the available area. */
html, body { height: 100%; height: 100dvh; }
body { display: flex; flex-direction: column; }
main.container {
  position: relative;
  top: auto;
  left: auto;
  flex: 1 1 0;
  min-height: 0;
  height: auto;
  width: 100%;
}
#daily-frame { position: absolute; inset: 0; }
#daily-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
#call-status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: auto;
  background: rgba(255, 255, 255, .94);
  z-index: 2;
}
#call-status[hidden], [hidden] { display: none !important; }
.call-status-card { max-width: 440px; text-align: center; color: #253343; line-height: 1.6; }
.call-status-card h1 { font-size: 24px; line-height: 1.3; }
.call-status-card p { margin: 12px 0 20px; }
#retry-call {
  background: #f4c542;
  color: #1f1f1f;
  border: 0;
  border-radius: 6px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
body > footer {
  position: static;
  flex: 0 0 auto;
  height: auto;
  min-height: 30px;
  padding: 6px 16px;
  gap: 4px;
}
.is-loading .call-status-card::before {
  content: '';
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto 20px;
  border: 3px solid #e4e9ed;
  border-top-color: #967200;
  border-radius: 50%;
  animation: call-loading .9s linear infinite;
}
@keyframes call-loading { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .is-loading .call-status-card::before { animation: none; }
}
button:focus-visible, a:focus-visible { outline: 3px solid #4584d6; outline-offset: 3px; }
@media (max-width: 450px) {
  main.container { height: auto; }
  body > footer { padding: 6px 12px; }
}
