/* Treino: os estados de acesso e de correção compartilham o mesmo cartão de leitura. */
.cg-practice-list, .cg-study { font-weight:400; color:#173d32; }
.cg-exam-card {
  display:grid; grid-template-columns:minmax(0,.83fr) minmax(0,1.2fr);
  margin-block:4px 35px; border:1px solid #bac8b6; border-radius:10px; overflow:hidden; background:#fff;
}
.cg-exam-title { padding:clamp(24px,4vw,48px); background:#e8eee2; border-left:5px solid #27634b; }
.cg-exam-detail { padding:clamp(24px,4vw,48px); }
.cg-exam-card h2 { color:#143e32; font:600 clamp(32px,3.6vw,48px)/1.1 Georgia,serif; letter-spacing:-.035em; margin:12px 0; }
.cg-exam-card p { margin:0 0 9px; font-size:17px; line-height:1.5; }
.cg-exam-card .button { margin-top:10px; color:white; text-decoration:none; }
.cg-study { max-width:880px; padding-block:24px 60px; font-family:"Segoe UI",Arial,sans-serif; }
.cg-study-top,.cg-auth-links,.cg-study-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px 20px; }
.cg-study-top { justify-content:space-between; margin-bottom:24px; min-height:44px; }
.cg-study a:any-link, .cg-study .cg-subtle { color:#20573f; text-decoration:underline; text-underline-offset:3px; }
.cg-kicker, .cg-exam-card .cg-kicker { font-weight:700; font-size:13px; letter-spacing:.045em; color:#365941; margin:0 0 9px; }
.cg-study h1 { font:650 clamp(37px,5vw,58px)/1.08 "Segoe UI",Arial,sans-serif; color:#163e31; letter-spacing:-.045em; margin:0; }
.cg-study h1 em { color:#27634b; }
.cg-source { margin:10px 0 23px; color:#43584b; font-size:16px; }
#cg-work { border-radius:10px; padding:clamp(20px,4vw,42px); background:white; border:1px solid #c9d2c5; color:#203b2e; }
#cg-work h2 { font-size:clamp(24px,3.4vw,34px); font-weight:650; line-height:1.17; color:#143e32; margin:0 0 12px; letter-spacing:-.035em; }
#cg-work p { margin:0 0 13px; line-height:1.6; }
.cg-auth { max-width:480px; display:grid; align-items:start; justify-items:start; gap:9px; margin:24px 0 13px; }
.cg-auth label { font-weight:650; }
.cg-auth input { width:100%; border:1px solid #688273; border-radius:5px; background:#fff; color:#193e31; font:inherit; font-size:17px; padding:12px 14px; min-height:48px; }
.cg-auth .cg-code { max-width:12.5em; font:600 23px/1.2 ui-monospace,monospace; letter-spacing:.24em; }
.cg-help,.cg-retention { font-size:14px; line-height:1.45; color:#41594a; }
.cg-retention { display:block; max-width:55ch; margin-top:18px; }
.cg-button,.cg-subtle,.cg-choice,.cg-review-item { font:inherit; min-height:44px; border-radius:5px; cursor:pointer; }
.cg-button { padding:11px 20px; font-weight:650; border:1px solid #143e32; background:#143e32; color:white; }
.cg-button:hover { background:#245b46; }
.cg-subtle { background:transparent; border:0; padding:7px 1px; }
.cg-subtle:disabled { color:#536357; cursor:default; }
.cg-study :focus-visible,.cg-exam-card :focus-visible { outline:3px solid #286f50; outline-offset:3px; }
.cg-study [hidden] { display:none!important; }
.cg-study progress { display:block; width:100%; height:7px; margin-block:12px 23px; accent-color:#27634b; }
.cg-study progress::-webkit-progress-bar { background:#e3eade; border-radius:8px; }
.cg-study progress::-webkit-progress-value { background:#27634b; border-radius:8px; }
.cg-question { line-height:1.6; font-size:18px; overflow-wrap:anywhere; }
.cg-question figure { margin:12px 0; }
.cg-question canvas { display:block; width:100%; max-width:530px; height:auto; object-fit:contain; }
.cg-question details { margin:16px 0; color:#41594a; font-size:15px; }
.cg-study summary { display:list-item; background:transparent; color:#24543c; font-weight:600; padding:10px 0; cursor:pointer; }
.cg-choices { display:grid; gap:8px; margin:18px 0; }
.cg-choice { display:flex; align-items:flex-start; text-align:start; gap:12px; padding:13px 15px; border:1px solid #aebfaf; background:#fff; color:#203b2e; line-height:1.48; font-size:17px; }
.cg-choice:disabled { opacity:1; }
.cg-choice:not(:disabled):hover { background:#f2f6ed; border-color:#477959; }
.cg-letter { flex:none; width:1.65em; height:1.65em; display:grid; place-items:center; background:#edf1e8; border-radius:4px; font-weight:700; }
.cg-choice > strong { align-self:center; font-size:13px; margin-inline-start:auto; }
.cg-choice.cg-selected { border:2px solid #826543; background:#fcf4e7; }
.cg-choice.cg-right { border:2px solid #27634b; background:#e9f3e7; }
.cg-feedback.cg-corrected { margin:18px 0; padding:15px 18px; border-left:3px solid #436b4e; background:#f1f5ec; }
#cg-work .cg-feedback p { margin:4px 0; }
#cg-work h2, .cg-feedback {scroll-margin-top:110px;}
.cg-status { font-weight:600; color:#563715; }
.cg-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin:22px 0; }
.cg-stats div { border-top:2px solid #aabfa7; padding-top:8px; }
.cg-stats dt { font-size:14px; } .cg-stats dd { margin:3px 0; font-size:29px; font-weight:650; }
.cg-review { margin:20px 0; border-block:1px solid #ced7c9; }
.cg-review-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(115px,1fr)); gap:7px; padding-bottom:16px; }
.cg-review-item { border:1px solid #acbcaa; color:#203b2e; background:#fff; padding:7px; }
@media(max-width:680px) {
  .cg-exam-card { grid-template-columns:1fr; }
  .cg-study.wrap { width:calc(100% - 32px); }
  .cg-study-top { margin-bottom:13px; }
  #cg-work { padding:19px 15px; }
  .cg-question,.cg-choice { font-size:16px; }
  .cg-choice { flex-wrap:wrap; gap:8px; }
  .cg-choice>span:nth-child(2) { flex:1; min-width:70%; }
  .cg-stats { grid-template-columns:1fr 1fr; }
}

#cg-work p.cg-credit {font-size:13px; color:#43584b; line-height:1.5;}
