/* Flashcards: focused card study, scoped independently of tests and lessons. */
.masvab.mc-deck{--mc-ink:#14202e;--mc-muted:#55606e;--mc-navy:#102f54;--mc-line:#e4dfd3;--mc-teal:#2e6b4a;--mc-brass:#7a5d2b;box-sizing:border-box;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--mc-ink);font-size:16px;line-height:1.55;width:min(960px,100%);max-width:960px;margin:16px auto;padding:26px clamp(18px,4vw,44px) 16px;border:1px solid var(--mc-line);border-radius:20px;background:#f6f8fa;box-shadow:0 12px 40px #18334d08;}
.mc-deck *{box-sizing:border-box}.mc-deck .mc-heading{margin:0 0 20px;text-align:left}.mc-deck .mc-eyebrow{font-size:11px;font-weight:650;color:var(--mc-teal);letter-spacing:.07em;margin:0 0 7px;text-transform:uppercase}.mc-deck .mc-eyebrow span{color:var(--mc-muted);font-weight:500}.mc-deck .mc-title{font-family:inherit;font-size:clamp(23px,2.6vw,30px);font-weight:650;line-height:1.2;letter-spacing:-.035em;margin:0;color:var(--mc-ink)}.mc-deck .mc-intro{font-size:13px;margin:8px 0 0;color:var(--mc-muted)}
.mc-deck .mc-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}.mc-deck .mc-counter{font-size:12px;font-weight:650;font-variant-numeric:tabular-nums;color:var(--mc-ink)}.mc-deck .mc-tools{display:flex;gap:8px}.mc-deck .mc-progress{height:4px;background:#e1e7ed;border-radius:4px;margin:0 0 24px;overflow:hidden}.mc-deck .mc-progress>span{display:block;height:100%;background:var(--mc-teal);border-radius:4px;transition:width .2s}
.mc-deck button{font-family:inherit!important;font-size:13px;font-weight:600;line-height:1.3;letter-spacing:0;text-transform:none;border-radius:9px;min-height:40px;padding:10px 16px;box-shadow:none;cursor:pointer;transition:background .15s,transform .15s;color:var(--mc-ink)}.mc-deck button:focus-visible,.mc-deck summary:focus-visible{outline:3px solid #6ca49e;outline-offset:3px}.mc-deck button:disabled{opacity:.42;cursor:default;transform:none;pointer-events:none}.mc-deck .mc-quiet{background:transparent;border:1px solid transparent;color:#53677d}.mc-deck .mc-quiet:hover:not(:disabled){background:#e9eef3;color:var(--mc-navy)}.mc-deck .mc-tools button{font-size:12px;min-height:32px;padding:6px 11px;border:1px solid #d4dee7;background:#fff}.mc-deck .mc-primary{background:var(--mc-navy);border:1px solid var(--mc-navy);color:#fff;padding:12px 26px;min-height:44px}.mc-deck .mc-primary:hover{background:#0b2b47;color:white}.mc-deck .mc-secondary{background:#fff;border:1px solid #cdd8e2;color:var(--mc-navy)}
.mc-deck .mc-stack{position:relative;margin:0 6px 22px;isolation:isolate}.mc-deck .mc-stack:before,.mc-deck .mc-stack:after{content:"";position:absolute;z-index:-1;border:1px solid #dfe6ec;border-radius:16px;background:#edf1f5;inset:8px -5px -8px;transform:rotate(-.8deg)}.mc-deck .mc-stack:after{background:#fff;inset:4px -2px -4px;transform:rotate(.45deg)}.mc-deck .mc-card{position:relative;background:#fff;border:1px solid #dce5ec;border-radius:16px;box-shadow:0 8px 22px #203c5210;overflow:hidden}.mc-deck .mc-face{padding:24px clamp(20px,4vw,42px) 18px;height:clamp(280px,45vh,420px);min-height:260px;max-height:min(55vh,540px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;display:flex;flex-direction:column;align-items:stretch;justify-content:safe center;outline:none;animation:mc-appear .18s ease-out}.mc-deck .mc-face-label{font-size:10px;font-weight:700;letter-spacing:.17em;color:#7890a3;text-align:center;margin:0 0 15px;flex:none}.mc-deck .mc-text{font-family:inherit;font-size:clamp(18px,1.8vw,22px);font-weight:500;line-height:1.55;text-align:center;letter-spacing:-.015em;color:var(--mc-ink);flex:none}.mc-deck .mc-text p{font:inherit;line-height:inherit;margin:0 0 12px}.mc-deck .mc-text p:last-child{margin-bottom:0}.mc-deck .mc-text.mc-long{text-align:left;font-size:16px;line-height:1.75;font-weight:450;letter-spacing:0}.mc-deck .mc-text :is(h2,h3,h4){font:inherit;margin:0 0 12px}.mc-deck .mc-text table{font-size:15px}.mc-deck .mc-card-footer{border-top:1px solid #eef2f5;padding:13px 20px;display:flex;justify-content:center;flex:none}.mc-deck .mc-answer-side{border-color:#bedbd5;background:#fcfefd}.mc-deck .mc-answer-side .mc-face-label{color:var(--mc-teal)}.mc-deck .mc-answer-side .mc-text{font-weight:650;color:#1f655d}.mc-deck .mc-example{margin:20px 0 0;padding:16px 18px;border:1px solid #dcebe7;background:#f1f7f5;border-radius:10px;font-size:14px;line-height:1.65;color:#3b5756;flex:none}.mc-deck .mc-example-label{display:block;font-size:9px;font-weight:700;letter-spacing:.1em;color:#4f7c75;margin-bottom:7px}.mc-deck .mc-example p{margin:0 0 8px;font:inherit}.mc-deck .mc-example p:last-child{margin:0}.mc-deck .mc-question-context{padding:0;margin:16px 0 0;background:none;border:0;font-size:13px;color:var(--mc-muted);flex:none}.mc-deck .mc-question-context summary{cursor:pointer;text-align:center;font-size:12px}.mc-deck .mc-question-context .masvab-rich{margin-top:12px;font-size:14px;line-height:1.6}
.mc-deck .mc-figure{margin:18px 0 0;text-align:center;flex:none}.mc-deck .mc-image-button{display:block;margin:0 auto;background:#f8fafb;border:1px solid #e5ebf0;padding:8px;width:100%;border-radius:10px}.mc-deck .mc-image-button:hover{background:#f0f5f8}.mc-deck .mc-figure .masvab-diagram{display:block;max-height:230px;max-width:100%;width:auto;height:auto;object-fit:contain;margin:0 auto;border:0;border-radius:4px}.mc-deck .mc-image-link{font-size:11px;min-height:28px;padding:5px 9px;margin-top:4px}
.mc-deck .mc-recall{display:flex;justify-content:center;gap:12px}.mc-deck .mc-recall button{min-width:136px;min-height:44px}.mc-deck .mc-again{border:1px solid #decab1;background:#fffaf3;color:#87632d}.mc-deck .mc-again:hover:not(:disabled){background:#f5ebdc;color:#87632d}.mc-deck .mc-got{border:1px solid #bdd6d0;background:#edf7f3;color:#246a5b}.mc-deck .mc-got:hover:not(:disabled){background:#dcefe8;color:#246a5b}.mc-deck .mc-navigation{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:14px 0 0}.mc-deck .mc-navigation button{min-height:38px;font-size:12px;padding:8px 10px}.mc-deck .mc-recall-count{font-size:11px;color:var(--mc-muted);text-align:center}.mc-deck .mc-shortcuts{text-align:center;font-size:10px;color:#8a97a4;margin:10px 0 0}.mc-deck .mc-status{font-size:12px;color:var(--mc-muted);text-align:center;margin:8px 0 0;min-height:18px}.mc-deck .mc-summary{text-align:center;outline:none;background:white;border:1px solid var(--mc-line);padding:36px 22px;border-radius:16px}.mc-deck .mc-summary h3{font:600 23px/1.35 system-ui,sans-serif;margin:10px 0;color:var(--mc-ink)}.mc-deck .mc-summary p{font-size:14px;color:var(--mc-muted)}.mc-deck .mc-summary-stats{display:flex;justify-content:center;gap:40px;margin:28px 0}.mc-deck .mc-summary-stats strong{display:block;font-size:27px;font-weight:650}.mc-deck .mc-summary-stats span{font-size:12px;color:var(--mc-muted)}.mc-deck .mc-round-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.mc-focus-dialog{padding:0;border:0;max-width:none;max-height:none;width:100%;height:100%;margin:0;background:#eef2f5;overflow:auto}.mc-focus-dialog::backdrop,.mc-image-dialog::backdrop{background:#0d2139b8;backdrop-filter:blur(4px)}.mc-focus-dialog .mc-deck{margin:20px auto;border:0;box-shadow:none;background:transparent}.mc-focus-dialog .mc-face{height:calc(100dvh - 370px);max-height:calc(100dvh - 370px);min-height:250px}.mc-image-dialog{font:14px/1.5 system-ui,sans-serif;border:1px solid #dce4ec;border-radius:14px;padding:0;width:min(1100px,94vw);max-width:94vw;max-height:92dvh;background:#fff;color:#17283b}.mc-image-toolbar{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #dde5ed}.mc-image-toolbar strong{margin-right:auto}.mc-image-toolbar button{font:600 13px system-ui,sans-serif;border:1px solid #ccd7e1;border-radius:7px;background:#f8fafc;padding:8px 12px;color:#203f5c;cursor:pointer;min-height:36px}.mc-image-toolbar button:focus-visible{outline:3px solid #6ca49e}.mc-image-view{max-height:70dvh;overflow:auto;padding:16px;background:#f4f7f9}.mc-image-view img{display:block;width:100%;height:auto;max-height:none!important;object-fit:contain;max-width:none;margin:auto}.mc-image-caption{margin:0;padding:10px 16px;font-size:12px;color:#617186}
@keyframes mc-appear{from{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.masvab.mc-deck{padding:20px 14px 12px;border-radius:14px;margin:8px auto}.mc-deck .mc-heading{margin-bottom:18px}.mc-deck .mc-title{font-size:24px}.mc-deck .mc-intro{font-size:12px;max-width:34ch}.mc-deck .mc-progress{margin-bottom:20px}.mc-deck .mc-face{padding:20px 18px 16px;height:clamp(245px,42dvh,380px);max-height:52dvh;min-height:245px}.mc-deck .mc-text{font-size:18px}.mc-deck .mc-text.mc-long{font-size:15px}.mc-deck .mc-figure .masvab-diagram{max-height:180px}.mc-deck .mc-recall button{min-width:0;flex:1}.mc-deck .mc-recall{padding:0 6px;gap:10px}.mc-deck .mc-shortcuts{display:none}.mc-deck .mc-recall-count{font-size:10px}.mc-deck .mc-summary-stats{gap:24px}.mc-focus-dialog .mc-deck{margin:0;min-height:100%;padding-top:max(14px,env(safe-area-inset-top))}.mc-focus-dialog .mc-face{height:calc(100dvh - 335px);max-height:calc(100dvh - 335px);min-height:180px}.mc-image-toolbar{gap:5px;padding:10px}.mc-image-toolbar button{padding:7px 9px}.mc-image-view{padding:8px}}
@media(prefers-reduced-motion:reduce){.mc-deck *{animation:none!important;transition:none!important}}

/* 2.10.13: fit the complete study surface beneath the actual site header. */
.masvab.mc-deck.mc-viewport{height:var(--mc-available-height);min-height:0;margin:8px auto;padding:16px 24px 10px;display:flex;flex-direction:column;overflow:hidden}
.mc-viewport .mc-heading{flex:none;margin:0 0 10px}.mc-viewport .mc-title{font-size:clamp(20px,2.1vw,27px)}.mc-viewport .mc-eyebrow{margin-bottom:4px;font-size:10px}.mc-viewport .mc-intro{display:none}
.mc-viewport .masvab-card-run{flex:1;min-height:0;display:flex;flex-direction:column}.mc-viewport .mc-toolbar{flex:none;margin-bottom:6px}.mc-viewport .mc-progress{flex:none;margin-bottom:12px}
.mc-viewport .mc-stack{flex:1;min-height:0;margin-bottom:14px}.mc-viewport .mc-card{height:100%;display:flex;flex-direction:column}.mc-viewport .mc-face{height:auto;min-height:0;max-height:none;flex:1;padding:12px 22px;overflow:auto}.mc-viewport .mc-face-label{margin-bottom:8px}.mc-viewport .mc-text{font-size:clamp(16px,1.6vw,21px);line-height:1.45}.mc-viewport .mc-card-footer{padding:8px 12px}
.mc-viewport .mc-recall{flex:none}.mc-viewport .mc-recall button{min-height:36px;padding:8px 14px}.mc-viewport .mc-navigation{flex:none;margin-top:5px}.mc-viewport .mc-navigation button{min-height:32px;padding:5px 8px}.mc-viewport .mc-shortcuts{display:none}.mc-viewport .mc-status{flex:none;font-size:11px;min-height:0;margin:3px 0 0}.mc-viewport .mc-status:empty{display:none}
.mc-viewport .mc-summary{flex:1;min-height:0;overflow:auto;padding:18px}.mc-viewport .mc-summary-stats{margin:16px 0}.mc-viewport .mc-figure{margin-top:10px}.mc-viewport .mc-figure .masvab-diagram{max-height:180px}.mc-focus-dialog .mc-viewport{margin:10px auto;padding-top:10px}
@media(max-width:600px){.masvab.mc-deck.mc-viewport{padding:12px 12px 8px}.mc-viewport .mc-title{font-size:20px}.mc-viewport .mc-face{padding:10px 14px}.mc-viewport .mc-text{font-size:16px}.mc-viewport .mc-tools{gap:4px}.mc-viewport .mc-tools button{padding:5px 8px}.mc-viewport .mc-figure .masvab-diagram{max-height:150px}}
@media(max-height:600px){.mc-viewport .mc-eyebrow{display:none}.mc-viewport .mc-heading{margin-bottom:6px}.mc-viewport .mc-face-label{display:none}.mc-viewport .mc-card-footer button{min-height:34px;padding:7px 18px}.mc-viewport .mc-recall button{min-height:32px;padding:6px 12px}.mc-viewport .mc-figure .masvab-diagram{max-height:130px}}

.mc-viewport .mc-has-image{justify-content:flex-start}.mc-viewport .mc-has-image .mc-figure{display:flex;flex-direction:column;flex:1;min-height:60px}.mc-viewport .mc-has-image .mc-image-button{display:flex;flex:1;min-height:0;overflow:hidden;align-items:center;justify-content:center;padding:4px}.mc-viewport .mc-has-image .mc-figure .masvab-diagram{height:100%;width:100%;max-height:100%;object-fit:contain}.mc-viewport .mc-has-image .mc-image-link{flex:none;margin:0;min-height:24px}

/* 2.11.1: readable card on short screens, rating inside the card, site palette. */
.mc-deck .mc-eyebrow{color:var(--mc-brass)}
.mc-deck .mc-title{font-family:Charter,"Bitstream Charter","Sitka Text",Cambria,Georgia,serif;font-weight:600;letter-spacing:-.01em}
.mc-deck .mc-progress>span{background:var(--mc-navy)}
.mc-deck .mc-primary:hover{background:#0b2340}
.mc-deck .mc-card-footer-rate{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px}
.mc-deck .mc-card-footer-rate .mc-flip{justify-self:start;font-size:12px;min-height:32px;padding:6px 10px}
.mc-deck .mc-card-footer .mc-recall{display:flex;justify-content:center;gap:10px}
.mc-deck .mc-card-footer .mc-recall button{min-width:124px;min-height:44px}
.mc-deck .mc-got{border:1px solid #b9d3c4;background:#f2f8f4;color:#2e6b4a}
.mc-deck .mc-got:hover:not(:disabled){background:#e3f0e8;color:#2e6b4a}
.mc-viewport .mc-card-footer .mc-recall button{min-height:40px;padding:8px 14px}
.mc-viewport .mc-face{min-height:200px}
.mc-viewport .mc-has-image .mc-figure{min-height:150px}
@media(max-width:600px){
.mc-deck .mc-card-footer-rate{grid-template-columns:1fr;justify-items:center;gap:2px;padding-bottom:4px}
.mc-deck .mc-card-footer-rate .mc-recall{order:1;width:100%}
.mc-deck .mc-card-footer-rate .mc-recall button{flex:1;min-width:0}
.mc-deck .mc-card-footer-rate .mc-flip{order:2;justify-self:center;min-height:28px;padding:4px 10px}
}
@media(max-height:760px){
.mc-viewport .mc-eyebrow{display:none}
.mc-viewport .mc-heading{margin-bottom:6px}
.mc-viewport .mc-title{font-size:clamp(18px,1.8vw,22px);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}
