/* One central view, with a compact account rail beside it. Loaded after legacy styles. */
#wm-staffel-app[data-hub-section] .wms-hub-layout{grid-template-columns:minmax(0,1fr);gap:0;align-items:start;padding-bottom:32px;min-height:560px}
#wm-staffel-app[data-hub-section] .wms-hub-profile{grid-column:1;grid-row:1;margin:0 0 18px;position:static;min-width:0}
#wm-staffel-app[data-hub-section] .wms-hub-main,#wm-staffel-app[data-hub-section] .wms-hub-workspace{grid-column:1;grid-row:2;min-width:0;margin:0;padding:0}
#wm-staffel-app[data-hub-section] .wms-hub-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-height:400px}
#wm-staffel-app[data-hub-section][data-workspace-view="feed"] .wms-hub-workspace,
#wm-staffel-app[data-hub-section][data-workspace-view="mine"] .wms-hub-workspace,
#wm-staffel-app[data-hub-section][data-workspace-view="fanplan"] .wms-hub-workspace,
#wm-staffel-app[data-hub-section]:is([data-workspace-view="inbox"],[data-workspace-view="teams"],[data-workspace-view="settings"]) .wms-hub-main{display:none}
#wm-staffel-app[data-hub-section] .wms-hub-workspace .wms-panel{grid-column:1;align-self:start}
#wm-staffel-app[data-hub-section] .wms-hub-workspace .wms-panel>summary{padding:18px 20px;font-size:22px;line-height:1.3;cursor:default;background:#fff}
#wm-staffel-app[data-hub-section] .wms-hub-workspace .wms-panel>summary::after{display:none}
#wm-staffel-app[data-hub-section] .wms-hub-workspace .wms-panel-body{padding:18px 20px}
#wm-staffel-app[data-hub-section] .wms-hub-workspace .wms-panel:not([open]){display:none}
#wm-staffel-app[data-hub-section] .wms-hub-profile .wms-profile-actions :is([data-hub-show-feed],[data-hub-mine],[data-profile-action]){min-height:40px;padding:9px 11px;border:1px solid var(--wms-line);border-radius:6px;background:#f6f8fa;color:var(--wms-navy);font-size:13px;font-weight:700;line-height:1.35;justify-content:flex-start}
#wm-staffel-app[data-hub-section] .wms-hub-profile .wms-profile-actions [aria-pressed="true"]{border-color:var(--wms-navy);background:var(--wms-navy);color:#fff}
#wm-staffel-app[data-hub-section] .wms-hub-profile .wms-profile-actions [aria-pressed="true"] .wms-count{background:var(--wms-gold);color:var(--wms-navy)}
#wm-staffel-app[data-hub-section] .wms-hub-profile .wms-profile-actions [data-logout]{justify-self:end;min-height:32px}
#wm-staffel-app[data-hub-section] .wms-settings-view{display:block;padding:22px;border:1px solid var(--wms-line);border-radius:10px;background:#fff;font-size:15px;margin:0}
#wm-staffel-app[data-hub-section] .wms-settings-view>summary{padding:0 0 18px;min-height:0;color:var(--wms-navy);font-size:26px;font-weight:800;line-height:1.2;cursor:default;list-style:none}
#wm-staffel-app[data-hub-section] .wms-settings-view>summary::-webkit-details-marker{display:none}
#wm-staffel-app[data-hub-section] .wms-settings-view h3{font-size:20px;margin:22px 0 12px}
#wm-staffel-app[data-hub-section] .wms-settings-view .wmc-preferences{margin:0 0 20px}
#wm-staffel-app[data-hub-section] .wms-hub-nav{grid-template-columns:repeat(6,minmax(0,1fr))}
#wm-staffel-app[data-hub-section] .wms-hub-feed{min-width:0;padding:24px;border:1px solid var(--wms-line);border-radius:10px;background:#fff}
#wm-staffel-app[data-hub-section] .wms-hub-feed>.wms-heading{align-items:flex-start;gap:14px;margin-bottom:20px}
#wm-staffel-app[data-hub-section] .wms-hub-feed>.wms-heading h2{font-size:28px}
#wm-staffel-app[data-hub-section] .wms-hub-feed>.wms-heading p{margin:8px 0 0;font-size:14px;line-height:1.5}
#wm-staffel-app[data-hub-section] [data-hub-create]{flex:0 0 auto;min-height:44px;padding:10px 14px;font-size:14px}
#wm-staffel-app[data-hub-section] .wms-feed-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end;margin:0 0 12px;padding:15px;border:1px solid #e0e7ef;border-radius:8px;background:#f1f5f9}
#wm-staffel-app[data-hub-section] .wms-feed-filters label{margin:0;font-size:12px;font-weight:700;line-height:1.4}
#wm-staffel-app[data-hub-section] .wms-feed-filters :is(input,select){margin-top:5px;min-height:42px;padding:9px 10px;font-size:14px;line-height:1.4}
#wm-staffel-app[data-hub-section] .wms-feed-filters select{padding-right:26px}
#wm-staffel-app[data-hub-section] .wms-feed-filters>button{min-height:40px;padding:8px 12px;font-size:13px}
#wm-staffel-app[data-hub-section] .wms-feed-filters>.wms-link{justify-self:start;padding-inline:0}
#wm-staffel-app[data-hub-section] [data-hub-feed-status]{min-height:22px;margin:0 0 6px;font-size:12px}
#wm-staffel-app[data-hub-section] .wms-feed-items{min-width:0}
#wm-staffel-app[data-hub-section] .wms-feed-card{grid-template-columns:minmax(0,1fr);gap:16px;padding:22px 0}
#wm-staffel-app[data-hub-section] .wms-feed-card:first-child{padding-top:16px}
#wm-staffel-app[data-hub-section] .wms-feed-card:last-child{border-bottom:0;padding-bottom:4px}
#wm-staffel-app[data-hub-section] .wms-feed-card .wms-feed-category{margin:0 0 9px;font-size:11px;font-weight:800;line-height:1.4;color:#526b82;letter-spacing:.6px;text-transform:uppercase}
#wm-staffel-app[data-hub-section] .wms-feed-card h3{margin:0;font-size:21px;line-height:1.35}
#wm-staffel-app[data-hub-section] .wms-feed-card .wms-listing-top{margin-bottom:10px}
#wm-staffel-app[data-hub-section] .wms-feed-card .wms-listing-meta{gap:3px 14px;margin:0 0 10px;font-size:13px;color:var(--wms-muted)}
#wm-staffel-app[data-hub-section] .wms-feed-card .wms-copy{font-size:14px;line-height:1.6}
#wm-staffel-app[data-hub-section] .wms-feed-card .wms-listing-actions{max-width:none;justify-content:flex-start;gap:7px 14px}
#wm-staffel-app[data-hub-section] .wms-feed-card .wms-listing-actions :is(button,a){min-height:40px;padding:8px 12px;font-size:13px}
#wm-staffel-app[data-hub-section] .wms-feed-card .wms-listing-actions>.wms-muted{font-size:12px}
#wm-staffel-app[data-hub-section] .wms-create-chooser{width:min(620px,calc(100% - 32px))}
#wm-staffel-app[data-hub-section] .wms-create-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#wm-staffel-app[data-hub-section] .wms-create-options>button{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;min-height:114px;margin:0;padding:17px;border:1px solid #c5d3e1;border-radius:8px;background:#f6f8fa;color:var(--wms-navy);text-align:left;font-size:14px;line-height:1.4}
#wm-staffel-app[data-hub-section] .wms-create-options>button:is(:hover,:focus-visible){background:#eaf0f6;border-color:var(--wms-navy)}
#wm-staffel-app[data-hub-section] .wms-create-options strong{font-size:17px}
#wm-staffel-app[data-hub-section] .wms-create-options span{font-size:13px;color:var(--wms-muted)}
#wm-staffel-app .wms-blocked-person{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;padding:12px 0;border-bottom:1px solid var(--wms-line)}
#wm-staffel-app .wms-blocked-person:last-child{margin-bottom:15px}
#wm-staffel-app .wms-blocked-person strong{font-size:15px;color:var(--wms-navy)}
#wm-staffel-app .wms-blocked-person button{min-height:38px;padding:7px 11px;font-size:12px}
#wm-staffel-app [data-block-confirm]{width:min(480px,calc(100% - 32px))}
#wm-staffel-app [data-block-confirm] h2{font-size:26px}
#wm-staffel-app .wms-message-head{flex-wrap:wrap;gap:4px 7px;align-items:center}
#wm-staffel-app .wms-message-head>strong{display:inline;visibility:visible;opacity:1;min-width:0;max-width:100%;font-size:12px;font-weight:700;line-height:1.4;overflow-wrap:anywhere;color:var(--wms-navy)}
#wm-staffel-app .wms-message-head>time{font-size:10px}
#wm-staffel-app .wms-message-head .wms-message-figure{width:28px;height:28px;flex-basis:28px}
#wm-staffel-app [data-block-person]{margin-right:12px}
#wm-staffel-app [data-community-date-fields]{display:grid;gap:8px;margin:0 0 18px;min-width:0}
#wm-staffel-app [data-community-date-fields]>label{margin:0}
#wm-staffel-app [data-community-date-fields] .wmc-field-note{position:static;margin:0;font-size:12px;line-height:1.5}
#wm-staffel-app input[type="datetime-local"]{max-width:100%;min-width:0}

