/* Scoped to this activity. All study actions follow the content in normal flow. */
.fc {max-width:56rem;margin-inline:auto;line-height:1.5}
.fc p,.fc h2,.fc h3,.fc h4,.fc td,.fc th,.fc label,.fc button {overflow-wrap:anywhere}
.fc [hidden] {display:none!important}
.fc-panel,.fc-card {padding:clamp(.9rem,2.4vw,1.8rem);border:1px solid var(--rule,#c9d1c6);border-radius:7px;background:#fffdf7;margin:1rem 0}
.fc-panel h2,.fc-card h2 {margin-bottom:.7rem}
.fc .fc-card {border-top:4px solid var(--pine,#164e40)}
.fc .fc-meta,.fc .fc-card-tags,.fc-count,.fc-small {font-size:.9rem;color:#40564a}
.fc-meta {display:flex;justify-content:space-between;flex-wrap:wrap;gap:.2rem 1rem;margin:0 0 .75rem;font-weight:600}
.fc #prompt {font:500 clamp(1.26rem,2.4vw,1.7rem)/1.35 var(--serif,Georgia,serif);text-wrap:pretty;white-space:pre-line}
.fc #answer,.fc-reason p {white-space:pre-line}
.fc :where(h2,p)[tabindex="-1"] {scroll-margin-block:1rem}
.fc-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem 1rem;margin-bottom:.5rem}
.fc-fields label {display:grid;align-content:start;gap:.18rem}
.fc-fields select,.fc-fields input {width:100%}
.fc select,.fc input,.fc textarea,.fc button,.fc summary {min-height:44px}
.fc summary {align-content:center}
.fc .fc-actions,.fc .fc-ratings {display:flex;align-items:center;flex-wrap:wrap;gap:.45rem}
.fc-actions {margin-top:.65rem}
.fc button {background:#f0f3ea;color:#1d453b}
.fc .fc-actions button,.fc #reveal,.fc .fc-ratings button {min-width:44px;min-height:44px}
.fc button.primary,.fc #got {background:var(--pine,#164e40);color:#fff;border-color:var(--pine,#164e40)}
.fc #again {background:#fbf1e9;color:#683b21;border-color:#ba957d}
.fc #almost {background:#f5f1df;color:#594621;border-color:#b7ac83}
.fc button:hover:not(:disabled) {filter:brightness(.94)}
.fc .fc-tools {border-top:1px solid var(--rule);padding-top:.6rem}
.fc #answer-panel {border-top:1px solid var(--rule);margin-top:.55rem;padding-top:.65rem}
.fc #answer-panel h3 {font-size:1.12rem;font-weight:650;margin:0 0 .25rem}
.fc #answer {font-size:1.08rem}
.fc #rating-panel {margin:.8rem 0 .25rem}
.fc #rating-title {font-size:.94rem;font-weight:600;margin-bottom:.35rem}
.fc .fc-ratings button {flex:0 1 7.5rem}
.fc .fc-fold {border-top:1px solid var(--rule);padding:.2rem .15rem;margin:0}
.fc .fc-fold:last-child {border-bottom:1px solid var(--rule)}
.fc .fc-fold p {max-width:70ch;margin:.45rem 0}
.fc details[open]>summary {margin-bottom:.25rem}
.fc h4 {font:650 .94rem/1.4 var(--sans,sans-serif);margin:.7rem 0 .12rem}
.fc .fc-card-tags {margin:.65rem 0 0}
.fc .fc-file {display:flex;flex-direction:column;max-width:100%;font-size:.9rem}
.fc .fc-file input {max-width:100%;font-size:.9rem}
.fc-notice,.fc-confirm {background:#faf1df;color:#5c421f;border-left:3px solid #967448;padding:.65rem .85rem}
.fc-results {list-style:none;padding:0;margin:.6rem 0}
.fc .fc-results button {text-align:left;display:block;width:100%;background:transparent;border:0;border-bottom:1px solid var(--rule);border-radius:0;padding:.65rem .2rem;font-weight:550}
.fc-results small {display:block;font-weight:400;color:#42584e}
.fc figure {margin:.65rem 0}
.fc figure img,.fc figure svg {display:block;width:auto;max-width:100%;height:auto;max-height:none}
.fc figure svg {width:min(100%,30rem)}
.fc figcaption {font-size:.94rem;font-weight:600;margin:.25rem 0}
.fc figure img {width:min(100%,34rem)}
.fc .fc-table {max-width:100%;overflow:auto}
.fc table {font-size:.95rem;line-height:1.4;max-width:100%;margin:.3rem 0}
.fc .fc-table table {width:100%;max-width:44rem}
.fc td,.fc th {vertical-align:top;overflow-wrap:normal}
.fc svg text {font:14px var(--sans,sans-serif);fill:#233d34}
.fc svg .axis {stroke:#41564d;stroke-width:1;fill:none}
.fc svg .point {fill:#276557;stroke:#1e5045;stroke-width:1}
.fc svg .trend {fill:none;stroke:#914b20;stroke-width:2;stroke-dasharray:6 3}
.fc svg .curve {stroke:#276557;stroke-width:2;fill:none}
.fc svg .bar {fill:#73a493;stroke:#275748;stroke-width:1}
.fc svg .grid {stroke:#d3dbd3;stroke-width:1}
.fc .fc-math {margin:.5rem 0;max-width:100%;overflow-wrap:normal;font-size:1.15em;line-height:1.85;}
.fc .fc-math math {font-family:math,"Cambria Math","STIX Two Math",serif}
.fc-sr {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.fc :focus-visible {outline:3px solid #8c400b;outline-offset:3px}
@media (max-width:640px) {
  .fc-fields {grid-template-columns:minmax(0,1fr)}
  .fc .fc-meta {font-size:.82rem;line-height:1.4}
  .fc .fc-ratings {display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .fc .fc-ratings button {padding:.4rem .25rem}
  .fc .fc-card,.fc .fc-panel {padding:.8rem}
  .fc .fc-tools button {font-size:.91rem;padding:.4rem .55rem}
  .fc details {margin:.25rem 0}
  .fc .fc-math {font-size:1.03em}
}
@media (prefers-reduced-motion:reduce) {.fc *, .fc *::before, .fc *::after {scroll-behavior:auto!important;transition:none!important;animation:none!important}}



/* Distinguish secondary controls from the cream and confirmation surfaces. */
.fc button:not(:disabled):not(.primary):not(#got) {border-color:#637568}
