/* Release 269: unified Looking For and Quick Connect directory. */
.cs2-community-page{max-width:1440px;margin-inline:auto}.cs2-community-tabs,.cs2-community-category-tabs{display:flex;gap:8px;flex-wrap:wrap}.cs2-community-tabs{margin:0 0 16px;border-bottom:1px solid var(--cs2-border);padding-bottom:12px}.cs2-community-tabs button,.cs2-community-category-tabs button{appearance:none;border:1px solid var(--cs2-border);background:var(--cs2-card);color:var(--cs2-text);padding:10px 16px;border-radius:5px;font:inherit;font-weight:700;cursor:pointer}.cs2-community-tabs button.is-active{border-color:var(--cs2-accent);background:color-mix(in srgb,var(--cs2-accent) 12%,var(--cs2-card));color:var(--cs2-accent)}.cs2-community-category-tabs{margin-bottom:16px}.cs2-community-category-tabs button{font-size:.82rem;padding:7px 11px;color:var(--cs2-text-muted)}.cs2-community-category-tabs button.is-active{color:var(--cs2-text);border-color:var(--cs2-text-muted)}.cs2-community-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cs2-community-card{min-width:0;background:var(--cs2-card);border:1px solid var(--cs2-border);border-radius:6px}.cs2-community-card>button{display:flex;min-height:185px;width:100%;padding:16px;border:0;background:none;color:inherit;text-align:left;flex-direction:column;gap:11px;cursor:pointer}.cs2-community-card>button:hover{background:var(--cs2-card-elevated)}.cs2-community-card__top{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;width:100%;gap:9px}.cs2-community-card__top img,.cs2-community-card__guest{width:42px;height:42px;border-radius:50%;object-fit:cover}.cs2-community-card__guest{display:grid;place-items:center;background:var(--cs2-card-elevated);font-weight:800}.cs2-community-card__person{font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs2-community-card__category{font-size:.72rem;color:var(--cs2-accent);text-align:right}.cs2-community-card>button>strong{font-size:1.06rem}.cs2-community-card>button>span:last-child{color:var(--cs2-text-muted);line-height:1.45}.cs2-community-detail{max-width:min(650px,calc(100vw - 32px));padding:0}.cs2-community-detail>div,.cs2-community-create>div{padding:22px}.cs2-community-detail header,.cs2-community-create header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.cs2-community-detail header>div{display:grid;grid-template-columns:48px 1fr;column-gap:10px}.cs2-community-detail header img,.cs2-community-detail header .cs2-community-card__guest{grid-row:span 2}.cs2-community-detail h2,.cs2-community-detail h3{margin:0}.cs2-community-detail p{margin:8px 0}.cs2-community-detail main{padding:22px 0;border-block:1px solid var(--cs2-border);margin:18px 0}.cs2-community-detail footer h3{font-size:.95rem}.cs2-community-detail footer ul{margin:8px 0;padding-left:18px}.cs2-community-create{max-width:min(760px,calc(100vw - 24px));padding:0}.cs2-community-create__choices{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.cs2-community-create__choices>a,.cs2-community-create__choices>button{display:flex;min-height:140px;padding:20px;flex-direction:column;align-items:flex-start;gap:9px;text-align:left;background:var(--cs2-card-elevated);border:1px solid var(--cs2-border);color:var(--cs2-text);border-radius:5px;font:inherit;cursor:pointer}.cs2-community-create__choices strong{font-size:1.15rem}.cs2-community-create__choices span{color:var(--cs2-text-muted);line-height:1.45}.cs2-community-create .cs2-quick-form{display:grid;gap:14px;margin-top:18px}.cs2-community-create .cs2-quick-form label,.cs2-community-create fieldset{display:grid;gap:7px}.cs2-community-create fieldset{border:1px solid var(--cs2-border);padding:12px}.cs2-community-create__time{display:flex;gap:16px;align-items:end}.cs2-community-create__time>label:first-child{flex:1}.cs2-community-contact-input{grid-template-columns:auto 100px minmax(0,1fr);align-items:center}.cs2-community-create footer{display:flex;justify-content:space-between;gap:16px;align-items:center}.cs2-community-create footer p{margin:0;color:var(--cs2-text-muted);font-size:.85rem}.cs2-community-card[hidden]{display:none!important}@media(max-width:900px){.cs2-community-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.cs2-community-page__heading{gap:12px}.cs2-community-card-grid{grid-template-columns:1fr}.cs2-community-create>div{padding:16px}.cs2-community-create__choices{grid-template-columns:1fr}.cs2-community-create footer{align-items:stretch;flex-direction:column}.cs2-community-create footer .cs2-button{width:100%}.cs2-community-contact-input{grid-template-columns:auto 1fr}.cs2-community-contact-input input:last-child{grid-column:2}.cs2-community-create__time{align-items:stretch;flex-direction:column}}

/* Guided Looking For submission. */
.cs2-lfg-wizard__steps{display:flex;gap:10px;margin:0 0 24px;padding:0;list-style:none}.cs2-lfg-wizard__steps li{display:flex;gap:7px;align-items:center;color:var(--cs2-text-muted);font-size:.85rem;font-weight:700}.cs2-lfg-wizard__steps span{display:grid;width:24px;height:24px;place-items:center;border:1px solid var(--cs2-border);border-radius:50%}.cs2-lfg-wizard__steps .is-active{color:var(--cs2-text)}.cs2-lfg-wizard__steps .is-active span{border-color:var(--cs2-accent);background:var(--cs2-accent);color:var(--cs2-on-accent)}.cs2-lfg-wizard__navigation{display:flex;justify-content:space-between;gap:12px;margin:22px 0}.cs2-lfg-wizard__legal{margin:18px 0}.cs2-lfg-structured-editor[hidden],.cs2-lfg-form [data-lfg-wizard-section][hidden]{display:none!important}@media(max-width:600px){.cs2-lfg-wizard__steps{justify-content:space-between;gap:4px}.cs2-lfg-wizard__steps li{font-size:.72rem}.cs2-lfg-wizard__navigation{flex-direction:column-reverse}.cs2-lfg-wizard__navigation .cs2-button{width:100%}}
.cs2-submit-launcher .cs2-lfg-heading,.cs2-submit-launcher .cs2-lfg-wizard__steps{display:none}.cs2-submit-launcher .cs2-lfg-shell{max-width:none;margin:0;padding:0}.cs2-submit-launcher .cs2-lfg-form{margin:0}.cs2-submit-launcher .cs2-lfg-start-options{margin:0 0 18px}
.cs2-lfg-contact-step{display:grid;gap:10px;margin:18px 0;padding:16px;border:1px solid var(--cs2-border);border-radius:6px}.cs2-lfg-contact-step p{margin:0;color:var(--cs2-text-muted)}.cs2-lfg-contact-step__row{display:grid;grid-template-columns:auto minmax(120px,.35fr) minmax(0,1fr);align-items:center;gap:10px}.cs2-lfg-contact-step__row input[type="checkbox"]{width:18px;height:18px}@media(max-width:600px){.cs2-lfg-contact-step__row{grid-template-columns:auto 1fr}.cs2-lfg-contact-step__row input:last-child{grid-column:2}}

/* Homepage: full-width ticker and card-based community discovery. */
body.cs2day-v2 .cs2-home-community-grid{grid-template-columns:minmax(0,1fr)}
body.cs2day-v2 .cs2-home-community-grid>.cs2-home-ticker{width:100%}
body.cs2day-v2 .cs2-home-ticker .cs2-ticker-row{grid-template-columns:124px minmax(0,1fr) 112px}
body.cs2day-v2 .cs2-home-ticker .cs2-ticker-row>.cs2-rank-badge{width:124px}
body.cs2day-v2 .cs2-home-community-switcher--home-feed{display:flex;flex-direction:column;height:500px;min-height:500px;padding:14px}
body.cs2day-v2 .cs2-home-community-switcher--home-feed .cs2-community-switcher__panel{flex:1 1 auto;min-height:0}
body.cs2day-v2 .cs2-home-community-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:118px;align-content:start;gap:12px;height:386px;min-height:386px;overflow-y:auto;padding:0 2px 2px;scrollbar-color:var(--cs2-accent) transparent;scrollbar-width:thin}
body.cs2day-v2 .cs2-home-community-card{display:flex;min-width:0;overflow:hidden;border:1px solid var(--cs2-border);border-radius:6px;background:color-mix(in srgb,var(--cs2-card-elevated) 74%,transparent)}
body.cs2day-v2 .cs2-home-community-card>:where(button,a){display:flex;width:100%;min-width:0;padding:14px 16px;border:0;background:transparent;color:var(--cs2-text);text-align:left;text-decoration:none;align-items:stretch;justify-content:flex-start;flex-direction:column;gap:8px;cursor:pointer}
body.cs2day-v2 .cs2-home-community-card>:where(button,a):hover{background:color-mix(in srgb,var(--cs2-card-elevated) 80%,var(--cs2-accent))}
body.cs2day-v2 .cs2-home-community-card__top{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0}
body.cs2day-v2 .cs2-home-community-card__top img{width:32px;height:32px;border-radius:50%;object-fit:cover}
body.cs2day-v2 .cs2-home-community-card__avatar{display:grid;width:32px;height:32px;overflow:hidden;border-radius:50%;place-items:center;background:var(--cs2-surface);color:var(--cs2-text);font-size:.72rem;font-weight:800}
body.cs2day-v2 .cs2-home-community-card__avatar img{display:block;width:32px;height:32px;border-radius:50%;object-fit:cover}
body.cs2day-v2 .cs2-home-community-card__person{overflow:hidden;font-size:.82rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}
body.cs2day-v2 .cs2-home-community-card__top small{color:var(--cs2-accent);font-size:.65rem;font-weight:800;text-align:right;text-transform:uppercase}
body.cs2day-v2 .cs2-home-community-card>:where(button,a)>strong{display:-webkit-box;overflow:hidden;font-size:.96rem;line-height:1.3;text-align:left;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}
body.cs2day-v2 .cs2-home-community-card>:where(button,a)>span:last-of-type{display:-webkit-box;overflow:hidden;color:var(--cs2-text-muted);font-size:.74rem;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}
body.cs2day-v2 .cs2-home-community-card time{margin-top:auto;color:var(--cs2-text-muted);font-size:.67rem}
@media(max-width:700px){body.cs2day-v2 .cs2-home-community-switcher--home-feed{height:auto;min-height:0}body.cs2day-v2 .cs2-home-community-cards{grid-template-columns:1fr;height:auto;min-height:0;max-height:386px}body.cs2day-v2 .cs2-home-community-card{min-height:118px}}

/* Keep the community submission wizard within the viewport on every device. */
body.cs2day-v2 .cs2-submit-launcher .cs2-lfg-shell,
body.cs2day-v2 .cs2-submit-launcher .cs2-lfg-form { box-sizing: border-box; max-width: 100%; min-width: 0; overflow-x: clip; }
body.cs2day-v2 .cs2-submit-launcher .cs2-lfg-form :is(input, textarea, select, fieldset) { box-sizing: border-box; max-width: 100%; min-width: 0; }
body.cs2day-v2 .cs2-submit-launcher .cs2-lfg-wizard__steps { flex-wrap: wrap; }
body.cs2day-v2 .cs2-lfg-shell--focused { overflow-x: clip; }

/* Moderation: actionable import failure details. */
body.cs2day-v2 .cs2-import-attention{display:grid;gap:14px;margin:16px 0;padding:18px;border:1px solid color-mix(in srgb,var(--cs2-warning) 55%,var(--cs2-border));border-radius:6px;background:color-mix(in srgb,var(--cs2-warning) 8%,var(--cs2-card))}
body.cs2day-v2 .cs2-import-attention>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
body.cs2day-v2 .cs2-import-attention h3,body.cs2day-v2 .cs2-import-attention p{margin:0}
body.cs2day-v2 .cs2-import-attention header p:not(.section-kicker){color:var(--cs2-text-muted);margin-top:5px}
body.cs2day-v2 .cs2-import-attention__list{display:grid;gap:8px;max-height:480px;overflow:auto}
body.cs2day-v2 .cs2-import-attention__list article{display:grid;grid-template-columns:minmax(190px,.45fr) minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px;border:1px solid var(--cs2-border);border-radius:5px;background:var(--cs2-card)}
body.cs2day-v2 .cs2-import-attention__list div{display:grid;gap:3px}body.cs2day-v2 .cs2-import-attention__list span,body.cs2day-v2 .cs2-import-attention__list small{color:var(--cs2-text-muted);font-size:.78rem}
@media(max-width:700px){body.cs2day-v2 .cs2-import-attention>header,body.cs2day-v2 .cs2-import-attention__list article{grid-template-columns:1fr;align-items:stretch}body.cs2day-v2 .cs2-import-attention>header{flex-direction:column}body.cs2day-v2 .cs2-import-attention>header form,body.cs2day-v2 .cs2-import-attention>header button{width:100%}}

body.cs2day-v2 .cs2-import-priority{display:grid;gap:4px;margin:0 0 10px;padding:12px;border:1px solid var(--cs2-border);border-left:3px solid var(--cs2-text-muted);border-radius:5px;background:var(--cs2-card)}
body.cs2day-v2 .cs2-import-priority--hoch{border-left-color:var(--cs2-error)}
body.cs2day-v2 .cs2-import-priority--mittel{border-left-color:var(--cs2-warning)}
body.cs2day-v2 .cs2-import-priority--niedrig{border-left-color:var(--cs2-info)}
body.cs2day-v2 .cs2-import-priority span{font-weight:800}
body.cs2day-v2 .cs2-import-priority small{color:var(--cs2-text-muted);line-height:1.35}

/* Homepage transfer tabs retain their fixed module height. */
body.cs2day-v2 .cs2-sidebar-module--transfers .cs2-sidebar-transfer-panel{min-height:0}
body.cs2day-v2 .cs2-sidebar-module--transfers .cs2-sidebar-list{box-sizing:border-box;height:290px;max-height:290px;overflow-x:hidden;overflow-y:auto;scrollbar-color:var(--cs2-accent) transparent;scrollbar-width:thin}
@media(max-width:700px){body.cs2day-v2 .cs2-sidebar-module--transfers .cs2-sidebar-list{height:250px;max-height:250px}}
