/* Mercados: área ampliável e acesso controlado. */
.marketAnalysisSection>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.marketAnalysisSection>header>div{min-width:0}.marketStudyNote{display:block;min-height:18px;margin-top:7px;color:var(--green);font-size:12px;font-weight:850}.marketExpand{flex:0 0 auto;min-height:40px;padding:8px 11px;border:1px solid rgba(48,230,166,.38);border-radius:12px;color:var(--green);background:rgba(48,230,166,.08);font-size:12px;font-weight:900}.marketLocked{display:grid;place-items:center;align-content:center;min-height:430px;padding:30px;text-align:center}.marketLocked>span{font-size:38px}.marketLocked h3{margin:13px 0 7px}.marketLocked p{max-width:470px;margin:0;color:var(--muted);line-height:1.55}.marketLocked button{min-height:46px;margin-top:18px;padding:10px 16px;border:0;border-radius:13px;color:#061b15;background:var(--green);font-weight:950}.marketAnalysisSection.expanded{position:fixed;z-index:1000;inset:0;display:flex;flex-direction:column;margin:0;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));border:0;border-radius:0;background:#071322}.marketAnalysisSection.expanded>header,.marketAnalysisSection.expanded .marketTabs{flex:0 0 auto}.marketAnalysisSection.expanded .marketWidget{flex:1;min-height:0}.marketExpandedOpen{overflow:hidden}.marketAnalysisSection.expanded .marketExpand{color:#071322;background:var(--green)}

/* Controle financeiro mensal, armazenado no aparelho. */
.financeControl{width:min(100%,780px);margin:0 auto;padding-bottom:32px}.financeShareFooter{margin-top:20px;padding-bottom:6px}.financeHero{display:grid;grid-template-columns:58px 1fr;gap:15px;align-items:center;margin:10px 0 16px;padding:20px;border:1px solid rgba(48,230,166,.28);border-radius:22px;background:linear-gradient(135deg,#12334a,#0b1d31)}.financeHero>span{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:rgba(48,230,166,.14);font-size:29px}.financeHero h1{margin:0 0 5px;font-size:clamp(25px,7vw,36px)}.financeHero p{margin:0;color:var(--muted);line-height:1.5}.financeMonth{display:grid;gap:6px;margin:14px 0;color:var(--muted);font-size:12px;font-weight:850}.financeMonth input{min-height:48px;padding:0 13px;border:1px solid var(--line);border-radius:14px;color:var(--text);background:var(--surface);font:inherit}.financeSummary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.financeSummary article{display:grid;gap:5px;min-width:0;padding:13px 9px;border:1px solid var(--line);border-radius:16px;background:var(--surface);text-align:center}.financeSummary small{color:var(--muted);font-size:11px}.financeSummary strong{overflow:hidden;text-overflow:ellipsis;font-size:clamp(14px,4vw,20px)}.financeSummary .negative strong{color:#ff6674}.financeProgress{height:8px;margin:10px 2px 18px;overflow:hidden;border-radius:8px;background:#172a3f}.financeProgress span{display:block;height:100%;background:linear-gradient(90deg,var(--green),#ffcb55,#ff6674)}.financeEntry,.financeHistory{margin-top:14px;padding:16px;border:1px solid var(--line);border-radius:22px;background:var(--surface)}.financeMode{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:16px}.financeMode button{min-height:44px;border:1px solid var(--line);border-radius:13px;color:var(--muted);background:#0a1728;font-weight:900}.financeMode button.active{border-color:var(--green);color:#061b15;background:var(--green)}.financeEntry>small{display:block;color:var(--muted);font-weight:800;text-align:center}.financeEntry output{display:block;margin:3px 0 15px;font-size:clamp(34px,11vw,54px);font-weight:950;text-align:center}.financeCategories{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:14px}.financeCategories>b{grid-column:1/-1;color:var(--muted);font-size:12px}.financeCategories button{display:grid;place-items:center;gap:4px;min-height:68px;padding:7px 4px;border:1px solid var(--line);border-radius:13px;color:var(--text);background:#0a1728}.financeCategories button.active{border-color:var(--green);background:rgba(48,230,166,.13);box-shadow:inset 0 0 0 1px var(--green)}.financeCategories button span{font-size:21px}.financeCategories button small{font-size:10px}.financeKeypad{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.financeKeypad button{min-height:52px;border:1px solid var(--line);border-radius:13px;color:var(--text);background:#0a1728;font-size:20px;font-weight:900}.financeEntry .wideButton{width:100%;min-height:49px;margin-top:10px;border:0;border-radius:14px;color:#061b15;background:var(--green);font-weight:950}.financeMessage{min-height:18px;margin:8px 0 0;color:#ff8791;font-size:12px;text-align:center}.financeHistory>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}.financeHistory h2{margin:0;font-size:20px}.financeHistory header small{color:var(--muted);font-size:11px}.financeHistory header button{min-height:38px;padding:7px 9px;border:1px solid var(--line);border-radius:11px;color:var(--text);background:#0a1728;font-size:11px;font-weight:850}.financeHistoryItem{display:grid;grid-template-columns:40px minmax(0,1fr) auto 34px 34px;gap:8px;align-items:center;padding:11px 0;border-top:1px solid var(--line)}.financeHistoryItem>span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:rgba(74,140,255,.1);font-size:20px}.financeHistoryItem>div{display:grid;gap:2px;min-width:0}.financeHistoryItem strong{overflow:hidden;text-overflow:ellipsis}.financeHistoryItem small{color:var(--muted);font-size:10px}.financeHistoryItem>b{font-size:13px}.financeHistoryItem button{width:34px;height:34px;border:1px solid var(--line);border-radius:10px;color:var(--text);background:#0a1728}.financeLocked{display:grid;place-items:center;align-content:center;min-height:65vh;text-align:center}.financeLocked>span{font-size:42px}.financeLocked h1{max-width:480px}.financeLocked button{min-height:48px;padding:10px 17px;border:0;border-radius:14px;color:#061b15;background:var(--green);font-weight:950}

@media(max-width:560px){.marketCenter{width:auto;margin-left:-10px;margin-right:-10px}.marketAnalysisSection{padding:10px}.marketAnalysisSection>header{display:grid;grid-template-columns:1fr auto}.marketAnalysisSection .marketWidget{min-height:72vh;border-radius:15px}.marketAnalysisSection .marketTabs{margin-left:-2px;margin-right:-2px}.financeHero{grid-template-columns:48px 1fr;padding:16px}.financeHero>span{width:48px;height:48px}.financeHistoryItem{grid-template-columns:38px minmax(0,1fr) auto 32px 32px;gap:6px}.financeHistoryItem button{width:32px;height:32px}}

:root {
  --bg: #07111f;
  --surface: #0d1b2d;
  --surface2: #12243b;
  --line: rgba(255,255,255,.09);
  --text: #f7fbff;
  --muted: #9db0c6;
  --green: #30e6a6;
  --blue: #4a8cff;
  --gold: #ffc85c;
  --danger: #ff6f7d;
  --shadow: 0 18px 50px rgba(0,0,0,.28);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
button, a, input, select, textarea { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(255,200,92,.92);
  outline-offset: 3px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 0%, rgba(74,140,255,.22), transparent 36%),
    radial-gradient(circle at 100% 20%, rgba(48,230,166,.12), transparent 32%);
}

#app { position: relative; min-height: 100vh; max-width: 720px; margin: 0 auto; }

.topbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 68px;
  padding: max(12px, env(safe-area-inset-top)) 16px 10px;
  background: rgba(7,17,31,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brandmark, .splashLogo {
  display: grid;
  place-items: center;
  font-weight: 950;
  color: #05131a;
  background: linear-gradient(135deg, var(--green), #8fffd7);
  box-shadow: 0 8px 24px rgba(48,230,166,.2);
}

.brandmark { width: 42px; height: 42px; border-radius: 14px; font-size: 22px; }
.brandmark::after, .splashLogo::after { content: "↗"; margin: -14px -13px 0 0; font-size: 10px; font-weight: 950; }
.brandcopy { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.brandcopy strong { font-size: 17px; }
.brandcopy span { color: #b3c3d5; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iconButton { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 13px; color: #bdcad8; background: var(--surface); }

/* Account avatar is user content. Keep it physically bounded even if a lazy style/module is between frames. */
#accountCenterButton{overflow:hidden;max-width:180px}
#accountCenterButton .accountHeaderAvatar{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;overflow:hidden;border-radius:50%;background:#18304b}
#accountCenterButton .accountHeaderAvatar img{display:block!important;width:100%!important;height:100%!important;max-width:30px!important;max-height:30px!important;object-fit:cover!important}

.content { padding: 18px 16px calc(110px + env(safe-area-inset-bottom)); }
.landingPathSection{margin-top:22px;text-align:left}.landingPathSection>header{margin-bottom:11px}.landingPathSection h2{margin:0 0 4px;font-size:20px}.landingPathSection p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.landingPathGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.landingPathCard{display:grid;gap:7px;min-height:128px;padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--surface2);color:var(--text);text-align:left;text-decoration:none}.landingPathCard span{font-size:27px}.landingPathCard strong{font-size:15px}.landingPathCard small{color:var(--muted);line-height:1.4}.landingCommunity{display:flex;gap:9px;margin-top:18px}.landingCommunity a{display:flex;align-items:center;justify-content:center;flex:1;min-height:46px;padding:10px;border:1px solid rgba(48,230,166,.28);border-radius:14px;color:var(--green);background:rgba(48,230,166,.06);font-weight:850;text-decoration:none}@media(max-width:560px){.landingPathGrid{grid-template-columns:1fr}.landingPathCard{min-height:96px}.landingCommunity{display:grid}}
.splash { min-height: 70vh; display: grid; place-content: center; justify-items: center; text-align: center; }
.splashLogo { width: 82px; height: 82px; border-radius: 26px; font-size: 44px; }
.splash h1 { margin: 18px 0 5px; font-size: 28px; }
.splash p { color: var(--muted); margin: 0 0 20px; }
.loader { width: 180px; height: 4px; border-radius: 9px; background: var(--surface2); overflow: hidden; }
.loader span { display: block; height: 100%; width: 40%; background: var(--green); animation: loading 1.1s infinite ease-in-out; }

@keyframes loading {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(360%); }
}

.hero {
  padding: 20px;
  border: 1px solid rgba(48,230,166,.22);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(18,45,58,.96), rgba(13,27,45,.94));
  box-shadow: var(--shadow);
}

.eyebrow { color: var(--green); text-transform: uppercase; letter-spacing: .12em; font-weight: 900; font-size: 11px; }
.hero h1 { font-size: clamp(24px, 7vw, 34px); margin: 8px 0; line-height: 1.06; }
.hero p { color: var(--muted); line-height: 1.55; margin: 0; }

.statusPill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 8px 11px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 850;
  background: rgba(48,230,166,.12);
  color: var(--green);
}

.statusPill.inactive { background: rgba(255,111,125,.12); color: #ff9ba5; }
.sectionHead { display: flex; justify-content: space-between; align-items: end; gap: 10px; margin: 26px 2px 12px; }
.sectionHead h2 { margin: 0; font-size: 19px; }
.sectionHead p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.textButton { border: 0; background: none; color: var(--green); font-weight: 800; padding: 5px; }

.quickGrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }

.quickCard {
  min-height: 132px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  text-align: left;
  color: var(--text);
  background: linear-gradient(145deg, var(--surface2), var(--surface));
}

.quickCard .emoji { display: block; font-size: 28px; margin-bottom: 18px; }
.quickCard strong { display: block; font-size: 15px; }
.quickCard small { display: block; margin-top: 5px; color: #afc0d3; font-size: 12px; line-height: 1.42; }
.homeFeatureGroup{margin-top:14px;padding:16px;border:1px solid rgba(255,255,255,.07);border-radius:22px;background:rgba(8,24,39,.48)}
.homeFeatureGroup+.homeFeatureGroup{margin-top:12px}
.homeFeatureHead{display:flex;gap:11px;align-items:flex-start;margin-bottom:12px}
.homeFeatureHead>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:rgba(48,230,166,.09);font-size:19px}
.homeFeatureHead h3{margin:1px 0 3px;font-size:16px}
.homeFeatureHead p{margin:0;color:var(--muted);font-size:11px;line-height:1.4}
.homeFeatureGroup .quickCard{position:relative;min-height:126px}
.accessPill{display:inline-flex;align-items:center;width:max-content;max-width:100%;margin:0 0 8px;padding:4px 7px;border-radius:999px;background:rgba(48,230,166,.09);color:var(--green);font-size:9px;font-weight:900;letter-spacing:.04em}
.accessPill.access-subscriber,.accessPill.access-active{background:rgba(255,200,92,.10);color:#ffd37a}
.accessPill.access-admin{background:rgba(126,157,255,.12);color:#b5c5ff}
.areaAdminShortcut{margin-top:14px}
.areaAdminShortcut .areaAdminEntry{width:100%;display:grid;grid-template-columns:48px minmax(0,1fr) 22px;gap:12px;align-items:center;padding:15px;border:1px solid rgba(126,157,255,.28);border-radius:19px;background:linear-gradient(135deg,rgba(76,105,196,.16),rgba(13,27,45,.96));color:var(--text);text-align:left}
.areaAdminShortcut .areaAdminEntry>span:first-child{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:rgba(126,157,255,.13);font-size:24px}
.areaAdminShortcut .areaAdminEntry strong,.areaAdminShortcut .areaAdminEntry small{display:block}
.areaAdminShortcut .areaAdminEntry small{margin-top:4px;color:#b5c3d5;line-height:1.4}
.areaAdminShortcut .areaAdminEntry>b{color:#b5c5ff;font-size:24px;text-align:right}
@media(max-width:520px){.homeFeatureGroup{padding:14px}.homeFeatureGroup .quickGrid{grid-template-columns:1fr 1fr}.homeFeatureGroup .quickCard{min-height:118px;padding:14px}}
@media(max-width:360px){.homeFeatureGroup .quickGrid{grid-template-columns:1fr}.homeFeatureGroup .quickCard{min-height:96px}}
.membershipUpsell { display:grid; gap:14px; margin-top:18px; padding:20px; border:1px solid rgba(255,200,92,.3); border-radius:22px; background:linear-gradient(145deg,rgba(255,200,92,.12),rgba(13,27,45,.96)); box-shadow:var(--shadow); }
.membershipUpsellIcon { font-size:31px; }
.membershipUpsell h2 { margin:7px 0; font-size:21px; }
.membershipUpsell p { margin:0; color:#c9d6e4; font-size:13px; line-height:1.55; }
.areaFirstHead { margin-top:4px; }
.profileAction { margin-top:10px; }
.singleAction { grid-template-columns:1fr; }
.academyGrid { align-items: stretch; }
.academyCategoryCard { min-height: 154px; }
.academyCategoryCard .emoji { margin-bottom: 14px; }
.academyCategoryCard strong { font-size: 14px; line-height: 1.2; }
.academyCategoryCard small { font-size: 11px; }

.academyCategoryHero {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  padding: 18px;
  border: 1px solid rgba(48,230,166,.22);
  border-radius: 21px;
  background: linear-gradient(145deg, var(--surface2), var(--surface));
}

.academyCategoryHero > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 17px;
  background: rgba(48,230,166,.11);
  font-size: 28px;
}

.academyCategoryHero h2 { margin: 0 0 5px; font-size: 19px; }
.academyCategoryHero p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }

.visitorIntro {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(48,230,166,.34);
  border-radius: 20px;
  color: var(--text);
  text-align: left;
  background: linear-gradient(135deg, rgba(48,230,166,.16), rgba(74,140,255,.15));
  box-shadow: var(--shadow);
}

.visitorIntroIcon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 17px;
  background: rgba(48,230,166,.14);
  font-size: 27px;
}

.visitorIntro strong, .visitorIntro small, .visitorIntro b { display: block; }
.visitorIntro strong { font-size: 16px; }
.visitorIntro small { margin-top: 4px; color: #b7c9dc; line-height: 1.4; }
.visitorIntro b { margin-top: 9px; color: var(--green); font-size: 12px; }

.cardList { display: grid; gap: 12px; }

.itemCard {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  background: rgba(13,27,45,.92);
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

.itemTop { display: flex; gap: 12px; align-items: flex-start; }
.itemIcon { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 15px; background: var(--surface2); font-size: 23px; }
.itemCard h3 { margin: 1px 0 5px; font-size: 16px; }
.itemCard p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 13px; white-space: pre-line; }
.meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.chip { padding: 5px 8px; border-radius: 99px; background: rgba(74,140,255,.12); color: #a9c8ff; font-size: 11px; font-weight: 800; }
.cardActions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }

.primaryButton, .secondaryButton, .wideButton {
  min-height: 44px;
  border-radius: 13px;
  padding: 10px 13px;
  font-weight: 850;
  border: 1px solid var(--line);
}

.primaryButton { color: #06151c; background: var(--green); border-color: transparent; }
.secondaryButton { color: var(--text); background: var(--surface2); }
.wideButton { width: 100%; color: #06151c; background: var(--green); border: 0; }
.lockedButton { color: #ffb2ba; background: rgba(255,111,125,.1); }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter { white-space: nowrap; border: 1px solid var(--line); border-radius: 99px; padding: 9px 12px; background: var(--surface); color: var(--muted); }
.filter.active { background: var(--green); color: #06151c; border-color: transparent; font-weight: 900; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }
.pager button { min-height: 42px; border-radius: 12px; border: 1px solid var(--line); color: var(--text); background: var(--surface2); padding: 8px 14px; }
.pager button:disabled { opacity: .35; }

.courseHero { padding: 20px; border-radius: 22px; background: linear-gradient(135deg, #18376a, #11243c); border: 1px solid rgba(74,140,255,.25); }
.courseHero h2 { margin: 10px 0 8px; }
.courseHero p { color: #c0d1e6; line-height: 1.55; }
.courseCover { width: 100%; display: block; margin: 0 0 18px; border-radius: 18px; border: 1px solid var(--line); }
.progressTrack { height: 7px; border-radius: 10px; background: rgba(255,255,255,.09); overflow: hidden; margin-top: 14px; }
.progressTrack span { display: block; height: 100%; background: var(--green); }
.chapter { border: 1px solid var(--line); border-radius: 17px; overflow: hidden; background: var(--surface); }
.chapter button { width: 100%; display: flex; justify-content: space-between; gap: 10px; text-align: left; border: 0; color: var(--text); background: transparent; padding: 15px; font-weight: 800; }
.lesson { margin-top: 12px; }
.lessonBody { color: #d8e4f0; line-height: 1.68; white-space: pre-line; }
.lessonExercise { margin-top: 18px; padding: 14px; border-left: 3px solid var(--green); border-radius: 0 13px 13px 0; background: rgba(48,230,166,.08); }
.lessonExercise strong { color: var(--green); }
.lessonExercise p { margin: 7px 0 0; color: #d8e4f0; }
.lessonNav { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 18px; }

.technicalCourse {
  --ta-yellow: #ffde02;
  --ta-black: #111;
  --ta-paper: #f7f7f2;
  color: #f7f7f2;
}

.technicalCourse .courseHero { border-color: rgba(255,222,2,.42); background: linear-gradient(145deg, #080808, #171717 62%, #24220a); }
.technicalCourse .courseHero p, .technicalCourse .lessonBody { color: #e8e8e2; }
.technicalCourse .eyebrow { color: var(--ta-yellow); }
.technicalCourse .chapter { border-color: rgba(255,222,2,.22); background: #151515; }
.technicalCourse .chapter button { color: #f8f8f3; }
.technicalCourse .chapter button span:last-child { color: var(--ta-yellow); }
.technicalCourse .progressTrack span { background: var(--ta-yellow); }
.technicalCourse .courseVisual span { color: #191600; background: var(--ta-yellow); }
.technicalCourse .itemCard.lesson { border-color: rgba(255,222,2,.28); background: #121212; }
.technicalCourse .lessonBody h4 { margin: 22px 0 8px; color: var(--ta-yellow); font-size: 15px; }
.technicalCourse .lessonBody ul { margin: 8px 0 18px; padding-left: 21px; }
.technicalCourse .lessonBody li { margin: 7px 0; }
.technicalCourse .primaryButton { color: #151300; background: var(--ta-yellow); }
.technicalCourse .secondaryButton { color: #f6f6ef; background: #252525; border-color: #3a3a36; }

.coursePartnerCta {
  position: sticky;
  z-index: 12;
  bottom: calc(68px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 7px;
  max-height: 56px;
  margin: 10px 0 4px;
  padding: 6px 7px 6px 10px;
  border: 1px solid rgba(255,222,2,.42);
  border-radius: 13px;
  background: rgba(12,12,12,.96);
  box-shadow: 0 8px 22px rgba(0,0,0,.38);
  backdrop-filter: blur(14px);
}

.coursePartnerCta > span, .coursePartnerCta p, .coursePartnerCta small { display: none; }
.coursePartnerCta h3 { min-width: 0; margin: 0; color: #fff; font-size: 11px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.coursePartnerButton { width: auto; min-width: 96px; min-height: 34px; padding: 7px 10px; border: 0; border-radius: 9px; color: #171400; background: var(--ta-yellow, #ffde02); font-size: 10px; font-weight: 950; letter-spacing: .02em; white-space: nowrap; }
.coursePartnerActions { display:grid; justify-items:stretch; gap:2px; }
.courseVideoLink { width:100%; padding:2px 3px 0; border:0; color:#f5f5ed; background:transparent; font-size:8px; font-weight:800; line-height:1.15; text-decoration:underline; text-underline-offset:2px; }

.taFigure { margin: 5px 0 20px; overflow: hidden; border: 1px solid rgba(255,222,2,.22); border-radius: 16px; background:#080b0f; box-shadow:0 12px 30px rgba(0,0,0,.28); }
.taFigure svg { display:block; width:100%; height:auto; aspect-ratio:16/7.5; }
.taFigure figcaption { padding:9px 12px 11px; color:#aab5c4; border-top:1px solid rgba(255,255,255,.07); font-size:12px; font-weight:750; line-height:1.35; }
.taCandles { display: flex; align-items: center; justify-content: center; gap: 19px; }
.taCandles i { position: relative; display: block; width: 13px; height: 47px; border-radius: 2px; background: #ef4a55; }
.taCandles i::before { content: ""; position: absolute; left: 6px; top: -18px; width: 1px; height: 82px; background: inherit; }
.taCandles i.up { height: 58px; background: #21ca83; transform: translateY(-11px); }
.taCandles i:nth-child(3) { height: 31px; transform: translateY(-21px); }
.taCandles i:nth-child(5) { height: 44px; transform: translateY(17px); }
.taTrend i { position: absolute; width: 12px; border-radius: 2px; background: #21ca83; }
.taTrend i::after { content: ""; position: absolute; left: 5px; top: -12px; width: 2px; height: calc(100% + 24px); background: #21ca83; }
.taTrend i:nth-child(1) { left: 12%; bottom: 22px; height: 30px; }
.taTrend i:nth-child(2) { left: 26%; bottom: 42px; height: 40px; }
.taTrend i:nth-child(3) { left: 40%; bottom: 34px; height: 28px; background:#ef4a55; }
.taTrend i:nth-child(3)::after { background:#ef4a55; }
.taTrend i:nth-child(4) { left: 54%; bottom: 64px; height: 43px; }
.taTrend i:nth-child(5) { left: 68%; bottom: 57px; height: 27px; background:#ef4a55; }
.taTrend i:nth-child(5)::after { background:#ef4a55; }
.taTrend i:nth-child(6) { left: 82%; bottom: 90px; height: 39px; }
.taTrend b { position: absolute; left: 8%; right: 7%; bottom: 24px; height: 3px; background: var(--ta-yellow); transform: rotate(-25deg); transform-origin: left; box-shadow: 0 0 12px rgba(255,222,2,.45); }

.taRange span { position:absolute; left:7%; right:7%; height:2px; background:var(--ta-yellow); }
.taRange span:first-child { top:31px; }
.taRange span:nth-child(2) { bottom:30px; }
.taRange i { position:absolute; width:11px; height:38px; background:#21ca83; bottom:38px; }
.taRange i:nth-of-type(1) { left:14%; }
.taRange i:nth-of-type(2) { left:31%; bottom:70px; background:#ef4a55; }
.taRange i:nth-of-type(3) { left:48%; bottom:47px; }
.taRange i:nth-of-type(4) { left:65%; bottom:73px; background:#ef4a55; }
.taRange i:nth-of-type(5) { left:82%; bottom:44px; }
.taIndicator i, .taIndicator b { position:absolute; left:7%; right:7%; height:3px; border-radius:50%; }
.taIndicator i { top:53px; background:#21ca83; transform:rotate(-8deg); }
.taIndicator b { top:82px; background:#ef4a55; transform:rotate(7deg); }
.taIndicator span { position:absolute; left:7%; right:7%; bottom:25px; height:28px; border-top:2px solid var(--ta-yellow); border-radius:50%; }
.taRisk span { position:absolute; left:7%; right:7%; padding:4px 8px; border-radius:6px; font-size:10px; font-weight:900; }
.taRisk .riskStop { bottom:18px; color:#ffadb3; border-top:2px solid #ef4a55; }
.taRisk .riskEntry { bottom:67px; color:#111; background:var(--ta-yellow); }
.taRisk .riskTarget { top:18px; color:#8ff1c3; border-bottom:2px solid #21ca83; }

@media (max-width: 420px) {
  .coursePartnerCta { bottom: calc(64px + env(safe-area-inset-bottom)); grid-template-columns:minmax(0,1fr) auto; max-height:60px; }
  .coursePartnerButton { min-width: 88px; padding-inline: 8px; }
  .taFigure { margin-bottom:16px; border-radius:13px; }
  .taFigure figcaption { font-size:11px; }
}

.toolGrid { display: grid; gap: 12px; }
.toolCard { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.toolCard h3 { margin: 0 0 11px; }
.fieldGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.field label { display: block; color: var(--muted); font-size: 11px; margin-bottom: 5px; }
.field input, .field select { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 11px; background: #081523; color: var(--text); }
.fullField { grid-column: 1 / -1; }
.resultBox { margin-top: 12px; border-radius: 12px; padding: 12px; background: rgba(48,230,166,.09); color: var(--green); font-weight: 850; }
.quizOption { width: 100%; text-align: left; margin-top: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; color: var(--text); background: var(--surface2); }

.profileCard { text-align: center; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.avatar { width: 72px; height: 72px; margin: 0 auto 7px; border-radius: 50%; display: grid; place-items: center; overflow:hidden; color: #06151c; background: linear-gradient(135deg, var(--green), var(--blue)); font-size: 29px; font-weight: 950; }
.profileCard h2 { margin: 0 0 5px; }
.profileCard p { margin: 0; color: var(--muted); }
.affiliateBox { margin-top: 12px; padding: 13px; border: 1px dashed rgba(48,230,166,.35); border-radius: 14px; color: #bffde7; word-break: break-all; font-size: 12px; }
.empty { padding: 30px 18px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 18px; }
.notice { padding: 14px; border-radius: 15px; background: rgba(255,200,92,.1); color: #ffe2a1; line-height: 1.5; font-size: 13px; }
.error { color: #ffb0b8; }

.bottomNav {
  position: fixed !important;
  z-index: 90;
  bottom: 0 !important;
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  transform: translateX(-50%) !important;
  width: min(720px, 100%);
  max-width: 100vw;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 8px max(9px, env(safe-area-inset-bottom));
  margin: 0 !important;
  background: rgba(8,20,34,.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(0,0,0,.22);
}

.bottomNav button { border: 0; background: none; color: #7f93aa; padding: 5px 2px; }
.bottomNav button { min-height:58px; border-radius:12px; touch-action:manipulation; }
.bottomNav button:active { background:rgba(48,230,166,.09); transform:scale(.97); }
.bottomNav button span { display: block; font-size: 20px; filter: grayscale(1); }
.bottomNav button small { display: block; font-size: 10px; margin-top: 2px; }
.bottomNav button.active { color: var(--green); }
.bottomNav button.active span { filter: none; transform: translateY(-1px); }
.bottomNav button[data-view="area"] span { filter: none; }
.bottomNav button[data-view="area"] .areaHeart { color:#ff6478!important; filter:none!important; -webkit-filter:none!important; font-size:25px; line-height:1; text-shadow:0 0 10px rgba(255,100,120,.22); }
.bottomNav button[data-view="area"].active .areaHeart { color:#ff6478!important; transform:translateY(-1px) scale(1.04); }
.hidden { display: none !important; }

.toast {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 92px;
  transform: translate(-50%, 20px);
  width: min(90%, 430px);
  padding: 12px 15px;
  border-radius: 14px;
  background: #e9fff7;
  color: #092118;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: .22s;
  box-shadow: var(--shadow);
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }
.globalLoading { position:fixed; z-index:120; inset:0; display:grid; place-items:center; padding:24px; background:rgba(4,11,20,.72); backdrop-filter:blur(7px); }
.globalLoadingCard { display:grid; justify-items:center; gap:8px; width:min(82%,280px); padding:25px 20px; border:1px solid rgba(48,230,166,.28); border-radius:22px; background:#0d1b2d; box-shadow:0 24px 70px rgba(0,0,0,.5); text-align:center; }
.globalLoadingCard strong { margin-top:4px; font-size:16px; }
.globalLoadingCard small { color:#afc0d3; font-size:12px; }
.globalSpinner { width:42px; height:42px; border:4px solid rgba(255,255,255,.12); border-top-color:var(--green); border-radius:50%; animation:global-spin .75s linear infinite; }
@keyframes global-spin { to { transform:rotate(360deg); } }
.modal { position: fixed; z-index: 100; inset: 0; display: grid; align-items: end; }
.modalBackdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(5px); }

.modalSheet {
  position: relative;
  width: min(720px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  margin: 0 auto;
  padding: 25px 20px max(24px, env(safe-area-inset-bottom));
  border-radius: 26px 26px 0 0;
  border: 1px solid var(--line);
  background: #0d1b2d;
  box-shadow: 0 -20px 60px rgba(0,0,0,.45);
}

.modalClose { position: absolute; right: 17px; top: 17px; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); background: var(--surface2); }
.modalIcon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: rgba(48,230,166,.12); font-size: 29px; }
.modalSheet h2 { margin: 16px 42px 8px 0; }
.modalSheet p { color: var(--muted); line-height: 1.55; }
.modalSheet ul { padding-left: 22px; color: #d8e4f0; line-height: 1.55; }
.modalSheet li { margin: 8px 0; }
.modalCancel { width: 100%; margin-top: 9px; }
.lockedExperience { position: relative; }
.lockedExperience::after { content: "🔒"; position: absolute; right: 13px; top: 13px; font-size: 14px; }
.courseVisual { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 16px 0; }
.courseVisual span { padding: 12px 6px; border-radius: 12px; text-align: center; font-size: 11px; font-weight: 850; background: rgba(74,140,255,.12); color: #b9d1ff; }
.projectionSummary { display: grid; gap: 9px; margin-top: 14px; }
.projectionRow { display: flex; justify-content: space-between; gap: 12px; padding: 11px; border-radius: 12px; background: rgba(74,140,255,.1); }
.projectionRow strong { color: var(--green); text-align: right; }
.disclaimer { margin-top: 13px; padding: 12px; border-radius: 12px; background: rgba(255,200,92,.1); color: #ffe2a1; font-size: 12px; line-height: 1.5; }

.presentationBack { margin-bottom: 10px; }
.presentationHero { padding: 24px 20px; border: 1px solid rgba(48,230,166,.3); border-radius: 24px; background: linear-gradient(145deg, #123b42, #10243d 58%, #172149); box-shadow: var(--shadow); }
.presentationHero h1 { margin: 10px 0; font-size: clamp(27px, 7.6vw, 39px); line-height: 1.08; }
.presentationHero > p { margin: 0; color: #c2d2e4; line-height: 1.58; }
.inviteRegistered { margin: 17px 0 14px; padding: 11px 12px; border-radius: 13px; color: #c8ffec; background: rgba(48,230,166,.11); font-size: 12px; line-height: 1.45; }
.presentationSection { margin-top: 27px; }
.presentationSection > h2, .networkHighlight h2, .presentationFinal h2 { margin: 0 0 13px; font-size: 21px; }
.presentationBenefits, .presentationSteps { display: grid; gap: 10px; }
.presentationBenefits article, .presentationSteps article { display: flex; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 17px; background: rgba(13,27,45,.9); }
.presentationBenefits article > span { font-size: 25px; }
.presentationBenefits h3, .presentationSteps h3 { margin: 0 0 4px; font-size: 15px; }
.presentationBenefits p, .presentationSteps p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.48; }
.presentationSteps article > b { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; color: #05151b; background: var(--green); }
.networkHighlight { margin-top: 27px; padding: 20px; border: 1px solid rgba(255,200,92,.28); border-radius: 21px; background: linear-gradient(145deg, rgba(255,200,92,.13), rgba(13,27,45,.96)); }
.networkHighlight > span { font-size: 30px; }
.networkHighlight h2 { margin-top: 9px; }
.networkHighlight p { color: #dce7f2; line-height: 1.58; }
.networkHighlight small { display: block; color: #ffe2a1; line-height: 1.5; }
.goalGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.goalGrid span { padding: 13px 10px; border: 1px solid rgba(74,140,255,.22); border-radius: 14px; color: #caddff; background: rgba(74,140,255,.1); font-size: 12px; font-weight: 800; text-align: center; }
.presentationFinal { margin-top: 27px; padding: 21px; border-radius: 21px; text-align: center; background: var(--surface); border: 1px solid var(--line); }
.presentationFinal p { color: var(--muted); line-height: 1.55; }
.presentationFinal small { display: block; margin-top: 11px; color: var(--muted); line-height: 1.45; }
.presentationPair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 27px; }
.presentationPair article { padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: rgba(13,27,45,.92); }
.presentationPair article > span { font-size: 27px; }
.presentationPair h2 { margin: 10px 0 7px; font-size: 17px; }
.presentationPair p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.52; }
.directCommission { display: flex; align-items: center; gap: 13px; margin: 15px 0; padding: 14px; border-radius: 16px; background: rgba(48,230,166,.12); }
.directCommission b { color: var(--green); font-size: 31px; }
.directCommission span { color: #dcefe8; font-size: 13px; line-height: 1.4; }
.networkHighlight h3 { margin: 17px 0 9px; font-size: 14px; }
.planGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.planGrid span, .qualificationList span { padding: 9px; border-radius: 11px; background: rgba(255,255,255,.06); color: #e8f0f7; font-size: 12px; }
.qualificationList { display: grid; gap: 6px; }
.automaticPayment { padding: 12px; border-radius: 12px; background: rgba(74,140,255,.11); font-size: 12px; }
.presentationDetails { margin-top: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.presentationDetails summary { cursor: pointer; color: #dce8f5; font-weight: 850; }
.presentationDetails ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.presentationDetails li + li { margin-top: 7px; }
.benefitOffer { display: grid; gap: 12px; margin-top: 14px; padding: 17px; border: 1px solid rgba(48,230,166,.25); border-radius: 19px; background: rgba(48,230,166,.07); }
.benefitOffer span { font-size: 27px; }
.benefitOffer h2 { margin: 7px 0 5px; font-size: 17px; }
.benefitOffer p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.solarienTeaser { position: relative; overflow: hidden; margin-top: 18px; padding: 24px 20px; border: 1px solid rgba(39,213,136,.38); border-radius: 22px; background: linear-gradient(140deg, #071d27 0%, #073327 58%, #0c5a3d 100%); box-shadow: 0 18px 45px rgba(0,0,0,.22); }
.solarienTeaserGlow { position: absolute; width: 190px; height: 190px; right: -70px; top: -90px; border-radius: 50%; background: rgba(45,234,142,.2); filter: blur(6px); }
.solarienMiniLogo, .solarienLogo { position: relative; color: #f6fbf9; font-weight: 950; letter-spacing: -.04em; }
.solarienMiniLogo { font-size: 25px; }
.solarienMiniLogo span, .solarienLogo span { display: inline-grid; place-items: center; color: #071c23; border-radius: 50%; background: repeating-conic-gradient(#39e18e 0 8deg, #06a962 8deg 13deg); }
.solarienMiniLogo span { width: 27px; height: 27px; margin: 0 1px; }
.solarienTeaserBadge { position: relative; display: inline-block; margin-top: 17px; color: #a9ffd1; font-size: 10px; font-weight: 900; letter-spacing: .09em; }
.solarienTeaser h2 { position: relative; max-width: 500px; margin: 10px 0 7px; color: #fff; font-size: 23px; line-height: 1.15; }
.solarienTeaser p { position: relative; max-width: 520px; margin: 0; color: #c7e5d8; font-size: 13px; line-height: 1.55; }
.solarienTeaserButton { position: relative; width: 100%; margin-top: 18px; padding: 14px 17px; border: 0; border-radius: 14px; color: #062016; background: #41e78f; font-weight: 950; box-shadow: 0 8px 24px rgba(42,224,132,.22); }
.solarienPage { margin: -16px -16px 0; color: #12352b; background: #fff; }
.solarienBack { position: sticky; z-index: 8; top: 0; width: 100%; padding: 13px 18px; border: 0; border-bottom: 1px solid #dcebe5; color: #315d50; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); text-align: left; font-weight: 800; }
.solarienHero { position: relative; overflow: hidden; min-height: 680px; padding: 50px 22px 44px; color: #fff; background: linear-gradient(145deg, #062d24, #075a3d 64%, #08a55e); }
.solarienOrb { position: absolute; width: 360px; height: 360px; top: -170px; right: -170px; border: 70px solid rgba(116,255,177,.12); border-radius: 50%; }
.solarienLogo { display: inline-flex; align-items: center; font-size: 39px; }
.solarienLogo span { width: 43px; height: 43px; }
.solarienLogo small { margin-left: 7px; color: #9cebbb; font-size: 9px; letter-spacing: .16em; }
.solarienBadge, .solarienKicker { display: block; margin-top: 48px; color: #88ffc0; font-size: 10px; font-weight: 950; letter-spacing: .14em; }
.solarienHero h1 { position: relative; max-width: 680px; margin: 13px 0 16px; font-size: clamp(36px, 8vw, 62px); line-height: 1.02; letter-spacing: -.045em; }
.solarienHero > p { position: relative; max-width: 610px; color: #d5f2e5; font-size: 16px; line-height: 1.65; }
.solarienActions { position: relative; display: grid; gap: 10px; margin-top: 27px; }
.solarienPrimary, .solarienSecondary { min-height: 51px; padding: 14px 20px; border-radius: 14px; font-weight: 950; }
.solarienPrimary { border: 0; color: #07301f; background: #49eb95; box-shadow: 0 12px 30px rgba(16,95,58,.28); }
.solarienSecondary { border: 1px solid rgba(255,255,255,.34); color: #fff; background: rgba(255,255,255,.08); }
.solarienProof { position: relative; display: grid; gap: 8px; margin-top: 32px; color: #dff8eb; font-size: 12px; font-weight: 800; }
.solarienSection { padding: 58px 22px; }
.solarienSection .solarienKicker, .solarienIncome .solarienKicker { margin: 0 0 10px; color: #079755; }
.solarienSection h2, .solarienIncome h2, .solarienFinal h2 { margin: 0; color: #113d31; font-size: 30px; line-height: 1.12; letter-spacing: -.035em; }
.solarienLead, .solarienIncome p, .solarienFinal p { color: #54746a; font-size: 15px; line-height: 1.68; }
.solarienBenefitGrid { display: grid; gap: 12px; margin-top: 28px; }
.solarienBenefitGrid article { padding: 20px; border: 1px solid #dcece6; border-radius: 18px; background: #f7fbf9; }
.solarienBenefitGrid span { font-size: 29px; }
.solarienBenefitGrid h3 { margin: 11px 0 5px; color: #164c3c; font-size: 17px; }
.solarienBenefitGrid p { margin: 0; color: #637d75; font-size: 13px; line-height: 1.5; }
.solarienIncome { padding: 58px 22px; background: linear-gradient(145deg, #effbf4, #dff7ea); }
.solarienSteps { display: grid; gap: 22px; margin-top: 28px; }
.solarienSteps article { display: flex; gap: 15px; }
.solarienSteps b { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; color: #fff; background: #0ca864; }
.solarienSteps h3 { margin: 0 0 5px; color: #164c3c; }
.solarienSteps p { margin: 0; color: #637d75; font-size: 13px; line-height: 1.55; }
.solarienFinal { padding: 60px 22px; color: #fff; background: #072e25; text-align: center; }
.solarienFinal .solarienLogo { color: #fff; font-size: 28px; }
.solarienFinal .solarienLogo span { width: 31px; height: 31px; }
.solarienFinal h2 { margin-top: 26px; color: #fff; }
.solarienFinal p { color: #c6e2d7; }
.solarienFinal .solarienPrimary { width: 100%; margin-top: 12px; }
.solarienFinal > small { display: block; margin-top: 20px; color: #85a99b; font-size: 10px; line-height: 1.5; }
.solarienFooter { padding: 19px 22px 28px; color: #91aaa1; background: #06271f; font-size: 10px; text-align: center; }
.providerLine { display: grid; gap: 7px; margin-top: 13px; padding: 11px; border-radius: 12px; background: rgba(74,140,255,.08); color: #c7d8ea; font-size: 11px; line-height: 1.4; }
.freeChip { color: #bff9e5; background: rgba(48,230,166,.11); }
.marginTool > p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.qrCard { text-align: center; }
.qrCanvas { width: 264px; min-height: 264px; margin: 18px auto; padding: 12px; border-radius: 20px; background: #fff; display: grid; place-items: center; }
.qrCanvas img, .qrCanvas canvas { max-width: 240px !important; width: 100% !important; height: auto !important; }
.qrCard > p { overflow-wrap: anywhere; }
.qrActions { display:grid; gap:9px; margin-top:14px; }
.drawTabs { display:flex; gap:8px; overflow-x:auto; margin-bottom:14px; }
.drawHelpOverlay { position:fixed; z-index:90; inset:0; display:grid; place-items:center; padding:20px; background:rgba(2,8,15,.78); backdrop-filter:blur(7px); }
.drawHelpCard { position:relative; width:min(100%,520px); max-height:82vh; overflow-y:auto; padding:23px 19px 19px; border:1px solid rgba(48,230,166,.3); border-radius:22px; background:#0d1b2d; box-shadow:0 24px 70px rgba(0,0,0,.5); }
.drawHelpClose { position:absolute; top:12px; right:12px; width:39px; height:39px; border:1px solid var(--line); border-radius:12px; color:var(--text); background:var(--surface2); font-size:17px; }
.drawHelpIcon { display:block; font-size:34px; }
.drawHelpCard h2 { margin:9px 48px 15px 0; font-size:21px; }
.drawHelpCard article { padding:12px; border-radius:14px; background:rgba(74,140,255,.09); }
.drawHelpCard article + article { margin-top:9px; }
.drawHelpCard article strong { color:#e8f1ff; font-size:14px; }
.drawHelpCard article p { margin:6px 0 0; color:var(--muted); font-size:12px; line-height:1.5; }
.drawPresentationCta { display:block; width:max-content; max-width:100%; margin:14px auto 0; padding:9px 13px; border:1px solid rgba(48,230,166,.48); border-radius:999px; color:#061b15; background:linear-gradient(135deg, var(--green), #7bf0c7); font-size:11px; font-weight:950; box-shadow:0 7px 18px rgba(48,230,166,.18); }
.drawClear { width:100%; margin-top:9px; }
.drawNumber { display:block; padding:12px; text-align:center; font-size:40px; }
.drawTeam { padding:10px 0; border-bottom:1px solid var(--line); }
.drawTeam:last-child { border-bottom:0; }
.drawTeam p { margin:5px 0 0; color:var(--text); font-weight:600; }
.freeAccessBadge { display:inline-block; margin-top:8px; color:var(--green); font-size:10px; font-weight:900; letter-spacing:.06em; }
.verificationCard { max-width: 520px; margin: 48px auto; text-align: center; }
.verificationIcon { margin-bottom: 14px; font-size: 64px; }
.verificationCard h1 { margin: 8px 0 18px; }

.linkEditor { display:grid; gap:13px; }
.linkRows { display:grid; gap:12px; }
.linkRow { position:relative; display:grid; grid-template-columns:1fr 1.5fr; gap:9px; padding:13px 46px 13px 13px; border:1px solid var(--line); border-radius:15px; background:rgba(74,140,255,.055); }
.linkRemove { position:absolute; top:12px; right:10px; width:31px; height:31px; border:1px solid var(--line); border-radius:10px; color:#ffb0b8; background:var(--surface2); }
.linkAdd { width:100%; }
.linkResponsibility { display:flex; gap:10px; align-items:flex-start; padding:13px; border:1px solid rgba(255,200,92,.24); border-radius:14px; color:#ffe2a1; background:rgba(255,200,92,.08); font-size:12px; line-height:1.5; }
.linkResponsibility input { flex:0 0 auto; width:18px; height:18px; margin-top:1px; accent-color:var(--green); }
.publishedLink { display:grid; gap:8px; padding:14px; border-radius:14px; background:rgba(48,230,166,.09); }
.publishedLink strong { color:var(--green); }
.publishedLink span,.publishedLink .publishedUrl { overflow-wrap:anywhere; color:var(--muted); font-size:12px; text-decoration:underline; text-underline-offset:3px; }
.publicLinkShell { width:min(100%,560px); margin:28px auto; padding:28px 20px; text-align:center; }
.publicAvatar,.publicBrand { display:grid; place-items:center; width:82px; height:82px; margin:0 auto 16px; border-radius:50%; overflow:hidden; color:#06151c; background:linear-gradient(135deg,var(--green),var(--blue)); font-size:34px; font-weight:950; box-shadow:var(--shadow); }
.publicBrand { width:62px; height:62px; border-radius:20px; font-size:26px; }
.publicLinkShell h1 { margin:8px 0; font-size:clamp(27px,8vw,42px); line-height:1.12; }
.publicLinkShell > p { margin:8px auto 22px; max-width:480px; color:var(--muted); line-height:1.55; }
.publicButtons { display:grid; gap:11px; }
.publicButtons button,.publicDestination { width:100%; min-height:52px; padding:13px 16px; border:1px solid rgba(255,255,255,.12); border-radius:15px; color:var(--text); background:var(--surface); font-weight:850; box-shadow:0 8px 24px rgba(0,0,0,.14); }
.publicAffiliate { display:block; width:auto; max-width:min(88%,390px); min-height:40px; margin:18px auto 0; padding:9px 14px; border:1px solid rgba(48,230,166,.4); border-radius:13px; color:#061b15; background:linear-gradient(135deg,var(--green),#7bf0c7); font-size:13px; line-height:1.25; font-weight:900; }
.publicLinkShell > small { display:block; margin-top:18px; color:var(--muted); }
.publicShort { margin-top:55px; padding:27px 20px; border:1px solid var(--line); border-radius:24px; background:var(--surface); box-shadow:var(--shadow); }
.publicShort .publicDestination { color:#06151c; background:#fff; }
.publicWelcome { width:min(100%,680px); margin:24px auto; padding:30px 22px; text-align:center; border:1px solid rgba(48,230,166,.22); border-radius:28px; background:linear-gradient(145deg,rgba(18,45,58,.96),rgba(13,27,45,.96)); box-shadow:var(--shadow); }
.publicWelcomeMark { display:grid; place-items:center; width:76px; height:76px; margin:0 auto 20px; border-radius:24px; color:#05131a; background:linear-gradient(135deg,var(--green),#8fffd7); box-shadow:0 12px 32px rgba(48,230,166,.24); font-size:34px; font-weight:950; }
.publicWelcomeMark span::after { content:"↗"; display:inline-block; margin-left:2px; font-size:12px; vertical-align:top; }
.publicWelcome h1 { max-width:580px; margin:10px auto 13px; font-size:clamp(30px,7vw,48px); line-height:1.05; letter-spacing:-.035em; }
.publicWelcome>p { max-width:560px; margin:0 auto; color:#bdcddd; font-size:15px; line-height:1.65; }
.publicEntryActions{display:grid;gap:10px;margin:22px 0 4px}.publicEntryActions .wideButton,.publicEntryActions .secondaryButton{display:flex;align-items:center;justify-content:center;min-height:52px;text-decoration:none;font-size:15px}.publicEntryActions .secondaryButton{background:rgba(8,24,39,.45);border-color:rgba(255,255,255,.12)}
.publicWelcomeGrid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:28px 0 20px; }
.publicWelcomeGrid article { display:grid; gap:5px; padding:16px 10px; border:1px solid var(--line); border-radius:17px; background:rgba(255,255,255,.035); }
.publicWelcomeGrid article span { font-size:25px; }
.publicWelcomeGrid article small { color:#afc0d3; font-size:12px; line-height:1.4; }
.publicTelegramButton { display:block; width:100%; min-height:50px; padding:14px 18px; border-radius:14px; color:#06151c; background:var(--green); font-weight:900; text-decoration:none; }
.publicWelcomeHint { display:block; margin-top:15px; color:#afc0d3; font-size:12px; line-height:1.5; }

@media (min-width: 620px) {
  .quickGrid { grid-template-columns: repeat(3, 1fr); }
  .toolGrid { grid-template-columns: repeat(2, 1fr); }
  .solarienPage { margin-left: -28px; margin-right: -28px; }
  .solarienHero, .solarienSection, .solarienIncome, .solarienFinal { padding-left: 9%; padding-right: 9%; }
  .solarienActions { grid-template-columns: 1fr 1fr; max-width: 560px; }
  .solarienProof { grid-template-columns: repeat(3, auto); justify-content: start; gap: 22px; }
  .solarienBenefitGrid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .presentationPair { grid-template-columns: 1fr; }
  .linkRow { grid-template-columns:1fr; }
  .publicWelcome { margin-top:8px; padding:25px 17px; }
  .publicWelcomeGrid { grid-template-columns:1fr; }
  .bottomNav button small { font-size:9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}

html[aria-busy="true"]{cursor:progress}

.imagePicker{display:grid;grid-template-columns:72px 1fr auto;gap:9px;align-items:center;grid-column:1/-1;padding:10px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.025)}
.imagePicker>span{grid-column:1/-1;color:var(--muted);font-size:12px;font-weight:750}
.imagePreview{grid-row:2/4;display:grid;place-items:center;width:72px;height:72px;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--surface2);font-size:24px}
.imagePicker[data-image-kind="profile"] .imagePreview{border-radius:50%}
.imagePreview img,.publicAvatar img{width:100%;height:100%;object-fit:cover}
.partnerLogoField{margin-bottom:4px}.partnerLogoUpload{display:flex;align-items:center;gap:14px;padding:14px;border:1px dashed rgba(255,255,255,.16);border-radius:16px;background:rgba(255,255,255,.025)}.partnerLogoPreview{display:grid;place-items:center;flex:0 0 78px;width:78px;height:78px;border-radius:18px;overflow:hidden;background:rgba(255,255,255,.07);font-size:28px}.partnerLogoPreview img,.partnerLogoIcon img{width:100%;height:100%;object-fit:cover}.partnerLogoPreview.ready{background:#fff}.partnerLogoControls{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}.partnerLogoControls small,.partnerLogoStatus,.fieldAssist{font-size:12px;line-height:1.4;opacity:.78}.partnerLogoButton{display:inline-flex!important;width:auto!important;min-height:44px!important;padding:9px 13px!important}.partnerLogoStatus{opacity:.95}.fieldAssist{display:flex;justify-content:space-between;gap:12px;margin-top:6px}.fieldAssist span:last-child{white-space:nowrap}.toolCard textarea{min-height:132px;resize:vertical;line-height:1.45}.toolCard #discountRules{min-height:152px}.partnerLogoIcon{display:grid;place-items:center;overflow:hidden}
.imageChoose{display:flex;align-items:center;justify-content:center;margin:0}
.imageRemove{min-height:36px;color:var(--danger)}
.publicButtons button{display:flex;align-items:center;justify-content:flex-start;gap:12px;text-align:left}
.publicButtons button img{flex:0 0 38px;width:38px;height:38px;border-radius:10px;object-fit:cover}
.publicButtons button span{flex:1;text-align:center}
.creatorReferralNotice{display:flex;align-items:flex-start;gap:14px;margin:18px 0;padding:18px;border:1px solid rgba(48,230,166,.32);border-radius:18px;background:linear-gradient(135deg,rgba(48,230,166,.11),rgba(74,140,255,.08))}
.creatorReferralNotice>span{flex:0 0 auto;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:rgba(48,230,166,.15);font-size:23px}
.creatorReferralNotice h2{margin:0 0 6px;font-size:17px;line-height:1.25}.creatorReferralNotice p,.accessExplanation p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}
.creatorReferralNotice.compact{padding:14px}.creatorReferralNotice.compact>span{width:38px;height:38px;font-size:20px}.creatorReferralNotice.compact h2{font-size:15px}.creatorReferralNotice.compact p{font-size:12px}
.accessExplanation{border-color:rgba(74,140,255,.28);background:rgba(74,140,255,.07)}
@media(max-width:520px){.imagePicker{grid-template-columns:64px 1fr}.imagePreview{width:64px;height:64px}.imageRemove{grid-column:2}.partnerLogoUpload{align-items:flex-start}.partnerLogoPreview{flex-basis:64px;width:64px;height:64px}}

/* Aprender: ajuda contextual e leitura longa, sem depender do servidor durante a rolagem. */
.academyMainHero{padding:24px}.academyHelpCard{display:grid;grid-template-columns:54px 1fr;gap:14px;width:100%;margin:15px 0;padding:18px;border:1px solid rgba(48,230,166,.32);border-radius:20px;color:var(--text);background:linear-gradient(135deg,rgba(48,230,166,.13),rgba(74,140,255,.09));text-align:left}.academyHelpCard>span{display:grid;place-items:center;width:54px;height:54px;border-radius:17px;background:rgba(48,230,166,.14);font-size:28px}.academyHelpCard>div{display:grid;gap:5px}.academyHelpCard b{font-size:18px}.academyHelpCard small{color:var(--muted);line-height:1.45}.academyHelpCard em{color:var(--green);font-size:12px;font-style:normal;font-weight:900}.academyPathGrid{grid-template-columns:1fr}.academyPathGrid .academyCategoryCard{display:grid;grid-template-columns:48px 1fr;column-gap:13px;min-height:0;text-align:left}.academyPathGrid .academyCategoryCard .emoji{grid-row:1/3}.academyPathGrid .academyCategoryCard small{line-height:1.45}
.helpHero{margin:10px 0 17px;padding:24px;border:1px solid rgba(48,230,166,.2);border-radius:24px;background:linear-gradient(145deg,#143053,#0d1d32)}.helpHero.compact{padding:20px}.helpHero h1{margin:9px 0;font-size:clamp(28px,8vw,40px);line-height:1.08}.helpHero p{margin:0;color:#bdcddd;line-height:1.55}.helpGuideIcon{font-size:34px}.helpGuideList{display:grid;gap:10px}.helpGuideCard{display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center;width:100%;padding:15px;border:1px solid var(--line);border-radius:17px;color:var(--text);background:var(--surface);text-align:left}.helpGuideCard>span{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:rgba(74,140,255,.11);font-size:25px}.helpGuideCard>div{display:grid;gap:4px}.helpGuideCard strong{font-size:16px}.helpGuideCard small{color:var(--muted);line-height:1.4}.helpGuideCard>b{color:var(--green);font-size:23px}.helpSteps{padding:20px;border:1px solid var(--line);border-radius:22px;background:var(--surface)}.helpSteps h2{margin-top:0}.helpSteps ol{display:grid;gap:14px;padding-left:24px}.helpSteps li{padding-left:4px;line-height:1.6}.helpSteps li::marker{color:var(--green);font-weight:950}.helpSteps aside{margin:20px 0;padding:15px;border-left:4px solid var(--green);border-radius:12px;background:rgba(48,230,166,.07)}.helpSteps aside p{margin:6px 0 0;color:var(--muted);line-height:1.55}.helpSupport{width:100%;margin-top:9px}
.bookStart{margin-top:14px}.bookReader{width:min(100%,760px);margin:0 auto}.bookReaderBar{position:sticky;z-index:8;top:0;display:grid;grid-template-columns:42px 1fr 28px auto;gap:9px;align-items:center;margin:0 -10px 12px;padding:9px 10px;border-bottom:1px solid var(--line);background:rgba(6,16,29,.94);backdrop-filter:blur(14px)}.bookReaderBar button{width:40px;height:40px;border:1px solid var(--line);border-radius:12px;color:var(--text);background:var(--surface)}.bookReaderBar .readerThemeDot{width:24px;height:24px;padding:0;border:2px solid #fff;border-radius:50%;background:#050505;box-shadow:0 0 0 2px rgba(255,255,255,.2)}.bookReader.dark .bookReaderBar .readerThemeDot{border-color:#050505;background:#fff;box-shadow:0 0 0 2px rgba(255,255,255,.55)}.bookReaderBar strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.bookReaderBar span{color:var(--green);font-size:12px;font-weight:900}.bookContents{margin-bottom:10px;border:1px solid var(--line);border-radius:15px;background:var(--surface)}.bookContents summary{padding:14px;cursor:pointer;font-weight:900}.bookContents nav{display:grid;gap:1px;padding:0 10px 10px}.bookContents nav button{padding:11px;border:0;border-top:1px solid var(--line);color:var(--muted);background:transparent;text-align:left}.bookFontControls{display:flex;justify-content:flex-end;gap:7px;margin:8px 0}.bookFontControls button{min-height:38px;padding:7px 13px}.bookPage{padding:clamp(20px,6vw,48px);border:1px solid rgba(255,255,255,.1);border-radius:24px;background:#fff;color:#111;box-shadow:0 18px 55px rgba(0,0,0,.3)}.bookChapter{padding:8px 0 38px;scroll-margin-top:70px}.bookChapter+.bookChapter{padding-top:34px;border-top:1px solid #d8d0c2}.bookChapterLabel{color:#27614e;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.bookChapter h2{margin:8px 0 22px;color:#111;font-family:Georgia,serif;font-size:clamp(27px,7vw,40px);line-height:1.15}.bookChapter .lessonBody,.bookChapter .lessonBody p,.bookChapter .lessonBody li,.bookChapter .lessonBody span{color:#111!important;font-family:Georgia,serif;font-size:var(--reader-font);line-height:1.85}.bookChapter .lessonBody p{margin:0 0 1.15em}.bookChapter .lessonBody h2,.bookChapter .lessonBody h3,.bookChapter .lessonBody h4,.bookChapter .lessonBody strong{color:#111!important}.bookChapter .lessonBody a{color:#075f9a!important}.bookChapter .lessonBody .lessonExercise{display:none}.bookPage button{border-color:#050505!important;background:#050505!important;color:#fff!important}.bookEnd{display:grid;gap:14px;padding-top:25px;border-top:1px solid #d8d0c2;text-align:center}.bookEnd b{color:#27614e;font-size:18px}.bookReader.dark .bookPage{border-color:#333;background:#050505;color:#fff}.bookReader.dark .bookChapter+.bookChapter,.bookReader.dark .bookEnd{border-color:#333}.bookReader.dark .bookChapterLabel,.bookReader.dark .bookEnd b{color:#72e6bc}.bookReader.dark .bookChapter h2,.bookReader.dark .bookChapter .lessonBody,.bookReader.dark .bookChapter .lessonBody p,.bookReader.dark .bookChapter .lessonBody li,.bookReader.dark .bookChapter .lessonBody span,.bookReader.dark .bookChapter .lessonBody h2,.bookReader.dark .bookChapter .lessonBody h3,.bookReader.dark .bookChapter .lessonBody h4,.bookReader.dark .bookChapter .lessonBody strong{color:#fff!important}.bookReader.dark .bookChapter .lessonBody a{color:#73c8ff!important}.bookReader.dark .bookPage button{border-color:#fff!important;background:#fff!important;color:#050505!important}
@media(min-width:620px){.academyPathGrid{grid-template-columns:1fr 1fr}.helpGuideList{grid-template-columns:1fr 1fr}}

/* Central de mercados: dados sob demanda, formação e parceiros. */
.marketCenter{width:min(100%,920px);margin:0 auto;padding-bottom:30px}.marketHero{display:grid;grid-template-columns:58px 1fr;gap:15px;align-items:center;margin:10px 0 18px;padding:20px;border:1px solid rgba(48,230,166,.27);border-radius:22px;background:linear-gradient(135deg,#102b45,#0b1d31)}.marketHero>span{display:grid;place-items:center;width:58px;height:58px;border-radius:17px;background:rgba(48,230,166,.13);font-size:30px}.marketHero h1{margin:0 0 6px;font-size:clamp(25px,7vw,36px);line-height:1.08}.marketHero p,.marketSection header p,.marketCourse p,.marketPartner p{margin:0;color:var(--muted);font-size:15px;line-height:1.55}.marketSection{margin-top:16px;padding:16px;border:1px solid var(--line);border-radius:22px;background:var(--surface)}.marketSection header{margin-bottom:13px}.marketSection h2{margin:0 0 5px;font-size:21px}.marketTabs{display:flex;gap:7px;overflow-x:auto;margin:0 -3px 12px;padding:3px}.marketTabs button{flex:0 0 auto;min-height:42px;padding:8px 13px;border:1px solid var(--line);border-radius:13px;color:var(--muted);background:#0a1728;font-weight:850}.marketTabs button.active{border-color:var(--green);color:#061b15;background:var(--green)}.marketWidget{position:relative;overflow:hidden;width:100%;min-height:430px;border:1px solid rgba(255,255,255,.08);border-radius:17px;background:#0b1019}.marketWidgetLoading,.marketWidgetError{display:grid;place-items:center;height:100%;min-height:430px;padding:20px;color:var(--muted);text-align:center}.marketWidgetSource{height:24px;color:#7f91a7;font-size:12px;text-align:center}.marketCourseGrid,.marketPartnerGrid{display:grid;gap:10px}.marketCourse,.marketPartner{display:grid;grid-template-columns:46px 1fr;gap:12px;padding:15px;border:1px solid var(--line);border-radius:17px;background:rgba(255,255,255,.025)}.marketCourse.featured{border-color:rgba(48,230,166,.35);background:rgba(48,230,166,.06)}.marketCourse>span,.marketPartner>span{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:rgba(74,140,255,.12);font-size:23px;font-weight:950}.marketCourse h3,.marketPartner h3{margin:0 0 5px;font-size:17px}.marketCourse button,.marketPartner button{min-height:42px;margin-top:11px;padding:8px 13px;border:0;border-radius:12px;color:#061b15;background:var(--green);font-weight:900}.marketPartner>div>div{display:flex;flex-wrap:wrap;gap:7px}.marketPartner button.secondary{border:1px solid var(--line);color:var(--text);background:var(--surface)}.marketPartner.tradingview>span{color:#fff;background:#15191f}.marketPartner.exness>span{color:#111;background:#ffd43b}@media(min-width:720px){.marketCourseGrid{grid-template-columns:1fr 1fr}.marketPartnerGrid{grid-template-columns:1fr 1fr}.marketSection{padding:20px}}@media(max-width:420px){.marketHero{grid-template-columns:1fr}.marketHero>span{width:48px;height:48px}.marketSection{padding:12px}.marketWidget{margin:0}.marketCourse,.marketPartner{grid-template-columns:40px 1fr}.marketCourse>span,.marketPartner>span{width:40px;height:40px}}


/* Layout responsivo exclusivo do site. O Telegram Mini App mantém o formato compacto. */
@media (min-width:900px) {
  html.educashproWeb #app {
    width:100%;
    max-width:none;
    margin:0;
  }

  html.educashproWeb .topbar {
    padding-left:clamp(24px,4vw,72px)!important;
    padding-right:clamp(24px,4vw,72px)!important;
  }

  html.educashproWeb .growthQuickActions {
    width:auto;
    max-width:none;
    margin:0;
    padding-left:clamp(24px,4vw,72px);
    padding-right:clamp(24px,4vw,72px);
  }

  html.educashproWeb .content {
    width:100%;
    max-width:none;
    box-sizing:border-box;
    padding:30px clamp(24px,5vw,96px) 56px!important;
  }

  html.educashproWeb .publicWelcome {
    width:100%;
    max-width:none;
    box-sizing:border-box;
    margin:24px 0;
    padding:clamp(34px,4vw,64px);
  }

  html.educashproWeb .publicWelcome h1 {
    max-width:980px;
    font-size:clamp(42px,4vw,68px);
  }

  html.educashproWeb .publicWelcome > p {
    max-width:900px;
    font-size:17px;
  }

  html.educashproWeb .publicWelcomeGrid {
    width:min(100%,1120px);
    margin:34px auto 24px;
  }

  html.educashproWeb .publicTelegramButton {
    width:min(100%,900px);
    box-sizing:border-box;
    margin-left:auto;
    margin-right:auto;
  }

  html.educashproWeb .hero,
  html.educashproWeb .visitorIntro,
  html.educashproWeb .membershipUpsell,
  html.educashproWeb .presentationSection,
  html.educashproWeb .presentationHero {
    width:100%;
    box-sizing:border-box;
  }

  html.educashproWeb .quickGrid {
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  }
}


/* Ações públicas acessíveis e credencial de assinatura no site. */
.publicAccessGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
.publicAccessButton{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:112px;padding:16px;border:1px solid rgba(48,230,166,.28);border-radius:18px;background:#10243a;color:#f7fbff;text-decoration:none;box-sizing:border-box}
.publicAccessButton.telegram{border-color:rgba(74,140,255,.38);background:linear-gradient(145deg,rgba(74,140,255,.18),#10243a)}
.publicAccessButton span{font-size:31px}.publicAccessButton b{margin-top:8px;font-size:16px}.publicAccessButton small{margin-top:5px;color:#b8c8da;line-height:1.4}
.publicCredentialCard{margin:18px auto;padding:22px;border:1px solid rgba(48,230,166,.32);border-radius:22px;background:#0b1d31;text-align:center}
.publicCredentialCard h2{margin:14px 0 6px}.publicCredentialCard h3{margin:13px 0 4px}.publicCredentialCard p{color:#b8c8da}
.publicCredentialCard .qrCanvas{width:fit-content;max-width:100%;margin:18px auto;padding:12px;border-radius:17px;background:#fff;overflow:auto}
.publicScanButton{border-color:rgba(255,200,92,.36)!important}
.scannerCard{max-width:680px;margin:20px auto}
#webQrReader{margin-top:15px;padding:10px;border-radius:16px;background:#fff;color:#07111f;overflow:hidden}
#webQrReader video{border-radius:12px}
@media(max-width:560px){.publicAccessGrid{grid-template-columns:1fr}.publicAccessButton{min-height:92px}.publicCredentialCard{padding:18px 12px}.publicCredentialCard .qrCanvas canvas,.publicCredentialCard .qrCanvas img{max-width:100%;height:auto!important}}
@media(min-width:900px){html.educashproWeb .publicAccessGrid{width:min(100%,900px);margin:14px auto}html.educashproWeb .publicCredentialCard{width:min(100%,900px);box-sizing:border-box}}
.formSection{display:grid;gap:12px;margin:0 0 18px;padding:16px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:rgba(8,23,38,.45)}
.formSection h2{margin:0;font-size:18px}.privateSection{border-color:rgba(143,177,210,.22)}
.partnerMediaGrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.partnerGalleryPreview{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px}.partnerGalleryPreview img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px}@media(max-width:620px){.partnerMediaGrid{grid-template-columns:1fr}}
.companyUnit{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 14px;padding:14px;border:1px solid rgba(48,230,166,.18);border-radius:16px}.companyUnit legend{padding:0 8px;color:#30e6a6;font-weight:900}.companyUnit .fullField{min-width:0}.checkField{display:flex;align-items:flex-start;gap:10px;color:#c3d1df;line-height:1.5}.checkField input{width:20px;height:20px;flex:0 0 auto;accent-color:#30e6a6}.formSection .notice{margin:0;color:#9fb2c8;font-size:13px;line-height:1.55}
@media(max-width:620px){.companyUnit{grid-template-columns:1fr}}

/* Área segura do cabeçalho.
   No iPhone instalado como app web, o conteúdo não deve ficar sob relógio/sinal/bateria.
   No Telegram, usa os insets informados pelo próprio Mini App quando disponíveis. */
html.educashproIOS.educashproStandalone .topbar{
  padding-top:max(52px,calc(env(safe-area-inset-top) + 8px))!important;
}
html.educashproTelegram .topbar{
  padding-top:max(12px,calc(var(--ecp-telegram-safe-top,0px) + 8px),env(safe-area-inset-top))!important;
}
html.educashproIOS.educashproTelegramFullscreen .topbar{
  padding-top:max(52px,calc(var(--ecp-telegram-safe-top,0px) + 8px),calc(env(safe-area-inset-top) + 8px))!important;
}

/* ===== Minha área: profile hub ===== */
.areaProfileCard{display:grid;gap:14px;text-align:left}
.areaProfileIdentity{display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;align-items:center}
.areaProfileIdentity .avatar{margin:0}
.areaProfileIdentityText{min-width:0}
.areaProfileIdentityText h1{margin:4px 0 4px;font-size:24px;line-height:1.08}
.areaProfileIdentityText p{margin:0;color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.areaSectionHead{margin-top:24px}
.areaActionGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.areaActionCard{display:grid;grid-template-columns:46px minmax(0,1fr) 18px;gap:11px;align-items:center;min-height:96px;padding:14px;border:1px solid var(--line);border-radius:18px;color:var(--text);background:linear-gradient(145deg,var(--surface2),var(--surface));text-align:left;box-shadow:0 10px 24px rgba(0,0,0,.10)}
.areaActionCard:active{transform:translateY(1px)}
.areaActionIcon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:rgba(48,230,166,.09);font-size:23px}
.areaActionText{display:grid;gap:4px;min-width:0}
.areaActionText strong{font-size:14px;line-height:1.2}
.areaActionText small{color:var(--muted);font-size:10.5px;line-height:1.38}
.areaActionArrow{color:var(--green);font-size:22px;font-weight:900;text-align:right}
.areaAffiliateBox{display:grid;gap:10px;margin-top:10px}
.areaAffiliateBox>span{overflow-wrap:anywhere}
.areaCommunityList{margin-top:10px}
@media(max-width:520px){
  .areaActionGrid{grid-template-columns:1fr}
  .areaActionCard{min-height:84px}
}
@media(max-width:360px){
  .areaProfileIdentity{grid-template-columns:60px minmax(0,1fr)}
  .areaProfileIdentity .avatar{width:60px;height:60px}
  .areaActionCard{grid-template-columns:42px minmax(0,1fr) 16px;padding:12px}
  .areaActionIcon{width:42px;height:42px}
}
.areaFullAction{width:100%;margin-top:10px}


/* Desktop: central workspace replaces duplicated five-item side/bottom navigation. */
@media (min-width:900px) {
  html.educashproWeb .bottomNav { display:none!important; }
  html.educashproWeb #app .content {
    width:min(100%,1280px)!important;max-width:1280px!important;
    margin:0 auto!important;padding:28px clamp(24px,3vw,56px) 70px!important;
  }
  html.educashproWeb #webSiteMenuButton {
    display:inline-flex;align-items:center;justify-content:center;
    width:auto;min-width:100px;min-height:40px;padding:0 14px;
    white-space:nowrap;font-size:12px;font-weight:750;
    border:1px solid #315c61;border-radius:12px;color:#d9fff2;
  }
  html.educashproWeb[data-ecp-view="home"] #webSiteMenuButton,

  html.educashproWeb .quickCard {cursor:pointer;transition:border-color .15s,transform .15s;}
  html.educashproWeb .quickCard:hover {transform:translateY(-2px);}
}
