.zeno-install-shortcut {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .4rem;
  max-width: 28rem;
  margin-top: .7rem;
  font-size: .9rem;
}
.zeno-install-shortcut-action-title {
  margin: .35rem 0 0;
  width: 100%;
  padding-top: .75rem;
  border-top: 1px solid rgba(77, 181, 199, .32);
  color: #dcfaff;
  font-size: .86rem;
  font-weight: 700;
}
.zeno-install-shortcut-button {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1rem;
  border: 2px solid #37cee5;
  border-radius: .7rem;
  color: #effcff;
  background: linear-gradient(120deg, #10435c, #0b3046);
  box-shadow: inset 0 0 0 1px rgba(1, 12, 27, .24);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}
.zeno-install-shortcut-button:hover,
.zeno-install-shortcut-button:focus-visible {
  background: linear-gradient(120deg, #16546b, #12455a);
  border-color: #ffdc4d;
  outline-offset: 3px;
}
.zeno-install-shortcut-button img {
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: .4rem;
  background: #08253d;
}

.zeno-install-shortcut-guide {
  padding: .8rem .95rem;
  border: 1px solid #4b6c82;
  border-radius: .7rem;
  background: #183249;
  color: #f1f7fc;
  line-height: 1.5;
  white-space: pre-line;
}
.zeno-install-shortcut-guide[hidden] { display: none; }
.zeno-install-shortcut-choice {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  color: #e8f5fa;
  line-height: 1.45;
  cursor: pointer;
}
.zeno-install-shortcut-choice input {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: .12rem 0 0;
  accent-color: #27c7d6;
}
.zeno-install-shortcut-note { margin: 0; line-height: 1.45; color: #c7dce7; font-size: .85rem; }
.zeno-login-auth .zeno-install-shortcut-note { font-size: .91rem; }
.zeno-install-shortcut-brief { border-top: 1px solid rgba(77,181,199,.32);padding-top: .55rem; }
.zeno-login-auth .zeno-install-shortcut { align-self: stretch; }
.zeno-login-auth .zeno-install-shortcut-button { width: 100%; justify-content: center; }

/* Patient shortcut controls belong to Guide, never to the daily hero. */
.zd-guide-shortcuts {
  margin: 1.2rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid #37677b;
  border-radius: .85rem;
  background: rgba(8, 48, 71, .55);
}
.zd-guide-shortcuts h3 { margin: 0 0 .75rem; color: #f6c54c; }
.zd-guide-shortcuts p { margin: .45rem 0; line-height: 1.55; }
.zd-guide-shortcuts .zeno-install-shortcut { max-width: none; margin-top: .85rem; }
@media (max-width: 480px) {
  .zd-guide-shortcuts .zeno-install-shortcut-button { width: 100%; justify-content: center; }
}

/* Scoped release candidate: preserve the approved full login poster at tablet
   widths; never stretch or crop its embedded typography. */
@media (min-width: 901px) and (max-width: 1240px) {
  .zeno-login-page .zeno-login-grid {
    grid-template-columns: minmax(0, 1.355fr) minmax(0, 1fr);
    gap: 20px;
  }
  .zeno-login-page .zeno-login-intro {
    height: clamp(620px, 62vw, 698px);
    min-height: 0;
    background: #003451;
  }
  .zeno-login-page .zeno-login-intro::before,
  .zeno-login-page .zeno-login-intro::after { content: none; }
  .zeno-login-page .zeno-login-poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
  }
  .zeno-login-page .zeno-login-intro-copy { display: none; }
}

/* New login guidance and recovery notices must stay readable, even when the
   shortcut controls are also present. The form may grow and the page scrolls. */
.zeno-login-page .zeno-login-auth {
  height: auto;
  min-height: 698px;
  overflow: visible;
}
.zeno-login-page .zeno-login-auth #authMsg:not(:empty) {
  flex: none;
  max-height: none;
  overflow: visible;
  overflow-wrap: anywhere;
  white-space: normal;
}
@media (max-width: 1080px) {
  .zeno-login-page .zeno-login-auth { min-height: 620px; }
}
@media (max-width: 900px) {
  .zeno-login-page .zeno-login-auth { min-height: 505px; }
}

/* Header identifies the actual login username without changing the value
   read by the existing account and shortcut code. */
.zd-shell .zd-top-right #who::before {
  content: "Username: ";
  font-weight: 700;
}
@media (max-width: 520px) {
  .zd-shell .zd-top-right #who::before { content: ""; }
}

