@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');
:root{--ink:#302247;--muted:#766a83;--purple:#7853bd;--purple-dark:#5f3b9e;--lav:#f1e8ff;--pink:#f9dce9;--peach:#ffe9dc;--mint:#e2f3e9;--cream:#fffaf7;--line:#eadff0;--white:#fff;--shadow:0 18px 50px #53377d12}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--cream);color:var(--ink);font-family:'DM Sans',sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}.navbar{height:78px;padding:0 clamp(20px,7vw,110px);display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:0;z-index:10;background:#fffaf7ed;border-bottom:1px solid #eadff080;backdrop-filter:blur(15px)}.logo{font-family:'Playfair Display',serif;font-size:1.25rem;font-weight:700;white-space:nowrap}.logo span{color:#df5798;font-size:1.5rem}.navbar nav{display:flex;align-items:center;gap:clamp(12px,2vw,28px);font-size:.86rem;color:var(--muted)}.navbar nav a:hover{color:var(--purple)}.nav-cta{padding:9px 15px;border-radius:30px;background:var(--purple);color:white!important}.menu-toggle{display:none;border:0;background:var(--lav);padding:8px 12px;border-radius:10px;font-size:1.2rem}.hero{min-height:620px;padding:65px clamp(20px,9vw,140px);display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:30px;background:radial-gradient(circle at 83% 20%,#f7dce9 0,transparent 34%),linear-gradient(125deg,#fffaf7,#f7f0ff)}.eyebrow{font-size:.7rem;font-weight:700;letter-spacing:.19em;color:var(--purple);margin:0 0 13px}.hero h1{font-family:'Playfair Display',serif;font-size:clamp(3rem,6.4vw,5.7rem);line-height:1.03;letter-spacing:-.055em;margin:0 0 22px}.hero h1 span,.section h2 span,.contact h2 span,.study-card h2 span{color:var(--purple)}.hero h1 b{color:#df5798;font-weight:500}.intro{font-size:1.05rem;color:var(--muted);max-width:540px}.chips{display:flex;gap:8px;flex-wrap:wrap;margin:23px 0}.chips span{background:#f9dce9a6;color:#784966;padding:7px 12px;border-radius:30px;font-size:.78rem}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.button{border:0;border-radius:14px;padding:12px 18px;font:inherit;font-weight:700;font-size:.88rem;display:inline-flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;transition:.18s}.button:hover{transform:translateY(-2px)}.primary{background:var(--purple);color:#fff;box-shadow:0 9px 22px #7853bd35}.primary:hover{background:var(--purple-dark)}.secondary{background:#fff;border:1px solid var(--line);color:var(--purple-dark)}.quote{margin-top:28px;background:#fff8;border:1px solid #fff;padding:13px 18px;border-radius:16px;display:inline-block;font-family:'Playfair Display',serif;font-style:italic;color:#8d456d}.quote span{color:#df5798}.hero-visual{height:450px;position:relative;display:grid;place-items:center}.blob{position:absolute;border-radius:50%}.blob-pink{width:330px;height:330px;background:#f5d4e7;right:3%;top:15px}.blob-lilac{width:245px;height:245px;background:#ded0f9;left:2%;bottom:10px;opacity:.8}.portrait{position:relative;z-index:1;width:min(310px,75%);height:390px;object-fit:cover;object-position:center 28%;border:9px solid #ffffffd9;border-radius:48% 48% 25px 25px;box-shadow:var(--shadow)}.floating-card{position:absolute;z-index:2;right:0;bottom:45px;display:flex;align-items:center;gap:12px;padding:14px 17px;background:#fff;border-radius:17px;box-shadow:var(--shadow)}.floating-card>span{font-size:1.8rem;color:var(--purple)}.floating-card strong,.floating-card small{display:block}.floating-card strong{font-size:.82rem}.floating-card small{color:var(--muted);font-size:.72rem}.sparkle{position:absolute;color:var(--purple);font-size:3rem}.sparkle-one{left:10%;top:15px}.sparkle-two{right:4%;top:45%}.section{padding:85px clamp(20px,10vw,150px)}.section-heading{max-width:760px;margin-bottom:32px}.section h2,.contact h2,.study-card h2{font-family:'Playfair Display',serif;font-size:clamp(2rem,4.5vw,3.35rem);line-height:1.14;letter-spacing:-.04em;margin:0 0 15px}.section-heading>p:last-child,.contact>p,.study-card>p:not(.eyebrow){color:var(--muted);max-width:700px}.values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.value-card{background:white;border:1px solid var(--line);border-radius:23px;padding:24px;box-shadow:var(--shadow)}.value-card h3{margin:9px 0 5px}.value-card p{color:var(--muted);font-size:.92rem}.icon{width:45px;height:45px;display:grid;place-items:center;border-radius:14px;font-size:1.6rem}.pink{background:var(--pink);color:#b34e7c}.lilac{background:var(--lav);color:var(--purple)}.peach{background:var(--peach);color:#c87537}.journey{background:var(--lav)}.timeline{display:grid;gap:25px;max-width:850px}.timeline article{display:grid;grid-template-columns:48px 1fr;gap:16px;background:#fff;border-radius:20px;padding:22px;border:1px solid #e6d9f5}.timeline-dot{width:42px;height:42px;border-radius:14px;background:var(--purple);color:white;display:grid;place-items:center;font-weight:700}.timeline h3{margin:0}.timeline p{margin:5px 0;color:var(--muted)}.timeline .eyebrow{margin:0;color:var(--purple)}.muted{font-size:.82rem}.skills{display:grid;gap:12px;max-width:900px}.skills div{display:flex;justify-content:space-between;gap:20px;padding:17px 20px;background:#fff;border:1px solid var(--line);border-radius:14px}.skills span{color:var(--muted)}.skills strong{text-align:right;font-size:.9rem;max-width:60%}.note{font-size:.8rem;color:var(--muted);margin-top:20px}.study{background:linear-gradient(130deg,#f6edff,#fff3f7);text-align:center}.study-card{position:relative;max-width:900px;margin:auto;padding:clamp(25px,5vw,55px);border-radius:30px;border:1px solid #fff;background:#ffffffc9;box-shadow:var(--shadow);overflow:hidden}.study-symbol{font-size:3rem;color:#d36ca4}.study-card>p:not(.eyebrow){margin:0 auto 25px}.study-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:30px 0}.study-preview div{display:grid;gap:4px;background:#fff;border:1px solid var(--line);border-radius:17px;padding:18px}.study-preview span{font-size:1.7rem}.study-preview strong{font-size:.92rem}.study-preview small{color:var(--muted);font-size:.76rem}.security-note{font-size:.78rem!important;margin:15px auto 0!important}.contact{text-align:center}.contact>p{margin:0 auto 25px}footer{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:25px clamp(20px,7vw,110px);border-top:1px solid var(--line);color:var(--muted);font-size:.82rem}footer .logo{color:var(--ink)}
@media(max-width:800px){.navbar{height:70px}.menu-toggle{display:block}.navbar nav{display:none;position:absolute;top:69px;left:0;right:0;padding:18px 22px;background:var(--cream);border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch}.navbar nav.open{display:flex}.navbar nav a{padding:8px}.hero{grid-template-columns:1fr;padding-top:35px}.hero-visual{height:330px;grid-row:1}.hero-copy{grid-row:2}.portrait{width:205px;height:270px}.blob-pink{width:245px;height:245px}.blob-lilac{width:170px;height:170px}.floating-card{right:0;bottom:15px}.section{padding-top:62px;padding-bottom:62px}.values-grid{grid-template-columns:1fr}.study-preview{grid-template-columns:1fr}.skills div{flex-direction:column;gap:4px}.skills strong{text-align:left;max-width:none}footer{flex-wrap:wrap}}


/* Seção de concursos e conquistas */
.concursos {
  background: linear-gradient(135deg, #fff8fc, #f2eaff);
}
.concurso-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: 900px;
  padding: 30px;
  background: #fff;
  border: 1px solid #eadff0;
  border-radius: 24px;
  box-shadow: 0 18px 50px #53377d12;
}
.concurso-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: #f1e8ff;
  font-size: 2rem;
}
.concurso-content { flex: 1; min-width: 0; }
.concurso-status {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 30px;
  background: #f9dce9;
  color: #8d456d;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.concurso-card h3 {
  margin: 14px 0 5px;
  color: #302247;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  line-height: 1.3;
}
.concurso-cargo { margin: 0 0 22px; color: #766a83; }
.concurso-dados {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.concurso-dados div { padding: 14px; border-radius: 14px; background: #fbf7ff; }
.concurso-dados small, .concurso-dados strong { display: block; }
.concurso-dados small { margin-bottom: 5px; color: #766a83; font-size: .78rem; }
.concurso-dados strong { color: #7853bd; font-size: 1rem; }
.concurso-observacao { margin-top: 22px; color: #766a83; font-size: .85rem; }
.concurso-fonte { color: #8b8096; font-size: .75rem; }
@media (max-width: 600px) {
  .concurso-card { flex-direction: column; padding: 22px; }
  .concurso-dados { grid-template-columns: 1fr; }
}

/* Linha do tempo ampliada para evidenciar a continuidade da trajetória */
.timeline { position: relative; }
.timeline article { position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.timeline article:hover { transform: translateY(-2px); box-shadow: 0 12px 28px #53377d12; }
.timeline-current { border-color: #d9c4f8 !important; background: linear-gradient(110deg,#fff,#fbf5ff) !important; }
.timeline-current .timeline-dot { background: #d65393; }
.timeline article p:last-child { line-height: 1.7; }

/* TRAJETÓRIA: linha do tempo vertical conectada e visível */
.journey .timeline {
  position: relative;
  display: grid;
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
  padding: 8px 0;
}
.journey .timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 28px;
  bottom: 28px;
  width: 3px;
  border-radius: 5px;
  background: linear-gradient(180deg, #d65393 0%, #a78add 45%, #d9c4f8 100%);
}
.journey .timeline article {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 22px 24px 22px 12px;
  border: 1px solid #e6d9f5;
  border-radius: 20px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 7px 20px rgba(83,55,125,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.journey .timeline article:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(83,55,125,.12);
}
.journey .timeline .timeline-dot {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 4px solid #f0e8fb;
  border-radius: 50%;
  background: #8662c5;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .78rem;
  font-weight: 800;
  box-shadow: 0 0 0 3px #fff;
}
.journey .timeline article:nth-child(odd) .timeline-dot { background: #b34e86; }
.journey .timeline article.timeline-current {
  border: 2px solid #d65393 !important;
  background: linear-gradient(110deg, #fff, #fff5fa) !important;
  box-shadow: 0 10px 28px rgba(214,83,147,.12);
}
.journey .timeline article.timeline-current .timeline-dot {
  background: #d65393;
  border-color: #f9dce9;
}
.journey .timeline article h3 { margin: 3px 0 6px; color: #30283b; }
.journey .timeline article p { margin: 5px 0; }
.journey .timeline article .eyebrow { font-size: .68rem; letter-spacing: .12em; }
@media (max-width: 600px) {
  .journey .timeline { gap: 16px; }
  .journey .timeline::before { left: 17px; }
  .journey .timeline article {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 17px 14px 17px 9px;
    border-radius: 16px;
  }
  .journey .timeline .timeline-dot { width: 36px; height: 36px; font-size: .7rem; }
  .journey .timeline article .eyebrow { font-size: .61rem; }
}


/* Linha do tempo horizontal alternada inspirada na referência visual enviada */
.journey { overflow: hidden; background: linear-gradient(135deg, #fbf6ff 0%, #fff8fb 55%, #fffaf7 100%); }
.journey .section-heading { max-width: 900px; margin-left: auto; margin-right: auto; text-align: center; }
.journey .timeline-horizontal {
  --axis: 40px;
  display: grid;
  grid-template-columns: repeat(7, minmax(190px, 1fr));
  grid-template-rows: minmax(205px, auto) var(--axis) minmax(205px, auto);
  align-items: stretch;
  gap: 0 14px;
  position: relative;
  width: 100%; max-width: 1500px; margin: 12px auto 0;
  padding: 0 4px; overflow-x: auto; overflow-y: hidden;
  scrollbar-color: #c7a4d9 #f4e9f5; scrollbar-width: thin;
}
.journey .timeline-horizontal::before {
  content: ""; position: absolute; z-index: 0; left: 8px; right: 8px;
  top: 50%; transform: translateY(-50%); height: 4px; border-radius: 9px;
  background: linear-gradient(90deg, #8c63bd, #d85c9a, #55a991, #d85c9a, #8c63bd);
}
.journey .timeline-horizontal article { display: contents; }
.journey .timeline-horizontal .timeline-dot {
  grid-row: 2; align-self: center; justify-self: center; z-index: 2;
  width: 70px; height: 70px; padding: 0; border-radius: 50%;
  border: 5px solid #fff; outline: 3px solid #d9c1e8;
  box-shadow: 0 2px 9px #7853bd25; font-size: .72rem; letter-spacing: -.035em;
  white-space: nowrap; overflow: visible; color: transparent; position: relative;
}
.journey .timeline-horizontal .timeline-dot::after {
  content: attr(data-date); position: absolute; left: 50%; transform: translateX(-50%);
  width: 60px; max-width: 60px; color: #fff; font-size: .66rem; font-weight: 800; white-space: normal; text-align: center; line-height: 1.05;
}
.journey .timeline-horizontal article:nth-child(1) .timeline-dot { background: #8862bd; }
.journey .timeline-horizontal article:nth-child(2) .timeline-dot { background: #d65d99; }
.journey .timeline-horizontal article:nth-child(3) .timeline-dot { background: #58a58f; }
.journey .timeline-horizontal article:nth-child(4) .timeline-dot { background: #d65d99; }
.journey .timeline-horizontal article:nth-child(5) .timeline-dot { background: #8862bd; }
.journey .timeline-horizontal article:nth-child(6) .timeline-dot { background: #d65d99; }
.journey .timeline-horizontal article:nth-child(7) .timeline-dot { background: #58a58f; }
.journey .timeline-horizontal article > div:nth-child(2) {
  position: relative; align-self: stretch; padding: 19px 16px;
  background: #ffffffed; border: 1px solid #eadcf1; border-radius: 19px;
  box-shadow: 0 8px 22px #53377d0b; min-width: 0;
}
.journey .timeline-horizontal article:nth-child(odd) > div:nth-child(2) { grid-row: 1; margin-bottom: 24px; }
.journey .timeline-horizontal article:nth-child(even) > div:nth-child(2) { grid-row: 3; margin-top: 24px; }
.journey .timeline-horizontal article > div:nth-child(2)::before {
  content: ""; position: absolute; left: 50%; width: 1px; height: 25px;
  border-left: 2px dotted #c8a7dc; transform: translateX(-50%);
}
.journey .timeline-horizontal article:nth-child(odd) > div:nth-child(2)::before { top: 100%; }
.journey .timeline-horizontal article:nth-child(even) > div:nth-child(2)::before { bottom: 100%; }
.journey .timeline-horizontal article h3 { font-family: 'Playfair Display', serif; font-size: 1.08rem; line-height: 1.25; margin: 5px 0 9px; }
.journey .timeline-horizontal article p { font-size: .78rem; line-height: 1.5; }
.journey .timeline-horizontal article .eyebrow { font-size: .57rem; letter-spacing: .08em; line-height: 1.4; }
.journey .timeline-horizontal article .muted { font-size: .72rem; }
.journey .timeline-horizontal article.timeline-current > div:nth-child(2) { border-color: #d65393; background: linear-gradient(140deg,#fff,#fff4fa); }
@media (min-width: 1500px) {
  .journey .timeline-horizontal { overflow-x: visible; }
}
@media (max-width: 800px) {
  .journey .timeline-horizontal { grid-template-columns: repeat(7, minmax(205px, 1fr)); padding-bottom: 18px; }
  .journey .section-heading { text-align: left; }
}

/* Trajetória detalhada: mantém o eixo horizontal, com cartões amplos e conteúdo legível */
.journey .timeline-horizontal {
  grid-template-columns: repeat(9, minmax(265px, 1fr));
  grid-template-rows: minmax(285px, auto) 54px minmax(285px, auto);
  gap: 0 22px;
  max-width: 100%;
  padding: 12px 10px 24px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x proximity;
}
.journey .timeline-horizontal article > div:nth-child(2) {
  padding: 24px 22px;
  border-radius: 22px;
  box-shadow: 0 12px 30px #53377d12;
  min-width: 265px;
  max-width: 330px;
  align-self: stretch;
  scroll-snap-align: center;
}
.journey .timeline-horizontal article h3 {
  font-size: 1.22rem;
  line-height: 1.3;
  margin: 9px 0 12px;
}
.journey .timeline-horizontal article p {
  font-size: .91rem;
  line-height: 1.7;
  margin: 9px 0;
}
.journey .timeline-horizontal article .eyebrow {
  font-size: .65rem;
  letter-spacing: .1em;
  line-height: 1.5;
}
.journey .timeline-horizontal article .muted {
  font-size: .82rem;
  color: #876d8c;
  font-weight: 600;
}
.journey .timeline-horizontal article ul {
  padding-left: 18px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.65;
}
.journey .timeline-horizontal article li { margin: 5px 0; }
.journey .timeline-horizontal .timeline-dot {
  width: 76px;
  height: 76px;
  outline: 3px solid #d9c1e8;
}
.journey .timeline-horizontal .timeline-dot::after {
  width: 65px;
  max-width: 65px;
  font-size: .68rem;
  line-height: 1.12;
}
.journey .timeline-horizontal .timeline-small-note {
  padding-top: 10px;
  border-top: 1px solid #eee1f1;
  font-size: .77rem;
  font-style: italic;
}
.journey .timeline-horizontal article.timeline-current > div:nth-child(2) {
  border: 1px solid #d65393;
  box-shadow: 0 12px 30px #d6539318;
}
@media (max-width: 800px) {
  .journey .timeline-horizontal {
    grid-template-columns: repeat(9, minmax(260px, 1fr));
    grid-template-rows: minmax(300px, auto) 54px minmax(300px, auto);
    gap: 0 16px;
  }
  .journey .timeline-horizontal article > div:nth-child(2) {
    padding: 20px 18px;
    min-width: 260px;
  }
}


/* Linha do tempo horizontal em percurso contínuo, com conteúdo mais leve */
.journey { background: #fffdf9; }
.journey .journey-title { max-width: none; text-align: center; margin: 0 auto 58px; }
.journey .journey-title h2 { margin: 0; color: #17683b; font-size: clamp(2.4rem, 5vw, 3.6rem); }
.journey .journey-title h2 span { color: #17683b; }
.journey .timeline-horizontal {
  --timeline-green: #17683b;
  max-width: 1320px; margin: 0 auto; padding: 12px 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 34px;
  position: relative;
}
.journey .timeline-horizontal::before { content: none; }
.journey .timeline-horizontal article {
  display: block; position: relative; z-index: 1; padding: 25px 22px 22px 25px;
  min-height: 188px; background: transparent !important; border: 0 !important;
  border-radius: 0; border-top: 2px solid var(--timeline-green) !important;
  box-shadow: none !important; transform: none !important;
}
.journey .timeline-horizontal article::before {
  content: ''; position: absolute; top: -11px; left: 18px; width: 16px; height: 16px;
  border: 3px solid var(--timeline-green); border-radius: 50%; background: #fffdf9;
}
.journey .timeline-horizontal .timeline-dot {
  display: block; width: auto; height: auto; margin: 0 0 11px; padding: 0;
  border: 0; border-radius: 0; background: transparent !important; color: var(--timeline-green);
  box-shadow: none; font-size: 1.15rem; font-weight: 800; letter-spacing: .02em;
}
.journey .timeline-horizontal .timeline-dot::before { content: none; }
.journey .timeline-horizontal .eyebrow { color: #6d7b70; font-size: .65rem; margin-bottom: 5px; }
.journey .timeline-horizontal h3 { font-family: 'DM Sans', sans-serif; font-size: 1.08rem; line-height: 1.35; margin: 0 0 7px; color: #242c27; }
.journey .timeline-horizontal p.muted { font-size: .9rem; line-height: 1.55; margin: 0; color: #68736b; }
.journey .timeline-horizontal .timeline-current { border-top-color: #d65393 !important; }
.journey .timeline-horizontal .timeline-current::before { border-color: #d65393; }
.journey .timeline-horizontal .timeline-current .timeline-dot { color: #b34e86; }
@media (max-width: 850px) { .journey .timeline-horizontal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; } }
@media (max-width: 560px) { .journey .timeline-horizontal { grid-template-columns: 1fr; gap: 16px; } .journey .timeline-horizontal article { min-height: 0; padding-bottom: 18px; } .journey .journey-title { margin-bottom: 36px; } }

/* Refinamento visual da área de estudos — outubro/2026 */
.study-dashboard{display:flex;flex-direction:column;gap:22px;min-width:0}
.dashboard-top{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;background:rgba(255,255,255,.88);border:1px solid var(--line);border-radius:20px;box-shadow:0 8px 24px #53377d0a}
.dashboard-top .eyebrow{margin-bottom:5px;font-size:.66rem;letter-spacing:.16em}
.dashboard-top h2{margin:0;font-size:1.12rem;line-height:1.35;overflow-wrap:anywhere}
.session-first-wrap{width:100%;min-width:0}
.session-form{width:100%;max-width:880px;margin:0 auto;padding:clamp(20px,3vw,30px);background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 12px 32px #53377d0c;display:flex;flex-direction:column;gap:8px;text-align:left}
.session-form>.eyebrow{font-size:.65rem;letter-spacing:.17em;margin:0 0 1px}
.session-form h3{font-family:'Playfair Display',serif;font-size:clamp(1.35rem,2vw,1.7rem);line-height:1.25;letter-spacing:-.025em;margin:0 0 10px;color:var(--ink)}
.study-dashboard label{display:block;margin:9px 0 4px;font-size:.84rem;font-weight:700;line-height:1.4;color:#49365e}
.study-dashboard input:not([type=checkbox]):not([type=file]),.study-dashboard select,.study-dashboard textarea{display:block;width:100%;min-width:0;max-width:100%;min-height:44px;padding:10px 13px;border:1px solid #e5d8ee;border-radius:11px;background:#fffdfd;color:var(--ink);font:500 .92rem/1.45 'DM Sans',sans-serif;box-shadow:0 1px 2px #30224708;transition:border-color .18s,box-shadow .18s,background .18s}
.study-dashboard select{height:46px;padding-right:36px;cursor:pointer}
.study-dashboard textarea{min-height:94px;resize:vertical}
.study-dashboard input:focus,.study-dashboard select:focus,.study-dashboard textarea:focus{outline:none;border-color:#a888d6;background:#fff;box-shadow:0 0 0 3px #7853bd18}
.study-dashboard input::placeholder,.study-dashboard textarea::placeholder{color:#a096aa;font-weight:400}
.session-form .field-help{display:block;margin:1px 0 5px;color:#887b91;font-size:.77rem;line-height:1.45}
.session-form .timer-box{margin:16px 0;padding:22px 18px;border:1px solid #e8dcf2;border-radius:18px;background:linear-gradient(135deg,#faf6ff,#fff7fb);text-align:center}
.session-form .timer-box-large #timer-display{display:block;margin:7px 0 2px;font-variant-numeric:tabular-nums;font-size:clamp(2.35rem,5vw,3.25rem);font-weight:700;letter-spacing:.035em;line-height:1.2;color:#5f3b9e}
.session-form .timer-label{font-size:.67rem;font-weight:800;letter-spacing:.15em;color:var(--purple)}
.session-form .timer-caption{font-size:.82rem;color:var(--muted);margin-top:5px}
.session-form .timer-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:17px}
.session-form .timer-actions .button,.session-form>.button{min-height:42px;padding:10px 16px;border-radius:11px;font-size:.86rem}
.study-dashboard .form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.study-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.study-stats>div{min-width:0;padding:17px 18px;background:#fff;border:1px solid var(--line);border-radius:16px}
.study-stats small{display:block;color:var(--muted);font-size:.78rem;line-height:1.4}
.study-stats strong{display:block;margin-top:5px;font-size:clamp(1.2rem,2vw,1.6rem);line-height:1.25;overflow-wrap:anywhere}
.study-dashboard .edital-panel,.study-dashboard .ranking-card,.study-dashboard .history-card{min-width:0;padding:clamp(18px,2.5vw,26px);border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 8px 24px #53377d08}
.study-dashboard .analytics-title h3,.study-dashboard .edital-heading h3{font-size:1.3rem;line-height:1.3;margin:0 0 5px}
.study-dashboard .analytics-title .eyebrow,.study-dashboard .edital-heading .eyebrow{margin-bottom:5px}
.study-dashboard .button{font-size:.84rem;border-radius:11px}
@media(max-width:640px){.dashboard-top{padding:15px;align-items:flex-start}.dashboard-top .button{flex-shrink:0;padding:9px 12px}.session-form{padding:18px;border-radius:17px}.study-dashboard .form-row,.study-stats{grid-template-columns:1fr}.session-form .timer-box{padding:18px 12px}.session-form .timer-actions{gap:7px}.session-form .timer-actions .button{flex:1 1 auto}}


/* Layout aprimorado do cronômetro e registro — outubro/2026 */
.session-first-wrap{width:100%;min-width:0}
.session-form{width:100%;max-width:none;margin:0;padding:clamp(18px,2.2vw,28px);background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 12px 32px #53377d0c}
.session-form .focus-layout{display:grid;grid-template-columns:minmax(270px,.78fr) minmax(0,1.22fr);gap:clamp(22px,3vw,42px);align-items:stretch}
.focus-timer-panel{min-width:0;padding:4px 0;display:flex;flex-direction:column}
.focus-timer-panel>.eyebrow{font-size:.68rem;letter-spacing:.18em;margin:0 0 16px}
.session-form .timer-box{flex:1;margin:0;padding:8px 0 16px;border:0;border-radius:0;background:transparent;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}
.timer-orb{width:min(100%,330px);aspect-ratio:1/1;border-radius:50%;border:10px solid transparent;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#e9dcff 0%,#f5eaff 55%,#f7cfe5 100%) border-box;box-shadow:inset 0 0 0 1px #f1e7fb,0 8px 28px #7853bd0b;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:18px 10px}
.timer-book-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:10px;border-radius:17px;background:#f4ebff;color:#8c62cc;font-size:1.8rem}
.session-form .timer-box-large #timer-display{font-size:clamp(2.9rem,4.5vw,4.4rem);font-weight:800;letter-spacing:-.045em;line-height:1.08;white-space:nowrap;color:#26154e;margin:0;font-variant-numeric:tabular-nums}
.session-form .timer-caption{font-size:.9rem;font-weight:600;color:var(--muted);margin-top:8px}
.session-form .timer-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:18px;width:100%}
.session-form .timer-actions .button{min-height:46px;padding:10px 15px;border-radius:12px;font-size:.88rem}
.session-fields-panel{min-width:0;border-left:1px solid #eee3f5;padding-left:clamp(20px,2.3vw,32px);display:flex;flex-direction:column;gap:5px}
.session-form-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 12px}
.session-form-heading .eyebrow{font-size:.65rem;letter-spacing:.16em;margin:0 0 4px}
.session-form-heading h3{font-family:'Playfair Display',serif;font-size:clamp(1.35rem,1.8vw,1.7rem);line-height:1.2;margin:0;color:var(--ink)}
.session-form-heading p:not(.eyebrow){font-size:.82rem;color:var(--muted);margin:4px 0 0;line-height:1.4}
.session-save-top{flex-shrink:0;white-space:nowrap}
.session-fields-panel label{margin:7px 0 3px;font-size:.8rem}
.session-fields-panel select,.session-fields-panel input:not([type=checkbox]):not([type=file]),.session-fields-panel textarea{min-height:40px;padding:8px 12px;font-size:.88rem;border-radius:10px}
.session-fields-panel select{height:42px}
.session-fields-panel .field-help{font-size:.73rem;margin:0 0 3px}
.session-extra-fields{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:12px}
.session-extra-fields .form-row{gap:8px}
.session-extra-fields .form-row>div{min-width:0}
.session-extra-fields label{font-size:.74rem}
.session-fields-panel textarea{min-height:62px}
.session-save-bottom{display:none}
@media(max-width:900px){.session-form .focus-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:20px}.timer-orb{width:min(100%,280px);border-width:8px}.session-form .timer-box-large #timer-display{font-size:clamp(2.5rem,5vw,3.5rem)}.session-fields-panel{padding-left:20px}.session-form-heading{align-items:flex-start}.session-save-top{padding:9px 11px;font-size:.78rem!important}}
@media(max-width:680px){.session-form{padding:18px}.session-form .focus-layout{grid-template-columns:1fr;gap:18px}.focus-timer-panel{padding:0 0 18px;border-bottom:1px solid #eee3f5}.focus-timer-panel>.eyebrow{margin-bottom:10px}.timer-orb{width:min(82vw,280px)}.session-form .timer-box-large #timer-display{font-size:clamp(2.9rem,12vw,4rem)}.session-fields-panel{border-left:0;padding-left:0}.session-form-heading{align-items:center}.session-save-top{display:none}.session-save-bottom{display:inline-flex}.session-extra-fields{grid-template-columns:1fr}.session-fields-panel .field-help{margin-bottom:4px}}

/* Correção de estrutura da página privada de estudos */
body.study-page{margin:0;min-height:100vh;background:linear-gradient(135deg,#fffafc 0%,#f8f2ff 52%,#fff7fb 100%);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:16px;line-height:1.55}
.study-page .study-nav{min-height:64px;padding:12px clamp(18px,4vw,64px);display:flex;align-items:center;justify-content:space-between;gap:20px;background:#ffffffde;border-bottom:1px solid var(--line)}
.study-page .study-nav .logo{font-size:1.12rem}
.study-page .study-app{width:min(1500px,100%);margin:0 auto;padding:22px clamp(14px,2.5vw,34px) 48px;display:grid;grid-template-columns:220px minmax(0,1fr);align-items:start;gap:26px}
.study-page .study-sidebar{position:sticky;top:18px;min-width:0;min-height:calc(100vh - 36px);padding:22px 16px;background:#ffffffdf;border:1px solid #fff;border-radius:24px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:8px}
.study-page .sidebar-brand{display:flex;align-items:center;gap:10px;margin:4px 4px 22px;font-family:'Playfair Display',serif;font-size:1.05rem;font-weight:700;line-height:1.2}
.study-page .sidebar-brand:first-letter{color:var(--purple)}
.study-page .sidebar-link{display:flex;align-items:center;gap:8px;padding:11px 12px;border-radius:12px;color:var(--muted);font-size:.88rem;font-weight:700;transition:background .18s,color .18s}
.study-page .sidebar-link:hover,.study-page .sidebar-link.active{background:var(--purple);color:#fff}
.study-page .sidebar-quote{margin-top:auto;margin-bottom:6px;padding:14px 12px;border-radius:16px;background:linear-gradient(135deg,#f4e8ff,#fde8f2);font-family:'Playfair Display',serif;color:#8d5b91;font-size:.88rem;line-height:1.45}
.study-page .sidebar-quote b{color:#df5798}
.study-page .study-main{min-width:0;width:100%}
.study-page .study-page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 20px}
.study-page .study-page-heading h1{margin:0 0 4px;font-family:'Playfair Display',serif;font-size:clamp(2rem,3.4vw,3rem);line-height:1.15;letter-spacing:-.035em;color:var(--ink)}
.study-page .study-page-heading h1 span{color:#df5798}
.study-page .study-page-heading p:not(.eyebrow){margin:5px 0 0;color:var(--muted);font-size:.96rem}
.study-page .today-pill{flex-shrink:0;padding:10px 14px;background:#fff;border:1px solid var(--line);border-radius:13px;color:var(--purple);font-size:.82rem;font-weight:700}
.study-page .auth-message{margin:0 0 18px;padding:11px 14px;border-radius:12px;background:#f3ebfa;color:var(--muted);font-size:.84rem}
.study-page .auth-panel,.study-page .study-dashboard{min-width:0}
.study-page .study-login{max-width:520px;margin:40px auto;padding:28px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}
.study-page .study-symbol{font-size:2rem;color:var(--purple)}
.study-page .auth-panel h2{font-family:'Playfair Display',serif;font-size:1.8rem;margin:4px 0 8px}
.study-page .auth-panel p:not(.eyebrow){color:var(--muted)}
.study-page .auth-tabs{display:flex;gap:8px;margin:18px 0}
.study-page .auth-tab{border:1px solid var(--line);border-radius:10px;padding:9px 14px;background:#fff;color:var(--muted);font:inherit;cursor:pointer}
.study-page .auth-tab.active{background:var(--purple);border-color:var(--purple);color:#fff}
.study-page #auth-form label{display:block;margin:12px 0 5px;font-size:.86rem;font-weight:700}
.study-page #auth-form input{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;font:inherit}
.study-page .auth-submit{margin-top:16px}
.study-page .study-dashboard{display:flex;flex-direction:column;gap:20px}
.study-page .dashboard-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;background:#ffffffd9;border:1px solid var(--line);border-radius:18px}
.study-page .dashboard-top h2{font-size:1.05rem;margin:0}
.study-page .session-first-wrap{width:100%;min-width:0;margin:0}
.study-page .session-form{width:100%;max-width:none;margin:0;padding:clamp(18px,2.2vw,30px);background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:8px}
.study-page .focus-layout{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);gap:24px;align-items:stretch}
.study-page .focus-timer-panel{min-width:0;padding:8px 20px 18px 0;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.study-page .focus-timer-panel>.eyebrow{align-self:flex-start}
.study-page .timer-box.timer-box-large{width:100%;margin:0;padding:10px 0 16px;border:0;border-radius:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.study-page .timer-orb{width:min(100%,320px);aspect-ratio:1/1;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:radial-gradient(circle,#fff 61%,#f7efff 62%,#f9e4f0 100%);border:10px solid #eadcfb;box-shadow:inset 0 0 0 1px #fff,0 8px 26px #7853bd10}
.study-page #timer-display{display:block;margin:0;color:#4f2d88;font-size:clamp(3.6rem,5.2vw,5.5rem);font-weight:800;line-height:1.05;letter-spacing:-.045em;font-variant-numeric:tabular-nums;white-space:nowrap}
.study-page .timer-caption{margin-top:7px;color:var(--muted);font-size:.9rem}
.study-page .timer-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;margin-top:4px;width:100%}
.study-page .timer-actions .button{min-height:48px;padding:11px 18px;font-size:.9rem}
.study-page .session-fields-panel{min-width:0;padding:4px 0 0;display:flex;flex-direction:column;gap:5px}
.study-page .session-form-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.study-page .session-form-heading h3{font-family:'Playfair Display',serif;font-size:1.55rem;line-height:1.2;margin:0}
.study-page .session-form-heading p{margin:4px 0 0;color:var(--muted);font-size:.85rem}
.study-page .session-save-top{flex-shrink:0}
.study-page .session-fields-panel label{margin:7px 0 3px;font-size:.86rem}
.study-page .session-fields-panel select,.study-page .session-fields-panel input:not([type=checkbox]),.study-page .session-fields-panel textarea{width:100%;max-width:100%;min-height:42px;padding:9px 12px;border:1px solid #ded0ed;border-radius:10px;background:#fff;color:var(--ink);font:500 .92rem/1.45 'DM Sans',sans-serif}
.study-page .session-fields-panel .field-help{font-size:.75rem;margin:1px 0 5px;color:var(--muted)}
.study-page .session-extra-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.study-page .session-save-bottom{display:none}
.study-page .study-footer{padding:22px;text-align:center;color:var(--muted);font-size:.82rem}
@media(max-width:980px){.study-page .study-app{grid-template-columns:180px minmax(0,1fr);gap:16px;padding:16px}.study-page .study-sidebar{padding:16px 10px}.study-page .focus-layout{grid-template-columns:minmax(220px,.75fr) minmax(0,1.25fr);gap:16px}.study-page .focus-timer-panel{padding-right:14px}.study-page .timer-orb{width:min(100%,270px)}.study-page #timer-display{font-size:clamp(3rem,5vw,4.4rem)}}
@media(max-width:700px){.study-page .study-nav{padding:10px 16px}.study-page .study-app{display:flex;flex-direction:column;padding:14px;gap:16px}.study-page .study-sidebar{position:static;min-height:0;width:100%;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:10px;gap:6px}.study-page .sidebar-brand{width:100%;margin:2px 5px 8px}.study-page .sidebar-quote{display:none}.study-page .sidebar-link{flex:1 1 auto;justify-content:center;padding:9px 8px;font-size:.78rem}.study-page .study-page-heading{align-items:flex-start;flex-direction:column}.study-page .today-pill{align-self:flex-start}.study-page .dashboard-top{padding:14px}.study-page .session-form{padding:16px}.study-page .focus-layout{grid-template-columns:1fr;gap:16px}.study-page .focus-timer-panel{border-right:0;border-bottom:1px solid var(--line);padding:0 0 18px}.study-page .focus-timer-panel>.eyebrow{align-self:center}.study-page .timer-orb{width:min(78vw,290px)}.study-page #timer-display{font-size:clamp(3.4rem,12vw,4.5rem)}.study-page .session-form-heading{align-items:flex-start;flex-direction:column}.study-page .session-save-top{display:none}.study-page .session-save-bottom{display:inline-flex}.study-page .session-extra-fields{grid-template-columns:1fr}}


/* Correção final: garantir consistência do painel privado e dos elementos ocultos */
[hidden], .study-page [hidden] { display: none !important; }
.study-page { min-width: 320px; }
.study-page .study-app { width: min(1540px, 100%); margin: 0 auto; padding: 22px clamp(14px, 2.5vw, 34px) 48px; display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: 26px; }
.study-page .study-sidebar { position: sticky; top: 18px; min-width: 0; min-height: calc(100vh - 36px); padding: 22px 16px; background: #ffffffdf; border: 1px solid #fff; border-radius: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.study-page .study-main { min-width: 0; width: 100%; }
.study-page .study-dashboard { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.study-page .session-first-wrap, .study-page .session-form, .study-page .focus-layout { min-width: 0; width: 100%; }
.study-page .session-form .focus-layout { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); gap: clamp(22px, 3vw, 42px); align-items: stretch; }
.study-page .session-form { max-width: none; margin: 0; }
.study-page .session-form .timer-box-large #timer-display { font-size: clamp(3.4rem, 5vw, 5.2rem); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.study-page .timer-orb { width: min(100%, 360px); }
.study-page .session-fields-panel { min-width: 0; }
.study-page .study-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.study-page .analytics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.study-page .analytics-card, .study-page .history-column, .study-page .study-workspace { min-width: 0; }
.study-page .history-column { padding: clamp(18px, 2.5vw, 26px); border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 8px 24px #53377d08; }
.study-page .study-workspace { display: block; }
.study-page .edital-panel, .study-page .ranking-card { order: initial; }
@media (max-width: 900px) { .study-page .study-app { grid-template-columns: 190px minmax(0,1fr); gap: 16px; } .study-page .session-form .focus-layout { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 18px; } .study-page .timer-orb { width: min(100%, 290px); } .study-page .session-form .timer-box-large #timer-display { font-size: clamp(2.8rem, 5vw, 4rem); } }
@media (max-width: 680px) { .study-page .study-app { grid-template-columns: 1fr; padding: 12px; } .study-page .study-sidebar { position: static; min-height: 0; } .study-page .session-form .focus-layout, .study-page .analytics-grid, .study-page .study-stats { grid-template-columns: 1fr; } .study-page .session-fields-panel { border-left: 0; padding-left: 0; } .study-page .timer-orb { width: min(82vw, 300px); } .study-page .session-form .timer-box-large #timer-display { font-size: clamp(3.2rem, 12vw, 4.4rem); } }


/* Ajuste complementar: recuperar os cartões dos indicadores, gráficos e ranking */
.study-page .analytics-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch;
  gap: 18px !important;
  margin: 18px 0 24px;
}
.study-page .analytics-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 220px;
  padding: 22px !important;
  border: 1px solid var(--line, #eadcf7) !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px #53377d0a !important;
  overflow: hidden;
}
.study-page .analytics-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.study-page .analytics-title h3 {
  margin: 0 0 5px !important;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem) !important;
  line-height: 1.35 !important;
}
.study-page .analytics-title .eyebrow { margin: 0 0 6px; }
.study-page .chart-icon {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  background: #f4eaff;
  color: #7951bd;
  font-size: 1.2rem;
}
.study-page .weekly-chart {
  display: flex;
  flex: 1;
  align-items: stretch;
  min-height: 130px;
  width: 100%;
  padding: 12px 0 0;
  gap: 10px;
  border-top: 1px solid #f0e7f8;
  overflow: hidden;
}
.study-page .weekly-chart > * { max-width: 100%; }
.study-page .chart-empty {
  display: grid;
  width: 100%;
  min-height: 110px;
  margin: 0;
  padding: 20px;
  place-items: center;
  text-align: center;
  color: var(--muted, #766a83);
  background: #fcf9ff;
  border: 1px dashed #e8d9f5;
  border-radius: 14px;
  font-size: .88rem;
  line-height: 1.5;
}
.study-page .performance-numbers {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 16px;
}
.study-page .performance-numbers > div {
  min-width: 0;
  padding: 16px;
  background: #fcf9ff;
  border: 1px solid #eee2f8;
  border-radius: 15px;
}
.study-page .performance-numbers small,
.study-page .performance-numbers strong { display: block; }
.study-page .performance-numbers small { color: var(--muted, #766a83); font-size: .8rem; }
.study-page .performance-numbers strong { margin-top: 7px; color: var(--ink, #302247); font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.2; }
.study-page .accuracy-track {
  height: 10px;
  margin: 2px 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #f0e8f7;
}
.study-page .accuracy-track > span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #8a5bd0, #e45ca4); transition: width .25s ease; }
.study-page .chart-footnote { margin: 0; color: var(--muted, #766a83); font-size: .82rem; line-height: 1.5; }
.study-page .ranking-card {
  min-width: 0;
  margin: 18px 0 24px;
  padding: 22px !important;
  border: 1px solid var(--line, #eadcf7) !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px #53377d0a !important;
}
.study-page .ranking-subtitle { margin: 5px 0 0; color: var(--muted, #766a83); font-size: .85rem; }
.study-page .subject-ranking {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.study-page .subject-ranking > * {
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid #eee2f8;
  border-radius: 13px;
  background: #fcf9ff;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.study-page .subject-ranking > p.chart-empty { grid-column: 1 / -1; }
.study-page .study-workspace { display: grid !important; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .9fr); gap: 18px; align-items: start; }
.study-page .history-column, .study-page .edital-panel { min-width: 0; }
@media (max-width: 760px) {
  .study-page .analytics-grid, .study-page .subject-ranking, .study-page .study-workspace { grid-template-columns: 1fr !important; }
  .study-page .analytics-card, .study-page .ranking-card { padding: 16px !important; }
  .study-page .performance-numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Correção final do ranking e do histórico diário */
.study-page #subject-ranking {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 18px !important;
  align-items: stretch;
}
.study-page #subject-ranking .ranking-row {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center;
  gap: 10px !important;
  min-width: 0;
  padding: 14px 16px !important;
  border: 1px solid #eee2f8 !important;
  border-radius: 15px !important;
  background: linear-gradient(135deg, #fff 0%, #fcf8ff 100%) !important;
  box-shadow: 0 4px 14px rgba(83,55,125,.045) !important;
}
.study-page #subject-ranking .ranking-row-head {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 9px !important;
  min-width: 0;
}
.study-page #subject-ranking .ranking-position {
  display: grid !important;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #f1e6ff;
  color: #7650b8;
  font-size: .78rem;
  font-weight: 800;
}
.study-page #subject-ranking .ranking-row-head strong {
  min-width: 0;
  color: #302247;
  font-size: .9rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.study-page #subject-ranking .ranking-row-head b {
  color: #6842a8;
  font-size: .82rem;
  font-weight: 750;
  white-space: nowrap;
}
.study-page #subject-ranking .ranking-track {
  height: 7px !important;
  width: 100%;
  overflow: hidden;
  border-radius: 999px;
  background: #f0e7f8 !important;
}
.study-page #subject-ranking .ranking-track span {
  display: block;
  height: 100%;
  min-width: 4px;
  border-radius: inherit;
  background: linear-gradient(90deg, #8054c7, #e45ca4) !important;
}
.study-page #study-history {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-top: 18px !important;
  align-items: stretch;
}
.study-page #study-history > * {
  min-width: 0;
  margin: 0 !important;
  padding: 17px 18px !important;
  border: 1px solid #eee2f8 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #fff 0%, #fcf9ff 100%) !important;
  box-shadow: 0 4px 14px rgba(83,55,125,.04) !important;
  overflow-wrap: anywhere;
}
.study-page #study-history h3,
.study-page #study-history h4,
.study-page #study-history h5 {
  margin: 0 0 10px !important;
  color: #302247;
  font-size: .98rem !important;
  line-height: 1.4;
}
.study-page #study-history p {
  margin: 8px 0 !important;
  color: #625472;
  font-size: .88rem;
  line-height: 1.55;
}
.study-page #study-history small {
  display: inline-block;
  color: #7951bd;
  font-size: .78rem;
  line-height: 1.4;
}
.study-page #study-history .chart-empty { grid-column: 1 / -1; }
.study-page .history-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.study-page .history-head h3 { margin: 0 !important; }
@media (max-width: 760px) {
  .study-page #subject-ranking,
  .study-page #study-history { grid-template-columns: 1fr !important; }
  .study-page #subject-ranking .ranking-row-head { grid-template-columns: 30px minmax(0, 1fr) auto !important; }
}

/* Correção isolada do gráfico semanal — adicionar ao FINAL de estilo.css */
.study-page #weekly-chart.weekly-chart {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 12px !important;
  min-height: 190px !important;
  height: 190px !important;
  padding: 14px 2px 0 !important;
  overflow: visible !important;
}
.study-page #weekly-chart .chart-day {
  display: grid !important;
  grid-template-rows: 22px minmax(90px, 1fr) 22px !important;
  align-items: end !important;
  justify-items: center !important;
  gap: 7px !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.study-page #weekly-chart .chart-value {
  display: block !important;
  width: 100% !important;
  color: #6f4aa8 !important;
  font-size: .72rem !important;
  line-height: 1.2 !important;
  text-align: center !important;
  white-space: nowrap !important;
}
.study-page #weekly-chart .chart-bar-track {
  display: flex !important;
  align-items: end !important;
  justify-content: center !important;
  width: min(100%, 34px) !important;
  height: 100% !important;
  min-height: 90px !important;
  overflow: hidden !important;
  border-radius: 10px 10px 5px 5px !important;
  background: #f1e8fa !important;
}
.study-page #weekly-chart .chart-bar {
  display: block !important;
  width: 100% !important;
  min-height: 4px !important;
  border-radius: 9px 9px 4px 4px !important;
  background: linear-gradient(180deg, #e45ca4 0%, #8054c7 100%) !important;
  transition: height .25s ease !important;
}
.study-page #weekly-chart .chart-day small {
  display: block !important;
  width: 100% !important;
  color: #766a83 !important;
  font-size: .72rem !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-transform: capitalize !important;
}
@media (max-width: 560px) {
  .study-page #weekly-chart.weekly-chart { gap: 5px !important; }
  .study-page #weekly-chart .chart-value,
  .study-page #weekly-chart .chart-day small { font-size: .64rem !important; }
}


/* === Layout coerente do painel de estudos — revisão integral === */
.study-page .study-app{width:min(1600px,100%);grid-template-columns:220px minmax(0,1fr);gap:26px}
.study-page .study-main,.study-page #study-dashboard{min-width:0;width:100%}
.study-page #study-dashboard{display:flex;flex-direction:column;gap:18px}
.study-page .session-first-wrap{order:1;width:100%;min-width:0}
.study-page .study-stats{order:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.study-page #historico{order:3;min-width:0;width:100%;padding:clamp(18px,2.2vw,26px);border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 8px 24px #53377d08}
.study-page .analytics-grid{order:4;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:18px;min-width:0}
.study-page .ranking-card{order:5;margin:0;min-width:0;padding:clamp(18px,2.2vw,26px);border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 8px 24px #53377d08}
.study-page .edital-panel{order:6;min-width:0;padding:clamp(18px,2.2vw,26px);border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 8px 24px #53377d08}
.study-page .study-workspace{display:contents}
.study-page .history-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 14px}
.study-page .history-head h3{margin:0;font-family:'Playfair Display',serif;font-size:clamp(1.25rem,1.8vw,1.6rem);line-height:1.25}
.study-page #study-history{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-top:12px;align-items:stretch}
.study-page #study-history .daily-history-item{display:flex;flex-direction:column;gap:9px;min-width:0;min-height:165px;margin:0!important;padding:14px 11px!important;border:1px solid #e9def7!important;border-radius:15px!important;background:linear-gradient(180deg,#fff 0%,#fcf8ff 100%)!important;box-shadow:none!important;text-align:center;overflow-wrap:anywhere}
.study-page #study-history .daily-history-item h4{margin:0!important;color:#6d558a;font-size:.82rem!important;font-weight:750;line-height:1.35}
.study-page #study-history .daily-history-subjects{flex:1;margin:0!important;color:#443457;font-size:.78rem;line-height:1.45}
.study-page #study-history .daily-history-meta{display:block;margin-top:auto;color:#7650b8;font-size:.74rem;line-height:1.4}
.study-page #study-history .chart-empty{grid-column:1/-1}
.study-page .encouragement-card{display:flex;align-items:center;gap:12px;margin-top:14px;padding:14px 16px;border-radius:14px;background:linear-gradient(110deg,#f5edff,#fff0f7);color:var(--ink)}
.study-page .encouragement-card p{margin:3px 0 0;color:var(--muted);font-size:.85rem}
.study-page .analytics-card{min-width:0;padding:20px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 8px 24px #53377d08}
.study-page .analytics-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.study-page .analytics-title h3{margin:0;font-size:1.2rem;line-height:1.3}
.study-page .weekly-chart{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;align-items:stretch!important;gap:clamp(5px,1vw,12px)!important;height:180px!important;min-height:180px!important;padding:12px 0 0!important;border-top:1px solid #f0e7f8;overflow:hidden}
.study-page #weekly-chart .chart-day{display:grid!important;grid-template-rows:18px minmax(0,1fr) 18px!important;align-items:end!important;justify-items:center!important;gap:6px!important;min-width:0!important;height:100%!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.study-page #weekly-chart .chart-value{display:block;width:100%;font-size:clamp(.62rem,.75vw,.75rem);line-height:1.2;text-align:center;white-space:nowrap;color:#6f4aa8}
.study-page #weekly-chart .chart-bar-track{display:flex;align-items:flex-end;justify-content:center;width:min(100%,34px);height:100%;min-height:70px;overflow:hidden;border-radius:9px 9px 4px 4px;background:#f1e8fa}
.study-page #weekly-chart .chart-bar{display:block;width:100%;min-height:4px;border-radius:8px 8px 3px 3px;background:linear-gradient(180deg,#e45ca4 0%,#8054c7 100%);transition:height .25s ease}
.study-page #weekly-chart .chart-day small{display:block;width:100%;font-size:clamp(.62rem,.75vw,.75rem);line-height:1.2;text-align:center;text-transform:capitalize;color:#766a83}
.study-page .performance-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0 14px}
.study-page .performance-numbers>div{min-width:0;padding:14px;background:#fcf9ff;border:1px solid #eee2f8;border-radius:14px}
.study-page .performance-numbers small,.study-page .performance-numbers strong{display:block}
.study-page .performance-numbers strong{font-size:1.6rem;line-height:1.2;margin-top:6px}
.study-page #subject-ranking{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin-top:16px!important}
.study-page #subject-ranking .ranking-row{display:flex;flex-direction:column;gap:10px;min-width:0;padding:14px 16px;border:1px solid #eee2f8;border-radius:15px;background:linear-gradient(135deg,#fff,#fcf8ff);box-shadow:0 4px 14px #53377d0b}
.study-page #subject-ranking .ranking-row-head{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0}
.study-page #subject-ranking .ranking-position{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#f1e6ff;color:#7650b8;font-size:.78rem;font-weight:800}
.study-page #subject-ranking .ranking-row-head strong{min-width:0;font-size:.9rem;line-height:1.35;overflow-wrap:anywhere}
.study-page #subject-ranking .ranking-row-head b{font-size:.82rem;color:#6842a8;white-space:nowrap}
.study-page #subject-ranking .ranking-track{height:7px;width:100%;overflow:hidden;border-radius:999px;background:#f0e7f8}
.study-page #subject-ranking .ranking-track span{display:block;height:100%;min-width:4px;border-radius:inherit;background:linear-gradient(90deg,#8054c7,#e45ca4)}
@media(max-width:1100px){.study-page #study-history{grid-template-columns:repeat(4,minmax(0,1fr))}.study-page .study-app{grid-template-columns:190px minmax(0,1fr);gap:16px}}
@media(max-width:760px){.study-page .study-app{grid-template-columns:1fr;padding:14px;gap:16px}.study-page .study-sidebar{position:static;min-height:0;width:100%}.study-page .analytics-grid{grid-template-columns:1fr}.study-page #study-history{grid-template-columns:repeat(2,minmax(0,1fr))}.study-page .study-stats{grid-template-columns:1fr}.study-page #subject-ranking{grid-template-columns:1fr!important}}
@media(max-width:430px){.study-page #study-history{grid-template-columns:1fr}.study-page #study-history .daily-history-item{min-height:0}.study-page .session-form .focus-layout{grid-template-columns:1fr}}


/* Ajustes finais solicitados: caminhada abaixo de Hora de Focar e sem divisórias duplicadas */
.study-page .focus-timer-panel { border-right: 0 !important; }
.study-page .session-fields-panel { border-left: 0 !important; padding-left: 0 !important; }
.study-page .session-form .focus-layout { gap: clamp(24px, 3vw, 42px); }
.study-page .study-workspace { display: block !important; order: 2; min-width: 0; width: 100%; }
.study-page #historico { order: initial; width: 100%; }
.study-page .study-stats { order: 3; }
.study-page .analytics-grid { order: 4; }
.study-page .ranking-card { order: 5; }
.study-page .edital-panel { order: 6; }
@media (max-width: 680px) { .study-page .session-fields-panel { border-left: 0 !important; padding-left: 0 !important; } }




/* Rafaella — cartões compactos em uma linha, como na referência visual */
.study-page #study-history {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-top: 12px !important;
  align-items: stretch !important;
}
.study-page #study-history .daily-history-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 6px !important;
  min-width: 0 !important;
  min-height: 112px !important;
  padding: 12px 13px !important;
  margin: 0 !important;
  border: 1px solid #e9def7 !important;
  border-radius: 13px !important;
  background: linear-gradient(145deg, #fff 0%, #fcf8ff 100%) !important;
  box-shadow: 0 3px 10px rgba(83, 55, 125, .035) !important;
  text-align: left !important;
  overflow-wrap: anywhere !important;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.study-page #study-history .daily-history-item:hover {
  border-color: #cdb5f2 !important;
  box-shadow: 0 5px 14px rgba(83, 55, 125, .08) !important;
  transform: translateY(-1px);
}
.study-page #study-history .daily-history-item.timeline-current,
.study-page #study-history .daily-history-item.today,
.study-page #study-history .daily-history-item.is-today {
  border-color: #a783e4 !important;
  background: linear-gradient(145deg, #fff 0%, #f6efff 100%) !important;
}
.study-page #study-history .daily-history-item h4 {
  margin: 0 !important;
  color: #5f438e !important;
  font-size: .78rem !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
}
.study-page #study-history .daily-history-item p,
.study-page #study-history .daily-history-subjects {
  margin: 0 !important;
  color: #5f536d !important;
  font-size: .76rem !important;
  line-height: 1.4 !important;
}
.study-page #study-history .daily-history-meta {
  display: block !important;
  margin-top: auto !important;
  padding-top: 4px !important;
  color: #7951bd !important;
  font-size: .73rem !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
}
.study-page #study-history .chart-empty {
  grid-column: 1 / -1 !important;
}
@media (max-width: 1100px) {
  .study-page #study-history { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (max-width: 760px) {
  .study-page #study-history { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 430px) {
  .study-page #study-history { grid-template-columns: 1fr !important; gap: 8px !important; }
  .study-page #study-history .daily-history-item { min-height: 0 !important; padding: 11px 12px !important; }
}
