.slofist-admin{max-width:1320px}.slofist-admin h1{font-weight:900;text-transform:uppercase}.slofist-admin .btn-primary{background:#b60000;border-color:#b60000}.slofist-admin .btn-primary:hover{background:#8b0000;border-color:#8b0000}.slofist-admin table{background:#fff}

/* ===============================
   SLOFIST Phase 4 Front-End Views
   =============================== */
.slofist-public{max-width:1320px;margin:0 auto;padding:0 40px 50px;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#111}.slofist-public *{box-sizing:border-box}.slofist-portal-hero,.slofist-page-header{position:relative;min-height:260px;display:flex;align-items:center;overflow:hidden;background:#050505;border-bottom:5px solid #b60000}.slofist-portal-hero:before,.slofist-page-header:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.94),rgba(0,0,0,.78) 38%,rgba(0,0,0,.2)),var(--slofist-hero-image) center right/cover no-repeat;z-index:1}.slofist-portal-hero-content,.slofist-page-header-content{position:relative;z-index:2;max-width:760px;padding:40px;color:#fff}.slofist-kicker{color:#ff3030;font-weight:900;text-transform:uppercase;letter-spacing:.09em;margin-bottom:8px}.slofist-portal-hero h1,.slofist-page-header h1{margin:0;font-size:clamp(2.6rem,6vw,5rem);line-height:.95;font-weight:950;text-transform:uppercase;color:#fff}.slofist-portal-hero p,.slofist-page-header p{margin:12px 0 0;font-size:clamp(1rem,2vw,1.4rem);font-weight:700;text-transform:uppercase;color:#fff}.slofist-breadcrumb{margin-bottom:10px;font-size:.95rem;font-weight:700;color:#ddd}.slofist-breadcrumb a{color:#fff;text-decoration:none}.slofist-breadcrumb span{margin:0 8px;color:#ff3030}.slofist-tile-grid{display:grid;grid-template-columns:repeat(5,minmax(160px,1fr));gap:18px;margin-top:28px}.slofist-tile{min-height:155px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;text-decoration:none;background:#fff;color:#3b3b3b;border:1px solid #ddd;border-bottom:5px solid currentColor;box-shadow:0 6px 18px rgba(0,0,0,.08);padding:18px;transition:.18s}.slofist-tile:hover,.slofist-tile:focus{transform:translateY(-3px);box-shadow:0 10px 24px rgba(0,0,0,.14);color:#b60000}.slofist-tile i{font-size:2.7rem;margin-bottom:12px}.slofist-tile span{font-size:1.05rem;font-weight:900;text-transform:uppercase;color:#111}.slofist-tile.red{color:#b60000}.slofist-tile.navy{color:#062b55}.slofist-tile.dark{color:#3b3b3b}.slofist-tile.purple{color:#53148c}.slofist-tile.green{color:#176f32}.slofist-day-nav{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 28px}.slofist-day-nav a{display:inline-block;padding:10px 18px;background:#fff;color:#111;border:1px solid #ccc;border-bottom:4px solid #555;text-decoration:none;font-weight:900;text-transform:uppercase}.slofist-day-nav a.active,.slofist-day-nav a:hover{background:#b60000;color:#fff;border-color:#b60000}.slofist-day-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:28px;align-items:start}.slofist-day-left{display:flex;flex-direction:column;gap:22px}.slofist-card,.slofist-side-card,.slofist-course-content{background:#fff;border:1px solid #ddd;box-shadow:0 6px 18px rgba(0,0,0,.08)}.slofist-card{padding:24px;border-left:5px solid #062b55}.slofist-alert-card{margin-top:30px;border-left-color:#b60000}.slofist-side-card{padding:20px;border-top:5px solid #b60000}.slofist-side-card h2,.slofist-card h2,.slofist-course-content>h2{margin:0 0 14px;font-size:1.35rem;font-weight:900;text-transform:uppercase;color:#111}.slofist-sticky-card{position:sticky;top:90px}.slofist-mini-time{position:relative;display:block;padding:0 0 16px 22px;border-left:3px solid #b60000;color:#111;text-decoration:none}.slofist-mini-time:before{content:"";position:absolute;left:-8px;top:4px;width:13px;height:13px;background:#b60000;border-radius:50%;box-shadow:0 0 0 4px #f4d6d6}.slofist-mini-time strong{display:block;color:#b60000;font-size:.95rem}.slofist-mini-time span{display:block;font-weight:800;line-height:1.25}.slofist-mini-time:hover span{text-decoration:underline;color:#b60000}.slofist-day-main{min-width:0;display:flex;flex-direction:column;gap:24px}.slofist-course-content{border-top:5px solid #b60000;padding:24px}.slofist-block-card{scroll-margin-top:90px;border-left:5px solid #b60000;background:#fff;padding:20px;margin-bottom:18px;box-shadow:0 3px 12px rgba(0,0,0,.06)}.slofist-block-card:last-child{margin-bottom:0}.slofist-block-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px);gap:18px;align-items:start;margin-bottom:14px}.slofist-block-time{margin:0 0 6px;color:#b60000;font-weight:900}.slofist-block-card h3{margin:0;font-size:1.35rem;text-transform:uppercase;color:#111}.slofist-block-instructors{display:flex;flex-direction:column;gap:8px}.slofist-block-instructor{display:grid;grid-template-columns:54px 1fr;gap:10px;align-items:center;background:#f6f6f6;border:1px solid #ddd;padding:8px}.slofist-block-instructor img{width:54px;height:54px;object-fit:cover;background:#ddd}.slofist-block-instructor strong{display:block;color:#111;font-size:.95rem}.slofist-block-instructor span{display:block;color:#555;font-size:.82rem;text-transform:uppercase;font-weight:800}.slofist-download-box{background:#f4f4f4;border:1px dashed #bbb;padding:14px;margin-top:12px}.slofist-download-box h4{margin:0 0 8px;font-size:.95rem;color:#062b55;text-transform:uppercase}.slofist-muted{color:#666;font-size:.92rem;margin:0}@media(max-width:1000px){.slofist-tile-grid{grid-template-columns:repeat(3,minmax(150px,1fr))}.slofist-day-layout{grid-template-columns:1fr}.slofist-sticky-card{position:static}}@media(max-width:700px){.slofist-public{padding:0 18px 34px}.slofist-portal-hero,.slofist-page-header{min-height:220px}.slofist-portal-hero-content,.slofist-page-header-content{padding:28px}.slofist-tile-grid{grid-template-columns:1fr}.slofist-day-nav a{flex:1 1 calc(50% - 8px);text-align:center}.slofist-block-header{grid-template-columns:1fr}}

/* Phase 5 resource cards */
.slofist-resource-list {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}
.slofist-resource-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid #ddd;
  border-left: 4px solid #b60000;
  padding: 14px;
}
.slofist-resource-item strong {
  display: block;
  color: #111;
  font-weight: 900;
}
.slofist-resource-item span {
  display: inline-block;
  color: #b60000;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: 2px;
}
.slofist-resource-item p {
  margin: 6px 0 0;
}
.slofist-resource-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  background: #b60000;
  color: #fff !important;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}
.slofist-resource-button:hover,
.slofist-resource-button:focus {
  background: #850000;
}
@media (max-width: 600px) {
  .slofist-resource-item {
    grid-template-columns: 1fr;
  }
  .slofist-resource-button {
    width: 100%;
  }
}

/* Phase 6: dashboard/course pages use the compact forensic header image, not the public homepage hero. */
.slofist-dashboard-page .slofist-portal-hero,
.slofist-day-page .slofist-page-header {
  min-height: clamp(170px, 22vw, 260px);
  aspect-ratio: 6 / 1;
}
.slofist-dashboard-page .slofist-portal-hero:before,
.slofist-day-page .slofist-page-header:before {
  background:
    linear-gradient(90deg, #000 0%, rgba(0,0,0,.92) 33%, rgba(0,0,0,.72) 55%, rgba(0,0,0,.14) 100%),
    var(--slofist-hero-image) center right / cover no-repeat;
}
.slofist-resource-item i {
  color: #b60000;
  margin-right: 6px;
}
@media (max-width: 700px) {
  .slofist-dashboard-page .slofist-portal-hero,
  .slofist-day-page .slofist-page-header {
    aspect-ratio: 16 / 7;
  }
}

/* Phase 7: compact dashboard/course headers + better skull image placement */
.slofist-dashboard-page .slofist-portal-hero,
.slofist-day-page .slofist-page-header {
  min-height: clamp(120px, 14vw, 175px);
  max-height: 185px;
  aspect-ratio: 7.8 / 1;
}
.slofist-dashboard-page .slofist-portal-hero:before,
.slofist-day-page .slofist-page-header:before {
  background:
    linear-gradient(90deg, #000 0%, rgba(0,0,0,.94) 36%, rgba(0,0,0,.70) 58%, rgba(0,0,0,.10) 100%),
    var(--slofist-hero-image) 92% 48% / auto 108% no-repeat;
}
.slofist-dashboard-page .slofist-portal-hero-content,
.slofist-day-page .slofist-page-header-content {
  padding: clamp(20px, 2.5vw, 32px) clamp(24px, 4vw, 40px);
}
.slofist-dashboard-page .slofist-portal-hero h1,
.slofist-day-page .slofist-page-header h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.9rem);
}
.slofist-dashboard-page .slofist-portal-hero p,
.slofist-day-page .slofist-page-header p {
  font-size: clamp(.9rem, 1.45vw, 1.2rem);
}
@media (max-width: 700px) {
  .slofist-dashboard-page .slofist-portal-hero,
  .slofist-day-page .slofist-page-header {
    min-height: 180px;
    max-height: none;
    aspect-ratio: 16 / 6;
  }
  .slofist-dashboard-page .slofist-portal-hero:before,
  .slofist-day-page .slofist-page-header:before {
    background:
      linear-gradient(90deg, #000 0%, rgba(0,0,0,.86) 50%, rgba(0,0,0,.25) 100%),
      var(--slofist-hero-image) center right / cover no-repeat;
  }
}

/* Phase 8: configurable dashboard/course portal headers */
.slofist-dashboard-page .slofist-portal-hero,
.slofist-day-page .slofist-page-header {
  min-height: var(--slofist-header-height, 250px);
  height: var(--slofist-header-height, 250px);
  max-height: none;
  aspect-ratio: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(90deg, #111 0%, #1a1a1a 58%, #111 100%);
}
.slofist-dashboard-page .slofist-portal-hero:before,
.slofist-day-page .slofist-page-header:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,var(--slofist-header-overlay, .88)) 0%,
      rgba(0,0,0,.84) 48%,
      rgba(0,0,0,.50) 66%,
      rgba(0,0,0,.12) 100%
    );
}
.slofist-dashboard-page .slofist-portal-hero:after,
.slofist-day-page .slofist-page-header:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--slofist-header-image-width, 38%);
  max-width: 560px;
  min-width: 330px;
  z-index: 1;
  background: var(--slofist-hero-image) var(--slofist-header-image-position, right center) / auto var(--slofist-header-image-scale, 100%) no-repeat;
}
.slofist-dashboard-page .slofist-portal-hero-content,
.slofist-day-page .slofist-page-header-content {
  position: relative;
  z-index: 3;
  padding: clamp(48px, 4vw, 62px) clamp(28px, 5vw, 54px) clamp(32px, 3vw, 42px);
  max-width: calc(100% - min(var(--slofist-header-image-width, 38%), 560px));
}
.slofist-dashboard-page .slofist-portal-hero-content:after,
.slofist-day-page .slofist-page-header-content:after {
  content: "";
  position: absolute;
  top: 0;
  right: -170px;
  width: 180px;
  height: 100%;
  background: linear-gradient(90deg, rgba(17,17,17,.92), rgba(17,17,17,0));
  pointer-events: none;
  z-index: -1;
}
.slofist-dashboard-page .slofist-portal-hero h1,
.slofist-day-page .slofist-page-header h1 {
  font-size: clamp(2.35rem, 4.6vw, 4.25rem);
}
.slofist-dashboard-page .slofist-portal-hero p,
.slofist-day-page .slofist-page-header p {
  font-size: clamp(.95rem, 1.6vw, 1.28rem);
}
@media (max-width: 900px) {
  .slofist-dashboard-page .slofist-portal-hero:after,
  .slofist-day-page .slofist-page-header:after {
    width: 48%;
    min-width: 260px;
    opacity: .58;
  }
  .slofist-dashboard-page .slofist-portal-hero-content,
  .slofist-day-page .slofist-page-header-content {
    max-width: 78%;
  }
}
@media (max-width: 700px) {
  .slofist-dashboard-page .slofist-portal-hero,
  .slofist-day-page .slofist-page-header {
    min-height: max(210px, var(--slofist-header-height, 250px));
    height: auto;
  }
  .slofist-dashboard-page .slofist-portal-hero:after,
  .slofist-day-page .slofist-page-header:after {
    width: 100%;
    max-width: none;
    min-width: 0;
    opacity: .25;
    background-size: cover;
  }
  .slofist-dashboard-page .slofist-portal-hero-content,
  .slofist-day-page .slofist-page-header-content {
    max-width: 100%;
    padding: 36px 24px;
  }
}

/* =====================================================
   Phase 9: SLOFIST UI Component Library + compact course header
   This overrides earlier experimental header rules.
   ===================================================== */
:root {
  --slofist-red: #b60000;
  --slofist-red-bright: #ff3030;
  --slofist-black: #050505;
  --slofist-ink: #111111;
  --slofist-border: #dddddd;
}

.slofist-ui-card {
  background: #fff;
  border: 1px solid var(--slofist-border);
  border-top: 5px solid var(--slofist-red);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  padding: 24px;
}

.slofist-ui-button,
.slofist-resource-button {
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: .035em;
}

/* Final compact dashboard/day header, matching the short banner style. */
.slofist-dashboard-page .slofist-portal-hero,
.slofist-day-page .slofist-page-header {
  position: relative !important;
  min-height: var(--slofist-header-height, 190px) !important;
  height: var(--slofist-header-height, 190px) !important;
  max-height: 230px !important;
  aspect-ratio: auto !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  background: #000 !important;
  border-bottom: 6px solid var(--slofist-red) !important;
  padding: 0 !important;
}

/* overlay only */
.slofist-dashboard-page .slofist-portal-hero::before,
.slofist-day-page .slofist-page-header::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,var(--slofist-header-overlay, .88)) 0%,
    rgba(0,0,0,.92) 32%,
    rgba(0,0,0,.66) 54%,
    rgba(0,0,0,.20) 78%,
    rgba(0,0,0,.08) 100%
  ) !important;
}

/* right-side forensic image */
.slofist-dashboard-page .slofist-portal-hero::after,
.slofist-day-page .slofist-page-header::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: var(--slofist-header-image-width, 68%) !important;
  max-width: none !important;
  min-width: 360px !important;
  z-index: 1 !important;
  opacity: 1 !important;
  background-image: var(--slofist-hero-image) !important;
  background-repeat: no-repeat !important;
  background-position: var(--slofist-header-image-position, center right) !important;
  background-size: auto var(--slofist-header-image-scale, 172%) !important;
}

.slofist-portal-hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: clamp(22px, 3vw, 38px) clamp(28px, 4vw, 46px);
}

.slofist-portal-logo {
  flex: 0 0 auto;
  width: clamp(100px, 11vw, 150px);
  height: auto;
  max-height: calc(var(--slofist-header-height, 190px) - 44px);
  object-fit: contain;
  margin-right: clamp(22px, 3vw, 36px);
}

.slofist-dashboard-page .slofist-portal-hero-content,
.slofist-day-page .slofist-page-header-content {
  position: relative !important;
  z-index: 3 !important;
  max-width: min(860px, calc(100% - var(--slofist-header-image-width, 48%))) !important;
  padding: 0 !important;
  color: #fff !important;
  min-width: 0;
}

.slofist-dashboard-page .slofist-portal-hero-content::after,
.slofist-day-page .slofist-page-header-content::after {
  display: none !important;
}

.slofist-dashboard-page .slofist-kicker,
.slofist-day-page .slofist-kicker {
  color: var(--slofist-red-bright) !important;
  font-size: clamp(.78rem, 1.2vw, 1.05rem) !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .14em !important;
  margin: 0 0 10px !important;
}

