
:root {
  --btu-shell-width: 272px;
  --btu-shell-mobile-height: 66px;
  --btu-shell-bg: #0d0816;
  --btu-shell-bg-deep: #08040d;
  --btu-shell-panel: #171023;
  --btu-shell-line: rgba(171, 132, 230, 0.2);
  --btu-shell-text: #f8f4ff;
  --btu-shell-muted: #a99ebb;
  --btu-shell-purple: #b89aff;
  --btu-shell-gold: #dfb85b;
}

.btu-app-shell {
  position: relative;
  z-index: 99990;
}

.btu-shell-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 99995;
  width: var(--btu-shell-width);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% 0, rgba(111, 63, 160, 0.18), transparent 30%),
    linear-gradient(180deg, var(--btu-shell-bg), var(--btu-shell-bg-deep));
  border-right: 1px solid var(--btu-shell-line);
  box-shadow: 18px 0 55px rgba(0, 0, 0, 0.22);
  color: var(--btu-shell-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.btu-shell-brand-block {
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 20px 19px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--btu-shell-line);
}

.btu-shell-brand,
.btu-shell-mobile-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--btu-shell-text);
  text-decoration: none;
}

.btu-shell-brand {
  min-width: 0;
}

.btu-shell-brand strong,
.btu-shell-mobile-brand span:last-child {
  display: block;
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: 0.025em;
}

.btu-shell-brand small {
  display: block;
  margin-top: 4px;
  color: var(--btu-shell-muted);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.btu-shell-tree {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(223, 184, 91, 0.42);
  border-radius: 50%;
  color: var(--btu-shell-gold);
  background: rgba(223, 184, 91, 0.07);
  font-size: 25px;
  transform: rotate(180deg);
}

.btu-shell-nav {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
  scrollbar-width: thin;
}

.btu-shell-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  box-sizing: border-box;
  margin: 3px 0;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #cec5dd;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  transition: 160ms ease;
}

.btu-shell-nav-link:hover {
  color: #fff;
  border-color: rgba(184, 154, 255, 0.22);
  background: rgba(184, 154, 255, 0.08);
}

.btu-shell-nav-link.is-active {
  color: #fff;
  border-color: rgba(184, 154, 255, 0.31);
  background: linear-gradient(135deg, rgba(113, 64, 212, 0.31), rgba(165, 110, 255, 0.12));
  box-shadow: inset 3px 0 0 var(--btu-shell-purple);
}

.btu-shell-nav-icon {
  width: 23px;
  flex: 0 0 23px;
  display: inline-grid;
  place-items: center;
  color: var(--btu-shell-purple);
  font-size: 16px;
}

.btu-shell-member {
  padding: 14px;
  border-top: 1px solid var(--btu-shell-line);
  background: rgba(255, 255, 255, 0.018);
}

.btu-shell-member-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.btu-shell-avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #7040d4, #a56eff);
  font-weight: 800;
}

.btu-shell-member-copy {
  min-width: 0;
  flex: 1;
}

.btu-shell-member-copy strong,
.btu-shell-member-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btu-shell-member-copy strong {
  font-size: 13px;
}

.btu-shell-member-copy small {
  margin-top: 2px;
  color: var(--btu-shell-muted);
  font-size: 11px;
}

.btu-shell-logout {
  display: inline-block;
  margin: 10px 0 0 46px;
  color: var(--btu-shell-muted);
  text-decoration: none;
  font-size: 11px;
}

.btu-shell-logout:hover {
  color: #fff;
}

.btu-shell-mobile-header,
.btu-shell-overlay,
.btu-shell-close-button {
  display: none;
}

body.btu-has-app-shell {
  padding-left: var(--btu-shell-width) !important;
  box-sizing: border-box;
}

body.btu-has-app-shell .btu-shell-replaced-nav {
  display: none !important;
}

/* Keep native BTU content centered inside the remaining application area. */
body.btu-has-app-shell .btu-assignments-wrap,
body.btu-has-app-shell .btu-assignment-wrap,
body.btu-has-app-shell .btu-journal-wrap,
body.btu-has-app-shell .btu-progress-wrap,
body.btu-has-app-shell .btu-profile-wrap {
  box-sizing: border-box;
}

/* Avoid WordPress admin-bar overlap while logged in. */
body.admin-bar .btu-shell-sidebar {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .btu-shell-sidebar {
    top: 46px;
  }
}

