.cefr-nhan { display: block; font-size: .76rem; font-weight: 700; line-height: 1.35; white-space: normal; }
.cefr-level-chon button { height: auto; min-height: 44px; padding-block: .25rem; }
.v1-levels .cefr-cap-chon { width: 8rem; height: auto; min-height: 68px; border-radius: 18px; }
.cefr-khoi { background: #fff8ea; color: #412b20; padding: 1rem; border-radius: 18px; box-shadow: 0 3px 0 #e9d8be; margin: 1rem 0; min-width: 0; overflow-wrap: anywhere; }
.cefr-rong { grid-column: 1 / -1; }
.cefr-cong-khai { font: 1rem/1.6 'Be Vietnam Pro', system-ui, sans-serif; background: #f5ead8; color: #412b20; margin: 0; }
.cefr-cong-khai main { width: min(48rem, calc(100% - 2rem)); margin: 2rem auto; }
.cefr-cong-khai h1, .cefr-khoi h2 { text-wrap: balance; }
.cefr-cong-khai a, .cefr-khoi a { color: #185d4c; text-decoration: underline; }
.cefr-bang { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: clamp(.76rem, 2.5vw, 1rem); color: #412b20; }
.cefr-bang th, .cefr-bang td { text-align: left; padding: .5rem .35rem; overflow-wrap: anywhere; }
.cefr-bang tbody tr:nth-child(odd) { background: #f3e5ce; }
.cefr-bang th:first-child { width: 21%; }
.cefr-tien-do { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .3rem; }
.cefr-tien-do li { background: #f0e0c5; border-radius: 10px; padding: .5rem .1rem; text-align: center; }
.cefr-tien-do [aria-current] { background: #1c6854; color: white; }
.cefr-thu { grid-column: 1 / -1; padding: .65rem .85rem; margin: .5rem 0; border-radius: 12px; background: #e2f0de; color: #234831; font-weight: 700; }
.cefr-thu-gap { background: #fae4c0; color: #703916; }
.cefr-thu a { color: inherit; text-decoration: underline; margin-inline-start: .5rem; }
.cefr-hanh-dong { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .65rem; }
.cefr-nut { background: #196652; color: white; padding: .5rem .85rem; min-height: 44px; border: 0; border-radius: 12px; font: inherit; font-weight: 700; cursor: pointer; touch-action: manipulation; }
.cefr-nut:hover { background: #104c3d; }
.cefr-nut:focus-visible, .cefr-khoi a:focus-visible, .cefr-cong-khai a:focus-visible { outline: 3px solid #99500f; outline-offset: 3px; }
.cefr-giay { color: #412b20; background: #fff4dd; box-shadow: inset 0 0 0 5px #d79655; padding: clamp(1rem, 4vw, 2rem); margin: .75rem 0; max-width: 600px; text-align: center; border-radius: 18px; overflow-wrap: anywhere; }
.cefr-anh-mau { border-radius: 18px; justify-self: center; }
.cefr-hop { margin: auto; }
.cefr-giay img { display: block; margin: 0 auto .5rem; }
.cefr-giay h3 { font: 800 clamp(1.35rem, 4vw, 2rem)/1.2 'Baloo 2', system-ui; margin: .35rem 0; }
.cefr-hop { width: min(29rem, calc(100% - 2rem)); max-height: 85dvh; padding: 1rem; border: 0; overscroll-behavior: contain; text-align: center; }
.cefr-hop::backdrop { background: #302019a6; }
.cefr-foxy { max-width: 112px; height: auto; }
.cefr-truong { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin: .75rem 0; }
.cefr-truong input { font: inherit; max-width: 100%; color: #412b20; background: white; padding: .4rem; }
.cefr-in { display: none; }
@media print {
  body.cefr-dang-in > :not(.cefr-in) { display: none !important; }
  body.cefr-dang-in > .cefr-in { display: block; color: black; overflow-wrap: anywhere; }
  .cefr-in .cefr-giay { box-shadow: none; border: 3px solid #a75b27; }
}
