/* Android-App */
header .actions .hwc-install { display: inline-flex; align-items: center; gap: 7px; border-color: #c99a5b !important; color: #8a5a2b !important; background: #fbf3e6 !important; font-weight: 700; }
header .actions .hwc-install[hidden] { display: none !important; }
header .actions .hwc-install span { font-size: 14px; }

#hwcInstallBar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 2147483000; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 18px; background: linear-gradient(120deg, #14323a, #1d5c55); color: #fff; box-shadow: 0 18px 50px #0b182066; font-family: Manrope, "Segoe UI", system-ui, sans-serif; animation: hwc-bar-in .5s cubic-bezier(.2, .8, .2, 1) both; }
#hwcInstallBar img { width: 44px; height: 44px; border-radius: 12px; flex: none; }
#hwcInstallBar div { display: grid; gap: 2px; min-width: 0; flex: 1; }
#hwcInstallBar b { font-size: 14px; font-weight: 800; }
#hwcInstallBar small { font-size: 12px; line-height: 1.35; color: #cfe0dc; }
#hwcInstallBar button { margin: 0; box-shadow: none; min-height: 0; font-family: inherit; cursor: pointer; }
#hwcInstallBar .hwc-install-go { flex: none; height: 40px; padding: 0 14px; border: 0; border-radius: 11px; background: linear-gradient(140deg, #f1d6a8, #c99a5b); color: #14323a; font-weight: 800; font-size: 13px; }
#hwcInstallBar .hwc-install-x { flex: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 9px; background: #ffffff1a; color: #fff; font-size: 18px; line-height: 1; }
@keyframes hwc-bar-in { from { transform: translateY(120%); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #hwcInstallBar { animation: none; } }

/* Im App-Fenster: keine Textauswahl auf Bedienelementen, kein Hüpfen beim Ziehen */
body.hwc-standalone { overscroll-behavior-y: none; -webkit-tap-highlight-color: transparent; }
body.hwc-standalone :is(button, nav, header .brand) { -webkit-user-select: none; user-select: none; }

/* iPad / iPhone (Safari): Anleitung „Zum Home-Bildschirm“ */
#hwcIosDialog { width: min(440px, calc(100vw - 24px)); padding: 0; border: 0; border-radius: 24px; background: #fff; color: #14323a; box-shadow: 0 30px 80px #0b182066; font: 15px/1.5 Manrope, "Segoe UI", system-ui, sans-serif; }
#hwcIosDialog::backdrop { background: #0b1820a6; backdrop-filter: blur(4px); }
#hwcIosDialog button { font-family: inherit; margin: 0; box-shadow: none; min-height: 0; }
.hio { display: grid; gap: 10px; padding: 26px 24px 22px; text-align: center; }
.hio > img { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 4px; box-shadow: 0 10px 26px #14323a40; }
.hio h2 { margin: 0; font-size: 21px; }
.hio > p { margin: 0 0 6px; color: #5f7177; }
.hio ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.hio li { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; background: #f4f8f6; }
.hio-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #1d6d5e; color: #fff; font-weight: 800; font-size: 13px; }
.hio li b { color: #14323a; } .hio li small { display: block; color: #66777d; font-size: 12.5px; }
.hio-symbol { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-left: 4px; vertical-align: middle; border-radius: 7px; background: #fff; border: 1px solid #d6dfdb; color: #0a7aff; font-style: normal; font-weight: 800; }
.hio-symbol svg { width: 16px; height: 16px; }
#hwcIosDialog .hio-ok { height: 48px; margin-top: 6px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #2a9079, #1d6d5e); color: #fff; font-weight: 800; font-size: 15px; cursor: pointer; }
#hwcIosHinweis { position: fixed; z-index: 2147483650; display: flex; align-items: center; gap: 10px; width: min(380px, calc(100vw - 24px)); padding: 10px 10px 10px 12px; border-radius: 18px; background: #14323a; color: #fff; box-shadow: 0 18px 44px #0007; font: 14px/1.35 Manrope, "Segoe UI", system-ui, sans-serif; animation: hwc-bar-in .5s cubic-bezier(.2, .8, .2, 1) both; }
#hwcIosHinweis.hio-oben { top: 12px; right: 12px; }
#hwcIosHinweis.hio-unten { left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); }
#hwcIosHinweis img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
#hwcIosHinweis div { flex: 1; min-width: 0; display: grid; } #hwcIosHinweis small { color: #cfe0dc; font-size: 12.5px; }
#hwcIosHinweis button { font-family: inherit; margin: 0; box-shadow: none; min-height: 0; cursor: pointer; }
#hwcIosHinweis .hio-wie { flex: none; height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: #2a9079; color: #fff !important; font-weight: 800; font-size: 13px; }
#hwcIosHinweis .hio-x { flex: none; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 9px; background: #ffffff1f; color: #fff !important; font-size: 17px; }
/* iPad/iPhone: kein automatisches Hineinzoomen beim Tippen in Eingabefelder */
@supports (-webkit-touch-callout: none) { input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { font-size: max(16px, 1em) !important; } }
/* Touch-Bedienung: ausreichend große Tippflächen im Editor */
@media (pointer: coarse) { #hsBar .sm-tabs > button { min-height: 50px; } #hsCtx button { min-height: 38px !important; } }