.slofist-dashboard-page .slofist-portal-hero h1,
.slofist-day-page .slofist-page-header h1 {
  margin: 0 !important;
  color: #fff !important;
  font-family: "Arial Narrow", "Roboto Condensed", "Oswald", Arial, sans-serif !important;
  font-size: clamp(2.8rem, 5.2vw, 5.4rem) !important;
  line-height: .9 !important;
  font-weight: 300 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  white-space: normal;
}

.slofist-dashboard-page .slofist-portal-hero p,
.slofist-day-page .slofist-page-header p {
  margin: 14px 0 0 !important;
  color: #fff !important;
  font-size: clamp(.95rem, 1.55vw, 1.45rem) !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .03em !important;
}

.slofist-day-page .slofist-breadcrumb {
  margin: 0 0 8px !important;
}

@media (max-width: 900px) {
  .slofist-dashboard-page .slofist-portal-hero,
  .slofist-day-page .slofist-page-header {
    height: auto !important;
    min-height: 220px !important;
  }
  .slofist-dashboard-page .slofist-portal-hero::after,
  .slofist-day-page .slofist-page-header::after {
    width: 72% !important;
    min-width: 0 !important;
    opacity: .45 !important;
    background-size: cover !important;
  }
  .slofist-dashboard-page .slofist-portal-hero-content,
  .slofist-day-page .slofist-page-header-content {
    max-width: 100% !important;
  }
}

@media (max-width: 620px) {
  .slofist-portal-hero-inner {
    padding: 24px;
  }
  .slofist-portal-logo {
    width: 86px;
    margin-right: 18px;
  }
  .slofist-dashboard-page .slofist-portal-hero h1,
  .slofist-day-page .slofist-page-header h1 {
    font-size: clamp(2.1rem, 12vw, 3.3rem) !important;
  }
  .slofist-dashboard-page .slofist-portal-hero p,
  .slofist-day-page .slofist-page-header p {
    font-size: .9rem !important;
  }
}

@media (max-width: 460px) {
  .slofist-portal-hero-inner {
    align-items: flex-start;
  }
  .slofist-portal-logo {
    display: none;
  }
}

/* =====================================================
   Phase 10: final compact banner, contact cards, staff directory
   ===================================================== */
