.page-header{display:flex;min-height:68px;align-items:center;position:relative;padding:14px clamp(18px,5vw,72px);gap:18px;z-index:25;background:#071a2b;color:#fff}
.page-header{padding-left:max(clamp(18px,5vw,72px),env(safe-area-inset-left));padding-right:max(clamp(18px,5vw,72px),env(safe-area-inset-right))}
.page-header .brand{font-weight:800;text-decoration:none;white-space:nowrap;color:#fff;letter-spacing:-.02em}
.page-header .crumb{color:#d1dbe2;text-decoration:none;white-space:nowrap}
.page-header>a{color:#d1dbe2}
.section-menu{margin-left:auto;position:relative}.section-menu summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:9px;padding:9px 16px;border:1px solid #526170;border-radius:999px;background:#10283b;color:#fff;font-weight:750;letter-spacing:.01em}.section-menu summary:hover,.section-menu[open] summary{background:#f6f3ed;color:#071a2b;border-color:#f6f3ed}.section-menu summary::-webkit-details-marker{display:none}.section-menu summary span:first-child{font-size:21px;line-height:1}.section-menu nav{display:grid;position:absolute;right:0;top:calc(100% + 10px);min-width:300px;max-width:min(360px,calc(100vw - 24px));max-height:calc(100vh - 100px);overflow:auto;gap:2px;background:#fbfaf7;color:#071a2b;padding:10px;border:1px solid #e1ddd5;border-radius:16px;box-shadow:0 14px 34px #071a2b38}.section-menu nav a,.section-menu nav a:link,.section-menu nav a:visited{display:flex;align-items:center;gap:10px;padding:10px 12px;text-decoration:none;border-radius:9px;color:#071a2b;font-weight:650}.section-menu nav a:hover,.section-menu nav a:focus-visible{background:#071a2b;color:#fff;outline:none}.section-menu nav a.nested-link{margin-left:13px;padding-left:13px;border-left:2px solid #e5a23a;border-radius:0 9px 9px 0;font-weight:500}.section-menu nav a.nested-link::before{display:none}.section-menu nav .nav-icon{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:8px;background:#ece9e2;color:#213547;font-size:15px}.section-menu nav a:hover .nav-icon,.section-menu nav a:focus-visible .nav-icon{background:#e5a23a;color:#071a2b}.section-menu nav strong.menu-group{display:block;padding:13px 12px 5px;margin:5px 0 2px;border-top:1px solid #e1ddd5;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#9b6418}
.saved-content{margin-top:42px}.saved-content article{margin:12px 0;padding:18px 22px}.saved-content article h3{margin:0}.saved-content article p{margin:5px 0}.archive-link{font-weight:700;color:#071a2b}
#biermoderation,a[href="#biermoderation"]{display:none!important}
@media(max-width:700px){.page-header{flex-wrap:wrap;min-height:unset}.page-header .brand{flex:1}.page-header .crumb{order:2}.section-menu{order:2}.section-menu summary span:last-child{display:none}}
.section-menu nav .menu-divider{height:0;margin:8px 4px;border-top:1px solid #cfc8bc}
.section-menu nav a.top-level-link{font-weight:800}
.section-menu nav a.deep-nested-link{margin-left:29px;padding-left:10px;border-left-color:#c8c0b2;font-size:13px}
.page-header>button.logout-button{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:8px;width:auto!important;min-width:0;height:42px;min-height:42px;padding:0 15px;border:1px solid #526170;border-radius:999px;background:transparent;color:#fff;font:700 14px/1 var(--lpc-font-family,Inter,system-ui,sans-serif);white-space:nowrap;cursor:pointer}
.page-header>button.logout-button svg{display:block!important;flex:0 0 18px;width:18px!important;height:18px!important;max-width:18px;max-height:18px;fill:none!important;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.page-header>button.logout-button span{display:inline-block;line-height:1;white-space:nowrap}
.page-header .logout-button:hover,.page-header .logout-button:focus-visible{background:#f6f3ed;color:#071a2b;outline:2px solid #e5a23a;outline-offset:2px}
.page-header .logout-button:disabled{opacity:.7;cursor:wait}
.page-chat-link{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid #526170;border-radius:50%;color:#fff;text-decoration:none}.page-chat-link svg{width:21px;height:21px}.page-chat-link:hover,.page-chat-link:focus-visible{background:#f6f3ed;color:#071a2b;outline:2px solid #e5a23a;outline-offset:2px}
.page-header:has(.page-chat-link) .page-chat-link{margin-left:auto}.page-header:has(.page-chat-link) .section-menu{margin-left:0}
@media(max-width:700px){.page-header .logout-button{order:2;padding:8px 12px}.page-header .section-menu{margin-left:0}}

/* Desktop-Kopfzeile: Markenname bleibt links, Aktionen stehen kompakt rechts. */
@media(min-width:701px){
  .page-header{display:flex;align-items:center;gap:18px;width:100%;min-width:0;box-sizing:border-box}
  .page-header .brand{display:inline-flex!important;visibility:visible;flex:0 0 auto;max-width:40%;overflow:hidden;text-overflow:ellipsis;color:#fff}
  .page-header .crumb{display:inline-flex;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
  .page-header:has(.page-chat-link) .page-chat-link{margin-left:auto}
  .page-header>button.logout-button{display:inline-flex!important;flex:0 0 auto;align-items:center;justify-content:center;width:auto!important;height:42px!important;min-height:42px!important;padding:0 15px!important;overflow:visible}
  .page-header>button.logout-button svg{display:block!important;flex:0 0 18px!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-width:18px!important;max-height:18px!important;overflow:hidden;fill:none!important}
}

/* Gemeinsame Geräteanpassungen für alle Portalbereiche mit der Bereichsnavigation. */
img,video,iframe{max-width:100%}
input,select,textarea{max-width:100%}
button,a,[role="button"]{-webkit-tap-highlight-color:transparent}
.table-wrap,.table-scroll,.table-container{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.table-wrap table,.table-scroll table,.table-container table{min-width:640px}
dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}
@media(max-width:700px){
  .page-header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand menu" "crumb logout";align-items:center;gap:8px 12px;width:100%;min-width:0;box-sizing:border-box;padding-top:max(12px,env(safe-area-inset-top));padding-bottom:12px}
  .page-header .brand{grid-area:brand;min-width:0;flex:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .page-header .crumb{grid-area:crumb;order:initial;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .section-menu{grid-area:menu;order:initial;justify-self:end;margin:0;min-width:0}
  .section-menu summary{justify-content:center;width:46px;height:46px;box-sizing:border-box;padding:0}
  .section-menu nav{position:fixed;top:var(--section-menu-top,100px);right:max(12px,env(safe-area-inset-right));width:min(360px,calc(100vw - 24px));min-width:min(300px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100vh - var(--section-menu-top,100px) - 16px);max-height:calc(100dvh - var(--section-menu-top,100px) - 16px);box-sizing:border-box}
  .page-header .logout-button{grid-area:logout;order:initial;justify-self:end;margin:0;padding:8px 12px}
  .page-header button,.page-header a,.section-menu summary{min-height:44px}
  .form-grid,.filters,.filter-row{min-width:0}
  .form-grid>* ,.filters>* ,.filter-row>*{min-width:0;max-width:100%}
  .panel,.card,.editor-card,.content-card{min-width:0;max-width:100%}
  .table-wrap,.table-scroll,.table-container{margin-inline:-2px}
  input,select,textarea{font-size:16px}
}
body:has(#club-login) main{box-sizing:border-box;width:min(520px,calc(100% - 32px));max-width:520px;margin:44px auto 56px;padding:0}body:has(#club-login) #club-login{width:100%}@media(max-width:600px){body:has(#club-login) main{width:calc(100% - 30px);margin:28px auto 40px}}
body:has(#editor) main{width:min(1240px,calc(100% - 48px));max-width:1240px;margin:32px auto 52px}body:has(#editor) #editor{max-width:100%;margin-inline:auto}
@media(max-width:700px){body:has(#editor) main{width:100%;margin:20px auto 36px;padding-inline:16px}}
body>main:not(.member-main):not(.gallery-main):not(.detail):not(.chat-main){box-sizing:border-box;width:min(1240px,calc(100% - 48px));max-width:1240px;margin-inline:auto}
body>main.chat-main{width:min(940px,calc(100% - 48px));max-width:940px;margin-inline:auto}
body>main>h1:first-child,body>main>.page-intro{padding-inline:0}
dialog[open]{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);z-index:1000}
dialog[open]::backdrop{background:#071a2b80;backdrop-filter:blur(3px)}
dialog .charge-edit-head button,dialog .inventory-dialog-close,dialog [aria-label="Schließen"]{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;padding:0;line-height:1;text-align:center}
.survey-card .editor-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px}.survey-card .editor-actions .state-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 16px;border:1px solid #d4dce2;border-radius:8px;background:#fff;color:#071a2b;font:700 14px var(--lpc-font-family);text-decoration:none;cursor:pointer}.survey-card .editor-actions .state-button:hover,.survey-card .editor-actions .state-button:focus-visible{border-color:#e5a23a;background:#fff8ed}.survey-card .editor-actions .state-button:first-child{border-color:#e5a23a;background:#e5a23a;color:#071a2b}
@media(max-width:700px){body>main:not(.member-main):not(.gallery-main):not(.detail):not(.chat-main){width:100%;padding-inline:16px}body>main.chat-main{width:100%;padding-inline:15px}body>main>h1:first-child,body>main>.page-intro{padding-inline:0}.page-chat-link{grid-area:chat;order:initial;justify-self:end}.page-header{grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"brand chat menu" "crumb logout logout"}.page-header .logout-button{grid-area:logout}}
.inventory-edit-dialog[open],.inventory-photo-dialog[open]{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;z-index:1000;pointer-events:auto}.inventory-edit-dialog[open] form{position:relative;z-index:1;pointer-events:auto}.inventory-photo-dialog{width:min(900px,calc(100% - 28px));max-height:90vh;border:1px solid #dce3e8;border-radius:14px;padding:18px;background:#fff;box-shadow:0 24px 70px #071a2b55}.inventory-photo-dialog img{display:block;max-width:100%;max-height:78vh;margin:auto;object-fit:contain}.inventory-photo-dialog button{display:block;margin-left:auto;border:0;border-radius:50%;width:38px;height:38px;font-size:24px;cursor:pointer}.inventory-item-mark.has-photo{padding:0;cursor:zoom-in}.inventory-item-mark.has-photo:focus-visible{outline:3px solid #e5a23a;outline-offset:2px}
/* CI hover pass: pointer hover does not recolor shared controls. */
.section-menu:not([open]) summary:hover { background:#10283b; color:#fff; border-color:#526170; }
.page-header .logout-button:hover:not(:focus-visible) { background:transparent; color:#fff; outline:none; }
.page-chat-link:hover:not(:focus-visible) { background:transparent; color:#fff; outline:none; }
.survey-card .editor-actions .state-button:hover:not(:focus-visible) { border-color:#d4dce2; background:#fff; color:#071a2b; }
.survey-card .editor-actions .state-button:first-child:hover:not(:focus-visible) { border-color:#e5a23a; background:#e5a23a; color:#071a2b; }

.section-menu nav .nav-icon .lpc-symbol-icon{display:block;width:22px;height:22px;flex:0 0 22px;overflow:visible}


.section-menu summary .lpc-symbol-icon{display:block;width:21px;height:21px;flex:0 0 21px;overflow:visible}

