/* Full-width planning workspace; ordinary portal layout stays unchanged. */
.event-menu-button,.event-header-back,.event-header-caption,.event-menu-shade,.event-menu-close{display:none}
body[data-portal-area=committee]{padding-top:0!important;background:#eae5f1}
body[data-portal-area=committee]>.lz-touch-bar{display:none!important}
body[data-portal-area=committee]>header{position:sticky!important;top:0!important;z-index:920;min-height:76px;padding:12px 20px;gap:12px;box-shadow:0 2px 12px #21103930}
body[data-portal-area=committee]>header .event-menu-button,body[data-portal-area=committee]>header .event-header-back{display:block;background:#ffffff18;color:white;width:42px;height:42px;padding:6px;font-size:1.4rem;flex-shrink:0}
body[data-portal-area=committee]>header .event-header-caption{display:block;order:0;font-size:1.12rem;margin-right:auto}
body[data-portal-area=committee]>header>div:first-of-type{order:-1}
body[data-portal-area=committee]>header .event-header-back{order:-3}
body[data-portal-area=committee]>header .event-menu-button{order:-2}
body[data-portal-area=committee]>header>a{display:none}
body[data-portal-area=committee]>header .portal-online{order:2}
body[data-portal-area=committee]>header #logout{order:3}
body[data-portal-area=committee] main{max-width:none!important;margin:0!important;padding:0!important}
body[data-portal-area=committee] .portal-shell{display:block!important}
body[data-portal-area=committee] .portal-context,body[data-portal-area=committee] .committee-legacy,body[data-portal-area=committee] #committee-board-root>.b-hero,body[data-portal-area=committee] #committee-board-root .b-lists{display:none!important}
body[data-portal-area=committee] .portal-sidebar{display:none;position:fixed;left:0;top:var(--event-header-height,76px);bottom:0;width:285px;overflow:auto;z-index:940;background:#fff;padding:18px;box-shadow:5px 0 30px #21103930}
body[data-portal-area=committee].event-drawer-open .portal-sidebar{display:block!important}
body[data-portal-area=committee].event-drawer-open .event-menu-shade{display:block;position:fixed;inset:var(--event-header-height,76px) 0 0;border:0;border-radius:0;background:#21103966;z-index:930;width:100%;height:calc(100% - var(--event-header-height,76px))}
body[data-portal-area=committee] .event-menu-close{display:block;margin-left:auto;font-size:1.6rem;background:#eee6f6;color:#43215e;padding:4px 14px}
body[data-portal-area=committee] .portal-nav{display:block;overflow:visible}
body[data-portal-area=committee] #committee-board-root>.c-layout{display:block!important}
body[data-portal-area=committee] .portal-content{min-width:0;padding:0}
.event-workspace{min-height:calc(100vh - var(--event-header-height,76px));padding:0 24px 28px}
.event-window-tabs{display:flex;align-items:end;gap:5px;overflow-x:auto;padding-top:12px;border-bottom:1px solid #c9badc;margin-bottom:22px;min-height:58px}
.event-window-tabs button{background:transparent;color:#574267;white-space:nowrap;border-radius:12px 12px 0 0}
.event-window-home,.event-window-tab{background:#d9cce7;border-radius:12px 12px 0 0;flex-shrink:0}
.event-window-home.active,.event-window-tab.active{background:#fff;color:#43215e;box-shadow:0 -2px 8px #35204708}
.event-window-tab{display:flex;align-items:center;max-width:310px}
.event-window-tab>button:first-child{max-width:260px;text-overflow:ellipsis;overflow:hidden;text-align:left}
.event-window-tab .event-tab-close{font-size:1.3rem;padding:8px 13px;border-radius:50%;line-height:1}
.event-tab-close:hover{background:#cdbbde}
.event-grid-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:30px 0 18px}
.event-grid-heading h2{font-size:clamp(1.7rem,3vw,2.5rem);margin:0}
.event-grid-heading .b-main-toolbar{margin:0}.event-grid-controls{display:flex;gap:12px;margin-bottom:22px;max-width:680px}.event-grid-controls>*{flex:1;min-width:0;margin:0}
.event-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:22px;align-items:start}
.event-grid-card{border-radius:18px;background:white;overflow:hidden;box-shadow:0 5px 18px #29133d12;border:1px solid #dbd0e7}
.event-grid-open{background:white;color:#30203e;display:block;width:100%;padding:0;text-align:left;border-radius:0}
.event-grid-open:hover .event-cover{filter:brightness(1.08)}
.event-grid-open h3{font-size:1.24rem;margin:18px 18px 12px;line-height:1.3}
.event-cover{height:160px;background:linear-gradient(130deg,#512771,#955aaf);background-size:cover;background-position:center;position:relative;overflow:hidden}
.event-grid-card:nth-child(3n+2) .event-cover{background-image:linear-gradient(130deg,#185667,#5ba5a4)}.event-grid-card:nth-child(3n+3) .event-cover{background-image:linear-gradient(130deg,#8e3150,#dc8d71)}
.event-cover-mark{position:absolute;right:22px;bottom:-22px;font-size:160px;line-height:1;color:#ffffff20}
.event-card-footer{padding:0 18px 16px;display:flex;align-items:center;gap:8px;justify-content:space-between}
.event-participants{display:flex;align-items:center;background:transparent;color:#66536f;padding:3px 5px;min-height:36px}
.event-participants .member-avatar{width:32px;height:32px;border:2px solid white;margin-left:-7px;font-size:.7rem;opacity:.9}.event-participants .member-avatar:first-child{margin-left:0}
.event-person{display:flex;gap:12px;align-items:center}
.event-detail-actions{justify-content:flex-end;margin-top:-8px!important}
.event-workspace .portal-meeting-header{background:transparent;box-shadow:none;padding:6px 0 10px;margin:0}
.event-workspace .portal-meeting-header h2{font-size:clamp(1.8rem,3vw,2.7rem)}
.event-workspace .portal-board-navigation{background:transparent;box-shadow:none;padding:0;position:static}
.event-workspace .portal-board-tabs{width:100%;display:flex;flex-wrap:wrap;gap:7px}
.event-workspace .portal-board-tabs .portal-symbol-action{width:auto;min-width:44px;display:inline-flex;align-items:center;gap:8px;padding:10px 13px}
.event-workspace .portal-board-tabs span{font-size:.9rem}.event-workspace .portal-board-pane-title{display:block;width:100%;font-size:1.3rem;margin:12px 0}
.event-workspace .portal-kanban{max-height:none;min-height:calc(100vh - 380px)}
.event-workspace .portal-kanban>.c-column{max-height:calc(100vh - 320px);min-height:250px}
@media(min-width:1100px){.event-grid{grid-template-columns:repeat(auto-fill,minmax(285px,1fr))}}
@media(max-width:760px){body[data-portal-area=committee]>header{padding:10px;gap:7px;flex-wrap:wrap}body[data-portal-area=committee]>header>div:first-of-type{display:none}body[data-portal-area=committee]>header .event-header-caption{font-size:1rem}body[data-portal-area=committee]>header #logout{font-size:.8rem;padding:10px}body[data-portal-area=committee] .portal-sidebar{top:var(--event-header-height,76px)}.event-workspace{padding:0 12px 24px}.event-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.event-grid-controls{flex-wrap:wrap}.event-cover{height:140px}.event-workspace .portal-board-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px}.event-workspace .portal-board-tabs button{flex-shrink:0}.event-workspace .portal-kanban>.c-column{max-height:65vh}.event-grid-heading{margin-top:18px}}
.board-media-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;margin:20px 0}.board-media-image{display:flex;flex-direction:column;gap:9px;border:1px solid #dacde5;padding:12px;border-radius:12px}.board-media-image img{width:100%;height:180px;object-fit:contain;background:#eee8f3;border-radius:8px}.board-media-image strong{overflow-wrap:anywhere}.board-card-image{width:100%;max-height:180px;object-fit:cover;border-radius:8px;margin-bottom:8px}.board-image-upload{background:#eee4f5;padding:14px;border-radius:12px}.board-image-upload input{margin-top:10px}.board-images-button{font-size:.82rem!important}.event-image-button{padding:7px 12px!important}.event-last-opened{display:block;color:#73617e;padding:0 18px 14px;font-size:.75rem}
#committee-board-root.event-workspace{padding:0 24px 28px;border:0;border-radius:0;background:#eae5f1}
.event-workspace>.b-notice{font-size:.76rem;margin:0 0 12px;padding:7px 10px;background:#f7f3fb;color:#6b5878}
.event-workspace .b-main-toolbar>small{display:none}
.event-workspace .portal-board-tabs .portal-symbol-action{flex:0 0 auto;width:auto;height:auto;min-height:44px}
@media(max-width:760px){#committee-board-root.event-workspace{padding:0 12px 24px}}
/* Shared member navigation, with identity reduced to the private avatar. */
body.portal-menu-ready>header{position:sticky!important;top:60px!important;z-index:920;padding:12px 20px;min-height:76px}
body.portal-menu-ready[data-portal-area=committee]>header{top:0!important}
body.portal-menu-ready #member-greeting,body.portal-menu-ready>header>a{display:none!important}
body.portal-menu-ready .portal-shell{display:block!important}
body.portal-menu-ready .event-menu-button{display:block;width:42px;height:42px;padding:6px;background:#ffffff18;color:white;font-size:1.4rem;flex-shrink:0;order:-2}
body.portal-menu-ready .portal-sidebar{display:none;position:fixed!important;left:0;top:var(--portal-menu-top,136px)!important;bottom:0;width:285px;overflow:auto;z-index:940;background:#fff;padding:18px;box-shadow:5px 0 30px #21103930;border-radius:0 14px 14px 0}
body.portal-menu-ready.event-drawer-open .portal-sidebar{display:block!important}
body.portal-menu-ready.event-drawer-open .event-menu-shade{display:block;position:fixed;inset:var(--portal-menu-top,136px) 0 0;z-index:930;border:0;border-radius:0;background:#21103966;width:100%;height:calc(100% - var(--portal-menu-top,136px))}
body.portal-menu-ready .event-menu-close{display:block;margin-left:auto;background:#eee6f6;color:#43215e;padding:4px 14px;font-size:1.6rem}
body.portal-menu-ready .portal-nav{display:block;overflow:visible}
.portal-avatar-control{display:flex;align-items:center;justify-content:center;padding:0;background:transparent!important;width:42px;height:42px;border:2px solid #ffffff65;border-radius:50%;flex-shrink:0;order:1;margin-left:auto;overflow:hidden}
.portal-avatar-control .member-avatar{width:100%;height:100%;margin:0;border:0;font-size:.85rem}
body.portal-menu-ready>header .portal-online{order:2}body.portal-menu-ready>header #logout{order:3}
.event-workspace .event-compact-header{padding:0 0 8px;background:transparent!important;border:0!important}
.event-compact-header>p{font-size:.85rem;color:#73617e;margin:0 0 8px}
.event-compact-header>.toolbar{margin:8px 0}
@media(max-width:760px){body.portal-menu-ready>header{padding:10px;gap:7px}body.portal-menu-ready>header .portal-brand{font-size:15px}.portal-avatar-control{width:36px;height:36px}body.portal-menu-ready #logout{font-size:.8rem;padding:9px}}
body.portal-menu-ready .portal-nav-group{display:block;margin-bottom:15px}
body.portal-menu-ready .portal-nav button,body.portal-menu-ready .portal-nav a{width:100%;white-space:normal;margin:3px 0}
body.portal-menu-ready .portal-nav-head,body.portal-menu-ready .portal-nav h3{display:block}
body.portal-menu-ready.event-drawer-open .event-menu-shade{top:var(--portal-menu-top,136px);left:0;right:0;bottom:0}
.event-workspace .portal-board-tabs .portal-symbol-action{flex-wrap:wrap;max-width:190px}
.board-tab-details{display:flex;align-items:center;flex:1 1 100%;gap:6px;min-width:0;max-width:160px;text-align:left}
.board-tab-count{background:#ffffff40;border:1px solid currentColor;border-radius:12px;min-width:22px;padding:0 5px;font-size:11px;font-weight:800;text-align:center}
.board-tab-preview{font-size:10px;opacity:.8;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}
.board-order-list{padding:0;list-style:none;display:grid;gap:8px}.board-order-row{display:flex;align-items:center;gap:8px;padding:10px;background:#f3edf8;border:1px solid #dfd0eb;border-radius:10px}.board-order-name{flex:1;min-width:0;overflow-wrap:anywhere}.board-order-grip{padding:8px;background:transparent;color:#80668f;cursor:grab;font-size:24px;opacity:.7}.board-order-position{font-size:12px;color:#80668f}.board-order-row .secondary{padding:8px 12px;min-height:42px}.board-reorder{font-size:.82rem;margin-left:auto}
body.portal-menu-ready .event-menu-button{background:#8246ba!important;border:1px solid #dab6f4;box-shadow:0 3px 12px #16062630}

/* Festausschuss: übersichtliche Boards und kompakter Editor */
#committee-board-root .event-grid-panel{padding:clamp(12px,2.5vw,26px)}
#committee-board-root .event-grid-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:8px;margin-bottom:16px}
#committee-board-root .event-grid-controls>*{width:100%;min-height:44px}
#committee-board-root .event-grid-card{border-radius:16px;overflow:hidden}
#committee-board-root .event-grid-open h3{overflow-wrap:anywhere}
#committee-board-root .portal-board-tabs{display:flex;flex-wrap:wrap;gap:6px;overflow:visible}
#committee-board-root .portal-board-tabs button[data-ui-pane]{width:auto;min-width:0;min-height:44px;padding:7px 10px;gap:5px;border-radius:10px;white-space:normal}
#committee-board-root .portal-board-tabs button[data-ui-pane]>svg{width:18px;height:18px;flex:none}
#committee-board-root .portal-board-tabs .board-tab-details{display:none}
#committee-board-root .committee-primary-action{width:auto;min-height:44px;display:inline-flex;align-items:center;gap:6px;padding:6px 12px}
#committee-board-root .committee-primary-action span{display:inline;color:inherit}
#committee-board-root .b-content .portal-kanban{min-height:0;height:auto;max-height:none;overflow:visible}
#committee-board-root .b-content .portal-kanban>.c-column{min-height:0;height:auto;max-height:none;overflow:visible}
#committee-board-root [data-board-pane=task] .portal-kanban{grid-template-columns:repeat(3,minmax(0,1fr))}
#committee-board-root .portal-kanban>.c-column>h3{position:static}
#committee-board-root .portal-board-pane-title{overflow-wrap:anywhere}
body dialog.committee-app-editor{box-sizing:border-box;width:min(650px,calc(100% - 24px));max-width:none;max-height:calc(100vh - 24px);padding:0;border-radius:20px;overflow:auto;overscroll-behavior:contain;background:var(--plan-surface,#fff)}
.committee-app-editor form{margin:0}
.committee-editor-head,.committee-editor-footer{position:sticky;z-index:2;display:flex;align-items:center;gap:8px;background:var(--plan-surface,#fff);padding:12px 18px;margin:0!important}
.committee-editor-head{top:0;justify-content:space-between;border-bottom:1px solid var(--plan-line,#e5dceb)}
.committee-editor-head h2{font-size:clamp(18px,4vw,24px);margin:4px 0 0}
.committee-editor-head small{font-size:11px;letter-spacing:.1em;font-weight:800;color:var(--plan-accent,#7042a5)}
.committee-editor-head button,.committee-editor-footer button{min-height:44px}
.committee-editor-head button{min-width:44px;font-size:24px;flex:none}
.committee-editor-body{display:grid;gap:12px;padding:16px 18px}
.committee-editor-body>*,.committee-editor-group>*{min-width:0}
.committee-editor-body label{margin:0}
.committee-editor-body input:not([type=checkbox]),.committee-editor-body select{min-height:44px;min-width:0;max-width:100%}
.committee-editor-group{margin:0;padding:12px;border:1px solid var(--plan-line,#e5dceb);border-radius:12px}
.committee-editor-group h3{font-size:15px;margin:0 0 8px}
.committee-editor-group summary,.committee-editor-help summary{cursor:pointer;font-weight:700;padding:6px 0}
.committee-editor-group[open] summary{margin-bottom:8px}
.committee-editor-body .plan-people{max-height:none;overflow:visible}
.committee-editor-group .b-point-row{grid-template-columns:auto minmax(0,1fr) auto}
.committee-editor-footer{bottom:0;justify-content:flex-end;flex-wrap:wrap;border-top:1px solid var(--plan-line,#e5dceb)}
.committee-app-editor [role=alert]:not(.hidden){margin:0 18px 12px}
@media(max-width:820px){#committee-board-root [data-board-pane=task] .portal-kanban{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){
 #committee-board-root .event-grid-controls{grid-template-columns:minmax(0,1fr)}
 #committee-board-root .portal-board-tabs button[data-ui-pane]{flex:1 1 28%;justify-content:center;font-size:12px}
 body dialog.committee-app-editor{width:calc(100% - 12px);max-height:calc(100vh - 12px);max-height:calc(100dvh - 12px)}
 .committee-editor-head,.committee-editor-body,.committee-editor-footer{padding:10px 12px}
 .committee-editor-group .row{display:grid;grid-template-columns:minmax(0,1fr)}
}
