/* This feature owns its banner and guide; no theme/global button overrides. */
#kwn-pwa-tools [hidden], #kwn-pwa-tools[hidden] { display: none !important; }
#kwn-pwa-tools { font-family: inherit; }
#kwn-pwa-tools button { font: inherit; cursor: pointer; touch-action: manipulation; }
#kwn-pwa-tools button:focus-visible { outline: 3px solid #167ca4; outline-offset: 3px; }
.kwn-pwa-entry { text-align: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
.kwn-pwa-entry button { background: transparent; border: 0; color: #255340; text-decoration: underline; min-height: 48px; padding: 8px 12px; }
.kwn-pwa-banner { box-sizing: border-box; position: fixed; z-index: 1000; inset: auto 0 0; display: flex; align-items: center; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; color: #173b30; border-top: 1px solid #d7e3dd; box-shadow: 0 -3px 16px #173b3017; }
.kwn-pwa-banner__close { flex: 0 0 48px; min-height: 48px; border: 0; background: transparent; color: inherit; font-size: 26px !important; padding: 0; }
.kwn-pwa-banner img { flex: 0 0 44px; width: 44px; height: 44px; object-fit: contain; border-radius: 10px; }
.kwn-pwa-banner__copy { flex: 1; min-width: 0; line-height: 1.5; }
.kwn-pwa-banner__copy strong { display: block; font-size: 14px; }
.kwn-pwa-banner__copy span { display: block; font-size: 12px; }
.kwn-pwa-banner__add { flex: 0 0 auto; min-height: 48px; padding: 8px 16px; border: 0; border-radius: 24px; background: #2f6450; color: #fff; font-weight: 700 !important; }
body.kwn-pwa-banner-visible { padding-bottom: var(--kwn-pwa-banner-height, 100px); }
body.kwn-pwa-guide-visible { overflow: hidden; }
.kwn-pwa-guide { box-sizing: border-box; position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 80px 20px 20px; border: 0; background: transparent; color: #173b30; }
.kwn-pwa-guide::backdrop { background: #0006; }
.kwn-pwa-guide__close { position: fixed; z-index: 2147483647; top: max(12px, env(safe-area-inset-top, 0px)); right: 12px; min-height: 48px; padding: 10px 16px; border: 1px solid #8b9e95; border-radius: 24px; color: #173b30; background: #fff; }
.kwn-pwa-guide__status { max-width: 380px; margin: 0 auto; padding: 12px; border-radius: 8px; background: #fff; line-height: 1.8; }
.kwn-pwa-guide__status:empty { display: none; }
.kwn-pwa-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 359px) { .kwn-pwa-banner { gap: 6px; padding-left: 4px; padding-right: 8px; } .kwn-pwa-banner img { display: none; } }
html.kwn-large-text .kwn-pwa-banner__copy strong { font-size: 16px; }
html.kwn-large-text .kwn-pwa-banner__copy span { font-size: 14px; }
