:root{
  --gold:#f7c600;
  --gold2:#ffde4d;
  --bg:#0b0b0c;
  --panel:#121214;
  --panel2:#17171a;
  --text:#f3f3f3;
  --muted:#b9b9b9;
  --border:#2a2a2e;
  --ok:#35d07f;
  --shadow:0 14px 40px rgba(0,0,0,.55);
  --r:16px;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(247,198,0,.18), transparent 60%),
    radial-gradient(900px 500px at 100% 10%, rgba(247,198,0,.55), transparent 55%),
    var(--bg);
  min-width:320px;
}
header{
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 14px;
  border-bottom:1px solid rgba(247,198,0,.22);
  background:linear-gradient(180deg, rgba(8,8,10,.98), rgba(8,8,10,.92));
  backdrop-filter: blur(10px);
}
.syncLiveBar{
  display:grid;
  gap:5px;
  width:min(100%, 360px);
  margin-top:8px;
  margin-left:auto;
  padding:8px 10px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(28,29,33,.92), rgba(17,18,20,.88));
  box-shadow:0 8px 20px rgba(0,0,0,.24);
}
.syncLiveBarTrack{
  position:relative;
  height:5px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.08);
}
.syncLiveBarFill{
  width:100%;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(53,208,127,.78), rgba(113,236,163,.92));
  box-shadow:0 0 18px rgba(53,208,127,.25);
}
.syncLiveBar.sync-running .syncLiveBarFill{
  width:28%;
  background:linear-gradient(90deg, #f7c600, #ffde4d);
  box-shadow:0 0 18px rgba(247,198,0,.35);
  animation:syncBarMove 1.15s linear infinite;
}
.syncLiveBar.sync-error .syncLiveBarFill{
  width:100%;
  background:linear-gradient(90deg, rgba(255,95,95,.8), rgba(255,145,145,.92));
  box-shadow:0 0 18px rgba(255,95,95,.24);
  animation:none;
}
.syncLiveBarMeta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:11px;
  color:rgba(243,243,243,.84);
}
.syncLiveBarMeta strong{
  color:#fff3bf;
  font-size:10px;
  letter-spacing:.04em;
  text-transform:uppercase;
}
@keyframes syncBarMove{
  0%{transform:translateX(-10%)}
  100%{transform:translateX(260%)}
}
.brand{display:flex;align-items:center;gap:10px}
.logo{
  width:44px;height:44px;border-radius:12px;
  display:grid;place-items:center;font-weight:900;
  color:#111;background:#fff;border:1px solid rgba(255,255,255,.12);
  box-shadow:0 8px 20px rgba(0,0,0,.45);
}
.brand h1{margin:0;font-size:28px;line-height:1.04;color:#f3f3f3}
.brand small{display:block;margin-top:2px;color:#e1e1e1;font-size:12px}
.who{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:0;
}
.whoTop{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.pageShell{
  padding:14px;
  display:grid;
  gap:12px;
}
.statusPill{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:linear-gradient(180deg,#1f2228,#15181d);
  color:#e6e6e6;
  font-size:12px;
  font-weight:700;
}
.authOverlay{
  position:fixed;
  inset:0;
  z-index:80;
  display:grid;
  place-items:center;
  background:rgba(4,6,10,.78);
  backdrop-filter:blur(4px);
}
.authCard{
  width:min(500px,92vw);
  border:1px solid rgba(247,198,0,.42);
  border-radius:14px;
  background:linear-gradient(180deg,#17171a,#101013);
  box-shadow:0 18px 42px rgba(0,0,0,.52);
  padding:14px;
}
.authCard h2{margin:0 0 10px}
.authTabs{display:flex;gap:8px;margin-bottom:10px}
.authTabs .btn{flex:1}
.authMessage{
  margin:10px 0 0;
  min-height:20px;
  color:#ff8f8f;
  font-size:12px;
}
.helperText{
  margin-top:6px;
  color:rgba(243,243,243,.72);
  font-size:12px;
  line-height:1.35;
}
.app{
  display:grid;
  grid-template-columns:320px 1fr;
  min-height:calc(100vh - 69px);
  align-items:start;
}
body.op-mode .app{
  grid-template-columns:1fr;
}
body.op-mode aside,
body.instructor-mode aside{
  display:none;
}
body.op-mode #view-reportes,
body.op-mode #view-metricas,
body.op-mode #view-administracion,
body.op-mode #view-registro{
  display:none !important;
}
body.instructor-mode .app{
  grid-template-columns:1fr;
}
body.instructor-mode #view-reportes,
body.instructor-mode #view-metricas,
body.instructor-mode #view-administracion,
body.instructor-mode #view-registro,
body.instructor-mode #view-calendario,
body.instructor-mode #view-horarios{
  display:none !important;
}
aside{
  padding:14px;
  border-right:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(247,198,0,.20), transparent 34%), var(--panel);
  min-width:0;
}
.groupTitle{margin:10px 6px 8px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.inputLabel{display:block;font-size:12px;color:var(--muted);margin:0 2px 6px}
.passwordToggleLabel{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:var(--muted);
  margin:6px 2px 0;
  user-select:none;
}
.passwordToggleLabel input{
  width:auto;
  margin:0;
}
input,select,textarea{
  width:100%;padding:10px;border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);color:var(--text);outline:none;
}
select{
  -webkit-appearance:none;
  appearance:none;
  background-color:var(--panel);
  color:var(--text);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f7c600' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 12px center;
  padding-right:36px;
  cursor:pointer;
}
#opBranchSelect{
  -webkit-appearance:none;
  appearance:none;
  background-color:var(--panel);
  color:var(--text);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f7c600' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 12px center;
  padding-right:36px;
  cursor:pointer;
}
textarea{min-height:96px;resize:vertical}
#selectedDate{
  background:rgba(245,243,238,.62);
  border:1px solid rgba(255,255,255,.72);
  color:#121214;
  font-weight:700;
}
.nav{display:flex;flex-direction:column;gap:10px}
.navBtn{
  width:100%;display:flex;align-items:center;gap:10px;
  padding:10px 12px;border-radius:14px;border:1px solid #d6ab00;
  background:var(--gold);color:#111;font-weight:900;cursor:pointer;
  box-shadow:0 8px 18px rgba(247,198,0,.24);
}
.navBtn.active{outline:2px solid rgba(247,198,0,.45);box-shadow:0 10px 22px rgba(247,198,0,.30)}
.navBtn .pill{margin-left:auto;padding:3px 9px;border-radius:999px;background:rgba(0,0,0,.16);border:1px solid rgba(0,0,0,.18);font-size:12px;color:#111;font-weight:900}
.btn{
  border:none;cursor:pointer;padding:10px 12px;border-radius:12px;
  font-weight:900;background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:#111;box-shadow:0 12px 26px rgba(247,198,0,.22);
}
.btn.secondary{
  background:rgba(255,255,255,.06);color:var(--text);
  border:1px solid rgba(255,255,255,.10);box-shadow:none;font-weight:800;
}
.logList{
  margin:0;padding-left:16px;max-height:220px;overflow:auto;
  color:#e4e4e4;font-size:12px;line-height:1.45;
}
main{padding:14px;display:grid;min-width:0}
.card{
  background:linear-gradient(180deg,var(--panel2),#101013);
  border:1px solid var(--border);border-radius:var(--r);box-shadow:var(--shadow);
  padding:12px;display:none;
  min-width:0;
}
.card.view.active{display:block}
.fullCard{display:block}
.cardHead{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;flex-wrap:wrap;margin-bottom:10px}
.cardHead h2{margin:0;font-size:20px}
.cardHead p{margin:4px 0 0;color:var(--muted);font-size:13px}
.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.row > *{min-width:0}
.calendarLegend{display:flex;gap:18px;color:var(--muted);font-size:12px;margin:4px 0 10px}
.calendarLayout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:12px;
  align-items:start;
}
.calendarLayoutWide{
  grid-template-columns:minmax(0,1fr) 340px;
}
.calendarCenterArea{min-width:0}
.miniCalendarSide{
  border:1px solid rgba(247,198,0,.34);
  border-radius:14px;
  padding:10px;
  background:rgba(255,255,255,.03);
  min-width:0;
}
.miniCalendarHead{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:8px;
  color:#f1f1f1;
  gap:8px;
}
.miniCalendarHead small{
  color:var(--muted);
  text-transform:capitalize;
}
.dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px}
.dotClasses{background:var(--gold)}
.dotSelected{background:var(--gold)}
.siteFilterSelect{
  max-width:280px;
  margin-bottom:10px;
  border:1px solid #d6ab00;
  background-color:rgba(247,198,0,.08);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f7c600' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 12px center;
  padding-right:36px;
  color:#fff;
  font-weight:700;
  cursor:pointer;
}
.calendarHead,
.calendarGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.miniHead,
.miniGrid{min-width:0}
.calendarHead .calendarWeekBtn{
  text-align:center;
  font-size:11px;
  color:#fff;
  padding:7px 4px;
  border-radius:8px;
  border:1px solid rgba(247,198,0,.38);
  background:rgba(247,198,0,.12);
  cursor:pointer;
}
.calendarHead .calendarWeekBtn.active{
  background:#fff;
  color:#111;
  border-color:#fff;
}
.miniGrid .day{
  min-height:56px;
  padding:5px;
  border-radius:10px;
}
.miniGrid .dayTop{flex-direction:column;align-items:flex-start;gap:2px}
.miniGrid .dayNum{font-size:12px}
.miniGrid .dayCount{
  font-size:8px;
  padding:1px 4px;
  background:rgba(247,198,0,.86);
  border-color:rgba(247,198,0,.92);
  letter-spacing:.01em;
}
.day{
  min-height:120px;
  background:rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.16);
  border-radius:12px;
  padding:7px;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  gap:5px;
  color:#fff;
  position:relative;
  overflow:hidden;
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.day.muted{opacity:.35;cursor:default}
.day.selected{
  background:linear-gradient(180deg,#ffde4d,#f7c600);
  color:#111;
  border-color:#f7c600;
  box-shadow:0 0 0 2px rgba(247,198,0,.65) inset, 0 10px 26px rgba(247,198,0,.26);
}
.day.today{
  background:linear-gradient(180deg,#ffde4d,#f7c600);
  color:#111;
  border-color:#f7c600;
  box-shadow:0 0 0 2px rgba(247,198,0,.55) inset, 0 8px 22px rgba(247,198,0,.22);
}
.day.hasTaught .dayCount{
  color:#111;
  background:linear-gradient(180deg,#ffde4d,#f7c600);
  border-color:#f7c600;
}
.day.completed{
  border-color:rgba(247,198,0,.82);
  box-shadow:0 0 0 1px rgba(247,198,0,.45) inset;
}
.day.selected .dayItem{
  background:rgba(17,17,17,.08);
  border-color:rgba(17,17,17,.2);
  color:#111;
}
.day.today .dayItem{
  background:rgba(17,17,17,.08);
  border-color:rgba(17,17,17,.2);
  color:#111;
}
.dayTop{display:flex;justify-content:space-between;align-items:center}
.dayNum{font-weight:800;font-size:13px}
.dayCount{
  font-size:10px;
  color:#111;
  font-weight:800;
  background:rgba(247,198,0,.9);
  border:1px solid rgba(247,198,0,.94);
  border-radius:999px;
  padding:1px 6px;
  white-space:nowrap;
  line-height:1.1;
}
.dayItem{
  font-size:11px;
  background:rgba(247,198,0,.12);
  border:1px solid rgba(247,198,0,.32);
  border-radius:9px;
  padding:3px 6px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.calendarClassesCard{
  margin-top:12px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  background:rgba(255,255,255,.04);
  padding:10px;
}
.calendarClassesMain{margin-top:0}
.calendarClassesCard h3{
  margin:0 0 8px;
  font-size:14px;
  color:#fff;
}
.calendarClassesList{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:10px;
  align-items:stretch;
}
.calendarClassRow{
  padding:8px 10px;
  border-radius:10px;
  border:1px solid rgba(247,198,0,.32);
  background:rgba(247,198,0,.1);
  color:#fff;
  font-size:12px;
}
.calendarClassCard{
  position:relative;
  overflow:hidden;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  padding:10px;
  background:rgba(255,255,255,.06);
  box-shadow:0 6px 16px rgba(0,0,0,.22);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  min-width:0;
}
.calendarClassCard:hover{
  transform:scale(1.03);
  box-shadow:0 14px 26px rgba(0,0,0,.32);
}
.calendarClassCard.active,
.calendarClassCard:focus-within{
  border-color:rgba(255,255,255,.88);
  box-shadow:0 0 0 2px rgba(255,255,255,.72), 0 16px 30px rgba(255,255,255,.18);
}
.calendarClassCard.tone1{background:linear-gradient(180deg, rgba(193,207,255,.3), rgba(255,255,255,.05))}
.calendarClassCard.tone2{background:linear-gradient(180deg, rgba(208,255,228,.22), rgba(255,255,255,.05))}
.calendarClassCard.tone3{background:linear-gradient(180deg, rgba(255,221,168,.2), rgba(255,255,255,.05))}
.calendarClassCard.tone4{background:linear-gradient(180deg, rgba(255,193,193,.22), rgba(255,255,255,.05))}
.calendarClassCard.tone5{background:linear-gradient(180deg, rgba(224,207,255,.22), rgba(255,255,255,.05))}
.calendarClassCard.newClassPromo{
  border-color:rgba(255,222,77,.86);
  box-shadow:0 0 0 1px rgba(255,222,77,.45), 0 0 24px rgba(255,222,77,.22), 0 10px 26px rgba(0,0,0,.28);
  animation:promoCardBuzzLoop 15s linear infinite;
  will-change:transform, box-shadow;
}
.promoCardDemoMount{
  display:grid;
  gap:12px;
}
.promoCardDemoMountCompact{
  gap:0;
}
.promoCalendarCompactBlock{
  margin-top:12px;
  display:grid;
  gap:8px;
}
.promoCalendarCompactHead{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  color:#f1f1f1;
}
.promoCalendarCompactHead small{
  color:var(--muted);
}
.featuredClassCard{
  position:relative;
  min-height:220px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.1);
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.08), transparent 44%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  overflow:hidden;
  isolation:isolate;
}
.featuredClassCard::before{
  content:"";
  position:absolute;
  inset:-20%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,245,214,.26), rgba(255,245,214,0) 45%),
    radial-gradient(circle at 50% 50%, rgba(255,214,10,.18), rgba(255,214,10,0) 62%);
  opacity:.8;
  z-index:0;
}
.featuredClassCardActive{
  box-shadow:0 0 0 1px rgba(255,233,168,.24) inset, 0 0 34px rgba(255,233,168,.14), 0 14px 30px rgba(0,0,0,.28);
  animation:promoCardBuzzLoop 15s linear infinite;
}
.featuredClassCardActive::before{
  animation:promoGlowPulseLoop 15s ease-in-out infinite;
}
.featuredClassCardEmpty{
  opacity:.9;
}
.featuredClassInner{
  position:relative;
  z-index:1;
  display:grid;
  gap:10px;
  padding:18px;
  min-height:220px;
  align-content:center;
}
.featuredClassTop{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.featuredClassBadge,
.featuredClassQuorum{
  display:inline-flex;
  align-items:center;
  padding:5px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
}
.featuredClassBadge{
  color:#231700;
  background:linear-gradient(180deg, rgba(255,249,236,.98), rgba(255,220,110,.95));
  border:1px solid rgba(255,243,203,.92);
}
.featuredClassQuorum{
  color:#fff3ca;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
}
.featuredClassLabel{
  color:#fff0b3;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.featuredClassName{
  margin:0;
  color:#fff;
  font-size:28px;
  line-height:1.02;
}
.featuredClassMeta{
  margin:0;
  color:#ececec;
  font-size:14px;
  line-height:1.35;
}
.featuredClassHint{
  margin:2px 0 0;
  color:#ffe8a4;
  font-size:12px;
}
.featuredClassActions{
  display:flex;
  justify-content:center;
  margin-top:12px;
}
.featuredClassActions .btn{
  min-width:180px;
}
.promoCalendarCard{
  --promo-card-width: 100%;
  --promo-card-height: auto;
  --promo-stage-ratio: 1 / 1;
  position:relative;
  width:var(--promo-card-width);
  min-height:0;
  border-radius:18px;
  border:1px solid rgba(255,215,0,.35);
  background:
    radial-gradient(circle at top right, rgba(255,215,0,.22), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow:0 14px 36px rgba(0,0,0,.35), 0 0 0 1px rgba(255,215,0,.08) inset;
  overflow:hidden;
  isolation:isolate;
}
.promoCalendarCard.is-empty{
  border-color:rgba(255,255,255,.08);
  background:rgba(255,255,255,.02);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);
}
.promoCalendarCard::before{
  content:"";
  position:absolute;
  inset:-25%;
  background:radial-gradient(circle at center, rgba(255,215,0,.18), transparent 52%);
  opacity:.82;
  z-index:0;
  pointer-events:none;
}
.promoCalendarCard.is-empty::before{
  opacity:.2;
  background:radial-gradient(circle at center, rgba(255,255,255,.08), transparent 62%);
}
.promoCalendarCard.is-glowing{
  box-shadow:0 16px 42px rgba(0,0,0,.4), 0 0 0 1px rgba(255,215,0,.12) inset, 0 0 36px rgba(255,215,0,.18);
}
.promoCalendarCard.is-glowing::before{
  animation:promoVisualGlow 4.8s ease-in-out infinite;
}
.promoCalendarCard.is-buzzing{
  animation:promoAttentionBuzz 15s linear infinite;
}
.promoCalendarCardShell{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);
  gap:14px;
  padding:14px;
  min-height:0;
}
.promoCalendarCardShell.is-display-only{
  grid-template-columns:1fr;
  padding:10px;
}
.promoCalendarCard.is-compact{
  border-radius:14px;
}
.promoCalendarCard.is-compact .promoVisualStage{
  border-radius:12px;
  aspect-ratio:1 / 1;
}
.promoCalendarCard.is-compact .promoVisualStageOverlay{
  padding:10px 10px 42px;
}
.promoCalendarCard.is-compact .promoHeadline{
  font-size:18px;
}
.promoCalendarCard.is-compact .promoBody{
  font-size:12px;
}
.promoCalendarCard.is-compact .promoPulseTag{
  min-width:auto;
  font-size:10px;
  padding:6px 8px;
}
.promoCalendarCard.is-compact .promoSliderBar{
  inset:auto 8px 8px 8px;
}
.promoCalendarCard.is-compact .promoSliderBtn{
  padding:6px 8px;
  font-size:11px;
}
.promoVisualStage{
  position:relative;
  min-height:0;
  aspect-ratio:var(--promo-stage-ratio);
  border-radius:16px;
  overflow:hidden;
  background:rgba(7,9,15,.56);
  border:1px solid rgba(255,255,255,.1);
}
.promoVisualStage img,
.promoExpandedMedia img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  background:#07090f;
}
.promoVisualStagePlaceholder{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  padding:10px;
  background:rgba(255,255,255,.015);
}
.promoTransparentScreen{
  width:100%;
  height:100%;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)),
    rgba(8,10,16,.14);
  backdrop-filter:blur(4px);
  display:grid;
  place-items:center;
  padding:16px;
}
.promoPlaceholderActions{
  display:flex;
  justify-content:center;
  align-items:center;
}
.promoVisualStageOverlay{
  position:absolute;
  inset:auto 0 0 0;
  display:flex;
  justify-content:space-between;
  gap:8px;
  align-items:flex-end;
  padding:14px;
  background:linear-gradient(180deg, transparent, rgba(0,0,0,.72));
}
.promoVisualStageOverlay.is-display-only{
  inset:0;
  padding:0;
  background:transparent;
  pointer-events:none;
}
.promoSliderBar{
  position:absolute;
  inset:auto 10px 10px 10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  z-index:2;
}
.promoSliderBtn{
  padding:7px 10px;
}
.promoSliderStatus{
  min-width:52px;
  text-align:center;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.46);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  font-size:11px;
  font-weight:800;
}
.promoMeta{
  display:grid;
  gap:6px;
}
.promoEyebrow{
  display:inline-flex;
  align-items:center;
  gap:6px;
  width:max-content;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(255,215,0,.16);
  border:1px solid rgba(255,215,0,.32);
  color:#ffe380;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.promoHeadline{
  margin:0;
  font-size:24px;
  line-height:1.02;
  color:#fffbe8;
}
.promoBody{
  margin:0;
  color:#f3f3f3;
  font-size:13px;
}
.promoPulseTag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:88px;
  padding:8px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  color:#2f2200;
  background:linear-gradient(180deg, rgba(255,240,173,.96), rgba(255,215,0,.96));
  box-shadow:0 8px 18px rgba(255,215,0,.24);
}
.promoAdminPanel{
  display:grid;
  gap:10px;
  min-width:0;
}
.promoInlineAdminBar{
  display:flex;
  gap:8px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
}
.promoAdminHead{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
  flex-wrap:wrap;
}
.promoAdminHead h4{
  margin:0;
  font-size:16px;
}
.promoAdminHead p{
  margin:4px 0 0;
  color:#d9d9d9;
  font-size:12px;
}
.promoActionRow{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.promoSlotGrid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:10px;
}
.promoCycleControls{
  display:grid;
  gap:6px;
}
.promoSlot{
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.04);
  border-radius:14px;
  padding:10px;
  display:grid;
  gap:8px;
}
.promoSlotPreview{
  position:relative;
  min-height:110px;
  border-radius:12px;
  overflow:hidden;
  background:rgba(10,12,18,.72);
  border:1px solid rgba(255,255,255,.08);
}
.promoSlotPreviewEmpty{
  height:110px;
  display:grid;
  place-items:center;
  text-align:center;
  color:#dbdbdb;
  font-size:12px;
  padding:10px;
}
.promoSlotPreview img{
  width:100%;
  height:110px;
  object-fit:cover;
  display:block;
}
.promoSlotOrder{
  position:absolute;
  top:8px;
  left:8px;
  width:28px;
  height:28px;
  border-radius:999px;
  display:grid;
  place-items:center;
  color:#2f2200;
  font-weight:900;
  background:rgba(255,215,0,.95);
}
.promoSlotControls{
  display:grid;
  gap:8px;
}
.promoSlotControls input[type="number"]{
  width:100%;
}
.promoSlotActions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.promoFileInput{
  display:none;
}
.promoTiny{
  font-size:11px;
  color:#d6d6d6;
}
.promoStatusLine{
  min-height:18px;
  color:#ffe380;
  font-size:12px;
}
.promoCarouselDots{
  display:flex;
  gap:6px;
  align-items:center;
}
.promoCarouselDot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:rgba(255,255,255,.28);
}
.promoCarouselDot.is-active{
  width:24px;
  background:linear-gradient(90deg, rgba(255,240,173,.98), rgba(255,215,0,.98));
}
.promoOverlayRoot{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:95;
}
.sessionDeleteDialog{
  position:fixed;
  inset:0;
  z-index:120;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(7, 10, 18, .62);
  backdrop-filter:blur(10px);
}
.sessionDeleteDialog[hidden]{
  display:none;
}
.sessionDeleteDialogCard{
  width:min(100%, 560px);
  border-radius:28px;
  padding:24px;
  background:linear-gradient(160deg, rgba(14, 21, 39, .98), rgba(28, 38, 67, .96));
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 28px 80px rgba(0,0,0,.35);
}
.sessionDeleteDialogEyebrow{
  margin:0 0 8px;
  font-size:.76rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#f6bd60;
}
.sessionDeleteDialogCard h3{
  margin:0;
  font-size:1.45rem;
  line-height:1.2;
}
.sessionDeleteDialogMessage{
  margin:12px 0 0;
  color:rgba(255,255,255,.82);
}
.sessionDeleteDialogDetails{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:16px 0 0;
}
.sessionDeleteDialogDetails span{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#fff;
}
.sessionDeleteDialogActions{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
  margin-top:18px;
}
.sessionDeleteDialogActions .btn,
.sessionDeleteDialogCard > .btn{
  width:100%;
}
.btn.ghost{
  background:transparent;
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
}
.btn.ghost:hover{
  background:rgba(255,255,255,.08);
}
.promoExpandedOverlay{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  background:rgba(4,6,10,.52);
  opacity:0;
  animation:promoOverlayFade .6s ease forwards;
}
.promoExpandedCard{
  width:min(50vw, 720px);
  height:min(50vh, 720px);
  min-width:320px;
  min-height:320px;
  border-radius:26px;
  overflow:hidden;
  border:1px solid rgba(255,215,0,.4);
  box-shadow:0 30px 80px rgba(0,0,0,.55), 0 0 48px rgba(255,215,0,.2);
  background:rgba(10,12,18,.96);
  transform:scale(.92);
  animation:promoExpandedIn .65s ease forwards;
}
.promoExpandedMedia{
  position:relative;
  width:100%;
  height:100%;
}
.promoExpandedCaption{
  position:absolute;
  inset:auto 0 0 0;
  padding:18px;
  background:linear-gradient(180deg, transparent, rgba(0,0,0,.8));
}
.promoExpandedCaption h3{
  margin:0 0 6px;
  font-size:30px;
  color:#fffbe8;
}
.promoExpandedCaption p{
  margin:0;
  font-size:14px;
  color:#f4f4f4;
}
@keyframes promoOverlayFade{
  from{opacity:0}
  to{opacity:1}
}
@keyframes promoExpandedIn{
  0%{opacity:0;transform:scale(.92)}
  100%{opacity:1;transform:scale(1)}
}
@keyframes promoVisualGlow{
  0%,100%{opacity:.62;transform:scale(1)}
  50%{opacity:1;transform:scale(1.06)}
}
@keyframes promoAttentionBuzz{
  0%,100%{transform:translate3d(0,0,0)}
  1%{transform:translate3d(-1.5px,.8px,0) rotate(-.18deg)}
  2%{transform:translate3d(1.9px,-.7px,0) rotate(.2deg)}
  3%{transform:translate3d(-2.1px,1px,0) rotate(-.22deg)}
  4%{transform:translate3d(1.6px,-1px,0) rotate(.18deg)}
  5%,96%{transform:translate3d(0,0,0)}
}
.calendarClassCard.newClassPromo::before{
  content:"";
  position:absolute;
  inset:-22%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,222,77,.28), rgba(255,222,77,0) 58%),
    linear-gradient(120deg, rgba(255,233,128,.14), transparent 48%, rgba(255,214,10,.2) 70%, transparent 86%);
  z-index:0;
  pointer-events:none;
  animation:promoGlowPulseLoop 15s ease-in-out infinite;
}
.calendarClassCard.newClassPromo > *{
  position:relative;
  z-index:1;
}
.calendarClassCard.newClassPromo .calendarClassCardHead{
  padding-top:16px;
}
.classPromoBadge{
  position:absolute;
  top:6px;
  right:10px;
  z-index:2;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(255,230,138,.92);
  background:linear-gradient(180deg, rgba(255,236,153,.96), rgba(247,198,0,.96));
  color:#2a2100;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  box-shadow:0 4px 14px rgba(247,198,0,.35);
  animation:promoBadgePulseLoop 15s ease-in-out infinite;
}
@keyframes promoGlowPulseLoop{
  0%, 6%, 100%{opacity:.72;transform:scale(1)}
  1.5%, 3.5%{opacity:1;transform:scale(1.055)}
  5%{opacity:.9;transform:scale(1.02)}
}
@keyframes promoCardBuzzLoop{
  0%, 100%{
    transform:translate3d(0,0,0) rotate(0deg);
    box-shadow:0 0 0 1px rgba(255,222,77,.45), 0 0 24px rgba(255,222,77,.22), 0 10px 26px rgba(0,0,0,.28);
  }
  0.6%{
    transform:translate3d(-1.6px,.8px,0) rotate(-.3deg);
  }
  1.2%{
    transform:translate3d(1.8px,-.7px,0) rotate(.32deg);
  }
  1.8%{
    transform:translate3d(-2.1px,1px,0) rotate(-.36deg);
  }
  2.4%{
    transform:translate3d(2.2px,-1px,0) rotate(.38deg);
  }
  3%{
    transform:translate3d(-1.7px,.9px,0) rotate(-.28deg);
  }
  3.6%{
    transform:translate3d(1.5px,-.8px,0) rotate(.24deg);
    box-shadow:0 0 0 1px rgba(255,222,77,.62), 0 0 30px rgba(255,222,77,.34), 0 12px 28px rgba(0,0,0,.32);
  }
  4.2%{
    transform:translate3d(-1.1px,.5px,0) rotate(-.14deg);
  }
  4.8%, 99.4%{
    transform:translate3d(0,0,0) rotate(0deg);
    box-shadow:0 0 0 1px rgba(255,222,77,.45), 0 0 24px rgba(255,222,77,.22), 0 10px 26px rgba(0,0,0,.28);
  }
}
@keyframes promoBadgePulseLoop{
  0%, 100%{
    transform:translate3d(0,0,0) scale(1);
    box-shadow:0 4px 14px rgba(247,198,0,.35);
  }
  1.5%, 3.5%{
    transform:translate3d(0,0,0) scale(1.08);
    box-shadow:0 6px 20px rgba(247,198,0,.5);
  }
  5%, 99.4%{
    transform:translate3d(0,0,0) scale(1);
    box-shadow:0 4px 14px rgba(247,198,0,.35);
  }
}
.calendarClassCardHead{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:6px;
  margin-bottom:8px;
  flex-wrap:wrap;
}
.classTimePill,.classSitePill,.classStatePill,.classQuorumPill{
  font-size:11px;
  border-radius:999px;
  padding:3px 8px;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(0,0,0,.2);
  max-width:100%;
}
.classStatePill.ok{
  border-color:rgba(247,198,0,.7);
  background:linear-gradient(180deg,#ffde4d,#f7c600);
  color:#111;
}
.classStatePill.sub{
  border-color:rgba(143,197,255,.62);
  background:linear-gradient(180deg,rgba(143,197,255,.42),rgba(77,155,255,.28));
  color:#d9edff;
}
.classStatePill.cancel{
  border-color:rgba(255,129,129,.62);
  background:linear-gradient(180deg,rgba(255,129,129,.36),rgba(214,61,61,.28));
  color:#ffd7d7;
}
.classStatePill.pending{
  border-color:rgba(255,222,77,.55);
  background:rgba(255,222,77,.16);
  color:#ffde4d;
}
.calendarClassName{
  margin:0 0 4px;
  font-size:16px;
  color:#fff;
  padding-right:92px;
  line-height:1.15;
}
.calendarClassInstructor{
  margin:0;
  color:#d8d8d8;
  font-size:12px;
  line-height:1.35;
}
.calendarClassControls{
  margin-top:10px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
}
.calendarCardEditBar{
  display:flex;
  justify-content:flex-end;
  margin-bottom:10px;
}
.calendarClassEditor{
  margin-top:10px;
  display:grid;
  gap:10px;
}
.calendarClassEditorField{
  display:grid;
  gap:6px;
  font-size:12px;
  color:#f0f0f0;
}
.calendarClassEditorField input{
  width:100%;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(0,0,0,.18);
  color:#fff;
}
.calendarClassEditorActions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.classChecksCol{
  display:grid;
  gap:5px;
}
.classQuorumCol{
  display:flex;
  align-items:flex-start;
}
.classGivenCheck{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  color:#f0f0f0;
}
.classGivenCheck input{
  width:16px;
  height:16px;
  padding:0;
  border:none;
  background:transparent;
  accent-color:#f7c600;
}
.classQuorumWrap{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  color:#e8e8e8;
}
.classQuorumWrap input{
  width:56px;
  padding:3px 5px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:12px;
}
.classQuorumWrap input:disabled{
  opacity:.55;
  cursor:not-allowed;
  background:rgba(255,255,255,.04);
}
.calendarClassCardFoot{
  margin-top:10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.classFootRight{
  display:grid;
  gap:6px;
  justify-items:end;
}
.classFollowupPill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:10px;
  font-weight:800;
  border-radius:999px;
  padding:4px 10px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.1);
  color:#111;
}
.classFollowupPill[hidden]{
  display:none;
}
.classFollowupDot{
  width:8px;
  height:8px;
  border-radius:999px;
  display:inline-block;
  background:#fff;
  box-shadow:0 0 0 2px rgba(255,255,255,.10);
}
.classFollowupPill.green .classFollowupDot{
  background:#55b87a;
}
.classFollowupPill.green{
  background:rgba(168, 235, 189, .92);
  border-color:rgba(151, 212, 171, .95);
  color:#101010;
}
.classFollowupPill.yellow .classFollowupDot{
  background:#d8a61c;
}
.classFollowupPill.yellow{
  background:rgba(245, 219, 131, .94);
  border-color:rgba(236, 204, 92, .98);
  color:#101010;
}
.classFollowupPill.red .classFollowupDot{
  background:#c84c4c;
}
.classFollowupPill.red{
  background:rgba(244, 171, 171, .94);
  border-color:rgba(222, 128, 128, .98);
  color:#101010;
}

