@import url('people-v3.css?v=20260928processed');

/* Photo-first cards; all detailed academic information remains in the profile. */
.topbar{height:48px;padding-block:2px}
.topbar .brand{font-size:17px}.topbar .faculty{font-size:10px;color:var(--muted)}
.topbar>.icon-button{width:40px;height:40px;background:transparent}
.preview-note{font-size:9px;min-height:24px;padding-block:4px}
.people-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 18px 12px}
.people-heading h1{font:800 29px/1.1 Onest,Arial,sans-serif;min-width:0}
.heading-actions{display:flex;gap:2px;flex-shrink:0}
.heading-actions .icon-button{width:44px;height:44px;background:none}
.heading-actions .icon-button:hover,.heading-actions .icon-button[aria-expanded=true]{background:#f3e5e8}
.heading-actions .has-filter{color:var(--wine);background:#f3e5e8}
.deck,.app:has(.search:not([hidden])) .deck{width:min(calc(100% - 36px),max(250px,calc(75dvh - 232px)));margin:0 auto;height:auto}
.deck:before,.deck:after{display:none}
.teacher-card{border:0;border-radius:8px;display:block;background:#e7e8ea;aspect-ratio:3/4;isolation:isolate;cursor:pointer;z-index:1}
.teacher-underlay{position:absolute;inset:0;z-index:0;border-radius:8px;overflow:hidden;background:#e7e8ea;pointer-events:none;transform:translateY(8px) scale(.975);transform-origin:center;will-change:transform;isolation:isolate}
.photo-area{position:absolute;inset:0;aspect-ratio:auto;width:100%;height:100%}
.portrait{object-fit:contain;object-position:center;filter:none}
.card-top{inset:12px 12px auto;align-items:center}
.card-top .save-button{background:#ffffffeb;color:var(--ink);width:44px;height:44px}
.card-top .save-button[aria-pressed=true]{background:var(--wine);color:white}
.image-note{font-size:9px;color:#554a51;background:#ffffffe6;border-radius:4px;padding:5px 7px;line-height:1.2}
.card-copy{position:absolute;inset:auto 0 0;min-height:0;background:linear-gradient(transparent,rgba(20,16,19,.86));padding:56px 18px 21px;color:white;pointer-events:none}
.card-copy h2{font:850 33px/1.1 Onest,Arial,sans-serif;padding:0;margin:3px 0 0;overflow-wrap:anywhere}
.card-copy .given-name{font-size:13px;line-height:1.35;margin:0;color:white}
.academic-caption{font-size:11px;line-height:1.4;margin-top:7px;color:#f4e9ed;overflow-wrap:anywhere}
.teacher-actions{position:relative;margin:14px 20px 22px}
.teacher-details{margin:0;border:0}
.teacher-details summary{list-style:none;width:calc(50% - 6px);height:52px;margin-left:calc(50% + 6px);padding:8px 10px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px;line-height:16px;font-weight:600;cursor:pointer;background:#f3eff1;border-radius:7px}
.teacher-details summary span,.review-action span{min-width:0;overflow-wrap:anywhere}
.teacher-details summary:hover,.teacher-details[open] summary{background:#eadde2}
.teacher-details[open]>.academic-details{margin-top:14px;padding-top:18px;border-top:1px solid var(--line)}
.teacher-details summary::-webkit-details-marker{display:none}
.teacher-details summary svg{width:18px;height:18px;transition:transform .16s}
.teacher-details[open] summary svg{transform:rotate(180deg)}
.teacher-details summary:focus-visible{outline:2px solid var(--wine);outline-offset:2px}
.academic-details{padding:8px 0 12px}
.academic-facts{margin:0;display:grid;gap:12px}
.academic-facts>div{display:grid;grid-template-columns:minmax(0,115px) minmax(0,1fr);gap:12px;align-items:baseline}
.academic-facts dt{font-size:11px;color:var(--muted)}
.academic-facts dd{margin:0;font-size:13px;font-weight:550;overflow-wrap:anywhere}
.academic-department{font-size:12px;color:var(--muted);margin-top:15px}
.other-positions{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:10px}
.other-positions strong,.other-positions span{display:block;font-size:12px}
.other-positions span{color:var(--muted);font-size:11px;margin-top:3px}
.academic-details h2{font-size:16px;margin:23px 0 7px}
.teacher-email{min-height:48px;display:flex;align-items:center;gap:9px;color:var(--wine);font-size:13px}
.teacher-email span{min-width:0;overflow-wrap:anywhere}
.teacher-email svg{width:18px;height:18px;flex-shrink:0}
.teacher-email svg:last-child{margin-left:auto;width:15px}
.teacher-email:hover span{text-decoration:underline;text-underline-offset:3px}
.missing-fact{font-size:12px;color:var(--muted);line-height:1.5}
.photo-navigation{position:absolute;inset:56% 12px auto;display:flex;justify-content:space-between;pointer-events:none;z-index:3}
.photo-nav{width:48px;height:48px;padding:0;display:grid;place-items:center;border-radius:0;background:transparent;border:0;color:rgba(255,255,255,.58);pointer-events:auto;transition:color .16s,transform .16s}
.photo-nav svg{width:30px;height:30px;stroke-width:1.8;filter:drop-shadow(0 1px 1px rgba(28,16,23,.55)) drop-shadow(0 -1px 0 rgba(255,255,255,.65))}
.photo-nav:hover:not(:disabled){color:rgba(255,255,255,.9)}
.photo-nav:focus-visible{color:white;outline:2px solid var(--wine);outline-offset:1px}
.photo-nav:active:not(:disabled){transform:scale(.94)}
.photo-nav:disabled{opacity:.28}
@media(forced-colors:active){.photo-nav{color:ButtonText}.photo-nav svg{filter:none}.photo-nav:focus-visible{color:ButtonText;outline-color:Highlight}}
.teacher-card.is-exiting{pointer-events:none}
.teacher-card.is-exiting .photo-nav{pointer-events:none}
.review-action{position:absolute;top:0;left:0;width:calc(50% - 6px);height:52px;padding:8px 10px;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:7px;background:var(--wine);color:white;font-size:12px;line-height:16px;font-weight:600;transition:background .16s,transform .16s}
.review-action svg{width:18px;height:18px;flex-shrink:0}
.review-action:hover{background:#7a2230}
.review-action:active{transform:scale(.98)}
.bottom-nav a[aria-current=page] svg{box-sizing:border-box;background:transparent;padding:0;margin:0;width:22px;height:22px;border-radius:0;color:var(--wine)}
.bottom-nav a[aria-current=page]{color:var(--wine)}
.bottom-nav{min-height:62px;padding-top:5px}
@media(max-width:360px){.people-heading h1{font-size:26px}.card-copy h2{font-size:29px}.card-copy{padding-inline:16px}}
@media(max-height:740px){.people-heading{padding-bottom:6px}.teacher-actions{margin-block:10px 18px}}
@media(prefers-reduced-motion:reduce){.review-action,.photo-nav{transition:none}.review-action:active,.photo-nav:active:not(:disabled){transform:none}}

/* Contacts first; the private review remains an optional secondary action. */
.teacher-details summary{width:100%;margin-left:0;justify-content:space-between}
.teacher-actions .review-action{position:static;width:100%;height:auto;min-height:44px;margin-top:12px;background:#f3eff1;color:var(--wine)}
