@import "../../site/footer.css";
@import "../../site/page-spacing.css";
@import "../../site/header.css";

html, body { min-width: 320px; }

body.learnShellPage {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--shell-paper) !important;
  color: var(--shell-ink) !important;
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif !important;
}

.learnShellPage .site-header {
  flex: none;
  z-index: 10000;
  border-bottom-color: var(--shell-line);
  background: color-mix(in srgb, var(--shell-paper) 96%, transparent);
  color: var(--shell-ink);
}

.learnShellPage .site-header :is(.brand > span, .main-nav a:is(:hover, [aria-current="page"])) {
  color: var(--shell-accent);
}

.learnShellPage > .wrap {
  width: var(--page);
  flex: 1 0 auto;
  max-width: none;
  min-height: 0;
  padding: var(--site-content-edge-gap) 0;
}

.learnShellPage .card {
  border-color: var(--shell-line) !important;
  border-radius: 8px !important;
  background: var(--shell-surface) !important;
  box-shadow: 0 10px 28px rgba(37, 42, 40, .06) !important;
}

.learnShellPage .btn,
.learnShellPage a.btn,
.learnShellPage button.btn,
.learnShellPage .pill,
.learnShellPage input,
.learnShellPage .qbtn {
  border-radius: 6px !important;
}

.learnShellPage .btnPrimary,
.learnShellPage .homeExamBtn {
  border: 1px solid var(--shell-accent) !important;
  background: var(--shell-accent) !important;
  color: var(--shell-on-accent) !important;
}

.learnShellPage .btn:hover,
.learnShellPage .qbtn:hover { border-color: var(--shell-accent) !important; }

.learnShellPage .pill { background: var(--shell-hover) !important; border-color: var(--shell-line) !important; color: var(--shell-ink) !important; }
.learnShellPage .helpText, .learnShellPage .sub { color: var(--shell-muted) !important; }
.learnShellPage input:focus { border-color: var(--shell-accent) !important; box-shadow: 0 0 0 3px var(--shell-focus-tint) !important; }

.learnShellPage .qbtn.correct::after { content: " ✓"; font-weight: 900; }
.learnShellPage .qbtn.wrong::after { content: " !"; font-weight: 900; }
.learnShellPage .qbtn.fixed::after { content: " ↺"; font-weight: 900; }
.learnShellPage .qbtn.current { outline-color: var(--shell-accent) !important; }

.learnShellPage .siteFooter {
  width: 100%;
  margin-top: auto !important;
  padding: 48px 0 max(16px, env(safe-area-inset-bottom)) !important;
  color: var(--shell-muted) !important;
  opacity: 1 !important;
}

@media (max-width: 720px) {
  .learnShellPage .nav-toggle { border-color: var(--shell-control-line); }
  .learnShellPage .siteFooter { padding-bottom: 26px !important; }
}