/* Destello + bisel para todos los elementos interactivos */
.btn,.navBtn,.day,.calendarWeekBtn{
  position:relative;
  overflow:hidden;
}
.btn::before,.navBtn::before,.day::before,.calendarWeekBtn::before{
  content:"";
  position:absolute;
  inset:auto -35% 25% -35%;
  height:55%;
  background:linear-gradient(120deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
  transform:translateX(-120%) rotate(-12deg);
  transition:transform .6s ease;
  pointer-events:none;
}
.btn::after,.navBtn::after,.day::after,.calendarWeekBtn::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:15px;
  height:15px;
  background:linear-gradient(135deg, rgba(255,255,255,.8), rgba(255,255,255,.12));
  clip-path:polygon(100% 0,0 0,100% 100%);
  opacity:.45;
  pointer-events:none;
}
.btn:hover,.navBtn:hover,.day:hover,.calendarWeekBtn:hover{
  transform:scale(1.03);
  box-shadow:0 10px 24px rgba(255,255,255,.12);
}
.btn:hover::before,.navBtn:hover::before,.day:hover::before,.calendarWeekBtn:hover::before{
  transform:translateX(120%) rotate(-12deg);
}
.tableWrap{overflow:auto;max-height:calc(100vh - 230px)}
table{width:100%;border-collapse:collapse;min-width:860px}
th,td{padding:10px;border-bottom:1px solid rgba(255,255,255,.08);text-align:left}
th{position:sticky;top:0;background:#111217;font-size:12px;letter-spacing:.06em;color:#d8d8d8;text-transform:uppercase}
tr:hover td{background:rgba(255,255,255,.02)}
.cellSwitch{display:flex;justify-content:center}
.cellSwitch input{width:18px;height:18px}
.cellQuorum input{max-width:90px}
.placeholder{
  border:1px dashed rgba(247,198,0,.42);
  border-radius:12px;
  padding:20px;
  color:#d6d6d6;
  background:rgba(247,198,0,.08);
}
.metricsInstructorButtons{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:8px;
  margin-bottom:12px;
}
.metricInstructorCard{
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  background:rgba(255,255,255,.04);
  padding:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.metricInstructorName{font-weight:800;font-size:13px}
.metricScore{
  font-size:12px;
  border-radius:999px;
  padding:4px 8px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
}
.metricScore.bad{color:#ff8c8c;border-color:rgba(255,140,140,.45)}
.metricScore.good{color:#ffe38b;border-color:rgba(255,227,139,.45)}
.metricScore.excellent{color:#7cf0ac;border-color:rgba(124,240,172,.45)}
.metricsSummary{
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  background:rgba(255,255,255,.04);
  padding:10px;
  margin-bottom:12px;
}
.metricKpiGrid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:8px;
}
.metricKpiCard{
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  background:rgba(255,255,255,.03);
  padding:10px;
}
.metricKpiCard small{
  display:block;
  color:#c4c4c4;
  font-size:11px;
  margin-bottom:3px;
}
.metricKpiCard strong{
  font-size:20px;
  color:#fff;
}
.metricsCharts{
  display:grid;
  gap:10px;
}
.calendarInsightsInline{
  margin-top:18px;
  display:grid;
  gap:16px;
}
.calendarInsightsInlineCard{
  padding:18px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03)),
    radial-gradient(circle at top left, rgba(141,215,255,.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(247,198,0,.16), transparent 28%),
    rgba(255,255,255,.05);
  backdrop-filter:blur(16px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    0 24px 56px rgba(7,14,30,.24);
}
.rankQuotaRow{
  gap:8px;
  padding:2px 0 10px;
}
.rankQuotaRowHead,
.rankQuotaFoot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.rankQuotaRowHead strong,
.rankQuotaFoot strong{
  font-size:14px;
  color:#fff;
}
.rankQuotaRowHead span,
.rankQuotaFoot span{
  color:var(--muted);
  font-size:12px;
}
.rankQuotaTrack{
  height:18px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.14);
}
.rankQuotaFill{
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg, #f7c600, #f6da59);
  box-shadow:0 10px 22px rgba(247, 198, 0, .22);
}
.rankQuotaFoot strong{
  font-size:15px;
}
.calendarQuotaRows.is-compact .rankQuotaTrack{
  height:12px;
}
.calendarQuotaRows.is-compact .rankQuotaRowHead strong,
.calendarQuotaRows.is-compact .rankQuotaFoot strong{
  font-size:12px;
}
.calendarQuotaRows.is-compact .rankQuotaRowHead span,
.calendarQuotaRows.is-compact .rankQuotaFoot span{
  font-size:11px;
}
.efficiencyChartStage.is-compact{
  grid-template-columns:repeat(auto-fit, minmax(74px, 1fr));
  gap:10px;
  min-height:220px;
}
.efficiencyChartStage.is-compact .efficiencyChartAlert{
  min-height:34px;
  padding:4px 6px;
  font-size:10px;
}
.efficiencyChartStage.is-compact .efficiencyChartBarWrap{
  height:150px;
}
.efficiencyChartStage.is-compact .efficiencyChartBar{
  max-width:44px;
}
.efficiencyChartStage.is-compact .efficiencyChartBarValue{
  font-size:14px;
}
.efficiencyChartStage.is-compact .efficiencyChartBarLabel strong{
  min-height:20px;
  font-size:11px;
}
.efficiencyChartStage.is-compact .efficiencyChartBarLabel span{
  font-size:10px;
}
.insightsModal{
  position:fixed;
  inset:0;
  z-index:118;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(4, 7, 14, .72);
  backdrop-filter:blur(14px);
}
.insightsModal[hidden]{
  display:none;
}
.insightsModalCard{
  width:min(100%, 1080px);
  max-height:min(88vh, 980px);
  overflow:auto;
  padding:24px;
  border-radius:30px;
  border:1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(180deg, rgba(18,24,40,.98), rgba(10,14,24,.98)),
    radial-gradient(circle at top center, rgba(96,181,255,.10), transparent 34%);
  box-shadow:0 30px 90px rgba(0,0,0,.38);
}
.insightsModalCardWide{
  width:min(100%, 1440px);
}
.insightsModalHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.insightsModalHead h3{
  margin:0;
  font-size:28px;
}
.insightsModalBody{
  gap:16px;
}
.calendarInsightsEyebrow{
  margin:0;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gold2);
}
.calendarInsightsBody{
  display:grid;
  gap:10px;
}
.insightSectionHeader{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:8px;
}
.insightSectionHeader h3{
  margin:4px 0 0;
  font-size:22px;
  line-height:1.05;
  color:#fff;
}
.insightSectionEyebrow{
  margin:0;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--gold2);
}
.insightSectionBadge{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(96,181,255,.26);
  background:linear-gradient(180deg, rgba(29,37,60,.92), rgba(16,22,36,.92));
  color:#fff;
  font-weight:800;
}
.classTypeKpiGrid{
  margin-bottom:8px;
}
.classTypeKpiCard{
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
    radial-gradient(circle at top right, rgba(141,215,255,.14), transparent 34%),
    rgba(10,16,28,.82);
  border-radius:18px;
}
.classTypeKpiCard small{
  color:#d5dfef;
}
.classTypeKpiCard strong{
  color:#ffde4d;
  font-size:26px;
}
.classTypeCardGrid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(210px, 1fr));
  gap:16px;
}
.classTypeDataCard{
  min-height:170px;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-content:space-between;
  gap:14px;
  padding:18px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 20px 48px rgba(0,0,0,.22);
  position:relative;
  overflow:hidden;
}
.classTypeDataCard::after{
  content:"";
  position:absolute;
  inset:auto -20% -38% auto;
  width:160px;
  height:160px;
  background:radial-gradient(circle, rgba(255,255,255,.18), transparent 68%);
  pointer-events:none;
}
.classTypeDataCard.tone1{
  color:#141414;
  background:linear-gradient(135deg, #f7c600 0%, #ffe26a 100%);
}
.classTypeDataCard.tone2{
  color:#fff;
  background:linear-gradient(135deg, rgba(31,42,74,.96), rgba(78,107,191,.82));
}
.classTypeDataCard.tone3{
  color:#fff;
  background:linear-gradient(135deg, rgba(14,20,30,.98), rgba(54,87,112,.9));
}
.classTypeDataCard.tone4{
  color:#141414;
  background:linear-gradient(135deg, #ffd84d 0%, #fff0a2 100%);
}
.classTypeDataCard.tone5{
  color:#fff;
  background:linear-gradient(135deg, rgba(47,34,78,.96), rgba(110,84,176,.86));
}
.classTypeDataCard.tone6{
  color:#fff;
  background:linear-gradient(135deg, rgba(30,46,41,.96), rgba(62,121,97,.86));
}
.classTypeDataCardName{
  grid-column:1 / -1;
  margin:0;
  font-size:28px;
  line-height:1.02;
  font-weight:900;
  letter-spacing:.01em;
}
.classTypeMiniChart{
  grid-column:1 / -1;
  height:12px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.18);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
}
.classTypeMiniChartFill{
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(255,255,255,.92), rgba(255,255,255,.42));
}
.classTypeItemKpiCard{
  padding:10px 12px;
  align-self:end;
}
.classTypeItemKpiCard small{
  font-size:10px;
}
.classTypeItemKpiCard strong{
  font-size:22px;
}
.calendarQuotaRows{
  display:grid;
  gap:14px;
}
.calendarQuotaRow{
  display:grid;
  gap:6px;
}
.quotaTrack{
  background:rgba(255,255,255,.1);
}
.quotaFill{
  background:linear-gradient(90deg, #60b5ff, #416dff);
}
.insightTableWrap{
  overflow:auto;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(8,12,22,.45);
}
.insightTable{
  width:100%;
  border-collapse:collapse;
  min-width:520px;
}
.insightTable th,
.insightTable td{
  padding:10px 12px;
  border-bottom:1px solid rgba(255,255,255,.06);
  font-size:12px;
  text-align:left;
}
.insightTable th{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--muted);
}
.insightTable td strong{
  font-size:13px;
}
.insightPositive{
  color:#64d2a3;
}
.insightWarning{
  color:#ff8c82;
}
.efficiencyReviewTag{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(255,140,130,.16);
  color:#ffb4ae;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.efficiencyReviewTag.is-good{
  background:rgba(100,210,163,.14);
  color:#9ff2cb;
}
.efficiencyMeta{
  color:var(--muted);
  font-size:12px;
}
.insightEmpty{
  padding:18px;
  border-radius:14px;
  border:1px dashed rgba(255,255,255,.12);
  color:var(--muted);
  background:rgba(255,255,255,.03);
}
.metricsExecutiveToolbar{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin:8px 0 10px;
}
.metricsSiteButtons{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:12px;
}
.metricPanel{
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  background:rgba(255,255,255,.04);
  padding:10px;
}
.metricPanel h4{margin:0 0 8px;font-size:14px}
.barRow{
  display:grid;
  grid-template-columns:180px 1fr 72px;
  gap:8px;
  align-items:center;
  margin:7px 0;
  font-size:12px;
}
.barTrack{
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  overflow:hidden;
}
.barFill{
  height:100%;
  background:linear-gradient(90deg,var(--gold),var(--gold2));
}
.metricTable{width:100%;border-collapse:collapse}
.metricTable th,.metricTable td{padding:7px;border-bottom:1px solid rgba(255,255,255,.08);font-size:12px}
.payQGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px}
.payQCard{border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.04);padding:12px;display:flex;flex-direction:column;gap:6px}
.payQInstructor{font-weight:900;font-size:14px;color:#fff;border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:6px;margin-bottom:2px}
.payQSiteRow{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:4px 0;border-bottom:1px solid rgba(255,255,255,.06);font-size:12px}
.payQSiteName{font-weight:700;color:var(--gold);min-width:90px}
.payQStat{color:var(--muted)}
.payQRet{color:#ff9e6b}
.payQNet{color:#7cf0ac}
.payQTotal{display:flex;flex-wrap:wrap;gap:8px;padding-top:6px;font-size:12px;border-top:1px solid rgba(255,255,255,.12);margin-top:2px}
.versusGrid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:8px;
}
.versusCard{
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
  padding:8px;
  background:rgba(255,255,255,.03);
}
.versusName{font-weight:800;margin-bottom:6px}
.biLegend{
  display:flex;
  gap:16px;
  align-items:center;
  color:#d0d0d0;
  font-size:12px;
  margin-bottom:8px;
}
.biSwatch{
  display:inline-block;
  width:10px;
  height:10px;
  border-radius:3px;
  margin-right:6px;
}
.biBottom{background:#f7c600}
.biTop{background:#9d7dff}
.biChart{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:8px;
  align-items:end;
  min-height:180px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  padding:10px 8px;
  background:rgba(0,0,0,.2);
}
.biMonth{
  display:grid;
  justify-items:center;
  gap:6px;
}
.biBars{
  width:100%;
  max-width:44px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:stretch;
  gap:3px;
}
.biHalf{
  min-height:2px;
  border-radius:6px;
  border:1px solid rgba(255,255,255,.2);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#111;
  font-size:10px;
  font-weight:900;
}
.biHalf span{
  mix-blend-mode:multiply;
}
.biHalfTop{
  background:linear-gradient(180deg, #c3b1ff, #9d7dff);
}
.biHalfBottom{
  background:linear-gradient(180deg, #ffde4d, #f7c600);
}
.biLabel{
  font-size:11px;
  color:#d7d7d7;
}
.executiveChartWrap{
  overflow:auto;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:rgba(0,0,0,.2);
  padding:10px;
}
.executiveLineSvg{
  width:100%;
  min-width:720px;
  height:220px;
  display:block;
}
.executiveLineMeta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  margin-top:10px;
  font-size:12px;
  color:#d6d6d6;
}
.executiveCompareRow{
  margin:10px 0 14px;
}
.executiveCompareHead{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-bottom:6px;
  font-size:12px;
}
.executiveDualBar{
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  overflow:hidden;
  margin-bottom:5px;
}
.executiveDualFill{
  height:100%;
  border-radius:999px;
}
.executiveDualFill.classes{
  background:linear-gradient(90deg,#9d7dff,#c3b1ff);
}
.executiveDualFill.money{
  background:linear-gradient(90deg,var(--gold),var(--gold2));
}

@media (max-width:1280px){
  .app{grid-template-columns:290px 1fr}
  .calendarLayout,
  .calendarLayoutWide{grid-template-columns:minmax(0,1fr) 320px}
  .calendarClassesList{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
}

@media (max-width:1024px){
  .app{grid-template-columns:1fr}
  header{
    padding:12px;
    align-items:flex-start;
    flex-wrap:wrap;
  }
  .brand h1{font-size:24px}
  .who{
    width:100%;
    align-items:flex-start;
  }
  .whoTop{
    width:100%;
    justify-content:flex-start;
  }
  .syncLiveBar{
    width:min(100%, 420px);
    margin-left:0;
  }
  .syncLiveBarMeta{
    flex-direction:column;
    align-items:flex-start;
  }
  aside{
    border-right:none;
    border-bottom:1px solid rgba(255,255,255,.08);
    position:relative;
  }
  .nav{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .navBtn{
    min-height:56px;
    justify-content:flex-start;
  }
  main,
  .pageShell{padding:12px}
  .card{padding:12px}
  .calendarHead,.calendarGrid{gap:6px}
  .calendarLayout,
  .calendarLayoutWide{grid-template-columns:1fr}
  .calendarInsightsInline{grid-template-columns:1fr}
  .insightSectionHeader{
    flex-direction:column;
    align-items:flex-start;
  }
  .classTypeHero strong{
    font-size:34px;
  }
  .insightsModal{padding:14px}
  .insightsModalHead{
    flex-direction:column;
    align-items:flex-start;
  }
  .miniCalendarSide{
    order:0;
    position:relative;
    top:auto;
    z-index:auto;
  }
  .miniGrid .day{min-height:52px}
  .day{min-height:100px}
  .biChart{grid-template-columns:repeat(6,minmax(0,1fr))}
  .calendarClassesList{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
  .efficiencyChartStage{
    grid-template-columns:repeat(auto-fit, minmax(90px, 1fr));
    min-height:320px;
  }
  .promoCalendarCardShell{
    grid-template-columns:1fr;
  }
  .promoSlotGrid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .promoExpandedCard{
    width:min(72vw, 720px);
    height:min(58vh, 720px);
  }
  .tableWrap{
    max-height:none;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.08);
  }
}

@media (max-width:768px){
  header{
    gap:10px;
    padding:10px 12px;
  }
  .logo{
    width:40px;
    height:40px;
    border-radius:10px;
  }
  .brand h1{font-size:21px}
  .brand small{font-size:11px}
  .statusPill{
    padding:7px 10px;
    font-size:11px;
  }
  .authCard{
    width:min(520px,94vw);
    padding:12px;
  }
  .nav{grid-template-columns:1fr}
  .row{
    align-items:stretch;
  }
  .row .btn,
  .row .statusPill,
  .row input,
  .row select{
    width:100%;
  }
  .cardHead h2{font-size:18px}
  .cardHead p{font-size:12px}
  .calendarLegend{
    flex-wrap:wrap;
    gap:10px;
  }
  .miniCalendarSide{
    padding:9px;
  }
  .miniCalendarHead{
    align-items:flex-start;
    flex-wrap:wrap;
  }
  .calendarClassesList{
    grid-template-columns:1fr;
  }
  .promoSlotGrid{
    grid-template-columns:1fr;
  }
  .promoExpandedCard{
    width:min(88vw, 640px);
    height:min(62vh, 640px);
    min-width:280px;
    min-height:280px;
  }
  .calendarClassCard{
    padding:12px;
  }
  .calendarClassName{
    font-size:17px;
    padding-right:0;
    margin-top:2px;
  }
  .calendarClassCard.newClassPromo .calendarClassCardHead{
    padding-top:18px;
  }
  .classPromoBadge{
    top:4px;
    right:8px;
    font-size:9px;
    padding:4px 8px;
  }
  .calendarClassControls{
    flex-direction:column;
  }
  .classQuorumCol,
  .classQuorumWrap{
    width:100%;
  }
  .classQuorumWrap input{
    width:100%;
    max-width:none;
  }
  .metricKpiGrid,
  .metricsInstructorButtons,
  .versusGrid{
    grid-template-columns:1fr;
  }
  .barRow{
    grid-template-columns:1fr;
    gap:5px;
  }
  .barTrack{
    order:3;
  }
  .executiveLineSvg{
    min-width:560px;
  }
  table{
    min-width:720px;
  }
}

@media (hover:none), (pointer:coarse){
  .miniCalendarSide{
    position:relative;
    top:auto;
    z-index:auto;
  }
}

@media (max-width:640px){
  body{
    background:
      radial-gradient(760px 420px at 12% 0%, rgba(247,198,0,.16), transparent 60%),
      radial-gradient(620px 380px at 100% 8%, rgba(247,198,0,.34), transparent 58%),
      var(--bg);
  }
  .pageShell,
  main,
  aside{padding:10px}
  .card{
    padding:10px;
    border-radius:14px;
  }
  .miniGrid{
    gap:4px;
  }
  .miniGrid .day{
    min-height:48px;
    padding:4px;
    border-radius:9px;
  }
  .miniGrid .dayCount{
    font-size:7px;
    padding:1px 3px;
  }
  .day{
    min-height:86px;
    padding:6px;
  }
  .promoCalendarCard{
    --promo-card-height: auto;
  }
  .promoCalendarCardShell{
    padding:10px;
  }
  .promoHeadline{
    font-size:20px;
  }
  .promoExpandedCaption h3{
    font-size:24px;
  }
  .sessionDeleteDialog{
    padding:16px;
  }
  .sessionDeleteDialogCard{
    border-radius:22px;
    padding:18px;
  }
  .sessionDeleteDialogActions{
    grid-template-columns:1fr;
  }
  .dayNum{font-size:12px}
  .dayCount{font-size:9px}
  .calendarClassesCard h3{font-size:13px}
  .calendarClassCardHead{
    gap:5px;
  }
  .classTimePill,.classSitePill,.classStatePill,.classQuorumPill{
    font-size:10px;
    padding:3px 7px;
  }
  .calendarClassInstructor{
    font-size:11px;
  }
  .btn,.navBtn{
    padding:11px 12px;
  }
  .placeholder{
    padding:14px;
    font-size:12px;
  }
  table{
    min-width:640px;
  }
}