@media(min-width:1100px){
 #wm-staffel-app[data-hub-section] .wms-hub-layout{grid-template-columns:minmax(0,1fr) 248px;column-gap:24px}
 #wm-staffel-app[data-hub-section] .wms-hub-profile{grid-column:2;grid-row:1;position:sticky;top:112px;margin:0}
 #wm-staffel-app[data-hub-section] .wms-hub-main,#wm-staffel-app[data-hub-section] .wms-hub-workspace{grid-column:1;grid-row:1}
 #wm-staffel-app[data-hub-section] .wms-hub-profile .wms-account-bar{padding:16px 14px 10px}
 #wm-staffel-app[data-hub-section] .wms-hub-profile .wms-profile-actions{gap:6px}
}
@media(max-width:1099px){
 #wm-staffel-app[data-hub-section] .wms-hub-profile .wms-profile-actions{display:flex;gap:6px;flex-wrap:wrap}
 #wm-staffel-app[data-hub-section] .wms-hub-nav{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:640px){
 #wm-staffel-app[data-hub-section] .wms-hub-profile{margin-bottom:16px}
 #wm-staffel-app[data-hub-section] .wms-hub-profile .wms-account-bar{padding:10px;gap:10px}
 #wm-staffel-app[data-hub-section] .wms-hub-profile .wms-profile-identity{min-height:46px}
 #wm-staffel-app[data-hub-section] .wms-hub-profile[data-authenticated="true"] .wms-profile-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 #wm-staffel-app[data-hub-section] .wms-hub-profile .wms-profile-actions :is([data-hub-show-feed],[data-hub-mine],[data-profile-action]){min-height:40px;padding:7px 5px;font-size:12px;justify-content:center;text-align:center}
 #wm-staffel-app[data-hub-section] .wms-hub-profile .wms-profile-actions [data-profile-action="settings"]{grid-column:span 2}
 #wm-staffel-app[data-hub-section] .wms-hub-feed{padding:17px 14px}
 #wm-staffel-app[data-hub-section] .wms-hub-feed>.wms-heading{display:flex;gap:13px}
 #wm-staffel-app[data-hub-section] .wms-hub-feed>.wms-heading h2{font-size:26px}
 #wm-staffel-app[data-hub-section] .wms-feed-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}
 #wm-staffel-app[data-hub-section] .wms-feed-filters label:first-child{grid-column:1/-1}
 #wm-staffel-app[data-hub-section] .wms-feed-filters :is(input,select){font-size:13px}
 #wm-staffel-app[data-hub-section] .wms-feed-card h3{font-size:19px}
 #wm-staffel-app[data-hub-section] .wms-feed-card .wms-listing-actions>.wms-primary{width:auto}
 #wm-staffel-app[data-hub-section] .wms-feed-card .wms-listing-actions{gap:8px}
 #wm-staffel-app[data-hub-section] .wms-settings-view{padding:18px 15px}
 #wm-staffel-app[data-hub-section] .wms-hub-workspace .wms-panel>summary{padding:16px;font-size:21px}
 #wm-staffel-app[data-hub-section] .wms-hub-workspace .wms-panel-body{padding:14px}
 #wm-staffel-app[data-hub-section] .wms-create-options{grid-template-columns:minmax(0,1fr);gap:8px}
 #wm-staffel-app[data-hub-section] .wms-create-options>button{min-height:84px;padding:13px}
 #wm-staffel-app[data-hub-section] .wms-create-options strong{font-size:16px}
}
@media(max-width:520px){
 #wm-staffel-app[data-hub-section] .wms-hub-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:360px){
 #wm-staffel-app[data-hub-section] .wms-feed-filters{grid-template-columns:minmax(0,1fr)}
 #wm-staffel-app[data-hub-section] .wms-feed-filters label:first-child{grid-column:auto}
}

