/* Flashcards on the website: the date tools' layout, 3px corners, Sinkin Sans for the interface and Georgia to read. */
.mhc-fc-side { display: flex; flex-direction: column; gap: 28px; }
.mhc-fc-side:empty { display: none; }
.mhc-fc-side .mhc-otd-side__box:last-child { padding-bottom: 24px; border-bottom: 1px solid #e9e9e9; }

/* Today's review */
.mhc-tool-page__result.mhc-fc-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; margin-top: 0; }
.mhc-fc-hero strong { display: block; font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--mh-teal, #126788); }
.mhc-fc-hero .mhc-tool-page__weekday { margin-bottom: 6px; }
.mhc .mhc-fc-hero p, .mhc-fc-hero p { margin: 6px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.5; color: #403b35; }
.mhc-fc-hero__actions { display: flex; flex-direction: column; gap: 8px; }
.mhc-tools.mhc-fc .mh-btn { border: 0; cursor: pointer; text-align: center; }
.mhc-tools.mhc-fc .mh-btn:disabled { opacity: .5; cursor: default; }
.mhc-tools.mhc-fc .mh-btn--line { border: 1px solid var(--mhc-border, #e2ddd3); background: transparent; color: #262220; }
.mhc-tools.mhc-fc .mh-btn--line:hover { border-color: var(--mh-teal, #126788); background: transparent; color: var(--mh-teal, #126788); }

/* Decks */
.mhc-fc-decks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.mhc-fc-deck { display: block; width: 100%; margin: 0; padding: 15px 16px; border: 1px solid var(--mhc-border, #e2ddd3); border-radius: 3px; background: var(--mh-paper, #fff); color: inherit; font-family: inherit; line-height: 1.4; letter-spacing: 0; text-align: left; text-transform: none; cursor: pointer; }
button.mhc-fc-deck:hover { border-color: var(--mh-brown, #a06b3e); background: var(--mh-paper, #fff); color: inherit; }
.mhc-fc-deck.is-locked { opacity: .72; cursor: default; }
.mhc-fc-deck__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.mhc-fc-deck b { font-size: 14px; font-weight: 600; }
.mhc-fc-deck small { font-size: 11px; color: var(--mhc-muted, #6b6b6b); }
.mhc-fc-deck em { display: block; margin-top: 9px; font-size: 11px; font-style: normal; color: var(--mhc-muted, #6b6b6b); }
.mhc-fc-lock { display: inline-flex; color: var(--mh-brown, #a06b3e); }
.mhc-fc-bar { display: block; height: 5px; margin-top: 9px; border-radius: 3px; background: var(--mhc-border, #e9e9e9); overflow: hidden; }
.mhc-fc-bar i { display: block; height: 100%; background: var(--mh-teal, #126788); transition: width .25s ease; }

/* Review */
.mhc-fc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--mhc-border, #e9e9e9); }
.mhc .mhc-fc-head .mhc-tool-page__title { padding: 0; border: 0; }
.mhc-fc-head span { flex: none; font-size: 11px; font-weight: 600; color: var(--mhc-muted, #6b6b6b); }
.mhc-fc-review > .mhc-fc-bar { margin: 12px 0 16px; }
.mhc-fc-wrap { animation: mhc-fc-rise .22s ease-out; }
@keyframes mhc-fc-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mhc-fc-card { display: block; width: 100%; perspective: 1400px; cursor: pointer; }
.mhc-fc-card__in { position: relative; display: block; width: 100%; height: 370px; transform-style: preserve-3d; transition: transform .42s cubic-bezier(.3, .7, .3, 1); }
.mhc-fc-card.is-flipped .mhc-fc-card__in { transform: rotateY(180deg); }
.mhc-fc-card__face { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 20px 26px; border: 1px solid var(--mhc-border, #e2ddd3); border-top: 3px solid var(--mh-brown, #a06b3e); border-radius: 3px; background: var(--mh-paper, #fff); overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.mhc-fc-card__back { border-top-color: var(--mh-teal, #126788); background: var(--mh-cream, #f8f5e8); transform: rotateY(180deg); }
.mhc-fc-card:hover .mhc-fc-card__face { border-right-color: var(--mh-brown, #a06b3e); border-bottom-color: var(--mh-brown, #a06b3e); border-left-color: var(--mh-brown, #a06b3e); }
.mhc-fc-kind { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mh-brown, #a06b3e); }
.mhc-fc-card__back .mhc-fc-kind { color: var(--mh-teal, #126788); }
.mhc-fc-mid { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; text-align: center; }
.mhc-fc-q { margin-bottom: 12px; font-size: 13px; color: var(--mhc-muted, #6b6b6b); }
.mhc-fc-title { font-size: 38px; font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
.mhc-fc-title.is-long { max-width: 620px; font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 400; line-height: 1.45; letter-spacing: 0; }
.mhc-fc-small { max-width: 620px; margin-bottom: 14px; font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--mh-teal, #126788); }
.mhc-fc-small.is-long { font-family: Georgia, "Times New Roman", serif; font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--mhc-muted, #6b6b6b); }
.mhc-fc-answer { max-width: 560px; font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.5; }
.mhc-fc-foot { display: flex; justify-content: center; font-size: 11px; color: var(--mhc-muted, #6b6b6b); }
.mhc-fc-foot a { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mh-teal, #126788); text-decoration: none; }
.mhc-fc-foot a:hover { color: var(--mh-brown, #a06b3e); }
.mhc-fc-actions { min-height: 62px; margin-top: 14px; }
.mhc-tools.mhc-fc .mhc-fc-actions > .mh-btn { display: block; width: 100%; min-height: 52px; }
.mhc-fc-rate { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mhc-fc-rate button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; margin: 0; padding: 6px; border: 1px solid var(--mhc-border, #e2ddd3); border-radius: 3px; background: var(--mh-paper, #fff); color: inherit; font-family: inherit; line-height: 1.3; letter-spacing: 0; text-transform: none; cursor: pointer; }
.mhc-fc-rate button:disabled { opacity: .55; cursor: default; }
.mhc-fc-rate b { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.mhc-fc-rate small { font-size: 10px; color: var(--mhc-muted, #6b6b6b); }
.mhc-fc-rate .is-forgot b { color: var(--mh-brown, #a06b3e); }
.mhc-fc-rate .is-good b { color: var(--mh-teal, #126788); }
.mhc-fc-rate .is-easy b { color: var(--mh-sage, #6a7f6d); }
.mhc-fc-rate .is-forgot:hover { background: var(--mh-paper, #fff); border-color: var(--mh-brown, #a06b3e); color: inherit; }
.mhc-fc-rate .is-good:hover { background: var(--mh-paper, #fff); border-color: var(--mh-teal, #126788); color: inherit; }
.mhc-fc-rate .is-easy:hover { background: var(--mh-paper, #fff); border-color: var(--mh-sage, #6a7f6d); color: inherit; }

/* Finished, and the sidebar's figures */
.mhc-fc-done > strong { display: block; font-size: 26px; font-weight: 700; line-height: 1.25; color: var(--mh-teal, #126788); }
.mhc-fc-done .mhc-tool-page__weekday { margin-bottom: 6px; }
.mhc-fc-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mhc-fc-terms { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--mhc-border, #e9e9e9); }
.mhc-fc-terms li { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 14px; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--mhc-border, #e9e9e9); }
.mhc-fc-terms b { font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--mh-teal, #126788); }
.mhc-fc-terms span { font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.5; color: #403b35; }
.mhc-fc-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--mhc-border, #e9e9e9); }
.mhc-fc-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--mhc-border, #e9e9e9); font-size: 12px; line-height: 1.4; }
.mhc-fc-list b { font-size: 11px; font-weight: 600; color: var(--mh-teal, #126788); }
.mhc-fc kbd, .mhc-fc-side kbd { display: inline-block; min-width: 20px; padding: 2px 5px; border: 1px solid var(--mhc-border, #e2ddd3); border-radius: 3px; background: var(--mh-paper, #fff); font-family: inherit; font-size: 10px; font-weight: 600; text-align: center; }
.mhc-fc-side .mh-btn { display: block; width: 100%; border: 0; text-align: center; cursor: pointer; }
.mhc-fc-side .mh-btn--line { border: 1px solid var(--mhc-border, #e2ddd3); background: transparent; color: #262220; }
.mhc-fc-side .mh-btn--line:hover { border-color: var(--mh-teal, #126788); background: transparent; color: var(--mh-teal, #126788); }

@media (prefers-reduced-motion: reduce) {
	.mhc-fc-card__in { transition: none; }
	.mhc-fc-wrap { animation: none; }
}
@media (max-width: 640px) {
	.mhc-tool-page__result.mhc-fc-hero { grid-template-columns: minmax(0, 1fr); }
	.mhc-tools.mhc-fc .mhc-fc-hero .mh-btn { display: block; width: 100%; }
	.mhc-fc-decks { grid-template-columns: minmax(0, 1fr); }
	.mhc-fc-card__in { height: 340px; }
	.mhc-fc-card__face { padding: 18px; }
	.mhc-fc-title { font-size: 30px; }
	.mhc-fc-title.is-long { font-size: 19px; }
	.mhc-fc-answer { font-size: 18px; }
	.mhc-fc-terms li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.mhc-tools.mhc-fc .mhc-fc-buttons .mh-btn { width: 100%; }
}
