/* Small additions to the existing warm website. */
.webAppPreviewNotice { padding: 9px 20px; background: #eee2cf; color: #654b32; font-size: 12px; line-height: 1.6; text-align: center; }
.webAppPreviewNotice[hidden] { display: none; }
.webAppHeroPortrait { display: block; object-fit: contain; image-rendering: pixelated; }
.topActions .topButton { white-space: nowrap; }
.webAppTextLink {
  display: inline-block;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #985b30;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.webAppTextLink:hover { color: #694027; }
.webAppTextLink:focus-visible,
.webAppLegacyDownloads summary:focus-visible,
.webAppLegacyGuide summary:focus-visible {
  outline: 2px solid #985b30;
  outline-offset: 5px;
  border-radius: 4px;
}
.hero-note .webAppTextLink { margin-left: 12px; font-weight: 500; }
.webAppHeroActions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 24px; }
.webAppHeroActions .primaryButton { text-decoration: none; }
.webAppPetStory {
  margin: 0;
  padding: 32px 28px 24px;
  border: 1px solid #ded4c5;
  border-radius: 24px;
  background: #faf7f2;
  box-shadow: 0 14px 36px #5a40250b;
}
.webAppPetPair { display: grid; grid-template-columns: 1fr 24px 1fr; align-items: center; gap: 12px; }
.webAppPetPair > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.webAppPetPair > span { text-align: center; font-size: 22px; color: #985b30; }
.webAppPetPair > div { display: grid; place-items: center; aspect-ratio: 1; border-radius: 16px; background: #eee5d7; }
.webAppPetPair > div img { display: block; width: 86%; max-height: 180px; object-fit: contain; image-rendering: pixelated; }
.webAppPetStory figcaption { display: grid; gap: 6px; margin-top: 24px; text-align: center; }
.webAppPetStory figcaption strong { color: #443323; font-size: 18px; }
.webAppPetStory figcaption span { color: #74624f; font-size: 12px; }
.webAppWays .conceptCard { display: flex; flex-direction: column; align-items: flex-start; }
.webAppWays .conceptCard .webAppTextLink { margin-top: 12px; }
.webAppLibraryBridge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding: 22px 26px;
  border: 1px solid #e1d4c3;
  border-radius: 18px;
  background: #f6eee2;
}
.webAppLibraryBridge strong { color: #493726; font-size: 17px; }
.webAppLibraryBridge p { max-width: 640px; margin: 7px 0 0; color: #74624f; line-height: 1.7; font-size: 14px; }
.webAppLibraryBridge > button { flex-shrink: 0; }
.webAppDeliveryHint { color: #74624f; font-size: 13px; line-height: 1.8; margin: 12px 0 0; }
.webAppLegacyDownloads { margin-top: 20px; border-top: 1px solid #e4daca; padding-top: 16px; }
.webAppLegacyDownloads summary,
.webAppLegacyGuide summary { color: #6e5842; cursor: pointer; line-height: 1.7; }
.webAppLegacyDownloads summary { font-size: 13px; }
.webAppLegacyDownloads p { color: #74624f; font-size: 12px; line-height: 1.7; }
.webAppLegacyDownloads .successActions { justify-content: flex-start; }
.webAppGuideNote { margin: 24px 0 0; padding: 16px 20px; border-radius: 12px; background: #faf7f2; color: #74624f; font-size: 13px; line-height: 1.8; }
.webAppLegacyGuide { max-width: 1004px; margin: 16px auto 40px; border-top: 1px solid #ded4c5; padding-top: 22px; }
.webAppLegacyGuide > summary { font-weight: 600; padding: 8px 0; }
.webAppLegacyGuide .useFlow { padding-left: 0; padding-right: 0; }
/* The delivery guide and optional downloads must grow with their content. */
#page-studio #studio-inner .previewPanel[data-studio-state="done"],
#page-studio #studio-inner .studioStateDone,
#page-studio #studio-inner .studioStateDone .successPanel {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}
#page-studio #studio-inner .doneContentCol {
  justify-content: flex-start !important;
  overflow: visible !important;
}
#page-studio #studio-inner .doneContentCol > * { flex-shrink: 0; }
#page-studio #studio-inner .webAppLegacyDownloads { margin-top: 4px; padding-top: 12px; }
#page-studio #studio-inner .webAppLegacyDownloads .successActions { grid-template-columns: 1fr !important; }
@media (max-width: 768px) {
  .hero-note .webAppTextLink { display: block; margin: 6px 0 0; }
  .webAppLibraryBridge { align-items: flex-start; flex-direction: column; gap: 14px; padding: 20px; }
  .webAppPetStory { max-width: 440px; width: 100%; justify-self: center; padding: 24px 20px; box-sizing: border-box; }
  .webAppLegacyGuide { margin-left: 20px; margin-right: 20px; }
  .webAppHeroActions { gap: 12px; }
  .webAppDeliveryHint { font-size: 12px; }
}
@media (max-width: 720px) {
  #page-install .installDownloads .releaseNotify input { flex: 0 0 auto; height: 42px; }
}
