/* NatureDex Alpha – Konto-Dialoge, Rechtliches (13.11.2026) */
.ndx-alpha-backdrop{position:fixed;inset:0;z-index:2147483000;background:rgba(8,20,14,.62);display:flex;align-items:center;justify-content:center;padding:16px;padding-bottom:max(16px,env(safe-area-inset-bottom))}
.ndx-alpha-dialog{width:min(440px,100%);max-height:calc(100dvh - 32px);overflow:auto;background:#fffdf6;color:#183e2d;border-radius:20px;padding:22px 20px 18px;box-shadow:0 18px 50px rgba(0,0,0,.35);font:inherit}
.ndx-alpha-dialog h2{margin:0 0 8px;font-size:1.25rem}
.ndx-alpha-body{margin:0 0 14px;line-height:1.45;font-size:.95rem}
.ndx-alpha-field{display:block;font-weight:600;font-size:.9rem;margin:0 0 10px}
.ndx-alpha-field input{display:block;width:100%;box-sizing:border-box;margin-top:4px;min-height:46px;padding:10px 12px;border:1.5px solid #c9d6c8;border-radius:12px;font:inherit;background:#fff;color:#183e2d}
.ndx-alpha-msg{min-height:1.2em;margin:4px 0 10px;font-size:.92rem}
.ndx-alpha-msg.error{color:#a3261c}.ndx-alpha-msg.ok{color:#1f6b35}
.ndx-alpha-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.ndx-alpha-actions button{min-height:46px;padding:0 18px;border-radius:12px;border:0;font:inherit;font-weight:700;cursor:pointer}
.ndx-alpha-cancel{background:#eef2ea;color:#183e2d}
.ndx-alpha-ok{background:#2f7d3a;color:#fff}
.ndx-alpha-danger{background:#b3261e;color:#fff}
.ndx-link-btn{background:none;border:0;padding:8px 2px;min-height:40px;color:#2f6b3a;text-decoration:underline;font:inherit;font-size:.92rem;cursor:pointer}
.ndx-consent{margin:2px 0 0;font-size:.82rem;opacity:.85}
.ndx-consent a,.ndx-legal a{color:inherit}
.ndx-delete-account{margin-top:10px;background:transparent;border:1.5px solid #b3261e;color:#b3261e;border-radius:12px;min-height:42px;padding:0 14px;font:inherit;font-weight:700;cursor:pointer}
.ndx-legal{display:flex;flex-wrap:wrap;gap:6px 16px;justify-content:center;margin:16px 0 4px;font-size:.85rem;opacity:.85}
.ndx-legal a{padding:6px 2px;display:inline-block}
.ndx-legal-home{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
@media (min-width:900px){.ndx-legal-home{padding-bottom:24px}}
body.n30-dark .ndx-alpha-dialog{background:#16241c;color:#e9f3ea}
body.n30-dark .ndx-alpha-field input{background:#0f1a14;color:#e9f3ea;border-color:#3b5244}
body.n30-dark .ndx-link-btn{color:#9fd8a8}
/* Schmale Handys: Kopfzeilen-Knöpfe als Symbole statt abgeschnittener Wörter („De…“, „Anm…“) */
@media (max-width:420px){
  body .topbar > .header-actions #n30ThemeToggle,body .topbar > .header-actions #globalAccountBtn,
  body:is(.n35-signed-in.hub-on-home,:not(.hub-on-home)) .topbar > .header-actions #n30ThemeToggle,
  body:is(.n35-signed-in.hub-on-home,:not(.hub-on-home)) .topbar > .header-actions #globalAccountBtn{font-size:0!important;min-width:44px;padding-left:0!important;padding-right:0!important;justify-content:center;text-overflow:clip!important}
  body .topbar > .header-actions #n30ThemeToggle > *,body .topbar > .header-actions #globalAccountBtn > *{display:none!important}
  body .topbar > .header-actions #n30ThemeToggle::before{content:"";display:inline-block;width:20px;height:20px;background:currentColor;-webkit-mask:url(assets/icons/nd-moon.svg) center/contain no-repeat;mask:url(assets/icons/nd-moon.svg) center/contain no-repeat}
  body .topbar > .header-actions #n30ThemeToggle[aria-pressed="true"]::before{-webkit-mask-image:url(assets/icons/nd-sun.svg);mask-image:url(assets/icons/nd-sun.svg)}
  body .topbar > .header-actions #globalAccountBtn::before{content:"";display:inline-block;width:20px;height:20px;background:currentColor;-webkit-mask:url(assets/icons/nd-user.svg) center/contain no-repeat;mask:url(assets/icons/nd-user.svg) center/contain no-repeat}
  body:is(.n35-signed-in.hub-on-home,:not(.hub-on-home)) .topbar > .header-actions{grid-template-columns:minmax(0,1fr) 44px 44px repeat(3,minmax(33px,37px))!important}
}
