#platformSection{margin-top:24px}#platformSection fieldset{min-width:0;border:1px solid rgba(30,74,61,.16);border-radius:16px;padding:20px;margin:16px 0}#platformSection legend{padding:0 8px;font-weight:600}#platformSection label,#studentTraining label{display:grid;gap:8px;margin:14px 0;font-size:14px}#platformSection input,#platformSection select,#platformSection textarea,#studentTraining textarea{box-sizing:border-box;width:100%;max-width:100%;padding:12px;border:1px solid rgba(30,74,61,.22);border-radius:10px;background:rgba(255,255,255,.7);color:#1c2421;font:inherit}#platformSection textarea{min-height:90px}#platformSection .platform-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}#platformSection .row-actions{display:flex;flex-wrap:wrap;gap:8px}#platformSection .button{white-space:normal}#platformSection fieldset:disabled{opacity:.8}#platformSection .content-card,#studentTraining .content-card{padding:22px;margin-bottom:16px}#studentTraining h3,#platformSection h3{font-size:26px}.workspace-tabs{display:flex;flex-wrap:wrap;gap:8px}.platform-prose{white-space:pre-wrap;overflow-wrap:anywhere}.platform-public-tips{max-width:1200px;margin:auto;padding:40px 24px}.platform-public-tips article{margin:20px 0;padding:24px}#platformSection [hidden],#studentTraining [hidden]{display:none!important}@media(max-width:600px){#platformSection fieldset{padding:12px}#platformSection .dashboard-top{align-items:flex-start;gap:12px;flex-direction:column}#platformSection .row-actions .button{flex:1 1 140px}.workspace-tabs .workspace-tab{flex:1 1 130px}}
#platformStage2 [hidden]{display:none!important}#platformStage2 .stage2-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:14px;margin:22px 0}#platformStage2 .stage2-kpi{display:grid;gap:8px}#platformStage2 .stage2-kpi strong{font-size:30px;color:#1e4a3d}#platformStage2 .stage2-shortcuts{display:flex;flex-wrap:wrap;align-items:center;gap:10px}#platformStage2 .stage2-shortcuts h3{flex:0 0 100%}#platformStage2 .stage2-editor{margin:22px 0}#platformStage2 .stage2-section{margin:20px 0}#platformStage2 .stage2-actions{margin:16px 0}#platformStage2 .stage2-record-list{display:grid;gap:10px;margin-top:14px}#platformStage2 .stage2-record{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid rgba(30,74,61,.13)}#platformStage2 .stage2-price{color:#1e4a3d;font-weight:700}#platformStage2 input[type=file]{padding:10px;border:1px dashed rgba(30,74,61,.35);border-radius:10px;background:#fff}#studentDigitalLibrary .digital-product-card{margin:14px 0}#studentDigitalLibrary .row-actions{display:flex;flex-wrap:wrap;gap:8px}.privacy-acknowledgement{display:flex!important;grid-template-columns:auto 1fr;align-items:start;gap:10px!important}.privacy-acknowledgement input{width:auto;min-width:18px;margin-top:4px}.privacy-acknowledgement a{color:#1e4a3d;text-decoration:underline}@media(max-width:600px){#platformStage2 .dashboard-top{align-items:flex-start;flex-direction:column}#platformStage2 .stage2-record{align-items:flex-start;flex-direction:column}#studentDigitalLibrary .button{width:100%}}

/* === EVOLUÇÃO FITNESS LIFESTYLE: PORTAL APP-LIKE, ADMIN VARIAÇÕES & MOTOR DE LUZ === */
:root {
  --light-x: 50%;
  --light-y: 18%;
  --specular-glow: rgba(200, 165, 146, 0.22);
  --sage-glow: rgba(30, 74, 61, 0.14);
}
html[data-theme="dark"] {
  --specular-glow: rgba(200, 165, 146, 0.16);
  --sage-glow: rgba(168, 197, 181, 0.12);
}

/* Motor de Luz Especular Ambiental e Shimmer nos Cards */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(680px circle at var(--light-x, 50%) var(--light-y, 18%), var(--specular-glow), transparent 65%),
    radial-gradient(520px circle at calc(100% - var(--light-x, 50%)) calc(100% - var(--light-y, 18%)), var(--sage-glow), transparent 70%);
  transition: background 0.15s ease-out;
}

.content-card, .portal-card, .featured-plan, .student-session-card {
  position: relative;
  overflow: hidden;
}

.content-card::after, .portal-card::after, .student-session-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--card-mouse-x, 50%) var(--card-mouse-y, 0%), rgba(255, 255, 255, 0.45), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
html[data-theme="dark"] .content-card::after, html[data-theme="dark"] .portal-card::after {
  background: radial-gradient(420px circle at var(--card-mouse-x, 50%) var(--card-mouse-y, 0%), rgba(241, 237, 226, 0.12), transparent 60%);
}
@media (hover: hover) and (pointer: fine) {
  .content-card:hover::after, .portal-card:hover::after, .student-session-card:hover::after {
    opacity: 1;
  }
}

