/* Os combinados do aluno (spec fullstack/44, canvas X06): a folha com o cabeçalho da criança, os quatro cartões em
   letra grande, «Ouvir» e o botão grande «Combinado!». E o selo da aba Alunos. */
/* A folha ocupa a tela toda, sem a moldura de cartão de #app.entry-shell (como a página inicial). */
#app.entry-shell:has(> .agreements-page) {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #e9eee9;
}
.agreements-page {
  box-sizing: border-box;
  min-height: 100vh;
  padding: 16px;
  background: #e9eee9;
  color: #213c34;
  font-family: Arial, Helvetica, sans-serif;
}
.agreements-sheet {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  max-width: 1100px;
  min-height: calc(100vh - 32px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #cedbd1;
  border-radius: 16px;
  background: #fffdf5;
}
.agreements-top {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  box-sizing: border-box;
  padding: 8px 24px;
  border-bottom: 1px solid #cedbd1;
  background: #fffef9;
}
.agreements-top .brand span {
  color: #4f7d34;
}
.agreements-who {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  font-size: 14px;
  line-height: 1.35;
}
.agreements-who b {
  font-size: 17px;
}
.agreements-who small {
  font-size: 12px;
}
.agreements-page button {
  box-sizing: border-box;
  border: 1px solid #6b8479;
  background: #fffef9;
  color: #213c34;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}
#agreements-font {
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 16px;
}
.agreements-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  box-sizing: border-box;
  padding: 24px 30px 16px;
  font-size: 18px;
  line-height: 1.5;
}
.agreements-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.agreements-eyebrow {
  margin: 0 0 6px;
  color: #52695f;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.agreements-head h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -1px;
}
#agreements-listen {
  flex: none;
  min-width: 64px;
  min-height: 64px;
  padding: 14px 24px;
  border-radius: 18px;
  font-size: 20px;
}
.agreements-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.agreement {
  --agreement: #8bd450;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 128px;
  box-sizing: border-box;
  padding: 18px 22px;
  border: 3px solid var(--agreement);
  border-radius: 24px;
  background: #e1f3cd;
  box-shadow: 0 5px 0 color-mix(in srgb, var(--agreement) 55%, transparent);
}
.agreement-secret {
  --agreement: #3cc6c0;
  background: #e0f5f0;
}
.agreement-retry {
  --agreement: #ffb347;
  background: #fff2dd;
}
.agreement-help {
  --agreement: #c9a7ff;
  background: #f1eaff;
}
.agreement-art {
  display: grid;
  flex: none;
  place-items: center;
  width: 76px;
  height: 76px;
  box-sizing: border-box;
  border: 3px solid var(--agreement);
  border-radius: 50%;
  background: #fffef9;
}
.agreement-text {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}
.agreements-page.is-large .agreement-text {
  font-size: 29px;
}
.agreements-page.is-large .agreements-head h1 {
  font-size: 40px;
}
#agreements-error:empty {
  display: none;
}
#agreements-error {
  margin: 16px 0 0;
  color: #7a2414;
  font-weight: 700;
  text-align: center;
}
.agreements-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.agreements-page #agreements-ok {
  min-width: 360px;
  min-height: 80px;
  padding: 18px 40px;
  border-color: #24684f;
  border-radius: 22px;
  background: #24684f;
  box-shadow: 0 6px 0 #1a4d3a;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}
#agreements-ok:disabled {
  opacity: 0.7;
  cursor: progress;
}
.agreements-version {
  margin: auto 0 0;
  padding-top: 12px;
  color: #52695f;
  font-size: 14px;
  text-align: center;
}
@media (max-width: 720px) {
  .agreements-list {
    grid-template-columns: 1fr;
  }
  .agreements-page #agreements-ok {
    min-width: 0;
    width: 100%;
  }
}
.classroom-tag.is-agreements {
  margin-left: 6px;
  background: var(--turma-warn-bg);
  color: var(--turma-warn);
}
