*{box-sizing:border-box}
:root{
  --bg:#06020d;
  --bg2:#0c0417;
  --panel:#111127;
  --panel2:#17142f;
  --line:rgba(255,255,255,.09);
  --text:#fbf8ff;
  --muted:#aaa4c0;
  --pink:#ff38cf;
  --pink2:#c338ff;
  --blue:#25c8ff;
  --blue2:#3d70ff;
  --success:#33e3a2;
  --danger:#ff6b85;
}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:
    radial-gradient(circle at 50% -10%,rgba(255,56,207,.18),transparent 34%),
    linear-gradient(180deg,var(--bg),#080313 60%,#05020b);
  color:var(--text);
  font-family:Inter,Arial,sans-serif;
  min-height:100vh;
  overflow-x:hidden;
}
button,input,select{font:inherit}
button,a{cursor:pointer}
[hidden]{display:none!important}
.ambient{position:fixed;border-radius:50%;filter:blur(120px);pointer-events:none;opacity:.22;z-index:-1}
.ambient-one{width:420px;height:420px;background:var(--pink);top:80px;left:-180px}
.ambient-two{width:480px;height:480px;background:var(--blue);right:-220px;top:280px}
.topbar{
  height:74px;
  padding:0 5vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(6,2,13,.74);
  backdrop-filter:blur(20px);
}
.logo,.side-logo{text-decoration:none;color:white}
.logo{display:flex;align-items:baseline;gap:9px}
.logo-main{font-size:22px;font-weight:900;letter-spacing:6px;color:#ff74df;text-shadow:0 0 22px rgba(255,56,207,.65)}
.logo-sub{font-size:12px;font-weight:800;letter-spacing:2px;color:var(--blue)}
.top-actions{display:flex;align-items:center;gap:11px}
.credit-pill{padding:9px 13px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.035);font-size:13px;color:#e4dcff}
.btn{
  border:0;
  border-radius:13px;
  padding:11px 17px;
  color:white;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:750;
  transition:.22s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:linear-gradient(110deg,var(--pink),var(--blue2));box-shadow:0 10px 30px rgba(181,47,255,.22)}
.btn-secondary,.btn-ghost{border:1px solid var(--line);background:rgba(255,255,255,.035)}
.btn-large{padding:14px 22px}
.landing{
  max-width:1180px;
  min-height:700px;
  margin:auto;
  padding:95px 24px 80px;
  display:grid;
  grid-template-columns:1.03fr .97fr;
  align-items:center;
  gap:65px;
}
.eyebrow{font-size:12px;letter-spacing:2.5px;font-weight:900;color:var(--blue)}
.hero-copy h1{
  margin:15px 0 22px;
  font-size:clamp(50px,7vw,90px);
  letter-spacing:-4px;
  line-height:.95;
}
.hero-copy h1 span {
  display: block;
  background: linear-gradient(90deg, #ff64da, #59d8ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-copy>p{font-size:19px;line-height:1.65;color:var(--muted);max-width:620px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:29px}
.benefits{display:flex;gap:17px;flex-wrap:wrap;margin-top:25px;color:#bcb5d1;font-size:13px}
.benefits span:before{content:'✓';color:var(--blue);margin-right:6px}
.hero-visual{position:relative}
.glass{
  background:linear-gradient(145deg,rgba(24,20,51,.93),rgba(12,10,29,.94));
  border:1px solid var(--line);
  box-shadow:0 35px 90px rgba(0,0,0,.4);
}
.finance-preview{
  padding:27px;
  border-radius:28px;
  position:relative;
  overflow:hidden;
}
.finance-preview:before{
  content:'';
  position:absolute;
  width:190px;height:190px;
  border-radius:50%;
  background:var(--pink);
  filter:blur(100px);
  opacity:.18;
  right:-70px;top:-70px;
}
.preview-top{display:flex;align-items:center;justify-content:space-between}
.preview-top small{display:block;color:var(--muted);letter-spacing:1.4px}
.preview-top strong{display:block;font-size:40px;margin-top:7px}
.mini-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:26px 0}
.mini-stats div{padding:14px;background:rgba(255,255,255,.035);border:1px solid var(--line);border-radius:14px}
.mini-stats span{display:block;color:var(--muted);font-size:12px}.mini-stats b{display:block;margin-top:6px}
.chart-fake{height:125px;display:flex;align-items:flex-end;gap:10px;padding:16px 4px;border-bottom:1px solid var(--line)}
.chart-fake i{flex:1;border-radius:8px 8px 2px 2px;background:linear-gradient(180deg,var(--pink),var(--blue2));box-shadow:0 0 16px rgba(255,56,207,.2)}
.ai-insight{margin-top:22px;padding:17px;border-radius:15px;background:rgba(4,4,13,.5);border:1px solid var(--line)}
.ai-insight span{font-size:11px;color:var(--blue);letter-spacing:1.3px;font-weight:900}.ai-insight p{color:#d9d4e9;line-height:1.45;margin:8px 0 0}
#app{display:grid;grid-template-columns:250px 1fr;min-height:calc(100vh - 74px)}
.sidebar{
  position:sticky;top:74px;height:calc(100vh - 74px);
  border-right:1px solid var(--line);
  background:rgba(8,4,18,.82);
  backdrop-filter:blur(18px);
  padding:25px 15px;
  display:flex;
  flex-direction:column;
}
.side-logo{display:flex;flex-direction:column;padding:0 14px 26px}.side-logo span{font-weight:900;letter-spacing:4px;color:#ff71dd}.side-logo small{color:var(--blue);letter-spacing:2px;margin-top:3px}
.sidebar nav{display:flex;flex-direction:column;gap:6px}
.nav-item{
  width:100%;border:0;background:transparent;color:var(--muted);
  border-radius:12px;padding:13px 14px;text-align:left;
  transition:.18s ease;
}
.nav-item span{display:inline-block;width:23px;color:var(--blue)}
.nav-item:hover,.nav-item.active{background:linear-gradient(90deg,rgba(255,56,207,.12),rgba(37,200,255,.08));color:white}
.sidebar-bottom{margin-top:auto}
.upgrade-card{
  width:100%;text-align:left;padding:16px;border-radius:16px;
  border:1px solid rgba(255,56,207,.3);
  background:linear-gradient(135deg,rgba(255,56,207,.15),rgba(61,112,255,.12));
  color:white;
}
.upgrade-card span,.upgrade-card small{display:block}.upgrade-card span{color:var(--muted);font-size:11px}.upgrade-card b{display:block;font-size:23px;margin:6px 0}.upgrade-card small{color:var(--blue)}
.workspace{padding:30px 34px;min-width:0}
.workspace-header,.section-header,.panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.workspace-header{margin-bottom:23px}
.workspace-label,.section-header>div>span,.panel-head span{color:var(--blue);font-size:11px;letter-spacing:1.5px;font-weight:900}
.workspace-header h2{margin:5px 0 0;font-size:31px}
.workspace-tools{display:flex;gap:10px}
.workspace-tools input{
  color:white;background:rgba(255,255,255,.04);border:1px solid var(--line);
  border-radius:12px;padding:10px 12px;
}
.assistant-shell{max-width:1150px;margin:auto;display:grid;grid-template-columns:.82fr 1.18fr;gap:22px;align-items:stretch}
.assistant-welcome{padding:35px 20px 25px}
.ai-symbol{
  width:72px;height:72px;border-radius:23px;display:grid;place-items:center;
  font-size:34px;background:linear-gradient(135deg,var(--pink),var(--blue2));
  box-shadow:0 0 40px rgba(255,56,207,.25);
}
.assistant-welcome h2{font-size:47px;line-height:1.04;margin:24px 0 14px}
.assistant-welcome p{color:var(--muted);line-height:1.6}
.suggestions{display:grid;gap:9px;margin-top:24px}
.suggestions button,.quick-actions button{
  border:1px solid var(--line);background:rgba(255,255,255,.035);color:#ddd8ec;
  border-radius:13px;padding:13px 14px;text-align:left;transition:.18s ease;
}
.suggestions button:hover,.quick-actions button:hover{border-color:rgba(37,200,255,.4);background:rgba(37,200,255,.07)}
.chat-panel{height:650px;border:1px solid var(--line);background:rgba(16,14,36,.86);border-radius:23px;padding:16px;display:flex;flex-direction:column}
.chat{flex:1;overflow:auto;display:flex;flex-direction:column;gap:13px;padding:5px}
.msg{display:flex;gap:10px;max-width:88%;padding:14px;border-radius:16px;line-height:1.5}
.msg b{display:block;font-size:11px;letter-spacing:1px;color:var(--blue);margin-bottom:3px}
.msg span{color:#ece8f5}
.msg.venus{background:rgba(255,255,255,.05);border:1px solid var(--line)}
.msg.user{align-self:flex-end;background:linear-gradient(135deg,rgba(255,56,207,.78),rgba(61,112,255,.75))}
.msg.user b{color:white}.msg-avatar{min-width:31px;height:31px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,var(--pink),var(--blue2))}
.chat-composer{display:grid;grid-template-columns:1fr auto auto;gap:8px;padding-top:12px;border-top:1px solid var(--line)}
.chat-composer input,dialog input,dialog select{
  border:1px solid var(--line);background:#09071a;color:white;border-radius:12px;padding:13px;
}
.icon-button{border:1px solid var(--line);background:rgba(255,255,255,.04);color:white;border-radius:12px;padding:11px}
.summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:17px}
.summary-card{
  min-height:135px;padding:20px;border-radius:18px;
  background:linear-gradient(145deg,#15122d,#0e0b22);
  border:1px solid var(--line);
}
.summary-card span{color:var(--muted);font-size:13px}.summary-card b{display:block;font-size:28px;margin:10px 0}.summary-card small{color:#77718d}
.primary-summary{background:linear-gradient(135deg,rgba(255,56,207,.23),rgba(61,112,255,.18));border-color:rgba(255,56,207,.32)}
.dashboard-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:15px}
.panel{border-radius:19px;padding:20px;min-height:280px}.panel-head h3{margin:5px 0}.text-button{border:0;background:none;color:var(--blue)}
.chart-container{height:300px}.insight-card .alert{padding:14px;margin:9px 0;border-radius:12px;background:rgba(255,255,255,.035);border-left:3px solid var(--pink);color:#dfd9eb}
.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}
.section-header{margin:10px 0 20px}.section-header h2{font-size:34px;margin:6px 0}.section-header p{color:var(--muted);margin:0}
.table-panel{border-radius:18px;padding:12px;overflow:auto}
table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:14px;border-bottom:1px solid var(--line);white-space:nowrap}th{font-size:11px;color:var(--muted);letter-spacing:.7px}
.goal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.goal-grid article{padding:21px;border-radius:18px;background:linear-gradient(145deg,#15122d,#0e0b22);border:1px solid var(--line)}
.goal-grid b{font-size:25px}.plans{max-width:1100px;margin:80px auto;padding:70px 24px}
.section-title{text-align:center}.section-title span{color:var(--blue);font-size:11px;font-weight:900;letter-spacing:2px}.section-title h2{font-size:48px;margin:9px}.section-title p{color:var(--muted)}
.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:35px}
.plan-card{position:relative;padding:27px;border-radius:21px;background:linear-gradient(145deg,#15122d,#0d0a1d);border:1px solid var(--line)}
.plan-card.featured{transform:translateY(-9px);border-color:rgba(255,56,207,.55);box-shadow:0 0 40px rgba(255,56,207,.12)}
.plan-card em{position:absolute;top:14px;right:14px;font-size:9px;font-style:normal;color:#080313;background:linear-gradient(90deg,var(--pink),var(--blue));padding:6px 8px;border-radius:999px;font-weight:900}
.plan-name{font-size:11px;letter-spacing:1.6px;color:var(--blue)}.plan-card h3{font-size:27px;margin:16px 0 8px}.plan-card b{display:block;font-size:39px}.plan-card p{color:var(--muted);min-height:54px;line-height:1.45}.plan-card .btn{width:100%;margin-top:10px}
footer{display:flex;justify-content:center;gap:9px;padding:25px;border-top:1px solid var(--line);color:white}footer small{color:var(--muted)}
dialog{width:min(520px,92vw);border:1px solid var(--line);background:#100d23;color:white;border-radius:22px;padding:26px}dialog::backdrop{background:rgba(3,1,8,.8);backdrop-filter:blur(8px)}
.x{float:right;border:0;background:none;color:white;font-size:27px}.dialog-brand{font-weight:900;letter-spacing:2px}.dialog-brand span{color:var(--blue)}
dialog h2{font-size:29px}dialog p{color:var(--muted)}dialog form{display:flex;flex-direction:column;gap:12px}dialog label{display:flex;flex-direction:column;gap:6px;color:#bdb6cc}.tabs{display:flex;gap:8px;margin:15px 0}.tabs button{border:1px solid var(--line);background:transparent;color:white;padding:9px 13px;border-radius:10px}.tabs .active{border-color:var(--pink);background:rgba(255,56,207,.1)}
.error{color:var(--danger)}.onboarding-progress{height:5px;background:#080715;border-radius:10px;overflow:hidden;margin-bottom:18px}.onboarding-progress i{display:block;width:30%;height:100%;background:linear-gradient(90deg,var(--pink),var(--blue))}
#memoryList p{padding:12px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid var(--line)}

@media(max-width:980px){
  .landing{grid-template-columns:1fr}.hero-copy{text-align:center}.hero-copy>p{margin-left:auto;margin-right:auto}.hero-actions,.benefits{justify-content:center}
  #app{grid-template-columns:1fr}.sidebar{position:static;height:auto;display:flex;overflow:auto;flex-direction:row;padding:10px}.side-logo,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row}.nav-item{white-space:nowrap}
  .assistant-shell,.dashboard-layout{grid-template-columns:1fr}.summary-grid{grid-template-columns:1fr 1fr}.goal-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  .topbar{padding:0 14px}.logo-sub,.credit-pill{display:none}.landing{padding:60px 18px}.hero-copy h1{font-size:50px;letter-spacing:-2px}
  .workspace{padding:18px}.workspace-header{align-items:flex-start;flex-direction:column}.workspace-tools{width:100%;flex-wrap:wrap}.assistant-welcome{padding:15px}.assistant-welcome h2{font-size:37px}
  .chat-panel{height:570px}.summary-grid,.goal-grid,.plan-grid{grid-template-columns:1fr}.quick-actions{grid-template-columns:1fr}.plan-card.featured{transform:none}
}

/* V4.1 — estado visual correto das abas de autenticação */
.tabs button.active{
  color:#fff;
  border-color:#ff38cf;
  background:linear-gradient(110deg,rgba(255,56,207,.28),rgba(61,112,255,.22));
  box-shadow:0 0 18px rgba(255,56,207,.18);
}


/* V4.2 — correções de autenticação */
.tabs button.active{
  color:#fff;
  border-color:var(--pink);
  background:linear-gradient(
    110deg,
    rgba(255,56,207,.28),
    rgba(61,112,255,.22)
  );
  box-shadow:0 0 18px rgba(255,56,207,.18);
}
.preview-top > div:first-child{
  width:100%;
}


/* =========================================================
   VÊNUS V5 — CENTRAL, WORK E LEARN
   ========================================================= */
.nav-group-label{
  margin:18px 14px 6px;
  color:#68617f;
  font-size:9px;
  letter-spacing:1.8px;
  font-weight:900;
}
.central-hero{
  max-width:760px;
  margin:15px auto 30px;
  text-align:center;
}
.central-hero h2{
  margin:9px 0 12px;
  font-size:clamp(38px,5vw,64px);
  letter-spacing:-2px;
}
.central-hero p{
  color:var(--muted);
  font-size:17px;
  line-height:1.6;
}
.mode-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  max-width:1100px;
  margin:auto;
}
.mode-card{
  min-height:305px;
  padding:25px;
  border-radius:23px;
  border:1px solid var(--line);
  background:linear-gradient(145deg,#15122d,#0d0a1d);
  color:white;
  text-align:left;
  transition:.22s ease;
  position:relative;
  overflow:hidden;
}
.mode-card:before{
  content:'';
  position:absolute;
  width:170px;
  height:170px;
  border-radius:50%;
  filter:blur(85px);
  opacity:.18;
  right:-50px;
  top:-50px;
}
.finance-mode:before{background:var(--pink)}
.work-mode:before{background:var(--blue)}
.learn-mode:before{background:#8a55ff}
.mode-card:hover{
  transform:translateY(-6px);
  border-color:rgba(255,255,255,.2);
  box-shadow:0 28px 70px rgba(0,0,0,.32);
}
.mode-icon{
  width:58px;
  height:58px;
  border-radius:17px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.07);
  border:1px solid var(--line);
  font-size:25px;
  margin-bottom:35px;
}
.mode-card small{
  color:var(--blue);
  letter-spacing:1.8px;
  font-weight:900;
}
.mode-card h3{
  font-size:26px;
  line-height:1.1;
  margin:10px 0;
}
.mode-card p{
  color:var(--muted);
  line-height:1.55;
}
.mode-card b{
  display:block;
  margin-top:25px;
  color:white;
}
.central-note{
  max-width:1100px;
  margin:18px auto 0;
  padding:20px;
  border-radius:18px;
}
.central-note span{
  color:var(--blue);
  font-size:10px;
  letter-spacing:1.5px;
  font-weight:900;
}
.central-note p{
  margin:7px 0 0;
  color:var(--muted);
}
.work-layout{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:16px;
}
.creator-panel,.result-panel{
  padding:22px;
  border-radius:21px;
  min-height:570px;
}
.creator-panel form{
  display:flex;
  flex-direction:column;
  gap:15px;
}
.creator-panel label{
  color:#c2bbd2;
  display:flex;
  flex-direction:column;
  gap:7px;
}
.creator-panel input,
.creator-panel select,
.creator-panel textarea{
  width:100%;
  border:1px solid var(--line);
  background:#09071a;
  color:white;
  border-radius:12px;
  padding:13px;
  resize:vertical;
}
.creator-panel textarea{
  line-height:1.55;
}
.template-chips{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.template-chips button{
  border:1px solid var(--line);
  background:rgba(255,255,255,.035);
  color:#cfc9df;
  border-radius:999px;
  padding:8px 11px;
  font-size:12px;
}
.template-chips button:hover{
  border-color:rgba(37,200,255,.45);
}
.work-submit{
  width:100%;
  min-height:48px;
}
.generated-result{
  margin-top:18px;
  max-height:485px;
  overflow:auto;
  padding-right:6px;
}
.empty-result{
  min-height:400px;
  display:grid;
  place-items:center;
  text-align:center;
  color:var(--muted);
}
.result-summary{
  padding:14px;
  background:rgba(255,255,255,.035);
  border:1px solid var(--line);
  border-radius:13px;
  color:#d8d2e5;
  line-height:1.55;
}
.generated-section{
  padding:16px 0;
  border-bottom:1px solid var(--line);
}
.generated-section h4{
  margin:0 0 8px;
  color:#fff;
}
.generated-section p,
.generated-section li{
  color:#c4bdd3;
  line-height:1.55;
}
.generated-section table{
  margin-top:10px;
  font-size:12px;
}
.generated-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  position:sticky;
  bottom:0;
  padding:12px 0 3px;
  background:linear-gradient(180deg,transparent,#111127 28%);
}
.compact-header{
  margin-top:32px;
}
.history-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.history-card{
  border:1px solid var(--line);
  background:linear-gradient(145deg,#15122d,#0d0a1d);
  color:white;
  border-radius:16px;
  padding:17px;
  text-align:left;
}
.history-card small{
  color:var(--blue);
  text-transform:uppercase;
}
.history-card b{
  display:block;
  margin:8px 0;
}
.history-card span{
  color:var(--muted);
  font-size:12px;
}
.flashcard-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
}
.flashcard{
  padding:13px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.035);
}
.flashcard b,.flashcard span{
  display:block;
}
.flashcard span{
  color:var(--muted);
  margin-top:6px;
  line-height:1.45;
}
.quiz-item{
  padding:14px 0;
  border-bottom:1px solid var(--line);
}
.quiz-item ol{
  color:var(--muted);
}
.quiz-answer{
  color:var(--success);
}
.loading-box{
  min-height:400px;
  display:grid;
  place-items:center;
  text-align:center;
}
.loading-ring{
  width:52px;
  height:52px;
  border-radius:50%;
  border:4px solid rgba(255,255,255,.09);
  border-top-color:var(--pink);
  animation:spin .8s linear infinite;
  margin:auto auto 13px;
}
@keyframes spin{to{transform:rotate(360deg)}}

@media(max-width:980px){
  .mode-grid,
  .work-layout{
    grid-template-columns:1fr;
  }
  .history-grid{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:620px){
  .mode-grid,
  .history-grid,
  .flashcard-grid{
    grid-template-columns:1fr;
  }
  .creator-panel,.result-panel{
    min-height:auto;
  }
}


/* =========================================================
   VÊNUS V5.1 — AUTENTICAÇÃO E SIDEBAR
   ========================================================= */

.password-field{
  position:relative;
  width:100%;
}

.password-field input{
  width:100%;
  padding-right:50px;
}

.password-toggle{
  position:absolute;
  top:50%;
  right:8px;
  transform:translateY(-50%);
  width:38px;
  height:38px;
  padding:0;
  display:grid;
  place-items:center;
  border:0;
  border-radius:10px;
  background:transparent;
  color:#d8d2e7;
  font-size:18px;
}

.password-toggle:hover{
  background:rgba(255,255,255,.07);
}

.field-help{
  margin-top:1px;
  color:#7f7893;
  font-size:11px;
}

dialog input.invalid{
  border-color:var(--danger)!important;
  box-shadow:0 0 0 3px rgba(255,107,133,.10);
}

dialog input.valid{
  border-color:rgba(51,227,162,.48)!important;
}

.sidebar{
  overflow-y:auto;
  overflow-x:hidden;
  z-index:12;
  background:#080412;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.18) transparent;
}

.sidebar nav{
  flex:0 0 auto;
}

.sidebar-bottom{
  margin-top:24px;
  padding-top:16px;
  border-top:1px solid var(--line);
}

#memorias{
  position:relative;
  isolation:isolate;
}

.memory-list{
  display:grid;
  gap:10px;
  margin-top:15px;
  max-height:430px;
  overflow:auto;
  padding-right:5px;
}

.memory-card{
  padding:14px;
  border:1px solid var(--line);
  border-radius:13px;
  background:rgba(255,255,255,.035);
}

.memory-card-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:7px;
}

.memory-card-category{
  color:var(--blue);
  font-size:10px;
  font-weight:900;
  letter-spacing:1.2px;
  text-transform:uppercase;
}

.memory-card p{
  margin:0;
  color:#d8d2e5;
  line-height:1.48;
}

.memory-delete{
  border:1px solid rgba(255,107,133,.25);
  background:rgba(255,107,133,.08);
  color:#ff9bad;
  border-radius:8px;
  padding:6px 9px;
  font-size:11px;
}

.memory-delete:hover{
  background:rgba(255,107,133,.17);
}

@media(max-width:980px){
  .sidebar{
    overflow-x:auto;
    overflow-y:hidden;
    background:#080412;
  }

  .sidebar-bottom{
    margin-top:0;
    padding-top:0;
    border-top:0;
  }
}


/* =========================================================
   VÊNUS V6 — IDENTIDADE, PERFIL E CONFIGURAÇÕES
   ========================================================= */

.brand-logo{
  width:48px;
  height:48px;
  object-fit:cover;
  border-radius:50%;
  box-shadow:0 0 24px rgba(255,56,207,.3);
}

.brand-words{
  display:flex;
  align-items:baseline;
  gap:8px;
}

.side-logo{
  flex-direction:row;
  align-items:center;
  gap:11px;
}

.side-logo img{
  width:46px;
  height:46px;
  object-fit:cover;
  border-radius:50%;
}

.side-logo > span{
  display:flex;
  flex-direction:column;
}

.side-logo b{
  color:#ff71dd;
  letter-spacing:3px;
}

.sidebar-user{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 8px 18px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.035);
}

.sidebar-user > div:last-child{
  min-width:0;
}

.sidebar-user b,
.sidebar-user small{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.sidebar-user small{
  margin-top:3px;
  color:var(--muted);
  font-size:11px;
}

.sidebar-avatar{
  width:37px;
  height:37px;
  flex:0 0 37px;
  border-radius:12px;
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:900;
  background:linear-gradient(135deg,var(--pink),var(--blue2));
}

.summary-grid{
  grid-template-columns:repeat(5,1fr);
}

.score-summary{
  background:
    radial-gradient(circle at 85% 15%,rgba(37,200,255,.2),transparent 35%),
    linear-gradient(145deg,#15122d,#0e0b22);
}

.score-summary b{
  background:linear-gradient(90deg,#ff64da,#59d8ff);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent;
}

.settings-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:16px;
}

.settings-panel{
  padding:22px;
  border-radius:21px;
}

.settings-panel form{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:18px;
}

.settings-panel label{
  display:flex;
  flex-direction:column;
  gap:7px;
  color:#c2bbd2;
}

.settings-panel input,
.settings-panel select,
.settings-panel textarea{
  width:100%;
  border:1px solid var(--line);
  background:#09071a;
  color:white;
  border-radius:12px;
  padding:13px;
}

.settings-panel input:disabled{
  color:#888198;
  cursor:not-allowed;
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

#profileMessage,
#passwordMessage{
  min-height:20px;
  margin:0;
  color:var(--success);
}

.privacy-box{
  margin-top:24px;
  padding:16px;
  border-radius:15px;
  background:rgba(255,255,255,.035);
  border:1px solid var(--line);
}

.privacy-box span{
  color:var(--blue);
  font-size:10px;
  letter-spacing:1.5px;
  font-weight:900;
}

.privacy-box p{
  color:var(--muted);
  line-height:1.5;
}

.dialog-brand{
  display:flex;
  align-items:center;
  gap:9px;
}

.dialog-brand img{
  width:40px;
  height:40px;
  object-fit:cover;
  border-radius:50%;
}

@media(max-width:1150px){
  .summary-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:850px){
  .settings-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:620px){
  .brand-logo{
    width:40px;
    height:40px;
  }

  .brand-words{
    gap:5px;
  }

  .summary-grid,
  .form-grid{
    grid-template-columns:1fr;
  }
}


/* V6.1 — uma única logo durante o uso do painel */
.app-active .topbar .logo{display:none;}
.app-active .topbar{justify-content:flex-end;}
.app-active .sidebar .side-logo{display:flex;}


/* =========================================================
   VÊNUS V6.2 — LANDING E AUTENTICAÇÃO
   ========================================================= */

.topbar{
  z-index:100;
}

.top-actions,
.hero-actions{
  position:relative;
  z-index:5;
}

#entrar,
#heroStart,
.hero-actions a,
[data-plan]{
  pointer-events:auto!important;
}

.hero-badge{
  width:max-content;
  max-width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:22px;
  padding:8px 13px 8px 8px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:999px;
  background:rgba(255,255,255,.035);
  color:#cec8dc;
  font-size:12px;
  box-shadow:0 12px 35px rgba(0,0,0,.18);
}

.hero-badge img{
  width:30px;
  height:30px;
  border-radius:50%;
  object-fit:cover;
  box-shadow:0 0 17px rgba(255,56,207,.38);
}

.hero-copy h1{
  max-width:670px;
}

.hero-copy > p{
  max-width:610px;
}

.hero-actions .btn{
  min-height:52px;
  padding-left:23px;
  padding-right:23px;
}

.finance-preview{
  transform:perspective(900px) rotateY(-2deg);
  transition:transform .3s ease,box-shadow .3s ease;
}

.finance-preview:hover{
  transform:perspective(900px) rotateY(0deg) translateY(-4px);
  box-shadow:0 42px 105px rgba(0,0,0,.52);
}

.preview-health{
  margin-top:18px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.03);
}

.preview-health > div:first-child{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.preview-health span{
  color:var(--muted);
  font-size:12px;
}

.preview-health b{
  color:#fff;
}

.preview-health-bar{
  height:8px;
  margin-top:10px;
  border-radius:999px;
  overflow:hidden;
  background:#080613;
}

.preview-health-bar i{
  display:block;
  width:82%;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--pink),var(--blue));
  box-shadow:0 0 16px rgba(255,56,207,.35);
}

#auth{
  z-index:1000;
}

#auth::backdrop{
  background:rgba(3,1,8,.84);
  backdrop-filter:blur(12px);
}

@media(max-width:620px){
  .hero-badge{
    width:100%;
    justify-content:center;
    text-align:left;
  }

  .finance-preview{
    transform:none;
  }
}


/* =========================================================
   VÊNUS V7 — PAINEL PÚBLICO
   ========================================================= */

#landing{
  display:none!important;
}

body.public-panel,
body.app-active{
  overflow-x:hidden;
}

body.public-panel .topbar,
body.app-active .topbar{
  display:none!important;
}

body.public-panel #app,
body.app-active #app{
  display:grid!important;
}

.sidebar-user{
  display:grid;
  grid-template-columns:37px minmax(0,1fr) auto;
}

.sidebar-user-info{
  min-width:0;
}

.sidebar-login{
  border:1px solid rgba(255,56,207,.36);
  background:rgba(255,56,207,.10);
  color:#fff;
  border-radius:10px;
  padding:8px 10px;
  font-size:11px;
  font-weight:800;
}

.sidebar-login:hover{
  background:rgba(255,56,207,.20);
}

.public-notice{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:18px;
  padding:14px 16px;
  border:1px solid rgba(37,200,255,.22);
  border-radius:15px;
  background:linear-gradient(
    90deg,
    rgba(37,200,255,.08),
    rgba(255,56,207,.07)
  );
}

.public-notice p{
  margin:0;
  color:#d5cee1;
  line-height:1.45;
}

.public-notice button{
  white-space:nowrap;
}

.demo-label{
  display:inline-flex;
  margin-left:7px;
  padding:4px 7px;
  border-radius:999px;
  background:rgba(37,200,255,.12);
  color:var(--blue);
  font-size:9px;
  letter-spacing:1px;
  font-weight:900;
  vertical-align:middle;
}

.demo-empty{
  padding:28px;
  text-align:center;
  color:var(--muted);
}

.protected-preview{
  position:relative;
}

.protected-preview::after{
  content:'Entre para salvar e usar seus créditos gratuitos';
  position:absolute;
  right:14px;
  bottom:14px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(7,4,17,.88);
  border:1px solid var(--line);
  color:#bdb6cb;
  font-size:10px;
  pointer-events:none;
}

@media(max-width:980px){
  .sidebar-user{
    display:none;
  }
}

@media(max-width:620px){
  .public-notice{
    align-items:flex-start;
    flex-direction:column;
  }
}

.sidebar-logout{
  border-color:rgba(255,107,133,.32);
  background:rgba(255,107,133,.09);
}
.sidebar-logout:hover{background:rgba(255,107,133,.18)}