@media (max-width: 900px) {
  body.btu-has-app-shell {
    padding-left: 0 !important;
    padding-top: var(--btu-shell-mobile-height) !important;
  }

  .btu-shell-mobile-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 99994;
    height: var(--btu-shell-mobile-height);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 10px 15px;
    background: rgba(13, 8, 22, 0.96);
    border-bottom: 1px solid var(--btu-shell-line);
    backdrop-filter: blur(14px);
  }

  body.admin-bar .btu-shell-mobile-header {
    top: 46px;
  }

  .btu-shell-menu-button {
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 4px;
    border: 1px solid var(--btu-shell-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
  }

  .btu-shell-menu-button span {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: #fff;
  }

  .btu-shell-mobile-brand {
    gap: 9px;
  }

  .btu-shell-mobile-brand .btu-shell-tree {
    width: 35px;
    height: 35px;
    flex-basis: 35px;
    font-size: 21px;
  }

  .btu-shell-sidebar {
    width: min(86vw, 305px);
    transform: translateX(-105%);
    transition: transform 190ms ease;
  }

  .btu-shell-sidebar.is-open {
    transform: translateX(0);
  }

  .btu-shell-brand-block {
    justify-content: space-between;
  }

  .btu-shell-close-button {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--btu-shell-line);
    border-radius: 9px;
    color: #fff;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
  }

  .btu-shell-overlay {
    position: fixed;
    inset: 0;
    z-index: 99991;
    background: rgba(0, 0, 0, 0.65);
    opacity: 0;
    pointer-events: none;
    display: block;
    transition: opacity 180ms ease;
  }

  .btu-shell-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  body.btu-shell-menu-open {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .btu-shell-mobile-brand span:last-child {
    font-size: 12px;
  }
}


/* =========================================================
   BTU PORTAL CORE v3.0 — UNIFIED EXPERIENCE
   Shared visual system for every protected BTU page.
   ========================================================= */
:root{
  --btu-shell-width:248px;
  --btu-bg:#05070c;
  --btu-bg-2:#07101c;
  --btu-panel:#0b1220;
  --btu-panel-2:#111126;
  --btu-border:rgba(222,184,91,.22);
  --btu-border-purple:rgba(169,105,255,.30);
  --btu-text:#f7f4fb;
  --btu-muted:#bcb4c8;
  --btu-purple:#a969ff;
  --btu-purple-2:#6f3fd6;
  --btu-gold:#e0b85a;
  --btu-radius:16px;
  --btu-shadow:0 18px 50px rgba(0,0,0,.28);
}

