/* Massimobility / Quiz-matched flashcard library */
.flashcards-page{background:#f2f7fa;color:#122c3e}
.fc-hero{background:radial-gradient(ellipse at 88% 45%,rgba(46,135,169,.19),transparent 38%),linear-gradient(112deg,#071e2d,#0b2e45);color:#fff;padding:79px max(4.5vw,calc((100vw - 1450px)/2)) 81px;display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:35px;min-height:420px;position:relative;overflow:hidden}
.fc-hero:after{content:"";position:absolute;right:-110px;top:-240px;width:620px;height:620px;border:1px solid rgba(144,214,233,.09);border-radius:50%;pointer-events:none}
.fc-hero-inner{max-width:820px;position:relative;z-index:1}
.fc-eyebrow{display:flex;align-items:center;gap:12px;color:#76e4d9;font-size:11px;font-weight:800;letter-spacing:.13em;margin-bottom:23px}
.fc-eyebrow-mark{width:9px;height:9px;background:#62e6cf;border-radius:50%;box-shadow:0 0 0 5px rgba(98,230,207,.1)}
.fc-eyebrow-sep{color:#577e92}
.fc-hero h1{font:700 clamp(43px,5.2vw,71px)/1.06 "Space Grotesk",sans-serif;letter-spacing:-.065em}
.fc-hero h1 span{color:#8ddcf4}
.fc-hero p{font-size:16px;line-height:1.75;max-width:685px;color:#c5dae5;margin:22px 0 30px}
.fc-hero-stats{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.fc-hero-stats>span{display:flex;gap:9px;align-items:center;border:1px solid rgba(141,220,244,.2);background:rgba(255,255,255,.045);padding:11px 15px;border-radius:12px;font-size:12px;color:#c5d6df}
.fc-hero-stats b{font:700 20px "Space Grotesk",sans-serif;color:white}
.fc-hero-accent{align-self:center;display:flex;flex-direction:column;align-items:center;gap:19px;position:relative;z-index:1}
.fc-hero-glyph{display:grid;place-items:center;width:212px;height:212px;border-radius:47px;border:1px solid rgba(145,216,237,.19);background:linear-gradient(130deg,rgba(74,169,196,.13),rgba(74,169,196,.015));box-shadow:inset 0 0 32px rgba(137,220,247,.05);font:800 142px/1 "Space Grotesk",sans-serif;color:#93e0f0;letter-spacing:-.08em;text-shadow:0 14px 30px rgba(8,17,24,.2)}
.fc-hero-accent>span{font-size:9px;color:#8db2c5;letter-spacing:.23em;font-weight:800}
.fc-workspace{max-width:1480px;margin:0 auto;padding:60px 4.5vw 75px}
.fc-heading-row{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:24px}
.fc-kicker,.fc-bottom-kicker{font-size:11px;font-weight:800;letter-spacing:.15em;color:#126e88;margin-bottom:11px}
.fc-heading-row h2{font-size:clamp(29px,3vw,43px);letter-spacing:-.04em}
.fc-heading-row p{font-size:14px;color:#4e6677;margin:12px 0 0}
.fc-collection-count{color:#466c80;white-space:nowrap;font-size:11px;font-weight:800;letter-spacing:.08em;background:white;border:1px solid #d5e2e9;padding:11px 14px;border-radius:12px}
.fc-region-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-bottom:24px}
.fc-region{border:1px solid #d0dfe8;background:#fff;color:#254357;padding:16px 11px;border-radius:14px;font:700 13px "DM Sans",sans-serif;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;cursor:pointer;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s}
.fc-region:hover{transform:translateY(-2px);border-color:#6fb5d2;box-shadow:0 5px 15px rgba(25,89,118,.08)}
.fc-region:focus-visible,.fc-card:focus-visible,.fc-control:focus-visible,.fc-reviewed-button:focus-visible,.fc-toolbar-button:focus-visible{outline:3px solid #167aa1;outline-offset:3px}
.fc-region.is-active{background:#0c354b;border-color:#0c354b;color:#fff;box-shadow:0 6px 17px rgba(14,65,87,.12)}
.fc-region-icon{font-size:18px;line-height:1;color:#277d9c}
.fc-region.is-active .fc-region-icon{color:#8de1ef}
.fc-region-num{color:#6d8695;margin-left:auto;font-size:10px}
.fc-region.is-active .fc-region-num{color:#c5d8df}
.fc-panel{border:1px solid #cedde7;border-radius:25px;background:#fff;overflow:hidden;box-shadow:0 15px 48px rgba(13,56,80,.07)}
.fc-panel-toolbar{padding:21px 28px;border-bottom:1px solid #e5edf2;display:flex;justify-content:space-between;align-items:center;gap:17px;flex-wrap:wrap}
.fc-toolbar-left{display:flex;align-items:center;gap:10px;color:#124f6c;font-size:11px;font-weight:800;letter-spacing:.12em}
.fc-live-dot{background:#11ad9a;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #daf5f0}
.fc-toolbar-slash{color:#b4c5cf}
#fc-deck-topic{color:#688390}
.fc-toolbar-right{display:flex;gap:7px}
.fc-toolbar-button{border:1px solid #d5e3e9;background:#f7fafc;color:#365669;padding:9px 12px;border-radius:10px;font:700 11px "DM Sans",sans-serif;cursor:pointer}
.fc-toolbar-button:hover{background:#e8f3f8}
.fc-progress-summary{max-width:975px;margin:24px auto 11px;display:flex;justify-content:space-between;align-items:center;padding:0 16px;gap:12px}
#fc-counter{font:800 13px "Space Grotesk";letter-spacing:.08em;color:#243d51}
.fc-counter-outof{color:#7c98a8;font-size:12px}
.fc-reviewed{font-size:12px;color:#506e7f;font-weight:700}
.fc-progress-track{width:calc(100% - 32px);max-width:943px;height:5px;background:#e8f0f3;border-radius:50px;overflow:hidden;margin:0 auto 25px}
.fc-progress-bar{height:100%;background:linear-gradient(90deg,#1b94aa,#4bc5bc);border-radius:50px;transition:width .23s ease}
.fc-study-stage{max-width:975px;margin:0 auto;padding:0 16px}
.fc-card{display:block;perspective:1700px;border:0;background:transparent;color:inherit;cursor:pointer;width:100%;height:540px;padding:0;text-align:left;border-radius:23px;touch-action:pan-y}
.fc-card-inner{display:block;width:100%;height:100%;position:relative;transform-style:preserve-3d;transition:transform .65s cubic-bezier(.16,.85,.2,1)}
.fc-card.is-flipped .fc-card-inner{transform:rotateY(180deg)}
.fc-card-face{box-sizing:border-box;display:flex;flex-direction:column;position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;border-radius:23px;padding:clamp(22px,3.1vw,40px) clamp(24px,4.7vw,62px) 26px;box-shadow:0 16px 35px rgba(7,27,43,.08);height:100%}
.fc-card-front{background:radial-gradient(ellipse at 94% 9%,rgba(141,220,244,.16),transparent 33%),linear-gradient(140deg,#0b2b41,#0b394f 72%,#0e3146);color:#fff;border:1px solid #1a5a75}
.fc-card-back{background:linear-gradient(165deg,#fbfffe,#edf8f6);border:1px solid #b9dcd7;color:#17394b;transform:rotateY(180deg)}
.fc-face-top{display:flex;align-items:center;justify-content:space-between;gap:14px}
.fc-side-tag{border:1px solid rgba(141,220,244,.27);background:rgba(78,180,207,.1);color:#9ce2f2;font-size:10px;font-weight:800;letter-spacing:.15em;border-radius:100px;padding:7px 12px;line-height:1.1}
.fc-answer-tag{background:#e3f5ef;color:#0a756d;border-color:#bee2d6}
.fc-tap-prompt{font-size:10px;font-weight:800;letter-spacing:.08em;color:#a2c6d6;display:flex;gap:9px;align-items:center}
.fc-tap-prompt span{font-size:21px;line-height:1}
.fc-card-back .fc-tap-prompt{color:#4c7b81}
.fc-card-question{display:block;font:700 clamp(23px,2.7vw,35px)/1.22 "Space Grotesk",sans-serif;letter-spacing:-.04em;color:#fff;max-width:820px;margin:30px 0 auto;min-height:95px}
.fc-hints-head{display:block;font-size:10px;letter-spacing:.16em;font-weight:800;color:#8be2d5;margin:20px 0 11px}
.fc-hint{display:flex;align-items:flex-start;gap:14px;background:rgba(214,242,247,.075);border:1px solid rgba(157,214,232,.15);border-radius:13px;color:#e2eef4;padding:12px 15px;font-size:13px;line-height:1.48;margin-top:7px;max-width:835px}
.fc-hint-num{color:#8ce2ef;font:800 11px "Space Grotesk";margin-top:2px}
.fc-face-foot{margin-top:auto;padding-top:16px;display:flex;justify-content:space-between;gap:18px;align-items:center;font-size:9px;letter-spacing:.09em;font-weight:800;color:#90b7c8}
.fc-card-back .fc-face-foot{color:#688994}
.fc-answer-label,.fc-explain-label{font-size:10px;font-weight:800;color:#147a84;letter-spacing:.14em;margin:18px 0 5px}
.fc-answer-label{margin-top:29px}
.fc-correct-answer{display:block;color:#102e3e;font:700 clamp(21px,2.35vw,30px)/1.23 "Space Grotesk",sans-serif;letter-spacing:-.035em}
.fc-card-explanation,.fc-card-context{font-size:14px;line-height:1.55;max-width:800px;color:#304d5a;font-weight:500}
.fc-card-back .fc-face-foot{margin-top:auto}
.fc-source-strip{max-width:943px;margin:16px auto 0;background:#f1f9f7;border:1px solid #cde7e2;border-radius:13px;padding:15px 19px;display:flex;justify-content:space-between;gap:15px;align-items:center}
.fc-source-strip[hidden]{display:none!important}
.fc-source-strip>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.fc-source-caption{font:800 9px "DM Sans";letter-spacing:.14em;color:#537b79}
#fc-source-name{font-size:12px;font-weight:700;color:#244755}
.fc-source-strip a{font-size:12px;color:#06668a;font-weight:800;text-decoration:none;white-space:nowrap}
.fc-source-strip a:hover{text-decoration:underline}
.fc-controls{display:grid;grid-template-columns:1fr 1.6fr 1fr;align-items:center;gap:14px;max-width:943px;margin:22px auto 27px}
.fc-control{background:#0d354b;color:#fff;border:0;border-radius:12px;padding:13px 18px;font:800 13px "DM Sans";display:inline-flex;align-items:center;justify-content:center;gap:13px;cursor:pointer}
.fc-control:hover:not(:disabled){background:#14536d}
.fc-control:disabled{opacity:.38;cursor:not-allowed}
.fc-controls-mid{display:flex;gap:16px;align-items:center;justify-content:center;flex-wrap:wrap}
.fc-reviewed-button{border:1px solid #bcd8d8;color:#216a6e;background:#edf8f5;border-radius:11px;padding:11px 14px;cursor:pointer;font:800 12px "DM Sans";white-space:nowrap}
.fc-reviewed-button[aria-pressed="true"]{background:#0b776f;color:#fff;border-color:#0b776f}
.fc-position-dots{display:inline-flex;align-items:center;gap:4px;max-width:100%}
.fc-dot{width:6px;height:6px;border-radius:50%;background:#c4d9e0;display:inline-block}
.fc-dot.is-active{width:15px;border-radius:5px;background:#1a7fa0}
.fc-dot.is-reviewed{background:#3ab8a8}
.fc-help{padding:18px 27px;border-top:1px solid #e8f0f3;display:flex;justify-content:space-between;gap:15px;align-items:center;color:#547082;font-size:11px;line-height:1.55}
.fc-help strong{color:#2b4a5d}
.fc-help kbd{padding:2px 6px;font:700 10px "DM Sans";background:#edf3f6;border:1px solid #dce6ec;border-radius:4px;color:#345264}
.fc-keys{white-space:nowrap}
.fc-bottom{background:#e5f0f3;border:1px solid #d4e3e9;border-radius:22px;padding:27px 33px;margin-top:34px;display:flex;justify-content:space-between;gap:24px;align-items:center}
.fc-bottom h3{font-size:27px;margin:5px 0 10px}
.fc-bottom-main>p{font-size:13px;line-height:1.7;color:#466175;max-width:760px;margin:0}
.fc-bottom-actions{display:flex;flex-direction:column;gap:9px;min-width:230px}
.fc-bottom-actions>a{font-size:12px;font-weight:800;text-decoration:none;color:#0c627f;display:flex;justify-content:space-between;gap:10px;padding:12px 15px;background:white;border:1px solid #cddde6;border-radius:10px}
.fc-bottom-actions>a:hover{background:#f4fbff}
.fc-education{text-align:center;font-size:12px;line-height:1.6;color:#577081;margin:26px auto 0;max-width:900px}
.fc-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1120px){
 .fc-hero{grid-template-columns:1fr 200px}.fc-hero-glyph{height:175px;width:175px;font-size:110px}
 .fc-region-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
 .fc-help{flex-wrap:wrap}
}
@media(max-width:760px){
 .fc-hero{padding:53px 5vw;grid-template-columns:1fr;min-height:0}.fc-hero-accent{display:none}.fc-hero h1{font-size:clamp(39px,8vw,57px)}.fc-hero p{font-size:14px}
 .fc-workspace{padding:35px 4vw 55px}
 .fc-heading-row{align-items:start;flex-direction:column;gap:13px}
 .fc-region-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .fc-region{font-size:12px;padding:13px 10px}
 .fc-panel-toolbar{padding:14px 16px}.fc-card{height:640px}
 .fc-card-face{padding:21px 21px 19px}.fc-card-question{margin-top:28px;min-height:100px;font-size:clamp(21px,5vw,28px)}
 .fc-hint{font-size:13px;padding:12px}
 .fc-hints-head{margin-top:22px}
 .fc-card-explanation,.fc-card-context{font-size:14px;line-height:1.52}
 .fc-correct-answer{font-size:23px}
 .fc-source-strip{margin:13px 16px 0;align-items:flex-start;flex-direction:column;padding:13px}
 .fc-controls{grid-template-columns:1fr 1fr;margin:17px 16px 20px;gap:8px}
 .fc-controls-mid{grid-column:1/-1;grid-row:2}
 .fc-control{font-size:12px;padding:12px 8px}
 .fc-help{padding:14px 17px}
 .fc-bottom{flex-direction:column;align-items:stretch;padding:22px}.fc-bottom-actions{min-width:0}
}
@media(max-width:440px){
 .fc-hero-stats>span{padding:7px 10px;gap:6px;font-size:10px}.fc-hero-stats b{font-size:16px}
 .fc-panel-toolbar{gap:12px}.fc-toolbar-right{width:100%;justify-content:flex-start}
 .fc-card{height:700px}.fc-card-face{padding:19px 17px 19px}.fc-face-foot{font-size:8px}
 .fc-card-question{font-size:22px}.fc-hint{font-size:12px}
 .fc-correct-answer{font-size:21px}.fc-answer-label{margin-top:19px}
 .fc-card-explanation,.fc-card-context{font-size:14px}
 .fc-face-foot{gap:8px}
}
@media(prefers-reduced-motion:reduce){
 .fc-card-inner,.fc-progress-bar,.fc-region{transition:none!important}
}

/* Flashcards refinement: unified human figure icons and clean, text-led hero. */
.fc-hero{grid-template-columns:minmax(0,1fr);min-height:0;}
.fc-hero-inner{max-width:920px;}
.fc-region-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:25px;flex:none;}
.fc-human-icon{display:block;width:21px;height:25px;color:inherit;}

/* v1.03: two claim-level citations and deep 3D study link on flip. */
.fc-source-strip{flex-wrap:wrap}.fc-source-strip>a{white-space:normal}.fc-source-strip>a[hidden]{display:none!important}.fc-3d-study-link{background:#0b3650;color:white!important;border-radius:9px;padding:9px 13px;text-decoration:none}.fc-3d-study-link:hover{background:#145577}

/* v1.04: compact exact-deck quiz bridge. */
.fc-quiz-deck-cta{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:17px 20px;margin:16px 0 19px;border:1px solid #c9e0e5;background:#f2fafb;border-radius:15px}
.fc-quiz-deck-cta>div{display:flex;flex-direction:column;gap:4px;max-width:570px}
.fc-quiz-deck-cta strong{font:700 16px "Space Grotesk",sans-serif;color:#103b51}
.fc-quiz-deck-cta span{font-size:12px;line-height:1.5;color:#45697b}
.fc-quiz-deck-cta a{display:inline-flex;align-items:center;gap:8px;justify-content:center;background:#0c4961;color:#fff;font:800 12px "DM Sans",sans-serif;padding:12px 17px;border-radius:10px;text-decoration:none;white-space:nowrap}
.fc-quiz-deck-cta a span{color:inherit;font-size:16px}
.fc-quiz-deck-cta a:hover,.fc-quiz-deck-cta a:focus-visible{background:#096785}
@media(max-width:760px){.fc-quiz-deck-cta{align-items:stretch}.fc-quiz-deck-cta a{width:100%;box-sizing:border-box}}

/* v1.63 English-source disclosure for localized feedback */
.mm-study-help-original{font-size:.84em;margin-top:.65rem;overflow-wrap:anywhere}.mm-study-help-original summary{cursor:pointer;text-decoration:underline;text-underline-offset:.18em}.mm-study-help-original p{margin:.45rem 0 0;line-height:1.45}
