body[data-exam-state="doing"] .btn-start-exam {
display: none !important;
}
body[data-exam-state="graded"] .btn-finish-exam,
body[data-exam-state="empty"] .btn-finish-exam {
display: none !important;
}
@media (max-width: 900px) {
body.exam-strip-on .btn-finish-exam {
display: none !important;
}
}
.btn-start-exam.is-busy,
.exam-empty-btn.is-busy {
opacity: .7;
cursor: wait;
}
button.vhn-bai {
width: 100%;
margin: 0;
font: inherit;
color: inherit;
text-align: left;
white-space: normal;
cursor: pointer;
transition: var(--transition-btn);
}
@media (hover: hover) {
button.vhn-bai:hover {
box-shadow: var(--shadow-sm);
}
}
button.vhn-bai:focus-visible,
.vhn-gon:focus-visible,
.vhn-thu-gon:focus-visible,
.exam-strip-dem:focus-visible,
.exam-strip-nop:focus-visible,
.exam-sainav:focus-visible,
.exam-empty-btn:focus-visible {
outline: none;
box-shadow: var(--shadow-focus);
}
.vhn-gon:hover,
.vhn-thu-gon:hover,
.exam-strip-dem:hover {
background: none;
}
button.vhn-bai:hover {
background: var(--surface-subtle);
}
.exam-sainav:hover {
background: var(--surface-warning);
}
.exam-strip-nop:hover {
background: var(--accent-primary-hover);
}
.vhn-box--gon {
padding: 0;
gap: 0;
}
.vhn-gon {
display: flex;
align-items: center;
gap: 8px;
width: 100%;
min-height: var(--touch-min);
margin: 0;
padding: 8px 12px;
border: 0;
border-radius: var(--radius-lg);
background: none;
color: var(--text-body);
font: inherit;
font-size: var(--text-base);
text-align: left;
white-space: normal;
cursor: pointer;
}
.vhn-gon-chu {
flex: 1 1 auto;
min-width: 0;
line-height: var(--leading-snug);
}
.vhn-gon-chu b {
font-weight: var(--weight-extrabold);
color: var(--text-strong);
}
.vhn-gon-mui {
flex: 0 0 auto;
font-size: var(--text-md);
color: var(--text-muted);
}
.vhn-thu-gon {
align-self: flex-end;
min-height: var(--touch-min);
margin: 0;
padding: 0 12px;
border: 0;
border-radius: var(--radius-md);
background: none;
color: var(--accent-secondary);
font: inherit;
font-size: var(--text-base);
font-weight: var(--weight-bold);
cursor: pointer;
}
@media (max-width: 900px) {
body[data-exam-state="doing"] #mobileTopPanel {
margin-top: 0;
margin-bottom: 4px;
}
body[data-exam-state="doing"] #mobileTopPanel .today-score-message {
margin-top: 4px;
}
body[data-exam-state="doing"] #section-questions .main-panel {
padding-top: 4px;
}
body[data-exam-state="doing"] #vhnHomNay {
margin-bottom: 4px;
}
body[data-exam-state="doing"] #questions .quiz-section:first-child .q-grid {
margin-top: 0;
}
body.vhn-an-thanh-luyen #weakPracticeBar {
display: none !important;
}
body[data-exam-state="doing"] #questions .quiz-section:first-child {
padding-top: 4px;
}
body[data-exam-state="doing"] #questions .quiz-section:first-child .quiz-section-header {
margin-bottom: 2px;
padding-bottom: 2px;
}
body[data-exam-state="doing"] #mobileTopPanel .top-bar {
padding-top: 3px;
padding-bottom: 3px;
}
}
.exam-strip {
display: none;
}
.exam-sainav {
position: fixed;
right: 16px;
bottom: 24px;
z-index: 890;
min-height: var(--touch-min);
margin: 0;
padding: 0 16px;
border: 2px solid var(--border-warning);
border-radius: var(--radius-pill);
background: var(--surface-warning);
color: var(--text-strong);
font: inherit;
font-size: var(--text-base);
font-weight: var(--weight-extrabold);
white-space: nowrap;
box-shadow: var(--shadow-lg);
cursor: pointer;
}
@media (max-width: 900px) {
.exam-strip:not(.hidden-section) {
display: flex;
position: fixed;
left: 0;
right: 0;
bottom: calc(56px + var(--day-an-toan));
z-index: 895;
align-items: center;
gap: 10px;
padding: 2px 12px;
background: var(--surface-card);
border-top: 2px solid var(--border-card);
box-shadow: 0 -4px 14px rgba(var(--shadow-rgb), 0.12);
}
body.exam-typing .exam-strip {
display: none !important;
}
body.exam-strip-on .content-area {
padding-bottom: calc(72px + 56px + var(--day-an-toan));
}
.exam-strip-dem {
display: flex;
flex: 1 1 auto;
align-items: center;
gap: 8px;
min-width: 0;
min-height: var(--touch-min);
margin: 0;
padding: 0 8px;
border: 0;
border-radius: var(--radius-md);
background: none;
color: var(--text-strong);
font: inherit;
font-size: var(--text-md);
font-weight: var(--weight-bold);
text-align: left;
cursor: pointer;
}
.exam-strip-icon {
flex: 0 0 auto;
font-size: 18px;
line-height: 1;
}
.exam-strip-so {
flex: 0 0 auto;
white-space: nowrap;
}
.exam-strip-so b {
font-weight: var(--weight-extrabold);
}
.exam-strip-thanh {
flex: 1 1 40px;
min-width: 24px;
height: 8px;
border-radius: var(--radius-pill);
background: var(--surface-subtle);
border: 1px solid var(--border-subtle);
overflow: hidden;
}
.exam-strip-thanh>span {
display: block;
height: 100%;
width: 0;
border-radius: var(--radius-pill);
background: var(--accent-secondary);
transition: width var(--dur-base) var(--ease-out);
}
.exam-strip.is-du .exam-strip-thanh>span {
background: var(--green-600);
}
.exam-strip-nop {
flex: 0 0 auto;
min-height: var(--touch-min);
margin: 0;
padding: 0 16px;
border: 0;
border-radius: var(--radius-pill);
background: var(--accent-primary);
color: var(--text-on-accent);
font: inherit;
font-size: var(--text-md);
font-weight: var(--weight-extrabold);
white-space: nowrap;
cursor: pointer;
}
.exam-strip-nop:disabled {
opacity: .6;
cursor: wait;
}
.exam-sainav {
right: 12px;
bottom: calc(68px + var(--day-an-toan));
}
}
@media (prefers-reduced-motion: reduce) {
.exam-strip-thanh>span {
transition: none;
}
}
.exam-empty.hidden-section,
.exam-sainav.hidden-section,
.exam-strip.hidden-section {
display: none !important;
}
.exam-empty {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
padding: 28px 16px;
border: 2px dashed var(--border-card);
border-radius: var(--radius-lg);
background: var(--surface-card);
text-align: center;
}
.exam-empty-icon {
font-size: 44px;
line-height: 1;
}
.exam-empty-tieu {
font-size: var(--text-lg);
font-weight: var(--weight-extrabold);
color: var(--text-strong);
}
.exam-empty-loi {
font-size: var(--text-md);
color: var(--text-body);
line-height: var(--leading-snug);
}
.exam-empty-btn {
min-height: 52px;
margin: 6px 0 0;
padding: 0 24px;
border: 0;
border-radius: var(--radius-pill);
background: var(--accent-secondary);
color: var(--text-on-accent);
font: inherit;
font-size: var(--text-md);
font-weight: var(--weight-extrabold);
cursor: pointer;
}
body.exam-empty-on #questions,
body.exam-empty-on .btn-start-exam {
display: none !important;
}
.exam-summary-actions {
flex-wrap: wrap;
}
.exam-summary-actions .exam-summary-btn-rong {
flex: 1 1 100%;
white-space: normal;
line-height: var(--leading-snug);
padding-top: var(--space-3);
padding-bottom: var(--space-3);
}
