/* Focused learning and exam surfaces, following AeroCrystal Vietnam. */
.practice-page { max-width: 1200px; margin: 0 auto; padding: 32px 0 112px; color: #131b2e; }
.practice-heading { margin-bottom: 28px; }
.practice-back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 18px; color: #526174; font-size: 13px; font-weight: 500; }
.practice-back:hover { color: #006194; }
.practice-title-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.practice-eyebrow { margin: 0 0 8px; color: #006194; font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.practice-title-row h1 { max-width: 880px; margin: 0; font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif; font-size: clamp(25px, 3vw, 36px); line-height: 1.25; letter-spacing: -.03em; }
.practice-mode { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 9px 12px; border: 1px solid rgba(15, 23, 42, .08); border-radius: 8px; background: rgba(255,255,255,.7); color: #526174; font-size: 12px; }
.practice-mode i { color: #0284c7; }
.practice-layout { display: grid; align-items: start; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; }
.practice-question, .practice-question-map, .practice-exam-status, .practice-result { border: 1px solid rgba(15,23,42,.08); border-top-color: rgba(255,255,255,.95); border-radius: 16px; background: rgba(255,255,255,.78); box-shadow: 0 8px 32px -4px rgba(15,23,42,.04), 0 0 24px rgba(2,132,199,.03), inset 0 1px 0 rgba(255,255,255,.9); backdrop-filter: blur(16px) saturate(180%); }
.practice-question { min-width: 0; padding: 32px; }
.practice-question-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; font-family: 'Space Grotesk', sans-serif; }
.practice-question-count { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #006194; }
.practice-position { margin-left: auto; font-size: 12px; color: #64748b; }
.practice-danger { display: inline-flex; gap: 6px; align-items: center; padding: 5px 8px; border-radius: 6px; background: #fff1eb; color: #ad4418; font-size: 11px; font-weight: 600; }
.practice-question h2 { margin: 24px 0; font-family: 'Be Vietnam Pro', sans-serif; font-size: 21px; font-weight: 600; line-height: 1.65; letter-spacing: -.02em; }
.practice-progress { height: 5px; overflow: hidden; border-radius: 8px; background: #e7edf3; }
.practice-progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0284c7, #00b4d8); transition: width .2s ease; }
.practice-image { display: flex; justify-content: center; margin: 0 0 28px; padding: 16px; border: 1px solid #e6edf3; border-radius: 12px; background: #fff; }
.practice-image img { display: block; max-width: 100%; height: auto; object-fit: contain; }
.practice-answers { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; min-width: 0; list-style: none; }
.practice-answers legend, .practice-answer-label { margin-bottom: 12px; padding: 0; color: #64748b; font-size: 12px; font-weight: 500; }
.practice-answer { display: flex; align-items: flex-start; gap: 12px; padding: 18px; margin: 0; border: 1px solid #e1e8ef; border-radius: 10px; background: rgba(244,246,250,.45); color: #334155; font-size: 14px; line-height: 1.7; cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.practice-answer:hover { border-color: #94cceb; background: #f3faff; }
.practice-answer.selected { border-color: #0284c7; background: #edf8ff; box-shadow: 0 0 0 1px rgba(2,132,199,.08); }
.practice-answer input { flex: 0 0 18px; width: 18px; height: 18px; margin: 4px 0 0; accent-color: #0284c7; cursor: pointer; }
.practice-answer-number { display: flex; align-items: center; justify-content: center; flex: 0 0 26px; height: 26px; border-radius: 6px; background: #e8edf3; color: #526174; font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 600; }
.practice-answer-text { flex: 1; min-width: 0; }
.practice-answer-text small { display: flex; gap: 6px; align-items: center; margin-top: 7px; font-size: 11px; font-weight: 600; }
.practice-answer.correct { border-color: #70bba0; background: #eef9f4; color: #186447; }
.practice-answer.correct .practice-answer-number { background: #d8efe3; color: #186447; }
.practice-answer.wrong { border-color: #edb2b0; background: #fff2f1; color: #a42c28; }
.practice-answer.wrong .practice-answer-number { background: #ffe1dd; color: #a42c28; }
.practice-answer-review .practice-answer { cursor: default; }
.practice-answer-review .practice-answer:hover { box-shadow: none; }
.practice-answer:focus-within { outline: 3px solid rgba(2,132,199,.22); outline-offset: 2px; }
.practice-button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 44px; padding: 11px 18px; border: 1px solid transparent; border-radius: 8px; font-family: 'Be Vietnam Pro', sans-serif; font-size: 13px; font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none; cursor: pointer; transition: background .15s, box-shadow .15s; }
.practice-button-primary { background: linear-gradient(120deg, #0074ac, #009abb); color: #fff; box-shadow: 0 4px 14px rgba(2,132,199,.2); }
.practice-button-primary:hover { color: #fff; box-shadow: 0 4px 20px rgba(2,132,199,.3); }
.practice-button-secondary { border-color: #dce5ee; color: #334155; background: rgba(255,255,255,.7); }
.practice-button-secondary:hover { border-color: #80bfdc; background: #eff8ff; color: #006194; }
.practice-button-ghost { background: transparent; color: #006194; padding-left: 0; padding-right: 0; }
.practice-button:disabled { opacity: .42; cursor: default; box-shadow: none; }
.practice-button:focus-visible, .practice-dock-center:focus-visible, .practice-map-grid button:focus-visible, .practice-map-close:focus-visible, .practice-back:focus-visible { outline: 3px solid #0284c7; outline-offset: 4px; }
.practice-answer-action { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.practice-answer-action > span { color: #64748b; font-size: 11px; }
.practice-tip { display: flex; gap: 12px; padding: 18px; margin-top: 22px; border-radius: 10px; background: #eef7fc; color: #285a75; font-size: 13px; line-height: 1.7; }
.practice-tip > i { margin-top: 3px; font-size: 18px; color: #0284c7; }
.practice-tip strong { font-size: 12px; }
.practice-tip p { margin: 6px 0 0; }
.practice-study-note { padding: 26px 4px 26px 14px; color: #64748b; font-size: 13px; line-height: 1.8; }
.practice-note-icon { display: flex; justify-content: center; align-items: center; width: 48px; height: 48px; margin-bottom: 22px; border: 1px solid #d8ebf7; border-radius: 14px; background: linear-gradient(135deg,#e0f2ff,#f6fbff); color: #007bb9; font-size: 20px; }
.practice-study-note h2 { margin: 0 0 16px; color: #26384d; font-family: 'Space Grotesk',sans-serif; font-size: 25px; line-height: 1.4; letter-spacing: -.03em; }
.practice-study-note p { margin: 0 0 20px; }
.practice-study-note p > i { color: #b6662d; margin-right: 5px; }
.practice-note-divider { height: 1px; margin: 24px 0; background: linear-gradient(90deg,#dce5ee,transparent); }
.practice-study-note a { display: inline-flex; align-items: center; gap: 10px; color: #006194; font-size: 12px; font-weight: 600; }
.practice-dock { position: fixed; z-index: 60; right: 24px; bottom: 20px; left: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: calc(100% - 48px); max-width: 760px; margin: auto; padding: 12px; border: 1px solid rgba(15,23,42,.08); border-top-color: #fff; border-radius: 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 12px 38px rgba(15,23,42,.1), 0 0 24px rgba(14,165,233,.04); }
.practice-dock > .practice-button { min-width: 140px; }
.practice-dock-center { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 4px 10px; border: 0; background: transparent; color: #526174; font-size: 12px; font-weight: 500; cursor: pointer; }
.practice-dock-center i { color: #0284c7; }
.practice-exam-status { display: flex; align-items: center; gap: 32px; margin-bottom: 24px; padding: 20px 24px; }
.practice-completion { flex: 1; min-width: 100px; }
.practice-completion > div:first-child { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 12px; color: #64748b; }
.practice-completion strong { color: #334155; font-weight: 600; }
.practice-timer { display: flex; align-items: center; gap: 12px; padding-left: 26px; border-left: 1px solid #e4eaf1; }
.practice-timer > i { color: #0284c7; font-size: 22px; }
.practice-timer span { display: block; color: #64748b; font-size: 10px; }
.practice-timer strong { display: block; color: #26384d; font-family: 'Space Grotesk',sans-serif; font-size: 25px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.practice-timer.is-urgent strong, .practice-timer.is-urgent > i { color: #ba1a1a; }
.practice-question-map { padding: 24px; }
.practice-map-heading { display: flex; align-items: center; justify-content: space-between; }
.practice-map-heading h2 { margin: 0; font-size: 14px; font-weight: 600; }
.practice-map-close { display: none; min-width: 44px; min-height: 44px; border: 0; background: transparent; color: #526174; cursor: pointer; }
.practice-question-map > p { margin: 8px 0 20px; font-size: 11px; color: #64748b; }
.practice-map-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
.practice-map-grid button { height: 36px; border: 1px solid #dfe7ef; border-radius: 7px; background: #f5f7fb; color: #526174; font-family: 'Space Grotesk',sans-serif; font-size: 12px; font-weight: 500; cursor: pointer; }
.practice-map-grid button.answered { border-color: #c2e4f6; background: #e3f3fc; color: #006194; }
.practice-map-grid button.current { border-color: #0284c7; box-shadow: 0 0 0 1px #0284c7; color: #006194; font-weight: 700; }
.practice-map-grid button:hover { border-color: #0284c7; }
.practice-map-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; font-size: 10px; color: #64748b; }
.practice-map-legend > span { display: flex; align-items: center; gap: 5px; }
.practice-map-legend i { width: 10px; height: 10px; border-radius: 3px; }
.practice-map-legend .is-answered { background: #d8effc; border: 1px solid #b0def6; }
.practice-map-legend .is-current { border: 2px solid #0284c7; }
.practice-map-tip { display: flex; align-items: flex-start; gap: 8px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #e5ecf3; font-size: 11px; line-height: 1.7; color: #64748b; }
.practice-map-tip i { color: #0284c7; margin-top: 4px; }
.practice-map-tip p { margin: 0; }
.practice-result { padding: 28px; margin-bottom: 24px; border-color: #e3cabb; background: linear-gradient(120deg,#fff9f2,rgba(255,255,255,.85)); }
.practice-result.is-passed { border-color: #bfdfd3; background: linear-gradient(120deg,#effaf5,rgba(255,255,255,.85)); }
.practice-result-title { display: flex; align-items: center; gap: 18px; }
.practice-result-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 48px; height: 48px; border-radius: 14px; background: #f9ebdb; color: #98602b; font-size: 18px; }
.is-passed .practice-result-icon { background: #dbf0e5; color: #16704e; }
.practice-result-title h2 { margin: 0 0 6px; font-family: 'Space Grotesk','Be Vietnam Pro',sans-serif; font-size: 25px; }
.practice-result-title p:last-child { margin: 0; color: #64748b; font-size: 12px; }
.practice-result-stats { display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; margin-top: 26px; }
.practice-result-stats strong { display: block; font-family: 'Space Grotesk',sans-serif; font-size: 28px; font-weight: 600; }
.practice-result-stats small { color: #64748b; font-size: 14px; font-weight: 400; }
.practice-result-stats span { color: #64748b; font-size: 11px; }
.practice-result-rule { margin: 22px 0; color: #64748b; font-size: 12px; }
.practice-empty { padding: 64px 24px; text-align: center; }
@media (max-width: 1050px) {
    .practice-layout { grid-template-columns: minmax(0,1fr) 245px; gap: 20px; }
    .practice-question { padding: 24px; }
    .practice-question-map { padding: 18px; }
    .practice-map-grid { gap: 6px; }
}
@media (max-width: 767px) {
    .practice-page { padding: 16px 0 100px; }
    .practice-heading { margin-bottom: 22px; }
    .practice-back { margin-bottom: 14px; }
    .practice-title-row { align-items: flex-start; gap: 14px; flex-wrap: wrap; }
    .practice-title-row h1 { font-size: 27px; }
    .practice-mode { padding: 6px 9px; font-size: 10px; }
    .practice-layout { display: block; }
    .practice-question { padding: 22px 18px; }
    .practice-question h2 { font-size: 18px; line-height: 1.65; margin: 22px 0; }
    .practice-answer { padding: 14px 12px; gap: 10px; font-size: 13px; }
    .practice-answer-number { display: none; }
    .practice-answer-review .practice-answer-number { display: flex; }
    .practice-answer-action { gap: 10px; }
    .practice-answer-action > span { font-size: 10px; }
    .practice-study-note { padding: 28px 8px 0; }
    .practice-study-note h2 br { display: none; }
    .practice-study-note h2 { font-size: 23px; }
    .practice-note-icon, .practice-note-divider { display: none; }
    .practice-study-note p { margin-bottom: 12px; }
    .practice-dock { right: 10px; left: 10px; bottom: max(10px, env(safe-area-inset-bottom)); width: calc(100% - 20px); padding: 8px; gap: 4px; border-radius: 14px; }
    .practice-dock > .practice-button { min-width: 0; padding: 11px 12px; font-size: 11px; gap: 7px; }
    .practice-dock-center { flex-direction: column; gap: 4px; padding: 4px 7px; font-size: 9px; }
    .practice-dock-center i { font-size: 14px; }
    .practice-exam-status { gap: 16px; padding: 16px; flex-wrap: wrap; margin-bottom: 18px; }
    .practice-completion { flex-basis: 100%; }
    .practice-timer { padding-left: 0; border: 0; flex: 1; }
    .practice-timer > i { font-size: 19px; }
    .practice-timer strong { font-size: 23px; }
    .practice-submit { font-size: 12px; padding: 10px 16px; }
    .practice-question-map { display: none; }
    .practice-question-map.is-open { display: block; position: fixed; z-index: 65; right: 12px; bottom: 88px; left: 12px; max-height: 65vh; overflow: auto; padding: 20px; border-radius: 20px; background: rgba(255,255,255,.97); box-shadow: 0 16px 64px rgba(15,23,42,.2); backdrop-filter: blur(24px); }
    .practice-map-close { display: block; }
    .practice-map-grid { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 9px; }
    .practice-map-grid button { height: 40px; font-size: 13px; }
    .practice-result { padding: 22px 18px; }
    .practice-result-title { align-items: flex-start; gap: 12px; }
    .practice-result-icon { flex-basis: 38px; height: 38px; border-radius: 10px; }
    .practice-result-title h2 { font-size: 21px; line-height: 1.35; }
    .practice-result-stats { grid-template-columns: repeat(3,1fr); gap: 18px 12px; }
    .practice-result-stats strong { font-size: 25px; }
    .practice-result-stats span { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .practice-page *, .practice-page *::before, .practice-page *::after { transition: none !important; }
}
