:root {
  --red:#8b1f28; --dark:#631822; --ink:#232021; --muted:#62595b; --paper:#fbf8f5;
  --line:#e6ddda; --tint:#f2e7e6; --white:#fffdfa;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink); background:#eee6e3; scrollbar-width:none; font-synthesis:none;
}
*,*::before,*::after { box-sizing:border-box; }
body,p,h1,h2,figure { margin:0; }
[hidden] { display:none!important; }
::-webkit-scrollbar { display:none; }
button,input { font:inherit; }
button { color:inherit; cursor:pointer; }
button:focus-visible,a:focus-visible,input:focus-visible { outline:2px solid var(--red); outline-offset:3px; }
svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.symbols { position:absolute; width:0; height:0; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.app {
  width:min(100%,393px);
  height:min(852px,100svh);
  margin-inline:auto;
  background:var(--paper);
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  overflow:hidden;
  position:relative;
  isolation:isolate;
  container-type:inline-size;
}
.app-bar {
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 44px;
  align-items:center;
  padding:7px 14px;
  border-bottom:1px solid var(--line);
}
.app-bar::before { content:""; }
.brand { border:0; background:transparent; padding:0; justify-self:center; color:var(--dark); font:400 1.68rem/1 Georgia,serif; letter-spacing:-.075em; white-space:nowrap; }
.brand strong { font:800 .78em/1 Inter,sans-serif; letter-spacing:-.087em; }
.ask-entry { display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; border-radius:50%; background:#f5ebea; color:var(--dark); }
.ask-entry svg { width:20px; height:20px; }
.screen { min-height:0; min-width:0; overflow-y:auto; scrollbar-width:none; padding:16px 16px 14px; }
.view { animation:view-in .28s cubic-bezier(.19,.7,.3,1) both; }
@keyframes view-in { from {opacity:.15; transform:translateY(7px)} to {opacity:1;transform:none} }
.view-intro { display:flex; align-items:baseline; justify-content:space-between; gap:8px; margin-bottom:14px; }
.eyebrow { font-size:.65rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:var(--red); }
h1 { margin-top:.25rem; font-size:clamp(1.7rem,8cqi,2.1rem); line-height:1; letter-spacing:-.072em; font-weight:750; }
h2 { font-size:1rem; letter-spacing:-.035em; }
.location { display:flex; align-items:center; gap:3px; color:var(--muted); font-size:.7rem; white-space:nowrap; }
.location svg { width:13px; height:13px; }
.brief-grid { display:grid; gap:19px; }
.lead,.detail-hero { position:relative; isolation:isolate; overflow:hidden; border-radius:21px; color:white; background:#511d26; }
.lead { display:grid; width:100%; min-height:0; aspect-ratio:1.09; align-items:end; padding:0; border:0; text-align:left; }
.lead::after,.detail-hero::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(0deg,rgb(19 12 15/.97),rgb(25 15 18/.66) 34%,rgb(25 15 18/.07) 72%); }
.lead img,.detail-hero img { position:absolute; z-index:-2; width:100%; height:100%; object-fit:cover; inset:0; }
.lead img { object-position:53% 56%; transition:transform .5s cubic-bezier(.19,.7,.3,1); }
.lead:hover img { transform:scale(1.045); }
.lead-text { display:grid; gap:.42rem; padding:18px; }
.lead-text .eyebrow,.detail-hero .eyebrow { color:#f9d8d7; }
.lead-text strong { font:400 clamp(1.75rem,8.1cqi,2.28rem)/.98 Georgia,serif; letter-spacing:-.055em; }
.lead-text > span:last-child { display:flex; align-items:center; gap:6px; margin-top:3px; font-size:.72rem; }
.lead-text svg,.text-button svg { width:13px; height:13px; }
.line-heading { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:.58rem; }
.text-button { display:inline-flex; align-items:center; gap:5px; padding:0; border:0; background:transparent; color:var(--red); font-size:.74rem; font-weight:650; }
.event-list { display:grid; border-top:1px solid var(--line); }
.event-row { display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:center; gap:10px; width:100%; min-height:57px; border:0; border-bottom:1px solid var(--line); padding:7px 2px; background:transparent; text-align:left; }
.event-row:hover,.highlight:hover,.conversation button:hover { background:var(--tint); }
.event-row > svg,.highlight > svg,.conversation button > svg { width:13px; height:13px; color:var(--red); margin-right:2px; }
.event-row strong,.event-row small { display:block; }
.event-row strong { font-size:.81rem; letter-spacing:-.025em; line-height:1.2; }
.event-row small { margin-top:.18rem; color:var(--muted); font-size:.66rem; line-height:1.25; }
.time-tile { display:grid; place-content:center; width:39px; min-height:37px; color:var(--dark); background:var(--tint); text-align:center; border-radius:9px; font-size:.61rem; line-height:1; }
.time-tile b { font-size:1.12rem; letter-spacing:-.06em; line-height:1.1; }
.highlights-heading { margin-top:19px; }
.highlights { display:grid; gap:8px; }
.highlight { display:grid; grid-template-columns:47px 1fr auto; gap:8px; align-items:center; padding:6px; background:var(--white); border:1px solid var(--line); border-radius:12px; text-align:left; }
.highlight img { width:47px; height:47px; border-radius:7px; object-fit:cover; }
.highlight .eyebrow { font-size:.55rem; }
.highlight strong { display:block; font-size:.77rem; line-height:1.2; margin-top:.2rem; letter-spacing:-.02em; }
.thread-icon,.ask-mark { display:grid; place-items:center; width:47px; height:47px; border-radius:8px; color:var(--dark); background:var(--tint); }
.app-nav { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); padding:4px 8px max(4px,env(safe-area-inset-bottom)); border-top:1px solid var(--line); background:var(--paper); }
.app-nav button { display:grid; grid-template-rows:27px auto; justify-items:center; align-content:center; align-items:center; min-height:50px; border:0; background:transparent; border-radius:12px; color:var(--muted); font-size:.65rem; font-weight:550; }
.app-nav button[aria-current="page"] { color:var(--dark); font-weight:700; }
.app-nav svg { width:21px; height:21px; }
.search { display:flex; align-items:center; gap:8px; background:#f0e9e6; padding:0 10px; border-radius:10px; color:var(--muted); }
.search svg { width:15px; height:15px; }
.search input { width:100%; padding:.64rem 0; min-width:0; border:0; background:transparent; color:var(--ink); font-size:.82rem; }
.explore-toolbar { display:flex; align-items:center; justify-content:space-between; gap:6px; margin:.75rem 0; }
.segmented,.time-filters { display:flex; gap:2px; }
.segmented { background:#efe6e3; border-radius:9px; padding:3px; }
.segmented button,.time-filters button { border:0; padding:.38rem .55rem; border-radius:6px; background:transparent; font-size:.71rem; font-weight:650; white-space:nowrap; }
.segmented button[aria-pressed="true"] { background:var(--white); color:var(--dark); }
.time-filters button[aria-pressed="true"] { background:var(--red); color:white; }
.campus-map { position:relative; overflow:hidden; border:1px solid var(--line); border-radius:15px; }
.campus-map img { display:block; width:100%; height:auto; }
.map-pin { position:absolute; translate:-50% -50%; border:2px solid white; border-radius:18px; background:var(--red); color:white; padding:4px 6px; font-size:.67rem; line-height:1; font-weight:700; }
.map-caption { position:absolute; bottom:7px; right:7px; background:var(--white); color:var(--muted); border-radius:4px; padding:3px 5px; font-size:.58rem; }
.explore-heading { margin-top:14px; }
#result-count { font-size:.68rem; color:var(--muted); }
.back { margin-bottom:.65rem; }
.detail-hero { min-height:224px; display:flex; align-items:end; }
.detail-hero > div { padding:17px; }
.detail-hero h1 { max-width:16ch; }
.detail-content { padding:.85rem .1rem 0; }
.detail-content p { font-size:.84rem; line-height:1.5; margin:.45rem 0 .75rem; }
.detail-facts { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; margin-bottom:14px; }
.detail-facts > div { display:grid; align-content:start; gap:5px; padding:8px; background:var(--tint); border-radius:8px; }
.detail-facts svg { color:var(--red); width:15px; height:15px; }
.detail-facts small,.detail-facts strong { display:block; }
.detail-facts small { color:var(--muted); font-size:.63rem; }
.detail-facts strong { margin-top:.22rem; font-size:.74rem; line-height:1.25; }
.detail-actions { display:flex; flex-wrap:wrap; gap:6px; }
.primary,.secondary { display:inline-flex; justify-content:center; align-items:center; gap:6px; min-height:40px; border-radius:9px; padding:.52rem .7rem; font-size:.76rem; font-weight:700; }
.primary { background:var(--red); border:1px solid var(--red); color:white; }
.primary[aria-pressed="true"],.secondary { background:var(--tint); border:1px solid #e2c9c8; color:var(--dark); }
.primary svg,.secondary svg { width:15px;height:15px; }
.conversation { display:grid; gap:8px; }
.conversation button,.reply { display:grid; grid-template-columns:34px 1fr auto; gap:8px; align-items:center; width:100%; border:1px solid var(--line); background:var(--white); border-radius:12px; padding:10px; text-align:left; }
.avatar { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:#ead4d3; color:var(--dark); font-size:.8rem; font-weight:700; }
.avatar.alternate { background:#e4e8da; color:#425135; }
.conversation strong,.conversation small,.conversation button span span { display:block; }
.conversation strong { font-size:.85rem; letter-spacing:-.02em; margin:.15rem 0; }
.conversation small,.conversation button span span { font-size:.67rem; color:var(--muted); }
.reply { margin:10px 0 13px; align-items:start; }
.reply strong { font-size:.74rem; }
.reply p { margin-top:.3rem; font-size:.83rem; line-height:1.5; }
.empty { padding:1.45rem .5rem; color:var(--muted); }
.empty h2 { margin:.6rem 0 .3rem; color:var(--ink); }
.empty p { font-size:.85rem; margin-bottom:.65rem; }
#ask-dialog { width:min(94%,460px); max-height:85svh; overflow:auto; margin:auto auto 13px; padding:19px; border:1px solid var(--line); border-radius:22px; background:var(--paper); color:var(--ink); }
#ask-dialog[open] { animation:view-in .25s ease-out both; }
#ask-dialog::backdrop { background:#26191c73; backdrop-filter:blur(3px); }
.sheet-top { display:flex; justify-content:space-between; align-items:start; }
.ask-mark { width:38px; height:38px; }
.close-button { display:grid; place-items:center; width:32px; height:32px; border:0; background:var(--tint); border-radius:50%; }
.close-button svg { width:15px; height:15px; }
#ask-title { margin:.55rem 0 .22rem; font:400 1.75rem/1 Georgia,serif; letter-spacing:-.065em; }
.sheet-intro { color:var(--muted); font-size:.8rem; margin-bottom:.7rem; }
.prompt-list { display:grid; gap:5px; }
.prompt-list button { padding:.6rem .65rem; border:1px solid var(--line); border-radius:8px; background:var(--white); text-align:left; font-size:.8rem; }
.answer { margin-top:.7rem; padding:.65rem; border-radius:8px; background:var(--tint); }
.answer p { margin:.32rem 0; font-size:.83rem; line-height:1.4; }
.answer a { color:var(--dark); font-size:.74rem; font-weight:650; }
.prototype-meta { margin-top:1rem; padding-top:.5rem; border-top:1px solid var(--line); color:var(--muted); font-size:.64rem; line-height:1.5; }
.is-embedded { background:var(--paper); }
.is-embedded .app { height:100svh; }
@media(min-width:430px) {
  html:not(.is-embedded) .app {
    margin-block: min(3svh,24px);
    height:min(852px,calc(100svh - min(6svh,48px)));
    border-radius:26px;
  }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; } }

.app-nav button[aria-current="page"] svg { background:var(--tint); outline:4px solid var(--tint); border-radius:6px; }
.today-intro .location { font-size:.72rem; }
.prototype-meta p { margin-top:.4rem; }