html{background:var(--btu-bg)}
body.btu-unified-v3{
  min-height:100vh;
  padding-top:72px!important;
  background:
    radial-gradient(circle at 76% 0,rgba(99,54,153,.14),transparent 28%),
    linear-gradient(135deg,var(--btu-bg),var(--btu-bg-2))!important;
  color:var(--btu-text)!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
body.btu-unified-v3 h1,
body.btu-unified-v3 h2,
body.btu-unified-v3 .btu-dash h1,
body.btu-unified-v3 .btu-next h2{
  font-family:"Cormorant Garamond",Georgia,serif!important;
  color:#fff!important;
  letter-spacing:-.025em;
}
body.btu-unified-v3 a{transition:.18s ease}
body.btu-unified-v3 input,
body.btu-unified-v3 textarea,
body.btu-unified-v3 select,
body.btu-unified-v3 button{font-family:Inter,system-ui,sans-serif}

.btu-shell-sidebar{
  width:var(--btu-shell-width);
  background:
    radial-gradient(circle at 50% 0,rgba(104,50,172,.16),transparent 28%),
    linear-gradient(180deg,#070817,#070610 60%,#05050b);
  border-right:1px solid rgba(224,184,90,.35);
  box-shadow:18px 0 45px rgba(0,0,0,.28);
}
.btu-shell-brand-block{
  min-height:180px;
  padding:14px 18px 8px;
  justify-content:center;
  border-bottom:0;
}
.btu-shell-brand{width:100%;justify-content:center}
.btu-shell-logo{
  display:block;
  width:156px;
  height:156px;
  object-fit:contain;
  filter:drop-shadow(0 9px 22px rgba(0,0,0,.35));
}
.btu-shell-logo-mobile{width:42px;height:42px}
.btu-mobile-brand-name{font-family:Georgia,serif;font-size:15px}
.btu-shell-nav{padding:8px 18px 18px}
.btu-shell-nav-link{
  min-height:44px;
  margin:4px 0;
  padding:10px 11px;
  border-radius:10px;
  color:#d6cee2;
  font-size:14px;
  font-weight:520;
}
.btu-shell-nav-link:hover{
  color:#fff;
  border-color:rgba(224,184,90,.25);
  background:linear-gradient(90deg,rgba(105,58,157,.18),rgba(224,184,90,.06));
}
.btu-shell-nav-link.is-active{
  color:#fff;
  border-color:rgba(224,184,90,.55);
  background:linear-gradient(105deg,rgba(116,55,182,.34),rgba(224,184,90,.10));
  box-shadow:inset 2px 0 0 var(--btu-purple),0 7px 18px rgba(0,0,0,.16);
}
.btu-shell-nav-icon{color:#d5b3ff;font-size:17px}
.btu-shell-member{
  padding:16px 18px 20px;
  border-top:1px solid rgba(224,184,90,.22);
}
.btu-shell-avatar,.btu-shell-top-avatar{
  background:linear-gradient(135deg,var(--btu-purple-2),var(--btu-gold));
  color:#fff;
}
.btu-shell-topbar{
  position:fixed;
  z-index:99991;
  top:0;
  right:0;
  left:var(--btu-shell-width);
  height:72px;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:0 28px 0 42px;
  background:rgba(4,7,13,.90);
  border-bottom:1px solid rgba(224,184,90,.20);
  backdrop-filter:blur(16px);
}
body.admin-bar .btu-shell-topbar{top:32px}
.btu-shell-welcome{color:#f6f1fa;font-size:14px}
.btu-shell-welcome span{margin-left:10px;color:var(--btu-gold)}
.btu-shell-top-actions{display:flex;align-items:center;gap:13px}
.btu-shell-search{
  width:min(325px,30vw);
  height:40px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:0 13px;
  border:1px solid rgba(224,184,90,.30);
  border-radius:11px;
  background:rgba(4,8,15,.72);
  color:#d9d1e2;
}
.btu-shell-search input{
  width:100%;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  color:#fff!important;
  box-shadow:none!important;
  padding:0!important;
}
.btu-shell-search input::placeholder{color:#9f96aa}
.btu-shell-icon-button,.btu-shell-top-avatar{
  position:relative;
  width:40px;height:40px;
  display:grid;place-items:center;
  border:1px solid rgba(224,184,90,.32);
  border-radius:50%;
  background:rgba(255,255,255,.025);
  color:#fff;text-decoration:none;
}
.btu-shell-notification-dot{
  position:absolute;right:1px;top:1px;width:7px;height:7px;border-radius:50%;
  background:var(--btu-purple);
}

/* Shared page canvas */
body.btu-unified-v3 .btu-dash,
body.btu-unified-v3 .btu-assignments-wrap,
body.btu-unified-v3 .btu-assignment-wrap,
body.btu-unified-v3 .btu-journal-wrap,
body.btu-unified-v3 .btu-progress-wrap,
body.btu-unified-v3 .btu-profile-wrap,
body.btu-unified-v3 .btu-community-page{
  max-width:1320px!important;
  margin:0 auto!important;
  box-sizing:border-box!important;
  padding:34px 28px 70px!important;
  color:var(--btu-text)!important;
}

/* Repaint native page backgrounds and cards */
body.btu-unified-v3 .btu-card,
body.btu-unified-v3 .btu-community-panel,
body.btu-unified-v3 .btu-community-card,
body.btu-unified-v3 [class*="btu-assignment-card"],
body.btu-unified-v3 [class*="btu-journal-card"],
body.btu-unified-v3 [class*="btu-progress-card"],
body.btu-unified-v3 [class*="btu-profile-card"]{
  background:
    radial-gradient(circle at 100% 0,rgba(93,47,151,.10),transparent 33%),
    linear-gradient(145deg,rgba(15,18,32,.98),rgba(10,10,22,.98))!important;
  color:var(--btu-text)!important;
  border:1px solid var(--btu-border-purple)!important;
  border-radius:var(--btu-radius)!important;
  box-shadow:var(--btu-shadow)!important;
}
body.btu-unified-v3 p,
body.btu-unified-v3 label,
body.btu-unified-v3 small{color:var(--btu-muted)}
body.btu-unified-v3 strong{color:#fff}
body.btu-unified-v3 input,
body.btu-unified-v3 textarea,
body.btu-unified-v3 select{
  border:1px solid rgba(173,118,239,.40)!important;
  border-radius:11px!important;
  background:#0a0815!important;
  color:#fff!important;
}
body.btu-unified-v3 input:focus,
body.btu-unified-v3 textarea:focus,
body.btu-unified-v3 select:focus{
  border-color:var(--btu-gold)!important;
  box-shadow:0 0 0 3px rgba(224,184,90,.10)!important;
}
body.btu-unified-v3 .btu-primary-action,
body.btu-unified-v3 .btu-community-submit{
  border:1px solid rgba(224,184,90,.55)!important;
  background:linear-gradient(120deg,rgba(112,64,212,.95),rgba(57,27,91,.95))!important;
  box-shadow:0 10px 26px rgba(0,0,0,.25)!important;
}
body.btu-unified-v3 .btu-primary-action:hover,
body.btu-unified-v3 .btu-community-submit:hover{
  border-color:var(--btu-gold)!important;
  transform:translateY(-1px);
}

/* Dashboard inspired by approved reference */
body.btu-unified-v3 .btu-dash{max-width:1440px!important}
body.btu-unified-v3 .btu-dash-hero{
  position:relative;
  min-height:285px;
  overflow:hidden;
  grid-template-columns:minmax(0,1fr) 260px!important;
  align-items:center;
  padding:42px!important;
  border:1px solid rgba(224,184,90,.35)!important;
  border-radius:18px!important;
  background:
    linear-gradient(90deg,rgba(4,9,17,.97) 0%,rgba(4,9,17,.82) 45%,rgba(4,9,17,.22) 100%),
    radial-gradient(circle at 78% 40%,rgba(233,163,73,.52),transparent 25%),
    linear-gradient(135deg,#07101c,#190b2c 65%,#5e2f25)!important;
  box-shadow:0 20px 65px rgba(0,0,0,.38)!important;
}
body.btu-unified-v3 .btu-dash-hero:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(118deg,transparent 58%,rgba(224,184,90,.17) 58.3%,transparent 58.8%),
    linear-gradient(110deg,transparent 70%,rgba(169,105,255,.17) 70.3%,transparent 70.8%);
}
body.btu-unified-v3 .btu-dash-hero>div{position:relative;z-index:1}
body.btu-unified-v3 .btu-dash h1{
  max-width:790px;
  font-size:clamp(48px,5.2vw,78px)!important;
  line-height:.92!important;
  text-shadow:0 5px 30px rgba(0,0,0,.45);
}
body.btu-unified-v3 .btu-dash h1 span{color:var(--btu-gold)}
body.btu-unified-v3 .btu-dash-eyebrow{
  color:#fff!important;
  font-family:Inter,sans-serif!important;
  letter-spacing:0!important;
  text-transform:none!important;
  font-weight:500!important;
}
body.btu-unified-v3 .btu-dash-profile-badge{
  width:88px;height:88px;
  border-color:var(--btu-gold)!important;
  background:rgba(19,12,34,.70)!important;
  color:var(--btu-gold)!important;
}
body.btu-unified-v3 .btu-dash-grid{grid-template-columns:1.4fr .75fr!important}
body.btu-unified-v3 .btu-card-label{color:var(--btu-gold)!important}
body.btu-unified-v3 .btu-next h2{font-size:38px!important}
body.btu-unified-v3 .btu-progress-value{color:#fff!important}
body.btu-unified-v3 .btu-progress-track{background:#211a34!important}
body.btu-unified-v3 .btu-progress-track span{background:linear-gradient(90deg,var(--btu-purple),var(--btu-gold))!important}
body.btu-unified-v3 .btu-week-dot{background:#090b13!important;border-color:#3e3150!important;color:#bdb3c8!important}
body.btu-unified-v3 .btu-week-node.is-current .btu-week-dot{background:#1d1527!important;color:var(--btu-gold)!important;border-color:var(--btu-gold)!important}
body.btu-unified-v3 .btu-week-node.is-complete .btu-week-dot{background:var(--btu-purple-2)!important;border-color:var(--btu-purple)!important}
body.btu-unified-v3 .btu-week-focus{border-top-color:rgba(224,184,90,.18)!important}
body.btu-unified-v3 .btu-mini h3{color:#fff!important}
body.btu-unified-v3 .btu-mini a{color:#d2aeff!important}
body.btu-unified-v3 .btu-quote{
  color:#f5e7c3!important;
  border-color:rgba(224,184,90,.38)!important;
  background:linear-gradient(90deg,#0a0d16,#171024,#0a0d16)!important;
}

/* Community uses the same visual language */
body.btu-unified-v3 .btu-community-hero{
  border:1px solid rgba(224,184,90,.36)!important;
  background:
    radial-gradient(circle at 82% 10%,rgba(224,184,90,.20),transparent 31%),
    linear-gradient(135deg,#08101c,#1a0d2d)!important;
}
body.btu-unified-v3 .btu-community-space{color:#cec5d8!important}
body.btu-unified-v3 .btu-community-space.is-active{
  color:#fff!important;
  background:linear-gradient(90deg,rgba(112,64,212,.34),rgba(224,184,90,.10))!important;
}
body.btu-unified-v3 .btu-community-reaction{background:#0a0b13!important;color:#fff!important;border-color:#352842!important}
body.btu-unified-v3 .btu-community-content{color:#eee9f2!important}
body.btu-unified-v3 .btu-community-byline{color:#9f95aa!important}

/* Neutralize old page-specific pale backgrounds */
body.btu-unified-v3 .btu-dash,
body.btu-unified-v3.btu-native-dashboard,
body.btu-unified-v3.btu-native-community,
body.btu-unified-v3.btu-native-journal,
body.btu-unified-v3.btu-native-assignments,
body.btu-unified-v3.btu-native-progress,
body.btu-unified-v3.btu-native-profile{
  background:transparent!important;
}

/* Hide old page headers/nav where the unified shell replaces them */
body.btu-unified-v3 .btu-shell-replaced-nav{display:none!important}

/* Responsive shell */
@media(max-width:900px){
  body.btu-unified-v3{padding-top:var(--btu-shell-mobile-height)!important}
  .btu-shell-topbar{display:none}
  .btu-shell-brand-block{min-height:110px}
  .btu-shell-logo{width:94px;height:94px}
  .btu-shell-logo-mobile{width:42px;height:42px}
  body.btu-unified-v3 .btu-dash-hero{min-height:0;padding:28px 22px!important}
  body.btu-unified-v3 .btu-dash h1{font-size:46px!important}
  body.btu-unified-v3 .btu-dash-grid{grid-template-columns:1fr!important}
}
@media(max-width:600px){
  body.btu-unified-v3 .btu-dash,
  body.btu-unified-v3 .btu-assignments-wrap,
  body.btu-unified-v3 .btu-assignment-wrap,
  body.btu-unified-v3 .btu-journal-wrap,
  body.btu-unified-v3 .btu-progress-wrap,
  body.btu-unified-v3 .btu-profile-wrap,
  body.btu-unified-v3 .btu-community-page{padding:22px 13px 55px!important}
  body.btu-unified-v3 .btu-dash h1{font-size:39px!important}
}


/* =========================================================
   BTU PORTAL CORE v3.1 — MISSION ALIGNMENT + MEMBER PHOTOS
   ========================================================= */
.btu-shell-avatar,
.btu-shell-top-avatar{
  overflow:hidden;
}
.btu-shell-avatar img,
.btu-shell-top-avatar img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

/* The legacy mission page now uses the same full application canvas. */
body.btu-unified-mission{
  margin:0!important;
  padding-top:72px!important;
  padding-left:var(--btu-shell-width)!important;
  background:
    radial-gradient(circle at 78% 0,rgba(99,54,153,.13),transparent 27%),
    linear-gradient(135deg,#05070c,#07101c)!important;
}
body.btu-unified-mission > *:not(.btu-app-shell):not(script):not(style):not(link){
  box-sizing:border-box;
}
body.btu-unified-mission main,
body.btu-unified-mission .main-content,
body.btu-unified-mission .content,
body.btu-unified-mission .mission-content,
body.btu-unified-mission [class*="mission-container"],
body.btu-unified-mission [class*="portal-content"]{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
body.btu-unified-mission main,
body.btu-unified-mission .main-content,
body.btu-unified-mission .mission-content{
  padding-left:38px!important;
  padding-right:38px!important;
}
body.btu-unified-mission .container,
body.btu-unified-mission [class*="container"]{
  max-width:1440px!important;
}
body.btu-unified-mission aside:not(.btu-shell-sidebar),
body.btu-unified-mission nav:not(.btu-shell-nav),
body.btu-unified-mission .sidebar:not(.btu-shell-sidebar),
body.btu-unified-mission [class*="sidebar"]:not(.btu-shell-sidebar),
body.btu-unified-mission .btu-shell-replaced-nav{
  display:none!important;
}
body.btu-unified-mission .btu-shell-sidebar{
  display:flex!important;
}
body.btu-unified-mission .btu-shell-nav{
  display:block!important;
}
body.btu-unified-mission a,
body.btu-unified-mission button{
  pointer-events:auto;
}
@media(max-width:900px){
  body.btu-unified-mission{
    padding-left:0!important;
    padding-top:var(--btu-shell-mobile-height)!important;
  }
  body.btu-unified-mission main,
  body.btu-unified-mission .main-content,
  body.btu-unified-mission .mission-content{
    padding-left:18px!important;
    padding-right:18px!important;
  }
}

body.btu-v4-native{
  padding-left:var(--btu-shell-width)!important;
  padding-top:72px!important;
}
body.btu-v4-native .btu-shell-sidebar{
  display:flex!important;
}
@media(max-width:900px){
  body.btu-v4-native{
    padding-left:0!important;
    padding-top:var(--btu-shell-mobile-height)!important;
  }
}


/* ==========================================================
   v4.1.1 — LIGHT SURFACE CONTRAST SYSTEM
   Keeps typography readable anywhere a white/light card is
   placed inside the dark BTU application shell.
   ========================================================== */
:root{
  --btu-light-heading:#1b1d2a;
  --btu-light-body:#4e5568;
  --btu-light-muted:#6b7280;
  --btu-light-link:#6334c7;
}

:is(
  .btu-coach-card:not(.btu-coach-session),
  .btu-live-card,
  .btu-session-row,
  .btu-empty-live,
  .btu-community-panel,
  .btu-community-card,
  .btu-community-empty,
  .btu-growth-card,
  .btu-empty-results,
  .btu-book-empty,
  .panel
){
  color:var(--btu-light-body)!important;
}

:is(
  .btu-coach-card:not(.btu-coach-session),
  .btu-live-card,
  .btu-session-row,
  .btu-empty-live,
  .btu-community-panel,
  .btu-community-card,
  .btu-community-empty,
  .btu-growth-card,
  .btu-empty-results,
  .btu-book-empty,
  .panel
) :is(h1,h2,h3,h4,h5,h6){
  color:var(--btu-light-heading)!important;
  opacity:1!important;
}

:is(
  .btu-coach-card:not(.btu-coach-session),
  .btu-live-card,
  .btu-session-row,
  .btu-empty-live,
  .btu-community-panel,
  .btu-community-card,
  .btu-community-empty,
  .btu-growth-card,
  .btu-empty-results,
  .btu-book-empty,
  .panel
) :is(p,li,dd,dt,label){
  color:var(--btu-light-body)!important;
  opacity:1!important;
}

:is(
  .btu-coach-card:not(.btu-coach-session),
  .btu-live-card,
  .btu-session-row,
  .btu-empty-live,
  .btu-community-panel,
  .btu-community-card,
  .btu-community-empty,
  .btu-growth-card,
  .btu-empty-results,
  .btu-book-empty,
  .panel
) :is(small,.btu-muted,.meta,.description){
  color:var(--btu-light-muted)!important;
  opacity:1!important;
}

:is(
  .btu-coach-card:not(.btu-coach-session),
  .btu-live-card,
  .btu-session-row,
  .btu-empty-live,
  .btu-community-panel,
  .btu-community-card,
  .btu-growth-card,
  .panel
) a:not(.btu-coach-button):not(.button):not(.btu-community-submit){
  color:var(--btu-light-link);
}

/* Preserve intentionally dark feature cards and primary buttons. */
.btu-coach-session,
.btu-coach-session :is(h1,h2,h3,h4,h5,h6,p,li,span,strong,small),
.btu-coach-button,
.btu-coach-button *,
.btu-community-submit,
.btu-community-submit *,
.btu-category-tab.is-active,
.btu-category-tab.is-active *{
  color:#fff!important;
}
