
:root{--rx-ink:#19285e;--rx-blue:#112d55;--rx-gold:#edba55;--rx-lines:rgba(43,86,124,.085);--rx-graph:linear-gradient(var(--rx-lines) 1px,transparent 1px),linear-gradient(90deg,var(--rx-lines) 1px,transparent 1px)}
body.rx-site{background-color:#edf2f4;background-image:var(--rx-graph);background-size:31px 31px}
.rx-site .pharmacy-spread{padding:clamp(36px,4.3vw,68px) 0;background-color:#0c2a51;background-image:linear-gradient(90deg,rgba(12,34,66,.03) 0%,transparent 32%,rgba(8,30,60,.30) 63%,rgba(8,30,60,.38)),url('pharmacy-cyanotype.webp');background-size:cover;background-position:left center;color:#fff;border-top:4px solid var(--rx-gold)}
.rx-site .pharmacy-spread .shell{display:grid;grid-template-columns:minmax(0,61%) minmax(0,1fr)}
.rx-site .pharmacy-spread .section-head,.rx-site .pharmacy-spread .event-lineup{grid-column:1}
.rx-site .pharmacy-spread .section-head{align-items:baseline;gap:14px;margin-bottom:20px}
.rx-site .pharmacy-spread h2{color:#fff}.rx-site .pharmacy-spread .section-head p{color:#dce9fa}
.rx-site .pharmacy-spread .text-link{color:#ffe0a0;white-space:nowrap}
.rx-site .pharmacy-spread .event-lineup{gap:12px}
.rx-site .pharmacy-spread .event-lineup a{background:#0f2948df;border:1px solid #a5c8ea58;border-inline-start:3px solid #e8ba59;padding:12px 14px;color:white}
.rx-site .pharmacy-spread .event-lineup span{color:#ecd59f}.rx-site .pharmacy-spread .event-lineup small{color:#d1e3f5}
.rx-site #magazine.spssc-editorial-hub,.rx-site .mag-hero{background-color:#f1f1f6;background-image:radial-gradient(ellipse at 0% 25%,#ccd9ed9c,transparent 48%),repeating-linear-gradient(0deg,transparent 0 29px,#a6bad524 29px 30px)}
.rx-site #magazine.spssc-editorial-hub [role=tabpanel]{background:transparent}
.rx-site .community-section{background-color:#f5f0e3;background-image:radial-gradient(at 0% 10%,#efda9c85,transparent 47%),repeating-linear-gradient(135deg,transparent 0 8px,#b7a77810 8px 9px)}
.rx-site #leadership{background:radial-gradient(ellipse at 91% 4%,#dde8ed 0%,transparent 46%),linear-gradient(155deg,#f8f9fb 10%,#edf1f5 62%,#dce6ed 100%)}
.rx-site #archive.archive-gallery{background-color:#dbe2eb;background-image:linear-gradient(105deg,#b5c6d280,transparent 42%),repeating-linear-gradient(0deg,transparent 0 4px,#4357780b 4px 5px)}
.rx-site #about{background-color:#e6edf0;background-image:linear-gradient(110deg,#d1dee9,transparent 60%)}
.rx-site #leadership .leadership-original img{width:min(100%,650px);height:auto;max-height:none;display:block;border-radius:5px}
.rx-sub main{background-color:transparent}.rx-sub .intro{padding-inline:clamp(15px,3.2vw,40px);max-width:none;color:white;margin-block:20px;border-radius:12px;background:#103050 url('pharmacy-cyanotype.webp') left center/cover no-repeat;position:relative;isolation:isolate}
.rx-sub .intro:before,.rx-achievements .hero:before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(90deg,#08234411,#082344c2 58%,#082344d9)}
.rx-sub .intro h1,.rx-sub .intro p,.rx-sub .intro .crumb{color:white}.rx-sub .intro .evt-registration{background:#f4c967;color:#172452}
.rx-achievements .hero{position:relative;isolation:isolate;background:#0f3059 url('pharmacy-cyanotype.webp') left center/cover no-repeat}.rx-achievements .hero .wrap{position:relative}.rx-achievements .hero :is(h1,p){color:white}
.rx-site .mag-header{border-bottom:3px solid #e7b655}.rx-mag .mag-hero{border-inline-start:4px solid #d1a14d;padding-inline:clamp(18px,4vw,48px)}
.rx-site :is(a,button):focus-visible{outline:3px solid #aa791f;outline-offset:3px}
@media(max-width:720px){.rx-site .pharmacy-spread{background-image:linear-gradient(90deg,#062346aa,#09274bef 66%),url('pharmacy-cyanotype.webp');background-position:24% center}.rx-site .pharmacy-spread .shell{display:block}.rx-site .pharmacy-spread .section-head{margin-bottom:12px}.rx-site .pharmacy-spread .event-lineup a{background:#0b2547d9}.rx-sub .intro:before,.rx-achievements .hero:before{background:#0c284ac9}}


#contentPreview[data-entry^="committee-"] .preview-header{min-height:105px;align-items:flex-start;padding:12px 16px;background-color:#172c4e;background-image:linear-gradient(90deg,#11254220,#0d233caa),var(--team-photo);background-size:cover;background-position:center,var(--team-position,center);border-radius:10px}
#contentPreview[data-entry^="committee-"] .preview-eyebrow{background:#13274bd9;color:#fff;padding:3px 9px;border-radius:4px}
#contentPreview[data-entry^="committee-"] .preview-close{background:white;color:#16234f}
#contact{scroll-margin-top:110px}.branch-socials{display:flex;gap:6px 13px;flex-wrap:wrap;margin-block:7px;align-items:center}.rx-site footer .branch-socials a{display:inline-block;margin:0}.developer-line{margin-top:14px;border-top:1px solid #ffffff38;padding-top:10px}.developer-line span{font-size:.88rem}.branch-contact-shortcut{margin-inline-start:1rem}
.rx-site footer.branch-footer{background:#142654;color:white;display:flex;justify-content:space-between;align-items:flex-start;gap:14px 26px;flex-wrap:wrap;text-align:start;padding:23px max(5%,calc((100% - 1180px)/2));border:0}.branch-footer>div{display:grid;gap:4px}.rx-site footer.branch-footer a{color:#f7d68b;text-decoration:underline;text-underline-offset:4px}.branch-footer span{font-size:.92rem}

#contentPreview[data-entry="committee-0"]{--team-photo:url("committee-art/0.webp")}
#contentPreview[data-entry="committee-1"]{--team-photo:url("committee-art/1.webp")}
#contentPreview[data-entry="committee-2"]{--team-photo:url("committee-art/2.webp")}
#contentPreview[data-entry="committee-3"]{--team-photo:url("committee-art/3.webp")}
#contentPreview[data-entry="committee-4"]{--team-photo:url("committee-art/4.webp")}
#contentPreview[data-entry="committee-5"]{--team-photo:url("committee-art/5.webp")}
#contentPreview[data-entry="committee-6"]{--team-photo:url("committee-art/6.webp")}
#contentPreview[data-entry="committee-7"]{--team-photo:url("committee-art/7.webp")}
#contentPreview[data-entry="committee-8"]{--team-photo:url("committee-art/8.webp")}
#contentPreview[data-entry="committee-9"]{--team-photo:url("committee-art/9.webp")}

#leadership .roster-tabs{display:inline-flex;max-width:100%;padding:4px;border:1px solid #cbd3e3;background:#fafbfe;border-radius:9px;margin-bottom:18px;gap:4px}
.roster-tabs button{min-height:44px;border:0;border-radius:6px;padding:7px 18px;font:inherit;font-weight:700;color:#273764;background:transparent;cursor:pointer}
.roster-tabs button[aria-selected=true]{background:#203575;color:white}
#leadership [role=tabpanel][hidden]{display:none}
#chapter-executive .leader-card{display:grid;grid-template-columns:46px minmax(0,1fr);grid-template-rows:auto auto;gap:2px 10px;align-content:center;text-align:start;justify-items:start;padding:13px;background:#fff;border-radius:8px}
#chapter-executive .leader-card .avatar-illustration,.roster-person .avatar-illustration{width:46px;height:46px;margin:0;grid-column:1;grid-row:1/3;align-self:center;background-size:115px 46px}
#chapter-executive .leader-card strong,#chapter-executive .leader-card small{grid-column:2;align-self:center;margin:0}
.roster-tiles {
  display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:0;
  overflow:hidden; border:1px solid #aeb9bc; border-radius:12px;
  background:repeating-linear-gradient(45deg,transparent 0 4px,#fffffa3d 4px 5px),
    linear-gradient(115deg,#bbc4c6,#f3f0e8 27%,#bac3c7 52%,#edf0eb 78%,#bec6c7);
}
.roster-tile {
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
  padding:8px 4px; min-width:0; min-height:118px;
  border:0; border-inline-end:1px dashed #7d898d; border-block-end:1px dashed #7d898d;
  border-radius:0; background:transparent; color:#21384b; cursor:pointer;
  font:inherit; font-weight:700; text-align:center; line-height:1.4;
}
.roster-tile svg { display:block; width:96px; height:68px; flex:none; }
.roster-tile:hover { background-color:#ffffff48; }
.roster-tile:focus-visible { outline:3px solid #142962; outline-offset:-4px; }
@media(min-width:761px){
  .roster-tile:nth-child(5n){border-inline-end:0}
  .roster-tile:nth-last-child(-n+5){border-block-end:0}
}
@media(max-width:760px){
  .roster-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .roster-tile{min-height:104px;font-size:.95rem}
  .roster-tile:nth-child(2n){border-inline-end:0}
  .roster-tile:nth-last-child(-n+2){border-block-end:0}
}
.roster-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:10px}
.roster-person{display:grid;grid-template-columns:46px minmax(0,1fr);gap:1px 10px;align-content:center;padding:12px;border:1px solid #d9dfea;background:#f4f6fa;border-radius:8px;text-align:start}
.roster-person strong,.roster-person small{grid-column:2;margin:0;color:#203461}.roster-person small{font-size:.85rem;color:#55637e}
#chapter-committees,#chapter-executive{scroll-margin-top:110px}
@media(max-width:650px){#leadership .roster-tabs{display:flex}.roster-tabs button{flex:1;font-size:.92rem;padding-inline:7px}#chapter-executive .leader-card{padding:10px 6px;gap:1px 5px}}

.rx-home .cinema-hero {
  height: auto;
  min-height: calc(100vh - var(--home-header-height, 0px));
  min-height: calc(100dvh - var(--home-header-height, 0px));
  padding-block: clamp(20px, 5vh, 64px);
}

@media (orientation: landscape) and (max-height: 500px) {
  .rx-home .cinema-hero { padding-block: 12px; }
  .rx-home .edition-label { margin-bottom: 4px; }
  .rx-home .cinema-copy h1 { font-size: clamp(30px, 4vw, 42px); margin-block: 6px; }
  .rx-home .cinema-copy p { margin-bottom: 10px; }
  .rx-home .hero-actions .button { min-height: 44px; padding-block: 6px; }
}

/* Compact masthead shared by all five mobile pages. */
.phone-mast{display:none}
@media(max-width:720px){
  .rx-site header.has-phone-mast{display:block;position:sticky;top:0;z-index:35;margin:0;padding:0;border:0;border-bottom:2px solid #dcb04e;background:#fff;color:#17285c;box-shadow:0 1px 4px #15285712;backdrop-filter:none}
  header.has-phone-mast>:not(.phone-mast){display:none!important}
  .rx-site .phone-mast{display:flex;align-items:center;gap:7px;min-height:58px;padding:5px max(12px,env(safe-area-inset-right)) 5px max(12px,env(safe-area-inset-left));width:100%;max-width:100%;position:relative}
  .rx-site .phone-brand{display:flex;align-items:center;gap:7px;min-width:0;margin-inline-end:auto;color:#162656;text-decoration:none;font-size:15px;line-height:1.3}
  .phone-brand img{width:38px;height:38px;flex:none;object-fit:contain}
  .phone-brand strong,.phone-brand small{display:block}.phone-brand small{font-size:12px;font-weight:400}
  .phone-events,.phone-menu summary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;font:inherit;font-weight:700;line-height:1.3;border-radius:6px;cursor:pointer}
  .rx-site .phone-events{padding:0 11px;font-size:14px;background:#f3c65c;color:#18275e;text-decoration:none}
  .phone-menu{position:static;margin:0;padding:0;border:0}
  .phone-menu summary{list-style:none;gap:7px;padding:0 10px;font-size:14px;background:#f1f3f8;color:#17285c}
  .phone-menu summary::-webkit-details-marker{display:none}
  .phone-bars{width:16px;height:12px;border-block:2px solid;position:relative}.phone-bars:after{content:"";position:absolute;top:3px;inset-inline:0;border-top:2px solid}
  .rx-site .phone-menu nav{position:absolute;inset:calc(100% + 2px) 0 auto;background:white;color:#17285c;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 8px;margin:0;padding:10px max(12px,env(safe-area-inset-right)) 12px max(12px,env(safe-area-inset-left));border-bottom:2px solid #d7deea;box-shadow:0 12px 16px #11233e26;max-height:calc(100dvh - 70px);overflow:auto}
  .rx-site .phone-menu:not([open]) nav{display:none}
  .rx-site .phone-menu nav a{color:#1c315c;background:transparent;border:none;text-decoration:none;display:flex;align-items:center;padding:8px 10px;min-height:44px;font:inherit;font-size:15px;line-height:1.4}
  .rx-site .phone-menu nav a[aria-current]{background:#e9edf6;border-radius:5px;font-weight:700}
  .rx-site main [id],.rx-site #contact{scroll-margin-top:70px}
  .rx-home .cinema-copy{width:min(94%,480px)}
  .rx-home .cinema-copy h1{font-size:clamp(32px,8.5vw,44px);line-height:1.24;margin:10px 0}
  .rx-home .cinema-copy p{max-width:29ch;margin:0 auto 17px;font-size:15px;line-height:1.65}
  .rx-home .cinema-actions.hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-width:365px;margin-inline:auto}
  .rx-home .cinema-actions.hero-actions .button{min-width:0;width:100%;min-height:46px;padding:8px 5px;gap:6px;font-size:14px;line-height:1.4}
  .rx-home .cinema-actions.hero-actions img{width:22px;height:22px;object-fit:contain}
  .rx-site .pharmacy-spread .section-head,.rx-site #magazine .hub-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;align-items:start;text-align:start}
  .rx-site .pharmacy-spread .section-head h2,.rx-site #magazine .hub-intro h2{font-size:clamp(25px,6.5vw,32px);line-height:1.4}
  .rx-site .pharmacy-spread .text-link,.rx-site #magazine .hub-intro .text-link{min-height:44px;display:inline-flex;align-items:center;margin:0;padding:0 4px;font-size:13px}
  .rx-site #magazine .feature-card{min-height:260px}.rx-site #magazine .feature-card .card-content{padding:15px}
  .rx-site #magazine .small-card{min-height:118px}.rx-site #magazine .small-card .card-content{padding:10px}
  .rx-site #chapter-executive .leaders-grid{gap:8px}
  .rx-site #about .about-art{min-height:130px}
  .rx-site footer a{min-height:44px;display:inline-flex;align-items:center}.rx-site footer .branch-socials a{display:inline-flex;align-items:center;justify-content:center;min-width:44px}
  .rx-site .branch-socials{gap:0 8px}.rx-site .footer-grid>div>a{display:flex;width:fit-content}
  .rx-site .branch-footer{row-gap:8px}.rx-site .branch-footer a{line-height:1.4}
  .rx-site dialog[open]{max-width:calc(100vw - 16px);max-height:calc(100dvh - 22px);overscroll-behavior:contain}
  .rx-site dialog button{min-height:44px}.rx-site dialog input:not([type=checkbox]){font-size:16px}
}
@media(max-width:380px){.phone-menu-label{display:none}.rx-home .cinema-actions.hero-actions .button{font-size:13px}.rx-home .cinema-actions.hero-actions img{width:18px;height:18px}}
@media (max-width: 650px) {
  body:has(.records) .intro, body:has(.event-card) .intro { padding-block: 24px 20px; }
  body:has(.records) .intro h1, body:has(.event-card) .intro h1 { font-size: clamp(30px, 9vw, 40px); margin: 8px 0; line-height: 1.25; }
  body:has(.records) .intro p, body:has(.event-card) .intro p { font-size: 15px; line-height: 1.65; }
  body:has(.records) .library { padding-top: 22px; }
  body:has(.records) .library-head { margin-bottom: 12px; }
  body:has(.records) .library-head h2 { font-size: 25px; }
  body:has(.records) .tools { gap: 10px; margin-bottom: 14px; }
  body:has(.records) .tabs, body:has(.event-card) .tabs { gap: 8px; margin-bottom: 18px; }
  body:has(.records) .tabs button, body:has(.event-card) .tabs button { padding: 6px 12px; min-height: 44px; }
  body:has(.records) .records { gap: 12px; }
  body:has(.records) .record:not(.leadership):not([hidden]) { display: flex; flex-direction: row; align-items: stretch; }
  body:has(.records) .record:not(.leadership) .record-image { width: 29%; max-width: 115px; height: auto; min-height: 100px; object-fit: contain; flex: none; }
  body:has(.records) .record:not(.leadership) .record-copy { padding: 14px; }
  body:has(.records) .record h3 { font-size: 18px; line-height: 1.5; margin: 5px 0; }
  body:has(.records) .record p { font-size: 14px; line-height: 1.6; margin: 0 0 8px; }
  body:has(.records) .record a { min-height: 44px; }
  body:has(.records) .leadership > summary { padding: 16px; font-size: 19px; }
  body:has(.event-card) .featured { margin-bottom: 22px; }
  body:has(.event-card) .feature-copy { padding: 18px; }
  body:has(.event-card) .feature-copy h2 { font-size: 24px; line-height: 1.4; margin: 8px 0; }
  body:has(.event-card) .feature-copy p { margin: 8px 0 12px; font-size: 14px; line-height: 1.65; }
  body:has(.event-card) .feature-image { max-height: 155px; width: 100%; object-fit: contain; }
  body:has(.event-card) .event-card .card-body { padding: 15px; }
  body:has(.event-card) .event-card h3 { font-size: 18px; line-height: 1.5; margin: 6px 0; }
  body:has(.event-card) .event-card p { font-size: 14px; line-height: 1.65; margin: 0 0 8px; }
  body:has(.event-card) .event-card a { min-height: 44px; }
}

@media(max-width:650px){
  .rx-sub .event-card:not([hidden]){display:grid;grid-template-columns:clamp(72px,23vw,112px) minmax(0,1fr);align-items:stretch}
  .rx-sub .event-card .poster-button{align-self:stretch;width:100%;min-width:0;background:#e7ecf5;border-radius:0;min-height:72px}
  .rx-sub .event-card .poster-button img{display:block;width:100%;height:100%;max-height:158px;min-height:72px;object-fit:contain}
  .rx-sub .event-card .card-body{min-width:0;padding:12px;gap:4px}
  .rx-sub .event-card .card-body h3{margin:3px 0;font-size:18px;line-height:1.4}
  .rx-sub .event-card .details-button{min-height:44px;align-self:flex-start}.rx-sub :is(.tools,.filters) :is(select,input){font-size:16px;min-height:44px}
  .rx-achievements .hero{padding-block:32px}.rx-achievements .mag{padding:20px;gap:12px}.rx-achievements .mag h2{font-size:clamp(23px,6.5vw,28px);line-height:1.45;margin-block:6px}.rx-achievements .mag p{margin-block:4px 10px}
  .rx-site dialog#contentPreview[open]{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:100%;max-height:min(88dvh,760px);border-radius:16px 16px 0 0;padding:16px 16px max(16px,env(safe-area-inset-bottom));overflow-y:auto}
  #contentPreview[data-entry^="committee-"] .preview-header{min-height:92px}
}

footer .developer-name{display:block;line-height:1.5}footer a[href^="tel:"] bdi{white-space:nowrap;font-variant-numeric:tabular-nums}

footer .developer-role{display:block}

.rx-site footer .branch-socials{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;max-width:340px;margin-block:6px}
.rx-site footer .branch-socials a{display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;min-height:44px;padding:4px 6px;margin:0;border-radius:5px;color:#fff;font-size:14px;line-height:1.3;text-decoration:none}
.rx-site footer .branch-socials a:hover,.rx-site footer .branch-socials a:focus-visible{background:#ffffff1f;text-decoration:underline;text-underline-offset:4px}
.rx-site footer .branch-socials img{display:block;width:20px;height:20px;object-fit:contain;filter:brightness(0) invert(1);flex:none}

/* Executive council seating. The perimeter joins the centres of the outer seats. */
.rx-site #chapter-executive .leaders-grid {
  --council-bg: #122c4d;
  --seat-inset: 16.6667%;
  --seat-top: 12px;
  --portrait: 46px;
  --row-height: 120px;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(var(--row-height), auto);
  gap: 0;
  padding: 0;
  border: 1px solid #243f5f;
  border-radius: 12px;
  background: var(--council-bg);
}
.rx-site #chapter-executive .leaders-grid::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline: var(--seat-inset);
  inset-block-start: calc(var(--seat-top) + var(--portrait) / 2);
  inset-block-end: calc(var(--row-height) - var(--seat-top) - var(--portrait) / 2);
  border: 1.5px solid #c7a969;
  border-radius: 44px;
  pointer-events: none;
}
.rx-site #chapter-executive .leader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding: var(--seat-top) 5px 10px;
  min-width: 0;
  color: #fff;
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.rx-site #chapter-executive .leader-card .avatar-illustration {
  width: var(--portrait);
  height: var(--portrait);
  margin: 0 0 7px;
  border-radius: 50%;
  background-color: var(--council-bg);
  box-shadow: 0 0 0 3px var(--council-bg), 0 0 0 4px #c7a969;
}
.rx-site #chapter-executive .leader-card strong,
.rx-site #chapter-executive .leader-card small {
  align-self: center;
  padding-inline: 5px;
  color: inherit;
  background: var(--council-bg);
  line-height: 1.45;
}
.rx-site #chapter-executive .leader-card small { color: #cdd8e5; }
@media (max-width: 720px) {
  .rx-site #chapter-executive .leaders-grid {
    --seat-inset: 25%;
    --row-height: 107px;
    --portrait: 38px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
