/* Shared calendar, location results and community content use the existing materials. */
.location-search{position:relative;min-width:0;text-align:left}
.location-search>input{width:100%}
.location-suggestions{position:absolute;inset:calc(100% - 20px) 0 auto;z-index:900;max-height:260px;overflow-y:auto;background:#25252bf5;border:1px solid var(--hairline,#ffffff30);border-radius:14px;box-shadow:0 16px 36px #0006;backdrop-filter:blur(24px)}
.location-suggestions[hidden]{display:none}
.location-suggestions [role=option]{padding:12px 14px;min-height:48px;color:var(--text-primary,#f4f1ef);font-size:14px;line-height:1.4;cursor:pointer;font-weight:400}
.location-suggestions [role=option]:hover,.location-suggestions [aria-selected=true]{background:#ffffff12;color:#fff}
.location-search-status{display:block;font-size:11px!important;line-height:20px!important;min-height:20px;color:var(--text-secondary,#b0adaa);font-weight:400}
.date-picker{width:min(420px,calc(100vw - 24px));max-height:90dvh;overflow:auto}
.picker-calendar{padding:4px 12px 12px}.picker-calendar[hidden]{display:none}
.picker-calendar nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.picker-calendar button{border:0;background:none;color:inherit;min-height:44px;min-width:0;border-radius:50%;font:inherit;cursor:pointer}
.picker-calendar nav button{width:44px;font-size:28px;color:var(--accent-text,#ff777b)}
.calendar-weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}
.calendar-weekdays{color:var(--text-secondary,#b0adaa);font-size:12px;text-align:center;margin-bottom:4px}
.calendar-days button{padding:0;font-size:15px;aspect-ratio:1}
.calendar-days button[aria-pressed=true]{background:var(--accent,#e52329);color:#fff}
.calendar-days button:hover{background:#ffffff16}.calendar-days button[aria-pressed=true]:hover{background:var(--accent,#e52329)}
.calendar-days button:disabled{opacity:.3;cursor:default}
.picker-manual{padding:0 16px 16px}.picker-manual summary{padding:10px 0;font-size:14px;color:var(--accent-text,#ff777b);cursor:pointer}
.date-picker .date-wheels{display:grid;grid-template-columns:1fr 1fr;margin:0 20px 12px;gap:12px}
.date-picker .date-wheels:empty{display:none}.date-picker .wheel-frame{max-height:132px}.date-picker .value-wheel{height:132px;padding-block:44px}
.date-picker .wheel-frame::before{top:44px}
.date-picker>.picker-exact{display:grid;grid-template-columns:1fr;justify-content:stretch;align-items:stretch;gap:8px;margin:12px 20px}
.date-picker>.picker-exact input{width:100%;max-width:none;min-width:0}
@media(min-width:1024px){.date-picker{inset:0;margin:auto;height:fit-content;max-height:calc(100dvh - 48px);border-radius:20px}}
.social-post-topic{font-size:1.375rem!important;line-height:1.2!important;letter-spacing:-.025em;font-weight:650;margin:18px 0 10px!important;overflow-wrap:anywhere}
.social-post-photo{display:block;width:100%;height:auto;max-height:540px;object-fit:contain;background:#0d0d10;border-radius:16px;margin:14px 0}
.shared-event-preview{display:flex!important;align-items:center;gap:12px;width:100%;padding:12px!important;text-align:left;border:1px solid var(--hairline,#ffffff25)!important;background:#ffffff05!important;border-radius:16px!important;color:var(--text-primary,#f4f1ef);margin:14px 0;cursor:pointer;min-width:0}
.shared-event-preview>img,.shared-event-icon{width:64px;height:72px;object-fit:cover;border-radius:10px;flex:none;background:#ffffff08;display:grid;place-items:center}
.shared-event-icon .ui-icon{width:24px;height:24px;color:var(--text-secondary,#b0adaa)}
.shared-event-preview>span:not(.shared-event-icon){flex:1;min-width:0}.shared-event-preview small,.shared-event-preview time{display:block;font-size:11px;line-height:1.4;color:var(--text-secondary,#b0adaa);font-weight:400}
.shared-event-preview strong{display:block;font-size:15px;font-weight:600;line-height:1.3;margin:5px 0;overflow-wrap:anywhere}
.shared-event-preview>.ui-icon{width:16px;flex:none}.shared-event-unavailable{padding:16px;background:#ffffff05;color:var(--text-secondary,#b0adaa);font-size:13px;border-radius:12px;margin:12px 0}
.share-event-button{border:1px solid var(--hairline,#ffffff30);background:#ffffff08;color:inherit;border-radius:12px;min-height:44px;padding:8px 12px;font:500 13px/1.3 inherit;cursor:pointer}
.post-photo-button{display:inline-flex!important;align-items:center;gap:8px;position:relative;padding:10px 14px;border:1px solid var(--hairline,#ffffff25);border-radius:12px;min-height:44px;cursor:pointer;font-size:14px!important;margin:0!important;overflow:hidden}
.post-photo-button .ui-icon{width:19px;height:19px}.post-photo-button input[type=file]{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.post-photo-button:focus-within{outline:2px solid var(--accent-text,#ff777b);outline-offset:3px}
.post-image-control{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.post-image-control button{font-size:12px}
.post-image-preview{margin-top:16px}.post-image-preview img{max-height:280px;width:100%;object-fit:contain;border-radius:14px;background:#111}
.post-compose-status{font-size:13px;color:var(--text-secondary,#b0adaa);line-height:1.5}.post-compose-status:empty{display:none}
.social-compose-header{display:flex;align-items:center;gap:16px;margin-bottom:24px}.social-compose-header h2{font-size:22px;margin:0}
.social-photo-step{text-align:center;padding:24px 0}.social-photo-step .photo-step-icon{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 24px;border:1px solid var(--hairline,#ffffff30);border-radius:22px}.photo-step-icon .ui-icon{width:32px;height:32px}
.social-photo-step p{color:var(--text-secondary,#b0adaa);font-size:14px;margin:12px 0 28px}.social-photo-step button{display:block;width:100%;margin-top:12px}
.social-photo-step[hidden],[data-post-fields][hidden],[data-publish-post][hidden],.post-image-preview[hidden],[data-remove-post-image][hidden]{display:none!important}
.social-photo-step:not([hidden])~.post-image-control{display:none}
.social-composer [data-publish-post]{width:100%;margin-top:24px;background:var(--accent,#e52329);border-color:transparent}
.social-composer .compose-event-preview:disabled{opacity:1;cursor:default}.compose-event-preview>.ui-icon{display:none}
.desktop .desk-social-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,310px);gap:36px;max-width:1160px;align-items:start}
.desktop .desk-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px}
.desktop .desk-compose .desk-compose-fields{display:grid;grid-template-columns:minmax(0,1fr);justify-content:stretch;gap:16px;min-width:0;margin-top:0;align-items:stretch}.desktop .desk-compose .desk-compose-photo{display:block;max-width:170px;padding-top:26px;margin-top:0}.desktop .desk-compose-footer{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:12px}
.desktop .desk-compose .post-photo-button span{font-size:13px;color:var(--text-primary)}
.desktop .desk-compose .desk-compose-fields label{display:block}.desktop .desk-compose .desk-compose-fields input,.desktop .desk-compose .desk-compose-fields textarea{display:block;width:100%;margin-top:8px}
.desktop .desk-compose-photo .post-image-preview img{max-height:120px}.desktop .desk-compose-photo .post-photo-button{white-space:nowrap}
.community-events{position:sticky;top:90px;min-width:0}.community-events h2{font-size:18px;letter-spacing:-.02em}.community-events>p{font-size:13px;color:var(--text-secondary);margin-top:8px}.community-events-empty{padding:24px 0;font-size:13px;color:var(--text-secondary)}
.desktop .community-events .shared-event-preview{margin-top:20px}.desktop .desk-post .social-post-topic{margin-top:18px!important}
@media(min-width:1024px) and (max-width:1250px){.desktop .desk-social-layout{gap:24px;grid-template-columns:minmax(0,1fr) 250px}.desktop .desk-compose{grid-template-columns:minmax(0,1fr)}.desktop .desk-compose .desk-compose-photo{max-width:none;padding-top:0}.desktop .desk-compose-photo .post-image-preview img{max-height:220px}}
@media(max-width:1023px){.social-composer{padding:24px 20px calc(24px + env(safe-area-inset-bottom))}.social-post-topic{font-size:1.25rem!important}.campus-toolbar [data-compose]{min-width:44px;min-height:44px;font-size:25px}.event-footer{flex-wrap:wrap}.calendar-days{gap:0}.picker-calendar{padding-inline:8px}}
@media(prefers-reduced-transparency:reduce){.location-suggestions{background:#25252b;backdrop-filter:none}}
@media(prefers-contrast:more){.location-suggestions{background:#25252b;border-color:#bbb}.shared-event-preview{border-color:#999!important}}
