body:has(.nlc-web-app) .entry-content .nlc-web-app {
    box-sizing: border-box;
    width: min(1440px, calc(100vw - 48px));
    min-height: min(940px, calc(100vh - 100px));
    margin: clamp(20px, 4vw, 56px) auto clamp(96px, 11vw, 176px) !important;
    overflow: hidden;
    border: 1px solid rgba(27, 67, 66, 0.18);
    border-radius: 30px;
    background:
        radial-gradient(circle at 12% 7%, rgba(214, 140, 69, 0.18), transparent 27%),
        linear-gradient(135deg, #eaf1ed, #f8f1e8 58%, #e9dfd1);
    box-shadow: 0 30px 70px rgba(32, 57, 51, 0.16);
}

/* Keep the separate simple-language link calm and distinct from the app card.
   It lives below the site footer and is only styled on the embedded app page. */
body:has(.nlc-web-app) .autwell-einfache-sprache-footer {
    margin: 0;
    padding: 18px 24px;
    background: #3b4141;
    text-align: center;
}

body:has(.nlc-web-app) .hhlc-legal-links {
    background: #3b4141;
}

body:has(.nlc-web-app) .autwell-einfache-sprache-footer a,
body:has(.nlc-web-app) .hhlc-legal-links a {
    color: #f5f1e9;
}

.nlc-web-app__frame {
    display: block;
    width: 100%;
    height: min(940px, calc(100vh - 100px));
    min-height: 720px;
    border: 0;
    background: #f4efe7;
}

.nlc-web-app__notice {
    width: min(640px, calc(100vw - 48px));
    margin: 64px auto;
    padding: 32px;
    border: 1px solid #d9cfc0;
    border-radius: 24px;
    background: #fff;
    color: #243d39;
}

@media (max-width: 720px) {
    body:has(.nlc-web-app) .entry-content .nlc-web-app {
        width: 100vw;
        min-height: 100dvh;
        margin: 0 0 56px !important;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .nlc-web-app__frame {
        height: 100dvh;
        min-height: 640px;
    }
}