/* Portal do Aluno App-Like */
.student-app-header {
  margin-bottom: 18px;
}
.student-plan-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.smart-day-selector {
  background: linear-gradient(135deg, rgba(220, 229, 220, 0.48), rgba(241, 237, 226, 0.88)) !important;
  border: 1px solid rgba(30, 74, 61, 0.24) !important;
  margin-bottom: 20px;
}
.session-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.session-pills-row .filter {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(30, 74, 61, 0.18);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #102e27;
  transition: all 0.2s ease;
}
.session-pills-row .filter.active {
  background: #1e4a3d;
  color: #f1ede2;
  border-color: #1e4a3d;
  box-shadow: 0 6px 16px -6px rgba(16, 46, 39, 0.45);
}
.student-session-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(30, 74, 61, 0.14);
  margin-bottom: 16px;
}
.student-exercise-card {
  background: rgba(255, 253, 249, 0.85);
  border: 1px solid rgba(30, 74, 61, 0.15);
  border-radius: 14px;
  padding: 18px;
  margin: 14px 0;
  box-shadow: 0 8px 20px -16px rgba(16, 46, 39, 0.22);
}
.student-exercise-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.exercise-index-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #1e4a3d;
  color: #f1ede2;
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-weight: 700;
  flex-shrink: 0;
}
.exercise-params-pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(220, 229, 220, 0.52);
  color: #102e27;
  font-size: 12px;
  font-weight: 600;
  margin: 6px 0 10px;
}
.coach-tip-banner {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(229, 219, 201, 0.55);
  border-left: 3px solid #c8a592;
  font-size: 13px;
  color: #1c2421;
  margin: 10px 0;
}
.authorized-variation-switcher {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(30, 74, 61, 0.2);
}
.authorized-variation-switcher label {
  font-size: 12px !important;
  font-weight: 600;
  color: #1e4a3d;
}
.variation-select {
  margin-top: 4px;
  background: #fffdf9 !important;
  border: 1px solid rgba(30, 74, 61, 0.28) !important;
  border-radius: 9px !important;
  padding: 9px 12px !important;
  font-size: 13px !important;
}
.student-rest-timer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(241, 237, 226, 0.75);
  border: 1px solid rgba(200, 165, 146, 0.35);
}
.timer-readout {
  font-size: 12px;
  font-weight: 700;
  color: #102e27;
}
.video-guide-drawer {
  margin-top: 10px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(220, 229, 220, 0.38);
  border: 1px solid rgba(30, 74, 61, 0.2);
}
.variations-admin-box {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(220, 229, 220, 0.25);
  border: 1px dashed rgba(30, 74, 61, 0.28);
}
.variation-item-card {
  background: rgba(255, 255, 255, 0.78);
  margin: 10px 0 !important;
}

/* Ilhas translúcidas para gestão e acompanhamento. */
:root { --portal-sand:#f5f0e8; --portal-forest:#173e33; --portal-champagne:#d8c0a0; }
body:has(.studio-shell) { background:radial-gradient(ellipse at 90% 0,rgba(216,192,160,.26),transparent 38%),linear-gradient(145deg,#fbf9f4,#e9eee6); }
.admin-header { background:rgba(250,247,241,.78); border-radius:0 0 24px 24px; backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); }
.studio-shell .workspace-tabs { border-radius:24px; padding:7px; background:rgba(245,240,232,.78); border:1px solid rgba(255,255,255,.85); box-shadow:0 16px 35px -30px rgba(23,62,51,.5); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); }
.studio-shell .workspace-tab { border-radius:999px; }
.studio-shell .auth-card,.studio-shell .portal-card,.studio-shell .kpi-card,.studio-shell .content-card,.studio-shell .student-session-card { border-radius:22px; border:1px solid rgba(255,255,255,.8); background:linear-gradient(140deg,rgba(255,255,255,.84),rgba(245,237,224,.76)); box-shadow:0 18px 45px -32px rgba(23,62,51,.48),inset 0 1px 0 rgba(255,255,255,.9); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); }
.studio-shell .button.primary { border-radius:999px; background:#173e33; color:#fff; }
.studio-shell :focus-visible { outline:3px solid #9c6f5e; outline-offset:3px; }
@supports not (backdrop-filter:blur(1px)) { .studio-shell .workspace-tabs,.studio-shell .auth-card,.studio-shell .portal-card,.studio-shell .kpi-card,.studio-shell .content-card,.studio-shell .student-session-card { background:#f7f3eb; } }
@media(prefers-reduced-transparency:reduce) { .studio-shell .workspace-tabs,.studio-shell .auth-card,.studio-shell .portal-card,.studio-shell .kpi-card,.studio-shell .content-card,.studio-shell .student-session-card { background:#f7f3eb; backdrop-filter:none; -webkit-backdrop-filter:none; } }

.video-coming-soon { padding:16px; border-radius:16px; border:1px dashed rgba(23,62,51,.3); background:rgba(245,240,232,.8); color:#29483b; font-size:14px; }