/* Show the next result set as loading, never as cards from the previous filter. */
#wm-staffel-app[data-hub-section] [data-hub-feed-status]{display:flex;align-items:center;gap:9px;line-height:1.5}
#wm-staffel-app[data-hub-section] [data-hub-feed-status][data-loading="true"]{font-size:14px;font-weight:700;color:var(--wms-navy)}
#wm-staffel-app[data-hub-section] [data-hub-feed-status][data-loading="true"]::before{content:"";width:15px;height:15px;flex:0 0 15px;border:2px solid #c4d2e1;border-top-color:var(--wms-navy);border-radius:50%;animation:wms-feed-spin .8s linear infinite}
#wm-staffel-app[data-hub-section] .wms-feed-skeleton{display:grid;gap:0;min-height:360px}
#wm-staffel-app[data-hub-section] .wms-skeleton-card{display:grid;gap:13px;padding:22px 0;border-bottom:1px solid var(--wms-line)}
#wm-staffel-app[data-hub-section] .wms-skeleton-card:last-child{border-bottom:0}
#wm-staffel-app[data-hub-section] :is(.wms-skeleton-line,.wms-skeleton-avatar,.wms-skeleton-button){display:block;border-radius:5px;background:linear-gradient(100deg,#e5ebf1 20%,#f4f6f9 45%,#e5ebf1 70%);background-size:240% 100%;animation:wms-feed-shimmer 1.5s ease-in-out infinite}
#wm-staffel-app[data-hub-section] .wms-skeleton-line{height:12px;width:76%;max-width:540px}
#wm-staffel-app[data-hub-section] .wms-skeleton-short{height:9px;width:23%;max-width:150px}
#wm-staffel-app[data-hub-section] .wms-skeleton-heading{display:flex;align-items:center;gap:12px}
#wm-staffel-app[data-hub-section] .wms-skeleton-avatar{width:42px;height:42px;border-radius:50%;flex:0 0 42px}
#wm-staffel-app[data-hub-section] .wms-skeleton-title{height:18px;width:51%}
#wm-staffel-app[data-hub-section] .wms-skeleton-copy{width:95%;max-width:680px}
#wm-staffel-app[data-hub-section] .wms-skeleton-button{width:132px;height:38px;margin-top:3px}
#wm-staffel-app[data-hub-section] .wms-create-footer{margin-top:18px;padding-top:16px;border-top:1px solid var(--wms-line)}
@keyframes wms-feed-spin{to{transform:rotate(360deg)}}
@keyframes wms-feed-shimmer{to{background-position:-170% 0}}
@media(prefers-reduced-motion:reduce){#wm-staffel-app[data-hub-section] [data-hub-feed-status][data-loading="true"]::before,#wm-staffel-app[data-hub-section] :is(.wms-skeleton-line,.wms-skeleton-avatar,.wms-skeleton-button){animation:none}}