.slofist-dashboard-page .slofist-portal-hero,
.slofist-day-page .slofist-page-header {
  width: 100% !important;
  min-height: var(--slofist-header-height, 190px) !important;
  height: var(--slofist-header-height, 190px) !important;
  max-height: 210px !important;
  background: #000 !important;
  border-bottom: 6px solid var(--slofist-red, #b60000) !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  padding: 0 !important;
}
.slofist-dashboard-page .slofist-portal-hero::before,
.slofist-day-page .slofist-page-header::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  background: linear-gradient(90deg,
    rgba(0,0,0,.98) 0%,
    rgba(0,0,0,.94) 34%,
    rgba(0,0,0,.78) 55%,
    rgba(0,0,0,.22) 78%,
    rgba(0,0,0,.05) 100%) !important;
}
.slofist-dashboard-page .slofist-portal-hero::after,
.slofist-day-page .slofist-page-header::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  z-index: 1 !important;
  width: var(--slofist-header-image-width, 48%) !important;
  min-width: 420px !important;
  max-width: 720px !important;
  opacity: 1 !important;
  background-image: var(--slofist-hero-image) !important;
  background-repeat: no-repeat !important;
  background-position: var(--slofist-header-image-position, center right) !important;
  background-size: auto var(--slofist-header-image-scale, 172%) !important;
}
.slofist-portal-hero-inner {
  position: relative !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 28px 42px !important;
}
.slofist-portal-logo {
  width: clamp(105px, 10vw, 150px) !important;
  max-height: calc(var(--slofist-header-height, 190px) - 48px) !important;
  object-fit: contain !important;
  margin-right: clamp(24px, 3vw, 40px) !important;
  filter: none !important;
  opacity: 1 !important;
}
.slofist-dashboard-page .slofist-portal-hero-content,
.slofist-day-page .slofist-page-header-content {
  max-width: min(850px, calc(100% - 360px)) !important;
  padding: 0 !important;
}
.slofist-dashboard-page .slofist-portal-hero h1,
.slofist-day-page .slofist-page-header h1 {
  font-size: clamp(3.4rem, 5.7vw, 5.8rem) !important;
  line-height: .88 !important;
  font-weight: 300 !important;
  letter-spacing: .08em !important;
}
.slofist-dashboard-page .slofist-kicker,
.slofist-day-page .slofist-kicker {
  margin-bottom: 10px !important;
}
.slofist-dashboard-page .slofist-portal-hero p,
.slofist-day-page .slofist-page-header p {
  margin-top: 14px !important;
}
.slofist-tile small {
  display: block;
  margin-top: 6px;
  font-size: .78rem;
  line-height: 1.15;
  text-transform: none;
  font-weight: 700;
  color: #555;
}
.slofist-tile:hover small,
.slofist-tile:focus small { color: inherit; }
.slofist-block-instructor {
  grid-template-columns: 68px 1fr;
  align-items: start;
}
.slofist-block-instructor img {
  width: 68px;
  height: 68px;
}
.slofist-instructor-contact {
  display: block;
  margin-top: 4px;
  font-size: .82rem;
  line-height: 1.2;
  color: #222;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.slofist-instructor-contact:hover { color: #b60000; text-decoration: underline; }
.slofist-contacts-page { max-width: 1320px; margin: 0 auto; padding: 0 36px 50px; }
.slofist-section-head { margin: 0 0 22px; }
.slofist-section-head h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; text-transform: uppercase; }
.slofist-section-head p { margin: 6px 0 0; color: #444; font-size: 1.05rem; }
.slofist-link-back { color: #b60000; font-weight: 900; text-decoration: none; }
.slofist-contact-search { margin: 0 0 24px; }
.slofist-contact-search input { width: 100%; max-width: 560px; padding: 14px 16px; border: 2px solid #ccc; font-size: 1.05rem; }
.slofist-contact-search input:focus { outline: none; border-color: #b60000; box-shadow: 0 0 0 3px rgba(182,0,0,.15); }
.slofist-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.slofist-contact-card { background: #fff; border: 1px solid #ddd; border-top: 5px solid #b60000; padding: 20px; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.slofist-contact-card.staff { border-top-color: #062b55; }
.slofist-contact-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #eee; margin-bottom: 16px; }
.slofist-contact-card h2 { margin: 0 0 4px; font-size: 1.35rem; font-weight: 900; color: #111; }
.slofist-contact-title { margin: 0 0 14px; color: #b60000; font-weight: 900; text-transform: uppercase; font-size: .9rem; }
.slofist-contact-card.staff .slofist-contact-title { color: #062b55; }
.slofist-contact-card p { margin: 8px 0; }
.slofist-contact-card a { color: #111; text-decoration: none; overflow-wrap: anywhere; }
.slofist-contact-card a:hover { color: #b60000; text-decoration: underline; }
@media (max-width: 900px) {
  .slofist-dashboard-page .slofist-portal-hero::after,
  .slofist-day-page .slofist-page-header::after { width: 70% !important; min-width: 0 !important; opacity: .55 !important; background-size: cover !important; }
  .slofist-dashboard-page .slofist-portal-hero-content,
  .slofist-day-page .slofist-page-header-content { max-width: 100% !important; }
}
@media (max-width: 620px) {
  .slofist-dashboard-page .slofist-portal-hero,
  .slofist-day-page .slofist-page-header { height: auto !important; min-height: 215px !important; }
  .slofist-portal-hero-inner { padding: 24px !important; }
  .slofist-dashboard-page .slofist-portal-hero h1,
  .slofist-day-page .slofist-page-header h1 { font-size: clamp(2.4rem, 12vw, 3.6rem) !important; }
  .slofist-contacts-page { padding: 0 18px 40px; }
}

/* =====================================================
   Phase 11: header scale range, dashboard tab, contact sizing, apparel links
   ===================================================== */
.slofist-day-nav a.dashboard-tab {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
  border-bottom-color: var(--slofist-red, #b60000) !important;
}
.slofist-day-nav a.dashboard-tab:hover,
.slofist-day-nav a.dashboard-tab:focus {
  background: var(--slofist-red, #b60000) !important;
  color: #fff !important;
}
.slofist-contact-card img {
  aspect-ratio: auto !important;
  height: var(--slofist-contact-photo-height, 240px) !important;
  object-fit: cover !important;
  object-position: center top !important;
}
.slofist-contact-card {
  display: flex;
  flex-direction: column;
}
.slofist-contact-title {
  min-height: 2.1em;
}
/* Let course header images use larger scale values such as 190% without CSS clipping. */
.slofist-dashboard-page .slofist-portal-hero::after,
.slofist-day-page .slofist-page-header::after {
  background-size: auto var(--slofist-header-image-scale, 122%) !important;
}


/* =====================================================
   Phase 12: dashboard locations, locked exam, global contact image sizing
   ===================================================== */
.slofist-tile small {
  display: block;
  margin-top: 6px;
  max-width: 220px;
  color: #555;
  font-size: .82rem;
  line-height: 1.2;
  font-weight: 700;
  text-transform: none;
}
.slofist-tile.locked {
  opacity: .72;
  cursor: not-allowed;
  filter: grayscale(.15);
}
.slofist-tile.locked:hover,
.slofist-tile.locked:focus {
  transform: none;
  color: #b60000;
}
.slofist-contact-card img,
.slofist-contact-card.staff img {
  height: var(--slofist-contact-photo-height, 240px) !important;
  min-height: var(--slofist-contact-photo-height, 240px) !important;
  max-height: var(--slofist-contact-photo-height, 240px) !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
}
.slofist-location-note {
  display: block;
  color: #555;
  font-size: .9rem;
  line-height: 1.35;
}

/* Phase 13: grouped contacts and optional dashboard class photo tile */
.slofist-tile.blue{color:#004b93}
.slofist-category-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}.slofist-category-filter button{border:1px solid #ccc;background:#fff;color:#111;padding:9px 14px;font-weight:900;text-transform:uppercase}.slofist-category-filter button.active,.slofist-category-filter button:hover{background:#b60000;color:#fff;border-color:#b60000}.slofist-contact-section{margin:0 0 34px}.slofist-contact-section h2{margin:0 0 14px;border-left:6px solid #b60000;padding-left:14px;font-size:1.55rem;font-weight:950;text-transform:uppercase;color:#111}.slofist-contact-section[hidden]{display:none!important}.slofist-contact-card[hidden]{display:none!important}.slofist-contact-card h3{margin:0 0 4px;font-size:1.35rem;font-weight:900;color:#111}


/* Phase 15: contact category photo controls + critical resource cards */
.slofist-contact-section .slofist-contact-card img {
  height: var(--slofist-contact-photo-height, 220px) !important;
  min-height: var(--slofist-contact-photo-height, 220px) !important;
  max-height: var(--slofist-contact-photo-height, 220px) !important;
  object-fit: var(--slofist-contact-photo-fit, cover) !important;
}
.slofist-contact-section.photo-style-circle .slofist-contact-card img {
  width: min(100%, var(--slofist-contact-photo-height, 220px)) !important;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}
.slofist-critical-page { max-width:1320px; margin:0 auto; padding:0 36px 50px; }
.slofist-critical-groups { display:grid; gap:28px; }
.slofist-critical-section h2 { margin:0 0 14px; border-left:6px solid #b60000; padding-left:14px; font-size:1.55rem; font-weight:950; text-transform:uppercase; color:#111; }
.slofist-critical-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:20px; }
.slofist-critical-card { display:block; background:#fff; border:1px solid #ddd; border-top:5px solid #b60000; padding:20px; box-shadow:0 6px 18px rgba(0,0,0,.08); color:#111; text-decoration:none; }
.slofist-critical-card:hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.13); color:#111; }
.slofist-critical-card i { color:#b60000; font-size:2rem; margin-bottom:12px; }
.slofist-critical-card h3 { margin:0 0 8px; font-weight:950; text-transform:uppercase; font-size:1.2rem; color:#111; }
.slofist-critical-card p { margin:0; color:#444; line-height:1.4; }
@media(max-width:600px){.slofist-critical-page{padding:0 18px 40px}}

/* Phase 16 rich student pages */
.slofist-page { max-width: 1320px; margin: 0 auto; padding: 28px; }
.slofist-rich-content { line-height: 1.65; }
.slofist-rich-content h2, .slofist-rich-content h3 { text-transform: uppercase; font-weight: 900; }
.slofist-resource-list { display: grid; gap: 12px; }
.slofist-resource-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #ddd; border-left: 5px solid #b60000; background: #fff; color: #111; text-decoration: none; font-weight: 800; }
.slofist-resource-link:hover, .slofist-resource-link:focus { color: #b60000; border-color: #b60000; }
.slofist-resource-link i { color: #b60000; font-size: 1.25rem; }
.slofist-tile.locked { opacity: .75; cursor: not-allowed; }

/* Phase 19 admin helper styles */
.slofist-admin-picker {
  margin-top: .75rem;
  padding: .75rem;
  border: 1px solid #d7d7d7;
  background: #f7f7f7;
}
.slofist-admin-picker-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .5rem;
  max-height: 360px;
  overflow: auto;
}
.slofist-admin-picker-list button {
  display: flex;
  align-items: center;
  gap: .5rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.slofist-admin-picker-list img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  background: #ddd;
  flex: 0 0 auto;
}

/* Phase 20: compact admin media picker overlay. Keeps image choices usable. */
.slofist-admin-picker[hidden] { display: none !important; }
.slofist-admin-picker {
  position: fixed !important;
  z-index: 1065 !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: min(980px, calc(100vw - 36px)) !important;
  max-height: min(760px, calc(100vh - 44px)) !important;
  overflow: hidden !important;
  padding: 16px !important;
  background: #fff !important;
  border: 1px solid #cfcfcf !important;
  box-shadow: 0 18px 60px rgba(0,0,0,.32) !important;
}
.slofist-admin-picker::before {
  content: "Image Picker";
  display: block;
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e5e5;
  font-weight: 900;
  text-transform: uppercase;
  color: #111;
}
.slofist-admin-picker-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
  gap: 10px !important;
  max-height: 560px !important;
  overflow: auto !important;
  padding: 4px !important;
}
.slofist-admin-picker-list button {
  display: block !important;
  width: 100% !important;
  min-height: 122px !important;
  overflow: hidden !important;
  white-space: normal !important;
  text-align: center !important;
  border: 1px solid #ddd !important;
  background: #fafafa !important;
  color: #111 !important;
  padding: 8px !important;
  font-size: .72rem !important;
  line-height: 1.15 !important;
}
.slofist-admin-picker-list button:hover,
.slofist-admin-picker-list button:focus {
  border-color: #b60000 !important;
  box-shadow: 0 0 0 2px rgba(182,0,0,.12) !important;
}
.slofist-admin-picker-list img {
  display: block !important;
  width: 100% !important;
  height: 76px !important;
  max-width: 100% !important;
  object-fit: cover !important;
  margin: 0 0 6px !important;
  background: #e5e5e5 !important;
}


/* Phase 21: admin folder-tree image picker */
.slofist-admin-picker {
  border: 1px solid #cfd4da;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,.14);
  margin: 12px 0 22px;
  max-width: 980px;
}
.slofist-admin-picker[hidden] { display: none !important; }
.slofist-admin-picker-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #e1e5ea;
  background: #f7f7f7;
}
.slofist-admin-picker-body {
  display: grid;
  grid-template-columns: 260px minmax(0,1fr);
  min-height: 340px;
  max-height: 520px;
}
.slofist-admin-picker-folders {
  border-right: 1px solid #e1e5ea;
  overflow: auto;
  background: #f5f5f5;
  padding: 8px;
}
.slofist-folder-button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 7px 10px;
  font-weight: 700;
  color: #222;
  border-radius: 3px;
}
.slofist-folder-button:hover,
.slofist-folder-button.active {
  background: #b60000;
  color: #fff;
}
.slofist-folder-icon { opacity: .75; }
.slofist-admin-picker-files {
  padding: 12px;
  overflow: auto;
}
.slofist-admin-picker-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.slofist-admin-picker-path {
  font-weight: 900;
  color: #b60000;
  white-space: nowrap;
}
.slofist-admin-picker-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 10px;
}
.slofist-admin-picker-list [data-slofist-image-value] {
  display: block;
  width: 100%;
  min-height: 145px;
  white-space: normal;
  overflow-wrap: anywhere;
  padding: 7px !important;
}
.slofist-admin-picker-list [data-slofist-image-value][hidden] { display: none !important; }
.slofist-admin-picker-list img {
  display: block;
  width: 100%;
  height: 92px;
  object-fit: cover;
  background: #eee;
  margin-bottom: 6px;
}
.slofist-admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}
.slofist-admin-nav details {
  position: relative;
}
.slofist-admin-nav summary {
  cursor: pointer;
  list-style: none;
  background: #111;
  color: #fff;
  font-weight: 900;
  padding: 10px 14px;
  text-transform: uppercase;
}
.slofist-admin-nav summary::-webkit-details-marker { display:none; }
.slofist-admin-nav .slofist-admin-nav-menu {
  position: absolute;
  z-index: 30;
  min-width: 220px;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
  padding: 8px;
}
.slofist-admin-nav .slofist-admin-nav-menu a {
  display: block;
  padding: 8px 10px;
  color: #111;
  text-decoration: none;
  font-weight: 700;
}
.slofist-admin-nav .slofist-admin-nav-menu a:hover { background:#f2f2f2; color:#b60000; }
@media (max-width: 760px) {
  .slofist-admin-picker-body { grid-template-columns: 1fr; }
  .slofist-admin-picker-folders { max-height: 180px; border-right: 0; border-bottom: 1px solid #e1e5ea; }
}

/* =====================================================
   Phase 22: image picker usability + enforced contact photos
   ===================================================== */
.slofist-admin-picker {
  max-width: 1100px !important;
  width: 100% !important;
}
.slofist-admin-picker-body {
  height: min(560px, 72vh) !important;
  min-height: 360px !important;
  max-height: none !important;
  overflow: hidden !important;
}
.slofist-admin-picker-folders,
.slofist-admin-picker-files {
  min-height: 0 !important;
  max-height: 100% !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
}
.slofist-admin-picker-folders {
  scrollbar-width: thin;
}
.slofist-folder-button {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 32px !important;
  white-space: nowrap !important;
}
.slofist-folder-icon {
  display: inline-flex !important;
  width: 16px !important;
  justify-content: center !important;
  flex: 0 0 16px !important;
}
.slofist-folder-name {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.slofist-admin-picker-list {
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)) !important;
}
.slofist-admin-picker-list button {
  min-width: 0 !important;
}
.slofist-admin-picker-list img {
  height: 82px !important;
  object-fit: cover !important;
}

.slofist-contact-section {
  --slofist-contact-photo-height: var(--slofist-contact-photo-height, 220px);
  --slofist-contact-photo-fit: var(--slofist-contact-photo-fit, cover);
}
.slofist-contact-grid {
  align-items: stretch !important;
}
.slofist-contact-card {
  overflow: hidden !important;
}
.slofist-contact-card > img,
.slofist-contact-section .slofist-contact-card > img,
.slofist-contacts-page .slofist-contact-card > img {
  display: block !important;
  width: 100% !important;
  height: var(--slofist-contact-photo-height, 220px) !important;
  max-height: var(--slofist-contact-photo-height, 220px) !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: var(--slofist-contact-photo-fit, cover) !important;
  object-position: center top !important;
  margin: 0 0 16px !important;
  background: #eee !important;
}
.slofist-contact-section.photo-style-circle .slofist-contact-card > img {
  width: var(--slofist-contact-photo-height, 220px) !important;
  max-width: 100% !important;
  height: var(--slofist-contact-photo-height, 220px) !important;
  border-radius: 50% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* =====================================================
   Phase 23: flat admin nav + contact card width/alignment
   ===================================================== */
.slofist-admin-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 18px 0 22px !important;
  align-items: center !important;
}
.slofist-admin-nav details { display: none !important; }
.slofist-admin-nav-link {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 38px !important;
  padding: 8px 13px !important;
  background: #fff !important;
  border: 1px solid #ccd3dd !important;
  border-bottom: 3px solid #2f5f9d !important;
  color: #0b2b55 !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  border-radius: 2px !important;
}
.slofist-admin-nav-link:hover,
.slofist-admin-nav-link:focus,
.slofist-admin-nav-link.active {
  background: #0b2b55 !important;
  color: #fff !important;
  border-color: #0b2b55 !important;
  border-bottom-color: #b60000 !important;
}
.slofist-contact-section {
  --slofist-contact-card-max-width: 320px;
  --slofist-contact-card-align: left;
}
.slofist-contact-section .slofist-contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), var(--slofist-contact-card-max-width, 320px))) !important;
  justify-content: var(--slofist-contact-card-align, start) !important;
}
.slofist-contact-section[style*="--slofist-contact-card-align:center"] .slofist-contact-grid { justify-content: center !important; }
.slofist-contact-section[style*="--slofist-contact-card-align:right"] .slofist-contact-grid { justify-content: end !important; }
.slofist-contact-section .slofist-contact-card {
  width: 100% !important;
  max-width: var(--slofist-contact-card-max-width, 320px) !important;
}
.slofist-contact-section .slofist-contact-card > img {
  width: 100% !important;
  height: var(--slofist-contact-photo-height, 220px) !important;
  max-height: var(--slofist-contact-photo-height, 220px) !important;
  object-fit: var(--slofist-contact-photo-fit, cover) !important;
  object-position: center top !important;
}


/* Phase 24: admin nav cleanup and dashboard announcement */
.slofist-admin .slofist-admin-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 18px 0 24px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
.slofist-admin .slofist-admin-nav details,
.slofist-admin .slofist-admin-nav summary,
.slofist-admin .slofist-admin-nav-menu {
  display: none !important;
}
.slofist-admin .slofist-admin-nav .btn,
.slofist-admin .slofist-admin-nav-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 9px 14px !important;
  border: 1px solid #cfd6df !important;
  border-bottom: 4px solid #6b7280 !important;
  background: #fff !important;
  color: #111 !important;
  text-decoration: none !important;
  font-weight: 850 !important;
  text-transform: uppercase !important;
  letter-spacing: .02em !important;
  border-radius: 0 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.04) !important;
}
.slofist-admin .slofist-admin-nav .btn-primary {
  background: #b60000 !important;
  border-color: #b60000 !important;
  color: #fff !important;
}
.slofist-admin .slofist-admin-nav-link.active,
.slofist-admin .slofist-admin-nav-link:hover,
.slofist-admin .slofist-admin-nav-link:focus {
  color: #b60000 !important;
  border-bottom-color: #b60000 !important;
  background: #fff !important;
}
.slofist-dashboard-announcement {
  display: grid;
  grid-template-columns: 54px minmax(0,1fr);
  gap: 16px;
  align-items: start;
  margin: 24px 0 6px;
  padding: 18px 20px;
  background: #fff8e6;
  border: 1px solid #f0cf7a;
  border-left: 7px solid #d78b00;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.slofist-dashboard-announcement.level-info {
  background: #eef6ff;
  border-color: #b8d9ff;
  border-left-color: #0b5cab;
}
.slofist-dashboard-announcement.level-critical {
  background: #fff0f0;
  border-color: #f2b8b8;
  border-left-color: #b60000;
}
.slofist-dashboard-announcement-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-size: 1.55rem;
}
.slofist-dashboard-announcement h2 {
  margin: 0 0 6px;
  color: #111;
  font-size: 1.25rem;
  line-height: 1.1;
  font-weight: 950;
  text-transform: uppercase;
}
.slofist-dashboard-announcement p {
  margin: 0;
  color: #222;
  font-size: 1.02rem;
  line-height: 1.45;
}
@media (max-width: 620px) {
  .slofist-dashboard-announcement { grid-template-columns: 1fr; }
  .slofist-dashboard-announcement-icon { width: 46px; height: 46px; }
}


/* Phase 25: dashboard announcement display fix */
.slofist-dashboard-announcement{
  display:grid !important;
  grid-template-columns:56px minmax(0,1fr);
  gap:16px;
  align-items:start;
  margin:26px 0 0;
  padding:18px 22px;
  background:#fff8e6;
  border:1px solid #f2d189;
  border-left:6px solid #b60000;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  color:#111;
}
.slofist-dashboard-announcement.level-info{background:#eef6ff;border-color:#b9d8f2;border-left-color:#062b55}
.slofist-dashboard-announcement.level-warning{background:#fff8e6;border-color:#f2d189;border-left-color:#c77700}
.slofist-dashboard-announcement.level-critical{background:#fff0f0;border-color:#f0b8b8;border-left-color:#b60000}
.slofist-dashboard-announcement-icon{
  width:46px;height:46px;display:grid;place-items:center;background:#b60000;color:#fff;font-size:1.35rem;
}
.slofist-dashboard-announcement.level-info .slofist-dashboard-announcement-icon{background:#062b55}
.slofist-dashboard-announcement.level-warning .slofist-dashboard-announcement-icon{background:#c77700}
.slofist-dashboard-announcement h2{margin:0 0 6px;font-size:1.25rem;font-weight:900;text-transform:uppercase;color:#111}
.slofist-dashboard-announcement-body{font-size:1.02rem;line-height:1.45;color:#222}
@media(max-width:640px){.slofist-dashboard-announcement{grid-template-columns:1fr}.slofist-dashboard-announcement-icon{width:42px;height:42px}}

/* =====================================================
   Phase 26: Student Resources, local course time, and day gating
   ===================================================== */
.slofist-dashboard-statusbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 20px 0 24px;
}
.slofist-dashboard-statusbar > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  align-items: center;
  background: #fff;
  border: 1px solid #ddd;
  border-left: 5px solid #b60000;
  padding: 14px 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.slofist-dashboard-statusbar i {
  grid-row: 1 / span 2;
  color: #b60000;
  font-size: 1.65rem;
}
.slofist-dashboard-statusbar strong {
  font-weight: 900;
  text-transform: uppercase;
  color: #111;
  line-height: 1.1;
}
.slofist-dashboard-statusbar span {
  color: #444;
  font-size: .95rem;
}
.slofist-student-resource-section {
  margin: 30px 0;
}
.slofist-student-resource-section > h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.65rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #111;
  border-left: 6px solid #b60000;
  padding-left: 14px;
  margin: 0 0 18px;
}
.slofist-student-resource-section > h2 i {
  color: #b60000;
}

/* Phase 27: tabbed course editor and dashboard weather summary */
.slofist-course-editor .slofist-tabs {
  background: #fff;
  border: 1px solid #d8dfe8;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  margin: 18px 0 24px;
}
.slofist-course-editor .slofist-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px;
  background: #f3f6fa;
  border-bottom: 1px solid #d8dfe8;
}
.slofist-course-editor .slofist-tab-nav button {
  border: 1px solid #c9d2df;
  background: #fff;
  color: #163e6d;
  padding: 10px 14px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}
.slofist-course-editor .slofist-tab-nav button.active,
.slofist-course-editor .slofist-tab-nav button:hover,
.slofist-course-editor .slofist-tab-nav button:focus {
  background: #b60000;
  border-color: #b60000;
  color: #fff;
}
.slofist-course-editor .slofist-tab-panel {
  display: none;
  padding: 24px;
}
.slofist-course-editor .slofist-tab-panel.active {
  display: block;
}
.slofist-course-editor .slofist-tab-panel h2 {
  margin: 0 0 22px;
  padding-left: 14px;
  border-left: 6px solid #b60000;
  font-size: 1.55rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #111;
}
.slofist-course-editor .slofist-tab-panel h3 {
  margin: 22px 0 14px;
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #163e6d;
}
.slofist-admin-actions {
  position: sticky;
  bottom: 0;
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 0;
  background: rgba(245,248,252,.96);
  border-top: 1px solid #d8dfe8;
}
.slofist-dashboard-statusbar .slofist-weather-summary i {
  color: #f2a900;
}
@media (max-width: 760px) {
  .slofist-course-editor .slofist-tab-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .slofist-course-editor .slofist-tab-panel {
    padding: 18px;
  }
  .slofist-admin-actions {
    flex-wrap: wrap;
  }
}


/* Phase 28: Joomla-native admin course editor tabs and actions */
.slofist-course-editor {
  max-width: 1320px;
}
.slofist-course-editor h1 {
  margin-bottom: 1rem;
}
.slofist-course-editor .slofist-tabs {
  background: #fff;
  border: 1px solid var(--border-color, #dfe3e7);
  box-shadow: none;
  margin: 1rem 0 1.25rem;
}
.slofist-course-editor .slofist-tab-nav.nav.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 1rem;
  background: #f8f9fa;
  border-bottom: 1px solid var(--border-color, #dfe3e7);
}
.slofist-course-editor .slofist-tab-nav button {
  margin: 0 .15rem -1px 0;
  padding: .75rem 1rem;
  border: 1px solid transparent;
  border-radius: .25rem .25rem 0 0;
  background: transparent;
  color: #495057;
  font-weight: 600;
  text-transform: none;
  box-shadow: none;
}
.slofist-course-editor .slofist-tab-nav button:hover,
.slofist-course-editor .slofist-tab-nav button:focus {
  color: var(--link-color, #2a69b8);
  background: #fff;
  border-color: #dfe3e7 #dfe3e7 #fff;
}
.slofist-course-editor .slofist-tab-nav button.active {
  color: #212529;
  background: #fff;
  border-color: #dfe3e7 #dfe3e7 #fff;
}
.slofist-course-editor .slofist-tab-panel {
  display: none;
  padding: 1.5rem;
}
.slofist-course-editor .slofist-tab-panel.active {
  display: block;
}
.slofist-course-editor .slofist-tab-panel[hidden] {
  display: none !important;
}
.slofist-course-editor .slofist-tab-panel h2 {
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
  color: #212529;
  font-size: 1.35rem;
  font-weight: 600;
  text-transform: none;
}
.slofist-course-editor .slofist-tab-panel h3 {
  color: #212529;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: none;
}
.slofist-form-actions {
  display: flex;
  gap: .5rem;
  align-items: center;
  justify-content: flex-end;
  padding: .75rem 0;
}
.slofist-form-actions-top {
  border-bottom: 1px solid #dfe3e7;
  margin-bottom: 1rem;
}
.slofist-form-actions-bottom {
  border-top: 1px solid #dfe3e7;
  margin-top: 1rem;
}
.slofist-admin-actions { display:none !important; }
@media (max-width: 760px) {
  .slofist-course-editor .slofist-tab-nav.nav.nav-tabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .slofist-course-editor .slofist-tab-nav button {
    white-space: nowrap;
  }
  .slofist-form-actions {
    justify-content: stretch;
  }
  .slofist-form-actions .btn {
    flex: 1 1 auto;
  }
}

/* Phase 29: automated dashboard weather and local food tile */
.slofist-tile.gold{color:#a66f00}
.slofist-dashboard-statusbar [data-slofist-weather-auto="1"] span::after{content:"";}
.slofist-dashboard-statusbar .slofist-weather-summary span{font-weight:700;}

/* Phase 30: live clock and weather refresh details */
.slofist-dashboard-statusbar small[data-slofist-weather-updated]{display:block;font-size:.78rem;font-weight:600;color:#666;margin-top:2px;}
.slofist-live-clock span{font-variant-numeric:tabular-nums;}


/* Phase 33: Today's schedule dashboard status card and weather timestamp polish */
.slofist-dashboard-statusbar .slofist-weather-updated-line{
  display:block;
  font-size:.82rem;
  font-weight:600;
  color:#666;
  margin-top:3px;
  white-space:nowrap;
}
.slofist-today-schedule-card > span{
  display:block;
}
.slofist-today-schedule-row{
  display:block;
  font-size:.92rem;
  line-height:1.35;
  color:#444;
  margin:.15rem 0;
}
.slofist-today-schedule-row b{
  color:#111;
  font-weight:900;
  margin-right:.35rem;
  white-space:nowrap;
}


/* Classroom Manager 4.0 personalized dashboard */
.slofist-dashboard-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:24px 0 18px;padding:22px 26px;background:#fff;border-left:6px solid #b60000;box-shadow:0 8px 22px rgba(0,0,0,.08)}
.slofist-dashboard-welcome-kicker{margin:0 0 4px;color:#b60000;font-size:.78rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.slofist-dashboard-welcome h2{margin:0;color:#111;font-size:clamp(1.55rem,3vw,2.25rem);font-weight:900}
.slofist-dashboard-welcome p:last-child{margin:5px 0 0;color:#555}
.slofist-course-switcher{min-width:240px}
.slofist-course-switcher label{display:block;margin-bottom:5px;color:#555;font-size:.72rem;font-weight:900;text-transform:uppercase}
.slofist-course-switcher select{width:100%;min-height:42px;padding:8px 10px;background:#fff;border:1px solid #bbb}
@media(max-width:700px){.slofist-dashboard-welcome{align-items:flex-start;flex-direction:column}.slofist-course-switcher{width:100%;min-width:0}}


/* Keep the student dashboard header visually attached to the site navigation. */
body.com_slofist.view-dashboard #t4-main-body,
body.com_slofist.view-dashboard #t4-main-body > .t4-section-inner,
body.com_slofist.view-dashboard #t4-main-body .t4-row,
body.com_slofist.view-dashboard #t4-main-body .component {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.com_slofist.view-dashboard .slofist-dashboard-page {
  margin-top: 0 !important;
}

.slofist-contact-sheet-page{max-width:1200px;margin:0 auto;padding:1rem}.slofist-contact-sheet-header{margin-bottom:1.25rem}.slofist-contact-section{margin:1.5rem 0}.slofist-contact-directory{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.75rem}.slofist-contact-directory article{border:1px solid #d9dee3;border-radius:8px;background:#fff;padding:1rem}.slofist-contact-directory article h3{margin:0 0 .35rem;font-size:1rem}.slofist-contact-directory article p{margin:.15rem 0;color:#4b5563}.slofist-contact-directory article a{display:block;margin-top:.3rem}.slofist-contact-team-title{margin-top:1.25rem;padding-bottom:.35rem;border-bottom:2px solid #b60000;font-size:1.1rem}

/* Classroom Manager 4.6.3 published contact sheet parity */
.slofist-contact-sheet-heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem}.slofist-contact-sheet-actions{display:flex;flex-wrap:wrap;gap:.5rem}.slofist-contact-sheet-table-wrap{overflow-x:auto;background:#fff;border:1px solid #d4d9df;padding:1rem}.slofist-contact-sheet-table{width:100%;min-width:820px;margin:0 0 1rem;border-collapse:collapse;table-layout:fixed;font-size:.86rem}.slofist-contact-sheet-table th,.slofist-contact-sheet-table td{padding:.45rem .55rem;border:1px solid #aeb5bd;text-align:left;vertical-align:top;line-height:1.2;white-space:normal;overflow-wrap:anywhere}.slofist-contact-sheet-table th{background:#e8eaed;font-weight:700}.slofist-contact-sheet-table .section-row td{background:#222;color:#fff;font-weight:700}.slofist-contact-sheet-table .team-row td{background:#d9dde2;font-weight:700}.slofist-contact-sheet-table .col-name{width:20%}.slofist-contact-sheet-table .col-title{width:14%}.slofist-contact-sheet-table .col-agency{width:27%}.slofist-contact-sheet-table .col-phone{width:16%}.slofist-contact-sheet-table .col-email{width:23%}@media(max-width:700px){.slofist-contact-sheet-heading-row{align-items:flex-start;flex-direction:column}}

.exam-page{max-width:1120px;margin:0 auto;padding:0 0 2rem}.exam-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;padding:2rem 2.25rem;margin-bottom:1.25rem;border-radius:14px;background:linear-gradient(135deg,#151a21,#2c333d);color:#fff;box-shadow:0 12px 28px rgba(0,0,0,.16)}.exam-hero h1{margin:.2rem 0 .35rem;font-size:clamp(2rem,5vw,3.1rem);line-height:1.05;color:#fff}.exam-hero p{margin:0;color:#d8dde3;font-size:1.05rem}.exam-kicker,.exam-result-kicker{text-transform:uppercase;letter-spacing:.12em;font-size:.74rem;font-weight:700;color:#c32a32}.exam-hero-meta{display:flex;gap:.75rem}.exam-hero-meta span{min-width:105px;padding:.75rem 1rem;border:1px solid rgba(255,255,255,.2);border-radius:10px;background:rgba(255,255,255,.08);text-align:center;font-size:.8rem}.exam-hero-meta b{display:block;font-size:1.25rem;color:#fff}.exam-instructions{display:flex;gap:.9rem;align-items:flex-start;margin:1rem 0;padding:1rem 1.15rem;border:1px solid #bfd8ee;border-radius:10px;background:#eef7ff;color:#17496d}.exam-instructions i{font-size:1.35rem;margin-top:.15rem}.exam-instructions p{margin:.2rem 0 0}.exam-taking-form{counter-reset:examq}.exam-question,.exam-review-question{background:#fff;border:1px solid #d7dce2;border-radius:12px;padding:1.35rem;margin:1rem 0;box-shadow:0 4px 14px rgba(20,29,40,.06)}.exam-question legend{display:flex;gap:.85rem;align-items:flex-start;width:100%;font-size:1.08rem;font-weight:700;line-height:1.45;margin-bottom:1rem}.exam-question legend>span,.exam-question-number{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#9f151c;color:#fff;font-weight:700}.exam-choice-list{display:grid;gap:.55rem}.exam-choice{position:relative;display:flex;align-items:center;gap:.8rem;padding:.8rem .9rem;border:1px solid #d7dce2;border-radius:9px;margin:0;background:#fff;cursor:pointer;transition:.15s ease}.exam-choice:hover{border-color:#8d99a6;background:#f8f9fa;transform:translateY(-1px)}.exam-choice input{width:1.05rem;height:1.05rem;accent-color:#a7161e}.exam-choice:has(input:checked){border-color:#a7161e;background:#fff2f3;box-shadow:0 0 0 1px #a7161e}.exam-choice-letter{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#edf0f3;font-weight:700;color:#4b5560}.exam-choice:has(input:checked) .exam-choice-letter{background:#a7161e;color:#fff}.exam-submit-bar{position:sticky;bottom:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1.5rem;padding:1rem 1.25rem;border:1px solid #d5d9de;border-radius:12px;background:rgba(255,255,255,.96);box-shadow:0 -6px 22px rgba(20,29,40,.1);backdrop-filter:blur(7px)}.exam-submit-bar span{display:block;color:#66707a;font-size:.9rem}.exam-result-card{display:grid;grid-template-columns:auto 1fr;gap:1.2rem;align-items:flex-start;padding:1.4rem 1.55rem;border:1px solid #d5d9de;border-left:7px solid #737b84;border-radius:12px;background:#fff;box-shadow:0 5px 18px rgba(20,29,40,.08);margin-bottom:1.4rem}.exam-result-card.passed{border-left-color:#198754;background:#f0faf3}.exam-result-card.failed{border-left-color:#dc3545;background:#fff4f5}.exam-result-icon{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:50%;background:#737b84;color:#fff;font-size:1.65rem;font-weight:700}.exam-result-card.passed .exam-result-icon{background:#198754}.exam-result-card.failed .exam-result-icon{background:#dc3545}.exam-result-card h2{margin:.1rem 0 .8rem}.exam-result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}.exam-result-grid div{padding:.65rem .75rem;border:1px solid rgba(0,0,0,.09);border-radius:8px;background:rgba(255,255,255,.65)}.exam-result-grid span{display:block;text-transform:uppercase;letter-spacing:.05em;font-size:.68rem;color:#6c757d}.exam-result-grid b{display:block;margin-top:.2rem}.exam-review-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;margin:1.8rem 0 .8rem}.exam-review-heading h2{margin:.15rem 0 0}.exam-review-legend{display:flex;gap:.75rem;flex-wrap:wrap;font-size:.82rem;font-weight:700}.exam-review-legend span{padding:.35rem .55rem;border-radius:999px}.exam-review-legend .correct{background:#e7f6eb;color:#146c2e}.exam-review-legend .wrong{background:#fde9ec;color:#a00018}.exam-review-question{display:grid;grid-template-columns:auto 1fr;gap:1rem}.exam-question-content h3{margin:.15rem 0 1rem;font-size:1.08rem;line-height:1.45}.exam-choice-review{display:flex;align-items:center;gap:.7rem;padding:.7rem .8rem;border:1px solid #e1e4e8;border-radius:8px;background:#fff}.exam-choice-marker{display:inline-flex;align-items:center;justify-content:center;flex:0 0 29px;width:29px;height:29px;border-radius:50%;background:#edf0f3;font-weight:700}.exam-choice-review.correct{border-color:#8dc79e;background:#eaf7ee;color:#146c2e}.exam-choice-review.correct .exam-choice-marker{background:#198754;color:#fff}.exam-choice-review.wrong{border-color:#e6a0a8;background:#fdebed;color:#a00018}.exam-choice-review.wrong .exam-choice-marker{background:#dc3545;color:#fff}.exam-choice-text small{display:inline-block;margin-left:.45rem;padding:.12rem .38rem;border-radius:999px;background:rgba(0,0,0,.08);font-size:.7rem;font-weight:700;text-transform:uppercase}.exam-explanation{margin-top:.85rem;padding:.85rem 1rem;border-left:4px solid #d39e00;border-radius:6px;background:#fff8df;color:#4f461e}.exam-explanation b{display:block;margin-bottom:.25rem}.exam-actions{display:flex;gap:.75rem;margin:1.5rem 0;flex-wrap:wrap}@media(max-width:760px){.exam-hero{align-items:flex-start;flex-direction:column;padding:1.4rem}.exam-hero-meta{width:100%}.exam-hero-meta span{flex:1}.exam-result-grid{grid-template-columns:1fr 1fr}.exam-review-heading{align-items:flex-start;flex-direction:column}.exam-review-question{grid-template-columns:1fr}.exam-submit-bar{align-items:stretch;flex-direction:column}.exam-submit-bar .btn{width:100%}}@media(max-width:480px){.exam-result-card{grid-template-columns:1fr}.exam-result-grid{grid-template-columns:1fr}.exam-hero-meta{flex-direction:column}}
/* Exam Manager 4.8.4 */
.exam-page .exam-choice-list{display:flex!important;flex-direction:column!important;gap:.7rem!important}.exam-page .exam-choice{display:grid!important;grid-template-columns:auto auto minmax(0,1fr)!important;width:100%!important;align-items:flex-start!important;padding:1rem 1.1rem!important;font-size:1rem!important;line-height:1.45!important}.exam-page .exam-choice-copy{display:block;min-width:0}.exam-question.is-unanswered{border:2px solid #dc3545;box-shadow:0 0 0 4px rgba(220,53,69,.12)}.exam-unanswered-note{display:none;margin-top:.65rem;color:#b4232c;font-weight:700}.exam-question.is-unanswered .exam-unanswered-note{display:block}.exam-modal-backdrop{position:fixed;inset:0;z-index:10050;display:flex;align-items:center;justify-content:center;padding:1.25rem;background:rgba(10,20,32,.72);backdrop-filter:blur(4px)}.exam-modal{position:relative;width:min(560px,100%);padding:2rem;border-radius:18px;background:#fff;text-align:center;box-shadow:0 28px 80px rgba(0,0,0,.35);border-top:8px solid #dc3545}.exam-modal.passed{border-top-color:#198754}.exam-modal-icon{display:flex;align-items:center;justify-content:center;width:74px;height:74px;margin:0 auto 1rem;border-radius:50%;background:#dc3545;color:#fff;font-size:2.4rem;font-weight:800}.exam-modal.passed .exam-modal-icon{background:#198754}.exam-modal h2{margin:.25rem 0 .7rem;font-size:1.85rem}.exam-modal p{font-size:1.02rem;color:#56616d}.exam-modal-close{position:absolute;right:.8rem;top:.55rem;border:0;background:transparent;font-size:2rem;color:#66707a}.exam-modal-actions{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap;margin-top:1.25rem}.exam-answer-edit-row{grid-template-columns:minmax(130px,auto) 34px minmax(0,1fr) auto!important}.exam-answer-edit-row [data-remove-answer]{white-space:nowrap}@media(max-width:700px){.exam-page{padding-inline:.45rem}.exam-hero{border-radius:10px}.exam-question{padding:1rem}.exam-choice{grid-template-columns:auto auto minmax(0,1fr)!important}.exam-answer-edit-row{grid-template-columns:1fr 30px!important}.exam-answer-edit-row .form-control{grid-column:1/-1}.exam-answer-edit-row [data-remove-answer]{grid-column:1/-1;justify-self:start}}
/* Exam Manager 4.8.9 */
.exam-hero{align-items:center}.exam-hero-meta{display:grid;grid-template-columns:repeat(4,minmax(86px,1fr));width:min(520px,100%)}.exam-hero-meta span{min-width:0;padding:.65rem .55rem}.exam-timer-stat.is-low{border-color:#ffbf47!important;background:rgba(255,191,71,.18)!important}.exam-timer-stat.is-low b{color:#ffd166!important}@media(max-width:900px){.exam-hero{align-items:stretch;flex-direction:column}.exam-hero-meta{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.exam-hero{padding:1.05rem}.exam-hero h1{font-size:1.8rem}.exam-hero-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem}.exam-hero-meta span{font-size:.72rem;padding:.55rem .4rem}.exam-hero-meta b{font-size:1.05rem}}

/* 4.9.0 achievement-style passed exam tile */
.slofist-achievement-tile .slofist-achievement-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 64px;
  margin-bottom: 10px;
}
.slofist-achievement-tile .slofist-achievement-icon > i {
  margin: 0;
  font-size: 3.35rem;
  line-height: 1;
}
.slofist-achievement-tile .slofist-score-badge {
  position: absolute;
  top: -7px;
  right: -12px;
  min-width: 42px;
  height: 42px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: #176f32;
  border: 3px solid #d5a400;
  box-shadow: 0 3px 9px rgba(0,0,0,.22);
  font-size: .76rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.02em;
}
@media (max-width: 700px) {
  .slofist-achievement-tile .slofist-achievement-icon { width: 66px; height: 58px; }
  .slofist-achievement-tile .slofist-achievement-icon > i { font-size: 3rem; }
  .slofist-achievement-tile .slofist-score-badge { min-width: 39px; height: 39px; right: -10px; }
}

/* 4.9.2 passed award colors */
.slofist-achievement-tile .slofist-achievement-icon.is-passed,.slofist-achievement-tile .slofist-achievement-icon.is-passed i{color:#12823b!important}
.slofist-achievement-tile .slofist-score-badge{background:#12823b!important;color:#fff!important;border:2px solid #fff!important}

/* 5.0.0 Survey Manager */
.survey-page{max-width:1100px;margin:0 auto 3rem}.survey-section{background:#fff;border:1px solid #dce3ea;border-radius:14px;margin:1.25rem 0;overflow:hidden;box-shadow:0 8px 24px rgba(18,38,63,.06)}.survey-section-head{display:flex;align-items:flex-start;gap:1rem;background:#f3f6f9;padding:1rem 1.25rem;border-bottom:3px solid #b71920}.survey-section-head h2{margin:0;color:#172b46;font-size:1.35rem}.survey-step{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#172b46;color:#fff;font-weight:800}.survey-section-status{margin-left:auto;color:#557080;font-size:.85rem}.survey-question{border:0;border-bottom:1px solid #e5e9ed;padding:1.25rem;margin:0}.survey-question:last-child{border-bottom:0}.survey-question legend{font-weight:750;color:#172b46;font-size:1.05rem;margin-bottom:.75rem}.survey-question .required{color:#b71920}.survey-rating,.survey-options{display:flex;gap:.65rem;flex-wrap:wrap}.survey-rating label,.survey-options label{display:flex;align-items:center;gap:.5rem;border:1px solid #c9d2dc;border-radius:9px;padding:.65rem .85rem;background:#fff;cursor:pointer}.survey-rating label{flex-direction:column;justify-content:center;min-width:128px;text-align:center}.survey-rating input{position:absolute;opacity:0;pointer-events:none}.survey-stars{display:block;color:#d99a00;font-size:1.12rem;letter-spacing:.08rem;line-height:1.2}.survey-rating small{display:block;color:#4f6170;font-weight:700}.survey-rating label:has(input:checked),.survey-options label:has(input:checked){border-color:#1f6f43;background:#eef8f2;box-shadow:0 0 0 2px rgba(31,111,67,.12)}.survey-rating input,.survey-options input{accent-color:#1f6f43}.survey-rating small{color:#667781}.survey-submit-bar{position:sticky;bottom:0;display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;background:#fff;border:1px solid #dce3ea;border-radius:12px;padding:1rem;box-shadow:0 -6px 24px rgba(18,38,63,.08);z-index:5}.survey-submit-bar>div{margin-right:auto}.survey-submit-bar span{display:block;color:#667781;font-size:.9rem}@media(max-width:650px){.survey-section-head{padding:.85rem}.survey-section-status{display:none}.survey-rating label{flex:1;justify-content:center}.survey-submit-bar .btn{width:100%}}

.slofist-block-evaluation{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1rem 0;padding:1rem 1.1rem;border:1px solid #b8d4ee;border-left:4px solid #1967a3;border-radius:10px;background:#f4f9fd}.slofist-block-evaluation>div{display:flex;flex-direction:column;gap:.2rem}.slofist-block-evaluation strong{color:#17324d}.slofist-block-evaluation span{color:#52677b;font-size:.92rem}@media(max-width:700px){.slofist-block-evaluation{align-items:stretch;flex-direction:column}.slofist-block-evaluation .slofist-resource-button{text-align:center}}

.slofist-gate-modal{position:fixed;inset:0;z-index:10000;display:none;align-items:center;justify-content:center;padding:1rem;background:rgba(10,22,37,.68)}.slofist-gate-modal.is-open{display:flex}.slofist-gate-dialog{width:min(520px,100%);background:#fff;border-radius:16px;box-shadow:0 24px 70px rgba(0,0,0,.28);overflow:hidden}.slofist-gate-head{display:flex;align-items:center;gap:.9rem;padding:1.15rem 1.25rem;background:#172b46;color:#fff;border-bottom:4px solid #b71920}.slofist-gate-head i{font-size:1.8rem;color:#d99a00}.slofist-gate-body{padding:1.35rem}.slofist-gate-actions{display:flex;justify-content:flex-end;gap:.65rem;padding:0 1.35rem 1.35rem}@media(max-width:650px){.survey-rating{display:grid;grid-template-columns:1fr 1fr}.survey-rating label{min-width:0}.slofist-gate-actions{flex-direction:column}.slofist-gate-actions .btn{width:100%}}

.survey-section-actions{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:flex-end;align-items:center;margin-top:1.25rem;padding-top:1rem;border-top:1px solid #e5e7eb}
@media(max-width:640px){.survey-section-actions{justify-content:stretch}.survey-section-actions .btn{width:100%}}
.slofist-handout-copy{display:flex;align-items:flex-start;gap:.65rem;flex-wrap:wrap}.slofist-handout-title{display:inline-flex;align-items:center;gap:.55rem;font-weight:800;text-decoration:none}.slofist-handout-title .fa-file-pdf{color:#b71920;font-size:1.15rem}.slofist-handout-title:hover span{text-decoration:underline}.slofist-handout-type{display:inline-flex;align-items:center;gap:.3rem;padding:.18rem .5rem;border-radius:999px;background:#eef2f5;color:#4b5966;font-size:.75rem;font-weight:800}.slofist-handout-copy p{flex-basis:100%;margin:.35rem 0 0}

/* 5.2.7 special schedule blocks */
.slofist-block-card.slofist-special-block{border:1px solid color-mix(in srgb,var(--slofist-block-accent) 55%,#fff);border-left:7px solid var(--slofist-block-accent);background:linear-gradient(135deg,var(--slofist-block-tint),#fff 72%);box-shadow:0 7px 20px color-mix(in srgb,var(--slofist-block-accent) 16%,transparent)}
.slofist-block-card.slofist-special-block .slofist-block-time,.slofist-block-card.slofist-special-block h3,.slofist-block-card.slofist-special-block h3 i{color:var(--slofist-block-accent)}
.slofist-block-type-student_mixer{outline:2px solid color-mix(in srgb,var(--slofist-block-accent) 36%,transparent);outline-offset:-2px}
.slofist-block-note{display:flex;gap:12px;align-items:flex-start;margin:14px 0;padding:14px 16px;border:1px solid color-mix(in srgb,var(--slofist-note-color,#176f32) 40%,#fff);border-left:5px solid var(--slofist-note-color,#176f32);border-radius:12px;background:var(--slofist-note-tint,rgba(23,111,50,.09))}
.slofist-block-note>i{color:var(--slofist-note-color,#176f32);font-size:1.25rem;margin-top:2px}.slofist-block-note strong{display:block;color:var(--slofist-note-color,#176f32);text-transform:uppercase;letter-spacing:.03em}.slofist-block-note p{margin:.25rem 0 0}

/* 5.3.3 evaluation state and compact layout */
.slofist-evaluation-alert{display:flex;align-items:center;gap:.65rem;margin-top:.7rem;padding:.48rem .7rem;border:1px solid;border-radius:10px;min-height:0;box-shadow:none}
.slofist-evaluation-alert.is-pending{background:#fff7d6;border-color:#c69200;color:#4c3900}
.slofist-evaluation-alert.is-complete{background:#e8f6ec;border-color:#198754;color:#145c32}
.slofist-evaluation-icon{display:flex;align-items:center;justify-content:center;flex:0 0 auto;font-size:1.05rem;line-height:1}
.slofist-evaluation-copy{display:flex;align-items:center;gap:.65rem;min-width:0;flex-wrap:wrap}
.slofist-evaluation-copy strong{font-size:.92rem;line-height:1.15;margin:0}
.slofist-evaluation-button{display:inline-flex;align-items:center;justify-content:center;padding:.25rem .6rem;border:2px solid #2d2d2d;border-radius:7px;background:#fff;color:#111!important;text-decoration:none;font-size:.78rem;font-weight:800;line-height:1.1;white-space:nowrap}
.slofist-evaluation-button:hover,.slofist-evaluation-button:focus{background:#111;color:#fff!important}
@media(max-width:600px){.slofist-evaluation-alert{align-items:flex-start}.slofist-evaluation-copy{gap:.4rem}.slofist-evaluation-button{font-size:.74rem}}

/* 5.3.3 evaluation state and compact layout */
.slofist-evaluation-alert{display:flex;align-items:center;gap:.65rem;margin-top:.7rem;padding:.48rem .7rem;border:1px solid;border-radius:10px;min-height:0;box-shadow:none}
.slofist-evaluation-alert.is-pending{background:#fff7d6;border-color:#c69200;color:#4c3900}
.slofist-evaluation-alert.is-complete{background:#e8f6ec;border-color:#198754;color:#145c32}
.slofist-evaluation-icon{display:flex;align-items:center;justify-content:center;flex:0 0 auto;font-size:1.05rem;line-height:1}
.slofist-evaluation-copy{display:flex;align-items:center;gap:.65rem;min-width:0;flex-wrap:wrap}
.slofist-evaluation-copy strong{font-size:.92rem;line-height:1.15;margin:0}
.slofist-evaluation-button{display:inline-flex;align-items:center;justify-content:center;padding:.25rem .6rem;border:2px solid #2d2d2d;border-radius:7px;background:#fff;color:#111!important;text-decoration:none;font-size:.78rem;font-weight:800;line-height:1.1;white-space:nowrap}
.slofist-evaluation-button:hover,.slofist-evaluation-button:focus{background:#111;color:#fff!important}
@media(max-width:600px){.slofist-evaluation-alert{align-items:flex-start}.slofist-evaluation-copy{gap:.4rem}.slofist-evaluation-button{font-size:.74rem}}


/* 5.3.3 timeline and evaluation polish */
.slofist-course-content{position:relative}
.slofist-course-content:before{content:"";position:absolute;left:8px;top:18px;bottom:18px;width:4px;background:#b71920!important;border-radius:0!important;z-index:0}
.slofist-main-timeline-block{position:relative;z-index:1}
.slofist-main-timeline-block:before{content:"";position:absolute;left:-22px;top:31px;width:22px;height:4px;background:#b71920!important}
.slofist-block-time{position:relative;z-index:2;background:#fff!important;color:#172b46!important;border:2px solid #172b46!important;border-radius:10px!important;box-shadow:0 2px 7px rgba(23,43,70,.12)}
.slofist-evaluation-alert.is-pending{display:flex!important;align-items:center!important;gap:.55rem!important;background:#fff4bf!important;border:1px solid #d7a900!important;border-left:5px solid #d7a900!important;color:#493800!important;padding:.38rem .65rem!important;min-height:38px!important}
.slofist-evaluation-alert.is-pending .slofist-evaluation-copy{display:flex!important;align-items:center!important;gap:.55rem!important;flex-wrap:nowrap!important;width:100%!important}
.slofist-evaluation-alert.is-pending .slofist-evaluation-copy strong{font-size:.9rem!important;white-space:nowrap!important}
.slofist-evaluation-alert.is-pending .slofist-evaluation-button{margin-left:auto!important;padding:.2rem .5rem!important;font-size:.72rem!important;border:2px solid #2b2b2b!important;border-radius:7px!important;background:#fff!important;color:#111!important}
.slofist-evaluation-alert.is-complete{display:flex!important;align-items:center!important;justify-content:center!important;gap:.6rem!important;background:#e6f6eb!important;border:1px solid #198754!important;border-left:5px solid #198754!important;color:#116530!important;padding:.55rem .8rem!important;text-align:center!important}
.slofist-evaluation-alert.is-complete .slofist-evaluation-copy{justify-content:center!important}
.slofist-evaluation-alert.is-complete .slofist-evaluation-copy strong{font-size:1.03rem!important;font-weight:900!important;letter-spacing:.01em!important;white-space:normal!important}
.slofist-evaluation-alert.is-complete .slofist-evaluation-icon{font-size:1.15rem!important;color:#198754!important}
@media(max-width:680px){.slofist-course-content:before{left:3px}.slofist-main-timeline-block:before{left:-14px;width:14px}.slofist-evaluation-alert.is-pending .slofist-evaluation-copy{flex-wrap:wrap!important}.slofist-evaluation-alert.is-pending .slofist-evaluation-button{margin-left:0!important}.slofist-evaluation-alert.is-pending .slofist-evaluation-copy strong{white-space:normal!important}}

/* 5.3.3 original course evaluation presentation with pre/post states */
.slofist-evaluation-original{display:flex;align-items:center;gap:.7rem;margin-top:.75rem;padding:.7rem .85rem;border-radius:12px;border:1px solid #b9d8c3;background:#eef8f1;color:#194f2e;box-shadow:0 2px 8px rgba(20,70,40,.07)}
.slofist-evaluation-original .slofist-evaluation-icon{display:flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#198754;color:#fff;font-size:1rem}
.slofist-evaluation-original .slofist-evaluation-copy{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;min-width:0;width:100%}
.slofist-evaluation-original .slofist-evaluation-copy strong{font-size:.95rem;line-height:1.25;color:#194f2e}
.slofist-evaluation-original .slofist-evaluation-button{margin-left:auto;padding:.42rem .75rem;border-radius:8px;font-size:.8rem;line-height:1.1;border:1px solid #194f2e;background:#fff;color:#194f2e!important;box-shadow:none}
.slofist-evaluation-original .slofist-evaluation-button:hover,.slofist-evaluation-original .slofist-evaluation-button:focus{background:#194f2e;color:#fff!important}
.slofist-evaluation-original.is-complete{justify-content:center;background:#e9f7ee;border-color:#79bd8f;text-align:center}
.slofist-evaluation-original.is-complete .slofist-evaluation-copy{width:auto;justify-content:center}
.slofist-evaluation-original.is-complete .slofist-evaluation-copy strong{font-size:1rem;font-weight:800}
@media(max-width:640px){.slofist-evaluation-original{align-items:flex-start}.slofist-evaluation-original .slofist-evaluation-copy{gap:.5rem}.slofist-evaluation-original .slofist-evaluation-button{margin-left:0}}

/* 5.3.3 large three-line evaluation states and stronger notes */
.slofist-evaluation-standard{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;gap:1rem!important;align-items:start!important;margin:1rem 0!important;padding:1.05rem 1.2rem!important;border-radius:15px!important;box-shadow:0 5px 15px rgba(23,43,70,.10)!important;min-height:150px!important}
.slofist-evaluation-standard.is-pending{background:#fff7d6!important;border:1px solid #d6a400!important;border-left:7px solid #d6a400!important;color:#493800!important}
.slofist-evaluation-standard.is-complete{background:#e8f6ec!important;border:1px solid #4f9e68!important;border-left:7px solid #198754!important;color:#145c32!important}
.slofist-evaluation-standard .slofist-evaluation-icon{display:grid!important;place-items:center!important;width:52px!important;height:52px!important;border-radius:50%!important;font-size:1.45rem!important;color:#fff!important;background:#b88700!important}
.slofist-evaluation-standard.is-complete .slofist-evaluation-icon{background:#198754!important}
.slofist-evaluation-standard .slofist-evaluation-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:.28rem!important;width:100%!important}
.slofist-evaluation-standard .slofist-evaluation-copy strong{font-size:1.18rem!important;font-weight:900!important;line-height:1.2!important;color:inherit!important}
.slofist-evaluation-standard .slofist-evaluation-copy span{display:block!important;color:inherit!important;line-height:1.35!important}
.slofist-evaluation-standard .slofist-evaluation-button,.slofist-evaluation-standard .slofist-evaluation-status{align-self:center!important;margin-top:.55rem!important;padding:.48rem 1rem!important;border-radius:9px!important;font-size:.86rem!important;font-weight:900!important}
.slofist-evaluation-standard .slofist-evaluation-button{border:2px solid #3b3000!important;background:#fff!important;color:#3b3000!important;text-decoration:none!important}
.slofist-evaluation-standard .slofist-evaluation-button:hover{background:#3b3000!important;color:#fff!important}
.slofist-evaluation-standard .slofist-evaluation-status{display:inline-flex!important;align-items:center!important;gap:.4rem!important;background:#198754!important;color:#fff!important}
.slofist-block-note{padding:1rem 1.1rem!important;border-width:1px!important;border-left-width:7px!important;background:var(--slofist-note-tint)!important;box-shadow:0 4px 12px rgba(23,43,70,.10)!important;color:#172b46!important}
.slofist-block-note>i{display:grid!important;place-items:center!important;flex:0 0 38px!important;width:38px!important;height:38px!important;border-radius:50%!important;background:var(--slofist-note-color)!important;color:#fff!important;font-size:1.05rem!important}
.slofist-block-note strong{font-size:1rem!important;font-weight:900!important;color:var(--slofist-note-color)!important}
.slofist-block-note p{color:#172b46!important;line-height:1.45!important}
@media(max-width:640px){.slofist-evaluation-standard{grid-template-columns:42px 1fr!important;padding:.9rem!important;min-height:0!important}.slofist-evaluation-standard .slofist-evaluation-icon{width:40px!important;height:40px!important;font-size:1.05rem!important}.slofist-evaluation-standard .slofist-evaluation-button,.slofist-evaluation-standard .slofist-evaluation-status{align-self:flex-start!important}}

/* 5.3.5 three-row evaluation and connected agenda timeline */
.slofist-course-content{position:relative;padding-left:38px!important}
.slofist-course-content:before{content:"";position:absolute;left:16px!important;top:24px!important;bottom:24px!important;width:4px!important;background:#b71920!important;border-radius:4px!important;z-index:0!important}
.slofist-main-timeline-block{position:relative!important;z-index:1!important}
.slofist-main-timeline-block:before{content:""!important;position:absolute!important;left:-22px!important;top:31px!important;width:26px!important;height:4px!important;background:#b71920!important;z-index:1!important}
.slofist-main-timeline-block:after{content:"";position:absolute;left:-29px;top:24px;width:16px;height:16px;border-radius:50%;background:#b71920;border:3px solid #fff;box-shadow:0 0 0 2px #b71920;z-index:2}
.slofist-block-time{position:relative!important;z-index:3!important;background:#fff!important;border:2px solid #172b46!important;border-radius:11px!important;color:#b71920!important;padding:.42rem .72rem!important;box-shadow:0 2px 7px rgba(23,43,70,.14)!important}
.slofist-evaluation-standard{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;gap:1rem!important;align-items:start!important;min-height:0!important;padding:1rem 1.2rem!important}
.slofist-evaluation-standard .slofist-evaluation-copy{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:.28rem!important;width:100%!important}
.slofist-evaluation-standard .slofist-evaluation-heading-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:1rem!important;width:100%!important;min-width:0!important}
.slofist-evaluation-standard .slofist-evaluation-heading-row strong{margin:0!important;min-width:0!important}
.slofist-evaluation-standard .slofist-evaluation-button,.slofist-evaluation-standard .slofist-evaluation-status{align-self:auto!important;margin:0!important;flex:0 0 auto!important;white-space:nowrap!important;padding:.42rem .82rem!important}
.slofist-evaluation-standard .slofist-evaluation-copy>span{display:block!important;margin:0!important;line-height:1.35!important}
.slofist-evaluation-standard.is-complete .slofist-evaluation-heading-row{color:#145c32!important}
.slofist-block-header{align-items:flex-start!important}
.slofist-block-instructors{align-self:flex-start!important;margin-top:0!important}
@media(max-width:720px){.slofist-course-content{padding-left:24px!important}.slofist-course-content:before{left:7px!important}.slofist-main-timeline-block:before{left:-18px!important;width:20px!important}.slofist-main-timeline-block:after{left:-24px!important}.slofist-evaluation-standard{grid-template-columns:44px minmax(0,1fr)!important;padding:.9rem!important}.slofist-evaluation-standard .slofist-evaluation-heading-row{align-items:flex-start!important}.slofist-evaluation-standard .slofist-evaluation-button,.slofist-evaluation-standard .slofist-evaluation-status{font-size:.76rem!important;padding:.38rem .58rem!important}}
@media(max-width:480px){.slofist-evaluation-standard .slofist-evaluation-heading-row{flex-wrap:wrap!important}.slofist-evaluation-standard .slofist-evaluation-button,.slofist-evaluation-standard .slofist-evaluation-status{width:auto!important}}


/* 5.3.5 course workspace consistency */
.slofist-course-editor .slofist-tab-nav .slofist-tab-link.nav-link{margin:0 .15rem -1px 0;padding:.75rem 1rem;border:1px solid transparent;border-radius:.25rem .25rem 0 0;background:transparent;color:#495057;font-weight:600;text-decoration:none;white-space:nowrap}
.slofist-course-editor .slofist-tab-nav .slofist-tab-link.nav-link:hover,.slofist-course-editor .slofist-tab-nav .slofist-tab-link.nav-link:focus{color:var(--link-color,#2a69b8);background:#fff;border-color:#dfe3e7 #dfe3e7 #fff}
.slofist-evaluation-standard .slofist-evaluation-heading-row{justify-content:flex-start!important;gap:20px!important}
.slofist-evaluation-standard .slofist-evaluation-button{margin-left:0!important}
@media(max-width:520px){.slofist-evaluation-standard .slofist-evaluation-heading-row{gap:10px!important;flex-wrap:wrap!important}}


/* 5.5.2 portal spacing and typography normalization */
.slofist-dashboard-page { padding-top: clamp(34px, 5vw, 68px); }
.slofist-dashboard-page .slofist-portal-hero-content { padding-top: clamp(34px, 4vw, 54px) !important; padding-bottom: clamp(28px, 3vw, 44px) !important; }
.slofist-dashboard-page .slofist-portal-hero h1 { font-size: clamp(2rem, 4vw, 3.55rem) !important; line-height: 1.08 !important; padding-bottom: .08em; overflow: visible; }
.slofist-dashboard-page .slofist-portal-hero p { line-height: 1.35 !important; margin-top: .65rem !important; }
.slofist-section-head { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-start; gap:1rem; margin-bottom:1.25rem; }
.slofist-section-head h1 { margin:.1rem 0 .35rem; line-height:1.12; }
.slofist-survey-summary { margin-bottom:1.25rem; }
.slofist-survey-summary-head { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; }
.slofist-survey-summary-head h2 { margin-bottom:.25rem; }
.slofist-status-badge { display:inline-flex; padding:.35rem .65rem; border-radius:999px; font-weight:800; font-size:.82rem; background:#e8edf2; color:#334155; }
.slofist-status-badge.is-submitted { background:#dcf5e5; color:#166534; }
.slofist-status-badge.is-draft { background:#fff2c7; color:#7a4a00; }
.slofist-response-list { margin:1rem 0; border-top:1px solid #e1e6eb; }
.slofist-response-row { display:grid; grid-template-columns:minmax(220px, .9fr) minmax(0, 1.4fr); gap:1rem; padding:.9rem 0; border-bottom:1px solid #e1e6eb; }
.slofist-response-row strong { color:#172b46; }
@media(max-width:700px){.slofist-public,.slofist-dashboard-page{padding-top:24px}.slofist-response-row{grid-template-columns:1fr}.slofist-dashboard-page .slofist-portal-hero h1{font-size:clamp(1.9rem,10vw,2.75rem)!important}}


/* 5.5.2 completion, readiness and cancellation layout */
.slofist-completion-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:1.15rem 0}
.slofist-status-card{display:flex;flex-direction:column;gap:.28rem;min-height:180px;padding:1.15rem;border-radius:18px;border:1px solid #d7dee7;background:#fff;color:#172b46;text-decoration:none;box-shadow:0 8px 24px rgba(23,43,70,.08)}
.slofist-status-card>i{font-size:1.7rem;margin-bottom:.25rem}.slofist-status-card strong{font-size:1.02rem}.slofist-status-card span{font-weight:800}.slofist-status-card small{margin-top:auto;line-height:1.35;color:#5d6876}
.slofist-status-card.is-complete{border-color:#77c99a;background:#eefaf3}.slofist-status-card.needs-attention{border-color:#e2b84f;background:#fff9e8}.slofist-status-card.is-locked{border-color:#c8ced6;background:#f5f7f9}.slofist-status-card.is-pending{border-color:#9eb7d3;background:#f3f8fc}
.slofist-readiness-card{display:block;margin:0 0 1rem;padding:.72rem .9rem .78rem;border:1px solid #cfd9e4;border-radius:14px;background:#f7fafc;color:#172b46;box-shadow:0 4px 14px rgba(23,43,70,.06)}
.slofist-readiness-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;font-weight:900;font-size:.92rem}.slofist-readiness-head span{font-size:.82rem;color:#315a7d}
.slofist-readiness-card small{display:block;margin-top:.4rem;color:#657386;font-size:.76rem}.slofist-readiness-progress{height:10px;margin-top:.5rem;overflow:hidden;border:1px solid #d7e0e9;border-radius:99px;background:repeating-linear-gradient(135deg,#edf2f7 0,#edf2f7 7px,#f8fafc 7px,#f8fafc 14px)}.slofist-readiness-progress i{display:block;height:100%;border-radius:inherit;background:repeating-linear-gradient(135deg,#5bbf77 0,#5bbf77 7px,#79cf91 7px,#79cf91 14px);box-shadow:inset 0 0 0 1px rgba(27,94,49,.12)}
.slofist-readiness-list{display:flex;flex-wrap:wrap;gap:.35rem .85rem;margin-top:.55rem;font-size:.8rem;font-weight:800}.slofist-readiness-list span,.slofist-readiness-list a{display:inline-flex;align-items:center;gap:.35rem;text-decoration:none}.slofist-readiness-list .is-complete{color:#238636}.slofist-readiness-list .needs-action{color:#a66b00}.slofist-readiness-list .needs-action:hover{text-decoration:underline}.slofist-readiness-list i{font-size:.95rem}
.slofist-cancellation-notice{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1rem 0;padding:1rem 1.15rem;border-left:6px solid #b4232c;border-radius:14px;background:#fff2f2}.slofist-cancellation-notice>div{display:flex;flex-wrap:wrap;gap:.35rem .65rem}.slofist-cancellation-notice strong{width:100%;color:#8e1720}.slofist-cancellation-notice .btn{min-width:220px}
@media(max-width:1000px){.slofist-completion-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.slofist-completion-row{grid-template-columns:1fr}.slofist-cancellation-notice{align-items:stretch;flex-direction:column}.slofist-cancellation-notice .btn{width:100%}}


/* 5.5.2 standardized student dashboard action cards */
.slofist-dashboard-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 1.25rem}
.slofist-dashboard-action-card{position:relative;display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;gap:2px 12px!important;align-items:center!important;min-height:118px!important;padding:14px 16px!important;border:1px solid #ddd!important;border-left:5px solid #b60000!important;border-radius:0!important;background:#fff!important;color:#172b46!important;box-shadow:0 4px 14px rgba(0,0,0,.06)!important;text-decoration:none!important;overflow:hidden}
.slofist-dashboard-action-card>i{grid-row:1 / span 3!important;align-self:center!important;margin:0!important;color:#b60000!important;font-size:1.65rem!important}
.slofist-dashboard-action-card>strong{font-size:.95rem!important;font-weight:900!important;text-transform:uppercase!important;color:#111!important;line-height:1.1!important}
.slofist-dashboard-action-card>span{font-size:.95rem!important;font-weight:800!important;color:#444!important;line-height:1.25!important}
.slofist-dashboard-action-card>small{grid-column:2!important;margin:0!important;color:#667085!important;line-height:1.25!important}
.slofist-dashboard-action-card::after{content:"";position:absolute;inset:auto 0 0 0;height:4px;background:#b60000;transform:scaleX(.35);transform-origin:left;transition:transform .2s ease}
.slofist-dashboard-action-card:hover::after,.slofist-dashboard-action-card:focus::after{transform:scaleX(1)}
.slofist-dashboard-action-card.is-complete{border-left-color:#238636!important;background:linear-gradient(135deg,#fff 0%,#effaf2 100%)!important}.slofist-dashboard-action-card.is-complete>i{color:#238636!important}.slofist-dashboard-action-card.is-complete::after{background:#238636}
.slofist-dashboard-action-card.needs-attention{border-left-color:#d69e00!important;background:linear-gradient(135deg,#fff 0%,#fff8df 100%)!important}.slofist-dashboard-action-card.needs-attention>i{color:#b77900!important}.slofist-dashboard-action-card.needs-attention::after{background:#d69e00;animation:slofist-pulsebar 1.8s ease-in-out infinite}
.slofist-dashboard-action-card.is-pending{border-left-color:#315a7d!important;background:linear-gradient(135deg,#fff 0%,#eef5fb 100%)!important}.slofist-dashboard-action-card.is-pending>i{color:#315a7d!important}.slofist-dashboard-action-card.is-pending::after{background:#315a7d}
.slofist-dashboard-action-card.is-locked{border-left-color:#8a94a3!important;background:linear-gradient(135deg,#fff 0%,#f3f5f7 100%)!important}.slofist-dashboard-action-card.is-locked>i{color:#667085!important}.slofist-dashboard-action-card.is-locked::after{background:#8a94a3}
@keyframes slofist-pulsebar{0%,100%{opacity:.55}50%{opacity:1}}
@media(max-width:1050px){.slofist-dashboard-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.slofist-dashboard-action-grid{grid-template-columns:1fr}.slofist-dashboard-action-card{min-height:104px!important}}

/* 5.6.0 compact dashboard action cards */
.slofist-dashboard-action-card{grid-template-rows:auto auto auto!important;min-height:104px!important;padding:11px 14px!important;gap:1px 10px!important;border-radius:14px!important}
.slofist-dashboard-action-card>i{grid-row:1 / span 3!important;font-size:1.5rem!important}
.slofist-dashboard-action-card>strong{font-size:.88rem!important}
.slofist-dashboard-action-card>small{grid-column:2!important;grid-row:2!important;font-size:.76rem!important;line-height:1.15!important}
.slofist-dashboard-action-card>span{grid-column:2!important;grid-row:3!important;justify-self:start;margin-top:.35rem;padding:.24rem .55rem;border:1px solid currentColor;border-radius:999px;background:rgba(255,255,255,.72);font-size:.74rem!important;line-height:1!important}
.slofist-dashboard-action-card.needs-attention>span{color:#8b5b00!important;background:#fff4c7;border-color:#d8aa35}
.slofist-dashboard-action-card.is-complete>span{color:#1f6f35!important;background:#e2f6e8;border-color:#77c99a}
.slofist-dashboard-action-card.is-pending>span{color:#315a7d!important;background:#e7f1f8;border-color:#9eb7d3}
.slofist-dashboard-action-card.is-locked>span{color:#667085!important;background:#eef1f4;border-color:#c8ced6}
@media(max-width:620px){.slofist-dashboard-action-card{min-height:96px!important}}


/* 5.6.0 dashboard tile refinements */
.slofist-dashboard-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.slofist-dashboard-action-card{grid-template-rows:auto auto!important;min-height:96px!important;padding:10px 14px!important;border-radius:0!important;background:#fff!important}
.slofist-dashboard-action-card>i{grid-row:1 / span 2!important;font-size:2.05rem!important}
.slofist-dashboard-action-card>strong{grid-column:2!important;grid-row:1!important}
.slofist-dashboard-action-card>span{grid-column:2!important;grid-row:2!important;margin-top:.2rem!important}
.slofist-dashboard-action-card>small{display:none!important}
.slofist-dashboard-action-card.is-complete,.slofist-dashboard-action-card.needs-attention,.slofist-dashboard-action-card.is-pending,.slofist-dashboard-action-card.is-locked{background:#fff!important}
.slofist-exam-certificate-card>i{font-size:2.55rem!important}
.slofist-exam-certificate-card{padding-block:8px!important}
@media(max-width:900px){.slofist-dashboard-action-grid{grid-template-columns:1fr}}

/* 5.6.5 location detail pages */
.slofist-location-page{max-width:1320px;margin:0 auto 3rem;background:#f4f6f9;min-height:70vh}.slofist-location-hero{border-radius:18px;background:linear-gradient(100deg,#081223,#213d63);background-size:cover;background-position:center;overflow:hidden;color:#fff;box-shadow:0 16px 42px rgba(7,20,39,.2)}.slofist-location-back{display:inline-flex;gap:.5rem;align-items:center;color:#fff;text-decoration:none;margin-bottom:1.4rem}.slofist-location-type{display:inline-block;padding:.38rem .75rem;border-radius:999px;background:rgba(255,255,255,.18);font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.slofist-location-hero h1{font-size:clamp(2.1rem,2vw,4.2rem);line-height:1.02;margin:.8rem 0}.slofist-location-hero p{font-size:1.1rem;max-width:780px}.slofist-location-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.5rem}.slofist-location-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:1.25rem;padding:1.5rem 0}.slofist-location-card{background:#fff;border:1px solid #e1e6ee;border-radius:15px;padding:1.35rem;margin-bottom:1.25rem;box-shadow:0 7px 22px rgba(15,35,58,.06)}.slofist-location-card h2{font-size:1.15rem;margin:0 0 1rem;color:#132b49}.slofist-location-description{line-height:1.7}.slofist-location-map-card iframe{width:100%;height:460px;border:0;border-radius:10px}.slofist-location-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.slofist-location-gallery img{width:100%;height:230px;object-fit:cover;border-radius:10px}.slofist-location-emergency{border-left:5px solid #b3232f}.slofist-location-files{list-style:none;padding:0;margin:0}.slofist-location-files li+li{margin-top:.55rem}.slofist-location-qr{max-width:190px;width:100%;height:auto}.slofist-tile[target="_blank"]:after{content:"\f35d";font-family:"Font Awesome 6 Free";font-weight:900;position:absolute;right:.85rem;top:.75rem;font-size:.75rem;opacity:.55}@media(max-width:900px){.slofist-location-layout{grid-template-columns:1fr}.slofist-location-map-card iframe{height:360px}}@media(max-width:600px){.slofist-location-gallery{grid-template-columns:1fr}.slofist-location-hero{border-radius:0}.slofist-location-page{margin-left:-1rem;margin-right:-1rem}.slofist-location-layout{padding:1rem}.slofist-location-actions .btn{width:100%}}

/* Classroom Manager shared status system (5.11.1) */
.cm-status{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;border-radius:999px;padding:.38rem .7rem;font-size:.78rem;font-weight:800;line-height:1.15;white-space:nowrap;border:1px solid transparent}
.cm-status-pending{background:#fff0c2;color:#775600;border-color:#e2bd48}
.cm-status-approved,.cm-status-complete,.cm-status-signed{background:#dff5e6;color:#146c36;border-color:#83c99c}
.cm-status-warning{background:#ffe8c7;color:#7a4300;border-color:#e9b36b}
.cm-status-required,.cm-status-missing,.cm-status-failed{background:#fde2e1;color:#9b251f;border-color:#e4aaa6}
.cm-status-info{background:#e3f0fb;color:#19537f;border-color:#9fc6e5}
.cm-status-disabled,.cm-status-archived{background:#eceff2;color:#52606d;border-color:#c9d0d7}
@media (prefers-color-scheme:dark){.cm-status-pending{background:#4b3d13;color:#ffe59a}.cm-status-approved,.cm-status-complete,.cm-status-signed{background:#173d29;color:#a9e8bd}.cm-status-warning{background:#4b2f10;color:#ffd197}.cm-status-required,.cm-status-missing,.cm-status-failed{background:#4a2020;color:#ffc1bd}.cm-status-info{background:#18374f;color:#b8dcf6}.cm-status-disabled,.cm-status-archived{background:#333b43;color:#d6dce1}}

/* =========================================================
   Scholarship application — 5.16.2
   ========================================================= */
body.com_slofist.view-scholarship{background:#f6f7f9}
body.com_slofist.view-scholarship .scholarship-shell{--sch-navy:#102b45;--sch-navy-dark:#061b2f;--sch-red:#a5101d;--sch-red-dark:#7f0c16;--sch-gold:#f2bd2e;--sch-text:#142b42;--sch-muted:#637083;--sch-border:#dde3e9;width:min(1220px,calc(100% - 2rem));max-width:1220px;margin:0 auto 4rem;padding-top:2.75rem}
.scholarship-page-heading{margin:0 0 1.75rem}.scholarship-page-heading h1{margin:0 0 .65rem;color:var(--sch-text);font-family:Inter,Arial,sans-serif;font-size:clamp(2.5rem,5vw,4rem);font-weight:800;line-height:1.05;letter-spacing:-.045em}.scholarship-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem;font-size:.95rem;font-weight:600}.scholarship-breadcrumb a{display:inline-flex;align-items:center;gap:.4rem;color:var(--sch-text);text-decoration:none}.scholarship-breadcrumb a:hover{color:var(--sch-red)}.scholarship-breadcrumb__separator{color:#929da8}.scholarship-breadcrumb [aria-current=page]{color:var(--sch-red)}.scholarship-introduction{width:100%}
.stoke-memorial-hero{display:grid;grid-template-columns:minmax(360px,44%) minmax(0,56%);width:100%;min-height:370px;margin:0 0 1.75rem;overflow:hidden;border:1px solid rgba(6,27,47,.16);border-radius:18px;background:var(--sch-navy-dark);box-shadow:0 16px 42px rgba(15,35,55,.14)}.stoke-memorial-hero__image{position:relative;min-width:0;overflow:hidden;background:#111}.stoke-memorial-hero__image:after{content:"";position:absolute;z-index:2;top:-8%;right:-22px;width:44px;height:116%;background:var(--sch-red);transform:rotate(-5deg)}.stoke-memorial-hero__image img{width:100%;height:100%;min-height:370px;display:block;object-fit:cover;object-position:center}.stoke-memorial-hero__content{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:clamp(2.25rem,5vw,4.25rem);color:#fff;background:radial-gradient(circle at 95% 5%,rgba(165,16,29,.2),transparent 45%),linear-gradient(135deg,var(--sch-navy) 0%,var(--sch-navy-dark) 100%)}.stoke-memorial-hero__eyebrow{margin:0 0 .85rem;color:var(--sch-gold);font-size:.95rem;font-weight:800;letter-spacing:.115em;text-transform:uppercase}.stoke-memorial-hero__content h2{max-width:650px;margin:0;color:#fff;font-family:Inter,Arial,sans-serif;font-size:clamp(2.5rem,4.3vw,4rem);font-weight:800;line-height:1.06;letter-spacing:-.025em;text-transform:uppercase;word-break:normal;overflow-wrap:normal}.stoke-memorial-hero__line{display:block;width:58px;height:4px;margin:1.4rem 0;border-radius:999px;background:var(--sch-red)}.stoke-memorial-hero__lead{max-width:610px;margin:0;color:rgba(255,255,255,.94);font-size:1.12rem;line-height:1.65}
.stoke-memorial-tribute{display:grid;grid-template-columns:230px minmax(0,1fr);width:100%;margin:0 0 1.75rem;overflow:hidden;border:1px solid var(--sch-border);border-radius:18px;background:#fff;box-shadow:0 9px 28px rgba(15,35,55,.07)}.stoke-memorial-tribute__heading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem 1.5rem;text-align:center;border-right:1px solid var(--sch-border);background:linear-gradient(135deg,rgba(165,16,29,.045),rgba(16,43,69,.025))}.stoke-memorial-tribute__icon{display:grid;place-items:center;width:78px;height:78px;margin-bottom:1rem;border:3px solid var(--sch-red);border-radius:50%;color:var(--sch-red);font-size:2rem}.stoke-memorial-tribute__heading p{margin:0;color:var(--sch-red);font-size:.88rem;font-weight:750;line-height:1.5;letter-spacing:.045em;text-transform:uppercase}.stoke-memorial-tribute__heading strong{display:block;margin-top:.2rem;font-size:1.05rem}.stoke-memorial-tribute__text{padding:clamp(1.6rem,3vw,2.5rem);color:var(--sch-text);font-size:1rem;line-height:1.65}.stoke-memorial-tribute__text p{margin:0 0 1rem}.stoke-memorial-tribute__text p:last-child{margin-bottom:0}
.stoke-applicant-heading{display:flex;align-items:center;gap:1rem;margin:0;padding:1.35rem 1.5rem;border:1px solid var(--sch-border);border-radius:16px;background:linear-gradient(135deg,#fff,#f4f6f8)}.stoke-applicant-heading__icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:50%;background:var(--sch-red);color:#fff;font-size:1.25rem}.stoke-applicant-heading h2{margin:0 0 .15rem;color:var(--sch-text);font-size:1.45rem;font-weight:800}.stoke-applicant-heading p{margin:0;color:var(--sch-muted);font-size:.95rem}
.scholarship-application-layout{display:grid;grid-template-columns:minmax(230px,280px) minmax(0,760px);justify-content:center;align-items:start;gap:1.75rem;width:100%;margin-top:1.75rem}.scholarship-sidebar{display:grid;gap:1.25rem;position:sticky;top:105px}.scholarship-application-main{min-width:0;width:100%}.scholarship-sidebar-card{overflow:hidden;border:1px solid var(--sch-border);border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(15,35,55,.07)}.scholarship-sidebar-card__heading{display:flex;align-items:center;gap:.8rem;padding:1rem 1.1rem;border-bottom:1px solid var(--sch-border);background:linear-gradient(135deg,#fff,#f4f6f8)}.scholarship-sidebar-card__heading>i{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:var(--sch-red);color:#fff;font-size:1rem}.scholarship-sidebar-card__heading h2{margin:0 0 .1rem;color:var(--sch-text);font-size:1rem;font-weight:800}.scholarship-sidebar-card__heading p{margin:0;color:var(--sch-muted);font-size:.78rem;line-height:1.35}.scholarship-dates{margin:0;padding:.25rem 1.1rem}.scholarship-dates>div{padding:.9rem 0;border-bottom:1px solid #e8ebee}.scholarship-dates>div:last-child{border-bottom:0}.scholarship-dates dt{margin:0 0 .2rem;color:var(--sch-muted);font-size:.75rem;font-weight:700;letter-spacing:.035em;text-transform:uppercase}.scholarship-dates dd{margin:0;color:var(--sch-text);font-size:.95rem;font-weight:750}.scholarship-award-list{max-height:350px;overflow-y:auto;padding:.25rem 1.1rem}.scholarship-award-item{display:grid;gap:.2rem;padding:.85rem 0;border-bottom:1px solid #e8ebee}.scholarship-award-item:last-child{border-bottom:0}.scholarship-award-item strong{color:var(--sch-text);font-size:.9rem;line-height:1.35}.scholarship-award-item span{color:var(--sch-muted);font-size:.78rem}.scholarship-sidebar-empty{margin:0;padding:1.1rem;color:var(--sch-muted);font-size:.87rem;line-height:1.55}
body.com_slofist.view-scholarship .scholarship-card{width:100%;margin:0 0 1.25rem;padding:clamp(1.4rem,3vw,2rem);border:1px solid var(--sch-border);border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(15,35,55,.07)}body.com_slofist.view-scholarship .scholarship-field{margin-bottom:1.1rem}body.com_slofist.view-scholarship .scholarship-field .form-label{margin-bottom:.45rem;color:var(--sch-text);font-weight:700;line-height:1.45}body.com_slofist.view-scholarship .scholarship-field .required{color:var(--sch-red)}body.com_slofist.view-scholarship .form-control,body.com_slofist.view-scholarship .form-select{min-height:48px;border:1px solid #c8d0d9;border-radius:9px;background:#fff;color:var(--sch-text);box-shadow:none}body.com_slofist.view-scholarship .form-control:focus,body.com_slofist.view-scholarship .form-select:focus{border-color:var(--sch-red);box-shadow:0 0 0 .2rem rgba(165,16,29,.12)}body.com_slofist.view-scholarship textarea.form-control.scholarship-long-response{width:100%;min-height:240px;height:auto;padding:1rem 1.05rem;line-height:1.6;resize:vertical}body.com_slofist.view-scholarship .scholarship-field--textarea{width:100%;flex:0 0 100%;max-width:100%}body.com_slofist.view-scholarship .scholarship-field--textarea>.form-label{display:block;margin-bottom:.65rem;font-size:1rem;line-height:1.5}body.com_slofist.view-scholarship .scholarship-upload{padding:1.2rem;border:2px dashed #bcc5ce;border-radius:12px;background:#f8fafc}body.com_slofist.view-scholarship .scholarship-section-label{margin:.5rem 0 1.25rem;padding:1.1rem 1.2rem;border-left:5px solid var(--sch-red);border-radius:10px;background:#f8f2f3;color:var(--sch-text);line-height:1.6}body.com_slofist.view-scholarship .scholarship-file{display:inline-flex;align-items:center;gap:.4rem;margin:.3rem .35rem .1rem 0}body.com_slofist.view-scholarship .scholarship-actions{display:flex;justify-content:flex-end;margin-top:.75rem;padding-top:1.3rem;border-top:1px solid #e4e8ec}body.com_slofist.view-scholarship .scholarship-actions .btn-primary{min-height:48px;padding:.75rem 1.6rem;border-color:var(--sch-red);border-radius:9px;background:var(--sch-red);color:#fff;font-weight:700}body.com_slofist.view-scholarship .scholarship-actions .btn-primary:hover{border-color:var(--sch-red-dark);background:var(--sch-red-dark)}
@media(max-width:991.98px){body.com_slofist.view-scholarship .scholarship-shell{padding-top:2rem}.stoke-memorial-hero{grid-template-columns:42% 58%;min-height:340px}.stoke-memorial-hero__image img{min-height:340px}.stoke-memorial-hero__content{padding:2.25rem}.stoke-memorial-hero__content h2{font-size:clamp(2rem,5vw,3.15rem)}.scholarship-application-layout{grid-template-columns:230px minmax(0,1fr);gap:1.25rem}.scholarship-sidebar{top:90px}}
@media(max-width:767.98px){body.com_slofist.view-scholarship .scholarship-shell{width:min(calc(100% - 1.25rem),1220px);padding-top:1.5rem}.scholarship-page-heading h1{font-size:2.35rem}.stoke-memorial-hero{grid-template-columns:1fr;min-height:0;border-radius:16px}.stoke-memorial-hero__image,.stoke-memorial-hero__image img{height:300px;min-height:300px}.stoke-memorial-hero__image img{object-fit:contain}.stoke-memorial-hero__image:after{top:auto;right:-5%;bottom:-15px;width:110%;height:28px;transform:rotate(-2deg)}.stoke-memorial-hero__content{padding:2rem 1.5rem}.stoke-memorial-hero__content h2{font-size:clamp(2rem,9vw,2.8rem)}.stoke-memorial-tribute{grid-template-columns:1fr}.stoke-memorial-tribute__heading{border-right:0;border-bottom:1px solid var(--sch-border)}.stoke-applicant-heading{align-items:flex-start}.scholarship-application-layout{grid-template-columns:1fr}.scholarship-sidebar{position:static;grid-template-columns:1fr 1fr;order:1}.scholarship-application-main{order:2}body.com_slofist.view-scholarship textarea.form-control.scholarship-long-response{min-height:210px}}
@media(max-width:575.98px){.scholarship-sidebar{grid-template-columns:1fr}body.com_slofist.view-scholarship textarea.form-control.scholarship-long-response{min-height:190px}body.com_slofist.view-scholarship .scholarship-actions .btn{width:100%}}

/* Classroom Manager 5.16.3: branded icon set and higher-contrast forms */
.stoke-memorial-tribute__icon{background:#fff url("../images/icons/heart-flame.svg") center/50px 50px no-repeat;color:transparent}
.stoke-memorial-tribute__icon>svg,.stoke-memorial-tribute__icon>i{display:none!important}
.slofist-brand-icon{display:inline-block;width:1.5em;height:1.5em;background-position:center;background-repeat:no-repeat;background-size:contain;vertical-align:-.3em}
.slofist-brand-icon--heart-flame{background-image:url("../images/icons/heart-flame.svg")}
.slofist-brand-icon--skull-flame{background-image:url("../images/icons/skull-flame.svg")}
.slofist-brand-icon--shield-flame{background-image:url("../images/icons/shield-flame.svg")}
.slofist-brand-icon--badge-flame{background-image:url("../images/icons/badge-flame.svg")}
.slofist-brand-icon--certificate-seal{background-image:url("../images/icons/certificate-seal.svg")}
.slofist-brand-icon--team-badge{background-image:url("../images/icons/team-badge.svg")}
.slofist-brand-icon--dashboard-tile{background-image:url("../images/icons/dashboard-tile.svg")}
body.com_slofist.view-scholarship .scholarship-card{background:#eee;border-color:#cfd4d9;box-shadow:0 10px 28px rgba(15,35,55,.11)}
body.com_slofist.view-scholarship .scholarship-card form{background:transparent}
body.com_slofist.view-scholarship .scholarship-card .form-control,
body.com_slofist.view-scholarship .scholarship-card .form-select{background:#fff;border-color:#aeb7c0}
body.com_slofist.view-scholarship .scholarship-card .form-control:hover,
body.com_slofist.view-scholarship .scholarship-card .form-select:hover{border-color:#89949f}
body.com_slofist.view-scholarship .scholarship-card .form-text{color:#56616d}
body.com_slofist.view-scholarship .scholarship-card .scholarship-upload{background:#f7f7f7;border-color:#9fa9b3}
body.com_slofist.view-scholarship .scholarship-history .list-group-item{background:transparent;border-color:#cfd4d9}

/* =========================================================
   5.17.2 FRONTEND REFINEMENT SYSTEM
   Emergency, contacts, day, suggestions, welcome, resources, help
   ========================================================= */
:root{
  --slofist-page-max:1180px;
  --slofist-navy-950:#07172d;
  --slofist-navy-800:#102846;
  --slofist-navy-700:#1d3b63;
  --slofist-red:#b60000;
  --slofist-surface:#eee;
  --slofist-surface-soft:#f7f8fa;
  --slofist-border:#d0d4d9;
  --slofist-shadow:0 10px 28px rgba(0,20,48,.10);
  --slofist-radius:16px;
}
body.com_slofist:not(.view-dashboard) .slofist-public{
  max-width:var(--slofist-page-max);
  margin-inline:auto;
  padding:24px 24px 52px;
}
body.com_slofist:not(.view-dashboard) .slofist-section-head,
body.com_slofist:not(.view-dashboard) .slofist-unified-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  margin:0 0 26px;
  padding:26px 30px;
  border:0;
  border-radius:var(--slofist-radius);
  background:linear-gradient(105deg,var(--slofist-navy-950),var(--slofist-navy-800) 52%,var(--slofist-navy-700));
  color:#fff;
  box-shadow:var(--slofist-shadow);
}
body.com_slofist:not(.view-dashboard) .slofist-section-head h1,
body.com_slofist:not(.view-dashboard) .slofist-unified-header h1{
  margin:2px 0 7px;
  color:#fff;
  font-size:clamp(2rem,4vw,3rem);
  line-height:1.05;
  font-weight:850;
  letter-spacing:-.025em;
  text-transform:none;
}
body.com_slofist:not(.view-dashboard) .slofist-section-head p,
body.com_slofist:not(.view-dashboard) .slofist-unified-header p{margin:0;color:rgba(255,255,255,.82);font-size:1rem;line-height:1.5}
body.com_slofist:not(.view-dashboard) .slofist-kicker{margin:0 0 5px;color:#ffca3a;font-weight:900;letter-spacing:.11em;text-transform:uppercase;font-size:.78rem}
body.com_slofist:not(.view-dashboard) .slofist-link-back{
  display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;margin-top:2px;padding:9px 14px;border:1px solid rgba(255,255,255,.45);border-radius:999px;color:#fff!important;text-decoration:none;font-weight:800;font-size:.88rem
}
body.com_slofist:not(.view-dashboard) .slofist-link-back:hover{background:#fff;color:var(--slofist-navy-950)!important}
body.com_slofist:not(.view-dashboard) .slofist-card{
  background:var(--slofist-surface);border:1px solid var(--slofist-border);border-radius:14px;box-shadow:0 5px 18px rgba(0,20,48,.07);padding:24px;margin-bottom:24px
}
body.com_slofist:not(.view-dashboard) .slofist-card h2{margin:0 0 16px;color:#102846;font-size:1.45rem;font-weight:850}
body.com_slofist:not(.view-dashboard) .slofist-form-card .form-label{font-weight:800;color:#253448;margin-bottom:7px}
body.com_slofist:not(.view-dashboard) .slofist-form-card .form-control,
body.com_slofist:not(.view-dashboard) .slofist-form-card .form-select{
  min-height:46px;background:#fff;border:1px solid #aeb6c0;border-radius:7px;padding:10px 12px
}
body.com_slofist:not(.view-dashboard) .slofist-form-card textarea.form-control{min-height:145px;resize:vertical}
body.com_slofist:not(.view-dashboard) .slofist-form-card .form-control:focus,
body.com_slofist:not(.view-dashboard) .slofist-form-card .form-select:focus{border-color:var(--slofist-red);box-shadow:0 0 0 3px rgba(182,0,0,.13)}
.slofist-form-actions{padding-top:4px}

/* Emergency information */
.slofist-emergency-page .slofist-info-callout{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:start;background:#eef5fb;border-left:5px solid #1967a3}
.slofist-info-callout__icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#1967a3;color:#fff;font-size:1.2rem}
.slofist-info-callout p{margin:5px 0 0;color:#3f5164;line-height:1.55}
.slofist-emergency-page .btn-success{background:#157347;border-color:#157347;font-weight:850}

/* Contacts */
body.com_slofist.view-contacts .slofist-contacts-page{max-width:var(--slofist-page-max);padding:24px 24px 52px}
body.com_slofist.view-contacts .slofist-contact-search{padding:16px;background:var(--slofist-surface);border:1px solid var(--slofist-border);border-radius:12px;box-shadow:0 4px 14px rgba(0,20,48,.05)}
body.com_slofist.view-contacts .slofist-contact-search input{max-width:none;border-radius:7px;background:#fff}
body.com_slofist.view-contacts .slofist-category-filter{padding:4px 0 8px}
body.com_slofist.view-contacts .slofist-category-filter button{border-radius:999px;text-transform:none;letter-spacing:0;padding:8px 14px}
body.com_slofist.view-contacts .slofist-contact-section{padding:22px;background:#f7f8fa;border:1px solid #dde1e5;border-radius:14px}
body.com_slofist.view-contacts .slofist-contact-section h2{border-left:0;padding:0 0 10px;border-bottom:3px solid var(--slofist-red);font-size:1.35rem;text-transform:none}
body.com_slofist.view-contacts .slofist-contact-card{background:#fff;border:1px solid #d7dce1;border-top:4px solid var(--slofist-red);border-radius:12px;overflow:hidden;padding:16px;box-shadow:0 5px 16px rgba(0,20,48,.07)}
body.com_slofist.view-contacts .slofist-contact-card.staff{border-top-color:#1d3b63}
body.com_slofist.view-contacts .slofist-contact-card>img{border-radius:8px;margin-bottom:14px}

/* Day page */
body.com_slofist.view-day .slofist-day-page{max-width:var(--slofist-page-max);padding:24px 24px 52px}
body.com_slofist.view-day .slofist-page-header{height:auto!important;min-height:0!important;max-height:none!important;margin:0 0 20px;padding:26px 30px;border-radius:var(--slofist-radius);box-shadow:var(--slofist-shadow)}
body.com_slofist.view-day .slofist-portal-logo{width:clamp(70px,8vw,102px)}
body.com_slofist.view-day .slofist-page-header h1{font-size:clamp(2rem,4vw,3rem)!important;line-height:1.05!important;text-transform:none!important}
body.com_slofist.view-day .slofist-day-nav{margin-bottom:22px;border-radius:10px;overflow:hidden;box-shadow:0 3px 12px rgba(0,20,48,.06)}
body.com_slofist.view-day .slofist-side-card,
body.com_slofist.view-day .slofist-overview-card,
body.com_slofist.view-day .slofist-block-card{border-radius:12px}
body.com_slofist.view-day .slofist-block-card{box-shadow:0 5px 16px rgba(0,20,48,.06)}

/* Suggestions */
body.com_slofist.view-suggestions .slofist-engagement-page{max-width:var(--slofist-page-max)}
.slofist-deadline-pill{display:inline-flex;margin-top:14px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.14);color:#fff;font-size:.86rem}
body.com_slofist.view-suggestions .table-responsive{border:1px solid #cfd5db;border-radius:10px;overflow:hidden;background:#fff}
body.com_slofist.view-suggestions table{margin:0}
body.com_slofist.view-suggestions thead th{background:#102846;color:#fff;border-color:#102846}

/* Welcome letter and help */
body.com_slofist.view-welcomeletter .slofist-card,
body.com_slofist.view-help .slofist-card{max-width:920px;margin-inline:auto;font-size:1.04rem;line-height:1.7}
body.com_slofist.view-welcomeletter .slofist-rich-content,
body.com_slofist.view-help .slofist-rich-content{background:#fff}
body.com_slofist.view-help .slofist-card{border-left:5px solid #1967a3}

/* Student resources */
body.com_slofist.view-criticalresources .slofist-critical-page{max-width:var(--slofist-page-max);padding:24px 24px 52px}
body.com_slofist.view-criticalresources .slofist-student-resource-section{margin:0 0 28px;padding:22px;background:#f7f8fa;border:1px solid #dde1e5;border-radius:14px}
body.com_slofist.view-criticalresources .slofist-student-resource-section>h2{margin:0 0 16px;color:#102846;font-size:1.4rem;font-weight:850}
body.com_slofist.view-criticalresources .slofist-resource-link{border-radius:9px;background:#fff;transition:transform .15s ease,box-shadow .15s ease}
body.com_slofist.view-criticalresources .slofist-resource-link:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(0,20,48,.08)}
body.com_slofist.view-criticalresources .slofist-critical-card{border-radius:12px;background:#fff;transition:transform .15s ease,box-shadow .15s ease}

@media(max-width:767px){
  body.com_slofist:not(.view-dashboard) .slofist-public,
  body.com_slofist.view-contacts .slofist-contacts-page,
  body.com_slofist.view-day .slofist-day-page,
  body.com_slofist.view-criticalresources .slofist-critical-page{padding:16px 12px 40px}
  body.com_slofist:not(.view-dashboard) .slofist-section-head,
  body.com_slofist:not(.view-dashboard) .slofist-unified-header{flex-direction:column;padding:22px 20px;border-radius:13px}
  body.com_slofist:not(.view-dashboard) .slofist-link-back{align-self:flex-start}
  body.com_slofist:not(.view-dashboard) .slofist-card{padding:19px}
  .slofist-emergency-page .slofist-info-callout{grid-template-columns:1fr}.slofist-info-callout__icon{width:40px;height:40px}
  body.com_slofist.view-day .slofist-page-header{padding:22px 20px}
  body.com_slofist.view-contacts .slofist-contact-section{padding:16px}
}


/* 5.17.5 FAQ and Help */
.slofist-help-layout{display:grid;grid-template-columns:minmax(230px,290px) minmax(0,1fr);gap:1.5rem;align-items:start}.slofist-help-sidebar{position:sticky;top:1rem}.slofist-faq-access-tile{display:flex;flex-direction:column;gap:.65rem;padding:1.35rem;border-radius:14px;background:linear-gradient(145deg,#142f4c,#0b1e31);color:#fff!important;text-decoration:none;box-shadow:0 12px 28px rgba(10,31,50,.18);border-left:5px solid #d9a928}.slofist-faq-access-tile:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(10,31,50,.24)}.slofist-faq-access-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#d9a928;color:#142f4c;font-size:1.5rem;font-weight:800}.slofist-faq-access-tile strong{font-size:1.2rem}.slofist-faq-access-tile small{color:rgba(255,255,255,.8);line-height:1.45}.slofist-faq-access-action{font-weight:700}.slofist-faq-tools{background:#fff;border:1px solid #d8dee5;border-radius:12px;padding:1rem;margin:1.25rem 0}.slofist-faq-tools input{font-size:1rem;padding:.8rem 1rem}.slofist-faq-filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.85rem}.slofist-faq-filters button{border:1px solid #cbd4de;background:#f4f6f8;border-radius:999px;padding:.45rem .8rem;color:#243746}.slofist-faq-filters button.is-active{background:#183650;color:#fff;border-color:#183650}.slofist-faq-category{margin:1.5rem 0}.slofist-faq-category h2{font-size:1.15rem;color:#183650;margin-bottom:.65rem}.slofist-faq-item{background:#fff;border:1px solid #d2d9e0;border-left:5px solid #183650;border-radius:8px;margin-bottom:.65rem;overflow:hidden}.slofist-faq-item summary{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:1rem 1.1rem;font-weight:700;cursor:pointer;list-style:none}.slofist-faq-item summary::-webkit-details-marker{display:none}.slofist-faq-item[open] summary{background:#183650;color:#fff;border-left-color:#c83d35}.slofist-faq-item summary span{font-size:1.35rem}.slofist-faq-item[open] summary span{transform:rotate(45deg)}.slofist-faq-answer{padding:1rem 1.1rem;border-top:1px solid #d2d9e0;line-height:1.65}.slofist-faq-answer>:last-child{margin-bottom:0}@media(max-width:760px){.slofist-help-layout{grid-template-columns:1fr}.slofist-help-sidebar{position:static}.slofist-faq-access-tile{display:grid;grid-template-columns:auto 1fr;align-items:center}.slofist-faq-access-tile small,.slofist-faq-access-action{grid-column:2}}

/* 5.17.6 public FAQ */
.slofist-faq-page{max-width:1320px;margin:0 auto;padding:0 1rem 2rem}.slofist-faq-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:1.5rem;align-items:start;margin-top:1.25rem}.slofist-faq-sidebar{position:sticky;top:1rem}.slofist-faq-side-card{background:linear-gradient(145deg,#173a58,#0d253a);color:#fff;border-radius:14px;padding:1.3rem;box-shadow:0 12px 28px rgba(12,38,59,.16);border-top:4px solid #d7a82b}.slofist-faq-side-card h2{color:#fff;font-size:1.25rem;margin:.7rem 0}.slofist-faq-side-card p{color:rgba(255,255,255,.82);line-height:1.5}.slofist-faq-side-card a{display:block;color:#fff!important;text-decoration:none;padding:.62rem 0;border-top:1px solid rgba(255,255,255,.14);font-weight:650}.slofist-faq-side-card a:after{content:'›';float:right}.slofist-faq-side-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#d7a82b;color:#173a58;font-size:1.5rem;font-weight:800}.slofist-faq-main{min-width:0}.slofist-faq-tools{margin:0 0 1.25rem;border-radius:14px;padding:1.15rem;border:1px solid #d7dee5;box-shadow:0 4px 14px rgba(22,46,67,.06)}.slofist-faq-tools>label{display:block;font-weight:750;color:#173a58;margin-bottom:.55rem}.slofist-faq-search-wrap{position:relative}.slofist-faq-search-wrap>span{position:absolute;left:1rem;top:50%;transform:translateY(-50%);font-size:1.35rem;color:#607382}.slofist-faq-search-wrap input{padding-left:2.8rem!important;border-radius:9px}.slofist-faq-category{margin:0 0 1.5rem}.slofist-faq-category h2{display:flex;align-items:center;gap:.5rem;font-size:1.2rem;color:#173a58;padding-bottom:.5rem;border-bottom:2px solid #d9e0e6}.slofist-faq-category h2 span{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 .4rem;border-radius:999px;background:#e8eef3;font-size:.75rem}.slofist-faq-item{border:1px solid #d3dbe2;border-left:5px solid #244f70;border-radius:10px;box-shadow:0 2px 8px rgba(18,43,64,.04);transition:.18s}.slofist-faq-item:hover{border-color:#9cadba;box-shadow:0 5px 14px rgba(18,43,64,.08)}.slofist-faq-item summary{display:grid;grid-template-columns:34px minmax(0,1fr) auto;padding:.9rem 1rem;gap:.75rem}.slofist-faq-item[open] summary{background:linear-gradient(135deg,#173a58,#102c44)}.slofist-faq-question-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e8eef3;color:#173a58}.slofist-faq-item[open] .slofist-faq-question-icon{background:#d7a82b}.slofist-faq-question-text{align-self:center}.slofist-faq-toggle{align-self:center}.slofist-faq-answer{background:#fff;padding:1.15rem 1.3rem 1.2rem 4.15rem}.slofist-faq-empty{background:#fff;border:1px dashed #aebbc6;border-radius:12px;padding:2rem;text-align:center}.slofist-faq-empty strong,.slofist-faq-empty span{display:block}.slofist-faq-empty span{color:#687987;margin-top:.35rem}@media(max-width:850px){.slofist-faq-layout{grid-template-columns:1fr}.slofist-faq-sidebar{position:static}.slofist-faq-side-card{display:grid;grid-template-columns:auto 1fr;gap:.3rem 1rem}.slofist-faq-side-card h2{margin:0}.slofist-faq-side-card p,.slofist-faq-side-card a{grid-column:1/-1}}@media(max-width:600px){.slofist-faq-page{padding-inline:.5rem}.slofist-faq-answer{padding:1rem}.slofist-faq-item summary{grid-template-columns:30px minmax(0,1fr) auto}}


/* FAQ 5.17.7 frontend refinements */
.slofist-faq-page .slofist-page-hero{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin:0 0 1.35rem;padding:1.35rem 1.6rem;background:linear-gradient(135deg,#173a58 0%,#0d253a 100%);border-radius:14px;border-left:6px solid #d7a82b;box-shadow:0 10px 24px rgba(12,38,59,.15);color:#fff}
.slofist-faq-page .slofist-page-hero h1{margin:.15rem 0 .35rem;color:#fff;font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.1}
.slofist-faq-page .slofist-page-hero p{margin:0;color:rgba(255,255,255,.85);max-width:780px}
.slofist-faq-page .slofist-page-eyebrow{display:block;color:#f1cc64;font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.slofist-faq-page .slofist-page-course-label{display:inline-flex;margin-top:.75rem;padding:.3rem .65rem;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(255,255,255,.08);font-size:.82rem;font-weight:700}
.slofist-faq-page .slofist-page-hero__actions{flex:0 0 auto}
.slofist-faq-item summary span{transform:none!important}
.slofist-faq-item .slofist-faq-toggle{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-size:1.7rem;line-height:1;transition:transform .18s ease,background .18s ease}
.slofist-faq-item[open] .slofist-faq-toggle{transform:rotate(90deg)!important;background:rgba(255,255,255,.12)}
.slofist-faq-item[open] .slofist-faq-question-text,.slofist-faq-item[open] .slofist-faq-question-icon{transform:none!important}
@media(max-width:700px){.slofist-faq-page .slofist-page-hero{align-items:flex-start;flex-direction:column;padding:1.15rem}.slofist-faq-page .slofist-page-hero__actions{width:100%}.slofist-faq-page .slofist-page-hero__actions .btn{width:100%}}
