.study-filters { display:grid; grid-template-columns:1fr 1fr; gap:.6rem; margin-bottom:1rem; }
.study-filters label { min-width:0; font-size:.89rem; }
.study-filters select,.settings-page select { margin-top:.35rem; display:block; width:100%; padding:.6rem; border:1px solid var(--line); border-radius:11px; color:var(--ink); background:var(--surface); font:inherit; }
.opening-editor { padding:1.1rem 0; border-top:1px solid var(--line); }
.opening-editor h2,.team-recruiting h2 { margin-bottom:.4rem; font-size:1.25rem; }
.opening-fields { min-width:0; margin:1rem 0; padding:1rem; border:1px solid var(--line); border-radius:14px; }
.opening-fields legend,.compact-meta { font-size:.8rem; color:var(--muted); }
.opening-editor [hidden] { display:none; }
.team-recruiting { position:relative; margin-top:1.2rem; }
.team-role { padding:.65rem 0; display:grid; justify-items:start; gap:.4rem; border-top:1px solid #ffffff18; }
.team-role strong,.compact-title { overflow-wrap:anywhere; }
.role-skills { display:flex; flex-wrap:wrap; gap:.3rem; }
.role-skills span { color:#cddce7; background:#ffffff0f; padding:.1rem .48rem; border-radius:12px; font-size:.77rem; }
.apply-role { border:1px solid #c4daf94d; border-radius:99px; padding:.36rem .82rem; background:#b6d4fe15; color:#e7f1ff; font:inherit; font-size:.84rem; cursor:pointer; }
.apply-role:hover,.apply-role:focus-visible { background:#b6d4fe2c; }
.compact-project { padding:.8rem; margin:.55rem 0; border:1px solid #ffffff25; border-radius:14px; background:linear-gradient(125deg,#a8c7ff0e,#24263270); }
.compact-brand,.compact-title,.compact-meta { display:block; }
.compact-brand { color:#b3bfdb; font-size:.67rem; letter-spacing:.08em; }
.compact-title { margin:.15rem 0 .3rem; font-size:.97rem; font-weight:600; }
.compact-project .team-role { font-size:.85rem; }
.project-peek { position:relative; }
.project-peek summary { cursor:pointer; }
.person-card .project-peek { margin-top:1rem; z-index:1; }
.person-card:has(.project-peek) h3 a::after { content:none; }
.card-projects:not(:empty) { margin:.7rem 0; }
.star-card:has(.compact-project) { width:min(305px,calc(100% - 16px)); max-height:min(445px,85%); }
.mast-actions { position:relative; }
.notification-bell > summary { position:relative; cursor:pointer; list-style:none; }
.notification-bell summary::-webkit-details-marker { display:none; }
.notification-bell[open] > summary { background-color:#34363d; }
.notification-badge { position:absolute; top:-4px; right:-4px; display:grid; place-items:center;
  min-width:19px; height:19px; padding:0 4px; border:1.5px solid var(--paper); border-radius:99px;
  color:white; background:#d92e3c; font:700 11px/1 var(--sans); font-variant-numeric:tabular-nums; }
.notification-badge[hidden] { display:none; }
.notification-panel { position:absolute; z-index:15; top:calc(100% + 10px); right:0;
  width:min(350px,91vw); max-height:min(65dvh,520px); display:flex; flex-direction:column;
  border-radius:20px; background-color:rgb(22 26 34 / 95%); overflow:hidden; }
.notification-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:16px 18px 12px; }
.notification-heading h2 { margin:0; font-size:1.12rem; }
.notification-heading a,.notification-more { font-size:.82rem; text-decoration:underline; }
.notification-list { overflow-y:auto; overscroll-behavior:contain; padding:0 18px 8px; }
.feed-notice { border-top:1px solid var(--line); }
.feed-notice summary { position:relative; display:grid; gap:2px; padding:10px 18px 10px 0; list-style:none; overflow-wrap:anywhere; }
.feed-notice summary::after { content:""; position:absolute; top:50%; right:3px; width:6px; height:6px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(-45deg); }
.feed-notice[open] summary::after { transform:rotate(45deg); }
.feed-notice summary strong { font-size:.95rem; }
.notice-author,.notice-project,.notification-empty { color:var(--muted); font-size:.83rem; }
.notification-empty { padding:8px 0 12px; margin:0; }
.notification-more { display:block; padding:10px 0; }
@media(max-width:380px) {
  .mast-actions { gap:4px; }
  .brand-switch .logo img { width:96px; }
}
@media(prefers-reduced-motion:no-preference) {
  .notification-bell[open] .notification-panel { transform-origin:85% top; animation:glass-appear 180ms ease-out; }
}
