/* Shared restricted-feature state: local to the application content host. */
body.c2wt-app-pilot .c2wt-access-screen {
  box-sizing: border-box;
  display: grid;
  min-height: min(560px, calc(100vh - var(--sp-app-header-height, 0px) - var(--sp-app-footer-height, 0px)));
  padding: clamp(24px, 6vh, 72px) 20px;
  place-items: center;
  background: var(--sp-app-panel, transparent);
  border-right: 1px solid var(--sp-app-border, rgba(121, 68, 213, .24));
}

body.c2wt-app-pilot .c2wt-access-screen__body {
  box-sizing: border-box;
  width: min(100%, 540px);
  text-align: center;
}

body.c2wt-app-pilot .c2wt-access-screen__icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  color: #7944d5;
  background: rgba(121, 68, 213, .12);
  border: 1px solid rgba(121, 68, 213, .42);
  border-radius: 10px;
}

body.c2wt-app-pilot .c2wt-access-screen__icon svg { width: 21px; height: 21px; }
body.c2wt-app-pilot .c2wt-access-screen__body h1 { margin: 0 0 10px; font-size: clamp(20px, 2vw, 24px); line-height: 1.25; }
body.c2wt-app-pilot .c2wt-access-screen__body p { max-width: 54ch; margin: 0 auto; color: var(--sp-app-muted, inherit); line-height: 1.6; }
body.c2wt-app-pilot .c2wt-access-screen__action { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; margin-top: 24px; padding: 8px 15px; color: #fff; background: #7944d5; border: 1px solid #7944d5; border-radius: 4px; box-shadow: none; text-decoration: none; }
body.c2wt-app-pilot .c2wt-access-screen__action:hover { color: #fff; background: #6535ba; border-color: #6535ba; }
body.c2wt-app-pilot .c2wt-access-screen__action:focus-visible { outline: 2px solid #7944d5; outline-offset: 3px; }

@media (max-width: 767px) {
  body.c2wt-app-pilot .c2wt-access-screen { min-height: min(460px, calc(100vh - var(--sp-app-header-height, 0px))); padding: 42px 18px; }
  body.c2wt-app-pilot .c2wt-access-screen__icon { margin-bottom: 16px; }
}
