/* Improve — Journal + Scrapbook */
.improve-memory-chooser{margin:0 0 1rem;padding:1.35rem;border:1px solid #e3e7ef;border-radius:24px;background:#fff}
.improve-memory-chooser h2{margin:.3rem 0 1rem;font-size:clamp(1.4rem,2.5vw,2rem)}
.improve-memory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.improve-memory-card{display:grid;grid-template-columns:auto 1fr;gap:.8rem 1rem;min-height:145px;padding:1.15rem;text-align:left;color:#172033;border:1px solid #dedafc;border-radius:20px;background:linear-gradient(145deg,#fff,#faf9ff);cursor:pointer}
.improve-memory-card.scrapbook{border-color:#eadcc0;background:linear-gradient(145deg,#fff,#fffaf0)}
.improve-memory-card.is-active{box-shadow:inset 0 0 0 2px rgba(99,102,241,.18)}
.improve-memory-card__icon{display:grid;place-items:center;width:48px;height:48px;font-size:1.5rem;border-radius:15px;background:#f0edff}
.improve-memory-card span strong,.improve-memory-card span small{display:block}
.improve-memory-card span strong{font-size:1.25rem}.improve-memory-card span small{margin-top:.3rem;color:#667085;font-size:.95rem;line-height:1.4}
.improve-memory-card b{grid-column:2;color:#5b45ef}.improve-memory-card.scrapbook b{color:#94600e}
.ingle-scrapbook-shell{margin-bottom:1rem}
.scrapbook-preview-book{min-height:310px;padding:2rem;border:1px solid #e7dfca;border-radius:24px;background-color:#fffdf5;background-image:radial-gradient(#ddd5c2 1px,transparent 1px);background-size:22px 22px}
.scrapbook-preview-kicker{color:#7c5cff;font-size:.78rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.scrapbook-preview-book>h2{margin:.1rem 0;font-family:"Caveat",cursive;font-size:clamp(3rem,7vw,5rem);line-height:1;color:#17315f}
.scrapbook-preview-book>p{margin:.2rem 0 1.5rem;color:#667085}
.scrapbook-preview-page{display:grid;grid-template-columns:150px minmax(0,1fr) 220px;gap:1.5rem;align-items:center;padding:1.15rem;border-radius:18px;background:rgba(255,255,255,.65)}
.scrapbook-preview-minutes strong,.scrapbook-preview-minutes span{display:block}.scrapbook-preview-minutes strong{font-size:3rem;color:#16804a}.scrapbook-preview-minutes span{font-weight:800;color:#536174}
.scrapbook-preview-page p{color:#667085;line-height:1.5}
.scrapbook-preview-polaroids{position:relative;height:140px}.scrapbook-preview-polaroids span{position:absolute;display:grid;place-items:end center;width:100px;height:120px;padding:.4rem;border:8px solid #fff;border-bottom-width:24px;background:#dce8df;box-shadow:0 8px 18px rgba(30,41,59,.14);font-family:"Patrick Hand",cursive}
.scrapbook-preview-polaroids span:first-child{left:8px;transform:rotate(-7deg)}.scrapbook-preview-polaroids span:last-child{right:5px;top:8px;background:#e6e0f5;transform:rotate(8deg)}
@media(max-width:760px){.improve-memory-grid,.scrapbook-preview-page{grid-template-columns:1fr}.improve-memory-card{min-height:120px}.scrapbook-preview-book{padding:1.25rem}.scrapbook-preview-polaroids{width:220px;max-width:100%;margin:auto}}


/* =========================================================
   Improve — CEFR gauge refinement
   The gauge replaces the old Interview Score + CEFR pair,
   so it should occupy both former scoreboard columns.
   ========================================================= */

#studioScoreboard .improve-cefr-card {
  grid-column: span 2;
  min-width: 0;
  padding: 14px 18px 10px;
}

#studioScoreboard .improve-cefr-gauge {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}

#studioScoreboard .improve-cefr-gauge__heading {
  justify-content: flex-start;
  gap: 12px;
  margin: 0 0 -4px 4px;
}

#studioScoreboard .improve-cefr-gauge__heading strong {
  font-size: 1.6rem;
}

#studioScoreboard .improve-cefr-gauge__instrument {
  width: 250px;
  max-width: 100%;
  margin: 0 auto;
}

#studioScoreboard .improve-cefr-gauge__svg {
  width: 250px;
  max-width: 100%;
}

#studioScoreboard .improve-cefr-gauge__score {
  margin-top: -8px;
}

#studioScoreboard .improve-cefr-gauge__score strong {
  font-size: 1.72rem;
}

@media (max-width: 760px) {
  #studioScoreboard .improve-cefr-card {
    grid-column: auto;
  }

  #studioScoreboard .improve-cefr-gauge {
    max-width: 290px;
  }

  #studioScoreboard .improve-cefr-gauge__instrument,
  #studioScoreboard .improve-cefr-gauge__svg {
    width: 225px;
  }
}
