.installed-header { display:none; }
html.installed-app .public-header,
html.installed-app .public-footer,
html.installed-app .company-footer,
html.installed-app .auth-entry-intro,
html.installed-app .auth-entry-footer,
html.installed-app .auth-entry-tabs,
html.installed-app .auth-entry-eyebrow,
html.installed-app .auth-brand,
html.installed-app a[href="/aplikacja"],
html.installed-app a[href^="/poznaj"] { display:none!important; }
html.installed-app body.public-site {
    --public-green:#0078D4;
    --public-hover:#005A9E;
    --public-cream:#F5F6F8;
    --public-ink:#182B45;
    --public-muted:#5B687A;
    --public-line:#E2E7EE;
    font-family:"Segoe UI Variable","Segoe UI",system-ui,sans-serif;
    color:#182B45;
    background:#F5F6F8;
}
html.installed-app .installed-header {
    display:flex; align-items:center; justify-content:center; gap:12px;
    width:min(420px,100%); margin:0 auto 20px; color:#182B45;
}
html.installed-app .installed-header img { width:52px; height:52px; border-radius:12px; }
html.installed-app .installed-header strong { font-size:22px; line-height:1.2; }
html.installed-app .installed-header a { display:flex; align-items:center; gap:8px; min-height:44px; color:#0078D4; font-size:14px; }
html.installed-app .installed-header svg { width:20px; height:20px; }
html.installed-app body.public-site.auth-body {
    justify-content:center; min-height:100svh;
    padding:max(20px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));
}
html.installed-app .public-site.auth-body .auth-card {
    width:min(420px,100%); margin:0 auto; padding:24px;
    background:#fff; border:1px solid #E2E7EE; border-radius:8px;
    box-shadow:0 3px 12px #182b450a;
}
html.installed-app .public-site .auth-card h1 { font:700 24px/1.25 "Segoe UI Variable","Segoe UI",system-ui,sans-serif; margin:0 0 12px; }
html.installed-app .auth-entry-lead { font-size:14px; line-height:1.45; margin:0 0 20px; color:#5B687A; }
html.installed-app .public-site .auth-card :is(button,input,select) { font-family:inherit; }
html.installed-app .public-site .auth-card input { border-color:#E2E7EE; border-radius:8px; font-size:16px; min-height:46px; }
html.installed-app .public-site .auth-card .auth-submit { background:#0078D4; border-color:#0078D4; color:#fff; min-height:48px; }
html.installed-app .public-site .auth-card .auth-submit:hover { background:#005A9E; border-color:#005A9E; }
html.installed-app .auth-entry-help { margin-top:18px; font-size:13px; line-height:1.5; }
html.installed-app .auth-card .legal-footer { margin-top:18px; padding-top:14px; font-size:12px; line-height:1.6; color:#5B687A; }
html.installed-app .auth-card .legal-footer a { display:inline-flex; align-items:center; min-height:36px; }
html.installed-app .legal-page { padding:16px; }
html.installed-app .legal-page .installed-header { justify-content:flex-start; margin:0 0 8px; }
html.installed-app .legal-page .legal-main { padding:0; }
html.installed-app .welcome-page { visibility:hidden; }
@media(max-height:700px) {
    html.installed-app body.public-site.auth-body { justify-content:flex-start; padding-block:12px; }
    html.installed-app .installed-header { margin-bottom:12px; }
    html.installed-app .installed-header img { width:40px; height:40px; border-radius:8px; }
    html.installed-app .public-site.auth-body .auth-card { padding:18px; }
    html.installed-app .auth-entry-lead { margin-bottom:14px; }
}
