.mp-webapp-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 24px auto;
  padding: 0;
  box-sizing: border-box;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.mp-webapp-wrap.mp-webapp-wide {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100vw - 32px), 1500px);
  max-width: none;
}
.mp-webapp-frame {
  display: block;
  width: 100%;
  height: min(var(--mp-height, 820px), 94dvh);
  min-height: 550px;
  border: 1px solid #eadbd3;
  border-radius: 16px;
  background: #fff8f3;
  box-shadow: 0 14px 48px rgba(77, 54, 48, .08);
  box-sizing: border-box;
}
.mp-webapp-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
  font-size: 13px;
}
.mp-webapp-actions a {
  color: #a7544a;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.mp-webapp-actions a:hover { color: #713b34; }
@media (max-width: 700px) {
  .mp-webapp-wrap, .mp-webapp-wrap.mp-webapp-wide { margin: 4px auto 14px; }
  .mp-webapp-wrap.mp-webapp-wide { width: calc(100vw - 12px); }
  .mp-webapp-frame {
    border-radius: 8px;
    height: calc(100dvh - 50px);
    min-height: 520px;
    box-shadow: none;
  }
}
