.kvmt44-empty{max-width:760px;margin:18px auto;padding:16px;border-radius:14px;background:#fff7ed;color:#9a3412;text-align:center;font-weight:800}
.kvmt44-app{max-width:1080px;margin:18px auto;padding:0 10px;color:#0f172a;overflow:hidden}
.kvmt44-app *{box-sizing:border-box}
.kvmt44-shell{display:grid;grid-template-columns:260px minmax(0,1fr);gap:14px;align-items:start}
.kvmt44-sidebar,.kvmt44-tip-panel,.kvmt44-subarea,.kvmt44-active,.kvmt44-qbox{background:#fff;border:1px solid #dfeaf1;border-radius:16px;box-shadow:0 7px 20px rgba(15,23,42,.05)}
.kvmt44-sidebar{height:max-content;padding:12px;position:sticky;top:10px;max-width:100%;overflow:hidden}
.kvmt44-side-title,.kvmt44-section-title{font-weight:950;color:#0f766e;margin-bottom:9px;text-transform:uppercase;font-size:13px;letter-spacing:.08em}
.kvmt44-main-list{display:grid;gap:7px}
.kvmt44-main-btn{display:flex;align-items:center;gap:9px;border:0;background:#fff;border-radius:12px;padding:10px;text-align:left;cursor:pointer;color:#0f172a;width:100%;min-width:0}
.kvmt44-main-btn span{font-size:20px;flex:0 0 auto}
.kvmt44-main-btn b{min-width:0;white-space:normal;overflow-wrap:anywhere}
.kvmt44-main-btn.is-active{background:#e8fff8;color:#0f766e}
.kvmt44-stage{min-width:0;overflow:hidden}
.kvmt44-tip-panel{display:none;padding:16px;min-width:0;overflow:hidden}
.kvmt44-tip-panel.is-active{display:block}
.kvmt44-head{display:flex;gap:12px;align-items:flex-start;border-bottom:4px solid #18a98d;padding-bottom:12px;min-width:0}
.kvmt44-icon{width:46px;height:46px;border-radius:999px;display:grid;place-items:center;background:#e8fff8;border:6px solid #20b394;font-size:20px;flex:0 0 auto}
.kvmt44-head h2{margin:4px 0 7px;color:#0f8f79;font-size:clamp(24px,4vw,34px);line-height:1.15;font-weight:950;overflow-wrap:anywhere}
.kvmt44-main-content{font-size:16px;color:#475569;overflow-wrap:anywhere}
.kvmt44-subarea,.kvmt44-active,.kvmt44-qbox{margin-top:13px;padding:12px;min-width:0;overflow:hidden}
.kvmt44-sub-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.kvmt44-sub-btn{border:1px solid #d6e2ea;background:#fff;border-radius:13px;padding:11px;text-align:left;cursor:pointer;min-width:0}
.kvmt44-sub-btn b{display:block;color:#0f172a;font-size:16px;overflow-wrap:anywhere}
.kvmt44-sub-btn small{color:#64748b}
.kvmt44-sub-btn.is-active{background:#e8fff8;border-color:#20b394}
.kvmt44-sub-panel{display:none;min-width:0;overflow:hidden}
.kvmt44-sub-panel.is-active{display:block}
.kvmt44-active h3{margin:0 0 8px;color:#0f766e;font-size:22px;overflow-wrap:anywhere}
.kvmt44-subcontent{font-size:16px;line-height:1.45;color:#334155;overflow-wrap:anywhere;max-width:100%;overflow-x:auto}
.kvmt44-subcontent img{max-width:100%!important;height:auto!important;border-radius:10px}
.kvmt44-subcontent table,.kvmt-table{width:100%;max-width:100%;border-collapse:collapse;margin:10px 0;display:table}
.kvmt44-subcontent th,.kvmt44-subcontent td,.kvmt-table th,.kvmt-table td{border:1px solid #d6e2ea;padding:8px;text-align:left;word-break:break-word}
.kvmt44-number-title{font-size:18px;font-weight:950;color:#ef4444;margin:12px 0 8px}
.kvmt44-numbers{display:flex;gap:8px;flex-wrap:wrap;max-width:100%;overflow:hidden}
.kvmt44-num{width:42px;height:42px;border-radius:10px;border:1px solid #d6e2ea;background:#fff;color:#ef4444;font-size:18px;font-weight:950;cursor:pointer;flex:0 0 auto}
.kvmt44-num.is-active{background:#dff4ff;color:#0878bd;border-color:#b8e3fb}
.kvmt44-qbox{overflow:hidden;padding:0}
.kvmt44-topnav{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid #e6edf5}
.kvmt44-topnav button{border:1px solid #11a98f;background:#fff;color:#0f8f79;border-radius:10px;padding:7px 10px;font-weight:900;white-space:nowrap}
.kvmt44-topnav strong{text-align:center}
.kvmt44-result{padding:12px;min-width:0;overflow:hidden}
.kvmt44-question{min-width:0;overflow:hidden}
.kvmt44-question h3{margin:0 0 8px;color:#0f766e;font-size:24px;font-weight:950}
.kvmt44-question-text{font-size:19px;line-height:1.42;margin-bottom:11px;font-weight:850;overflow-wrap:anywhere;max-width:100%;overflow:hidden}
.kvmt44-question-text img{max-width:100%!important;height:auto!important;display:block;margin:8px auto}
.kvmt44-answer-list{display:grid;gap:9px;min-width:0}
.kvmt44-answer{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px;padding:10px 12px;border:2px solid #e5e7eb;border-radius:13px;background:#fff;font-size:16.5px;line-height:1.38;min-width:0;overflow:hidden}
.kvmt44-answer span{width:26px;height:26px;border-radius:999px;border:2px solid #64748b;display:grid;place-items:center;font-weight:950;color:#64748b;flex:0 0 auto}
.kvmt44-answer div{min-width:0;overflow-wrap:anywhere}
.kvmt44-answer img{max-width:100%!important;height:auto!important}
.kvmt44-answer.is-correct{background:#ecfdf5;border-color:#22c55e;color:#166534;font-weight:850}
.kvmt44-answer.is-correct span{background:#22c55e;border-color:#22c55e;color:#fff}
.kvmt44-note{margin-top:9px;color:#64748b;font-weight:800}
.kvmt44-actions{border-top:1px solid #e6edf5;display:flex;justify-content:center;padding:10px}
.kvmt44-actions button{border:0;background:#0f8f79;min-height:42px;font-weight:900;color:#fff;border-radius:12px;padding:8px 16px}
.kvmt44-loading,.kvmt44-error{padding:14px;border-radius:12px;background:#f8fafc;color:#64748b;text-align:center;font-weight:800}
.kvmt44-error{background:#fff7ed;color:#c2410c}
.kvmt44-tip-panel[data-color=blue] .kvmt44-head{border-color:#0ea5e9}
.kvmt44-tip-panel[data-color=blue] .kvmt44-head h2,.kvmt44-tip-panel[data-color=blue] .kvmt44-question h3,.kvmt44-tip-panel[data-color=blue] .kvmt44-active h3{color:#0878bd}
.kvmt44-tip-panel[data-color=blue] .kvmt44-icon{background:#e0f2fe;border-color:#0ea5e9}
.kvmt44-tip-panel[data-color=orange] .kvmt44-head{border-color:#f97316}
.kvmt44-tip-panel[data-color=orange] .kvmt44-head h2,.kvmt44-tip-panel[data-color=orange] .kvmt44-question h3,.kvmt44-tip-panel[data-color=orange] .kvmt44-active h3{color:#ea580c}
.kvmt44-tip-panel[data-color=orange] .kvmt44-icon{background:#fff7ed;border-color:#f97316}
.kvmt44-tip-panel[data-color=red] .kvmt44-head{border-color:#ef4444}
.kvmt44-tip-panel[data-color=red] .kvmt44-head h2,.kvmt44-tip-panel[data-color=red] .kvmt44-question h3,.kvmt44-tip-panel[data-color=red] .kvmt44-active h3{color:#dc2626}
.kvmt44-tip-panel[data-color=red] .kvmt44-icon{background:#fef2f2;border-color:#ef4444}
@media(max-width:780px){
  .kvmt44-app{margin:10px auto;padding:0 8px;max-width:100%;overflow:hidden}
  .kvmt44-shell{display:flex;flex-direction:column;gap:10px;max-width:100%;overflow:hidden}
  .kvmt44-sidebar{position:static;order:2;padding:10px;width:100%;max-width:100%;overflow:hidden}
  .kvmt44-side-title{display:block;text-align:left;margin-bottom:10px}
  .kvmt44-main-list{display:grid;grid-template-columns:1fr;gap:8px;overflow:visible;padding-bottom:0}
  .kvmt44-main-btn{min-width:0;width:100%;padding:10px 12px;border:1px solid #e6edf5}
  .kvmt44-stage{order:1;width:100%;max-width:100%;overflow:hidden}
  .kvmt44-tip-panel{padding:12px;border-radius:14px;width:100%;max-width:100%;overflow:hidden}
  .kvmt44-head{gap:9px;padding-bottom:10px;max-width:100%}
  .kvmt44-icon{width:40px;height:40px;border-width:5px;font-size:18px}
  .kvmt44-head h2{font-size:24px;margin:2px 0 5px}
  .kvmt44-main-content{font-size:15.5px}
  .kvmt44-sub-list{grid-template-columns:1fr}
  .kvmt44-subarea,.kvmt44-active{padding:10px;margin-top:10px}
  .kvmt44-sub-btn{width:100%}
  .kvmt44-numbers{flex-wrap:wrap;overflow:visible;padding-bottom:0}
  .kvmt44-num{width:42px;height:40px;flex:0 0 auto;font-size:17px}
  .kvmt44-topnav{padding:9px 10px;grid-template-columns:auto 1fr auto}
  .kvmt44-topnav button{font-size:13px;padding:7px 8px}
  .kvmt44-result{padding:10px}
  .kvmt44-question h3{font-size:22px}
  .kvmt44-question-text{font-size:17px;line-height:1.38}
  .kvmt44-answer{font-size:15.5px;grid-template-columns:28px minmax(0,1fr);padding:9px 10px;border-radius:12px}
  .kvmt44-answer span{width:24px;height:24px}
}
@media(max-width:430px){
  .kvmt44-head h2{font-size:22px}
  .kvmt44-subcontent{font-size:15px}
  .kvmt44-topnav button{max-width:94px;overflow:hidden;text-overflow:ellipsis}
}

/* V4.7 compact question numbers */
.kvmt44-numbers{
  gap:6px;
  align-items:center;
}
.kvmt44-num{
  width:auto;
  min-width:34px;
  height:34px;
  padding:0 8px;
  border-radius:9px;
  font-size:15px;
  line-height:1;
}
.kvmt44-number-title{
  font-size:16px;
  margin:10px 0 7px;
}
.kvmt44-active{
  padding:10px;
}
.kvmt44-active h3{
  font-size:20px;
}
.kvmt44-subcontent{
  font-size:15px;
}
.kvmt44-topnav{
  padding:8px 10px;
}
.kvmt44-topnav button{
  padding:6px 9px;
  font-size:13px;
}
.kvmt44-answer{
  padding:8px 10px;
  font-size:15.5px;
}
.kvmt44-question-text{
  font-size:17px;
}
@media(max-width:780px){
  .kvmt44-numbers{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(42px, 1fr));
    gap:7px;
  }
  .kvmt44-num{
    width:100%;
    min-width:0;
    height:36px;
    font-size:15px;
    padding:0 4px;
  }
  .kvmt44-number-title{
    font-size:16px;
  }
  .kvmt44-active h3{
    font-size:20px;
  }
  .kvmt44-subcontent{
    font-size:14.5px;
  }
  .kvmt44-question h3{
    font-size:20px;
  }
}
@media(max-width:430px){
  .kvmt44-numbers{
    grid-template-columns:repeat(5, 1fr);
  }
  .kvmt44-num{
    height:34px;
    font-size:14px;
  }
}


/* V4.11 clean learner view */
.kvmt44-subarea{display:none!important}
.kvmt44-number-title,.kvmt44-numbers{display:none!important}
.kvmt44-active{margin-top:13px}
.kvmt44-active h3{font-size:22px;margin-bottom:10px}
.kvmt-key-view{border-radius:12px;overflow:hidden;background:#fff}
.kvmt-key-view th{background:#f1f5f9;color:#334155;text-transform:uppercase;letter-spacing:.06em;font-weight:900}
.kvmt-key-view td{font-size:16px}
@media(max-width:780px){.kvmt44-active h3{font-size:20px}.kvmt-key-view th,.kvmt-key-view td{font-size:14.5px;padding:7px}.kvmt44-active{padding:10px}}


/* V4.12: hide subtip selector only, keep question number table */
.kvmt44-subarea{
  display:none !important;
}
.kvmt44-number-title,
.kvmt44-numbers{
  display:flex;
}
.kvmt44-number-title{
  display:block !important;
}
.kvmt44-numbers{
  display:grid !important;
  grid-template-columns:repeat(auto-fill,minmax(44px,1fr));
  gap:8px;
}
.kvmt44-num{
  width:100%;
  min-width:0;
  height:38px;
  font-size:15px;
  padding:0 4px;
}
.kvmt-key-view{
  border-radius:12px;
  overflow:hidden;
  background:#fff;
}
.kvmt-key-view th{
  background:#f1f5f9;
  color:#334155;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:900;
}
@media(max-width:480px){
  .kvmt44-numbers{
    grid-template-columns:repeat(5,1fr);
    gap:7px;
  }
  .kvmt44-num{
    height:36px;
    font-size:14px;
  }
}


/* V4.13: compact number list like reference image */
.kvmt44-active{
  padding:12px !important;
}
.kvmt44-number-title{
  display:inline !important;
  font-size:17px !important;
  font-weight:900 !important;
  color:#ef4444 !important;
  margin:8px 6px 8px 0 !important;
  line-height:2.2 !important;
}
.kvmt44-numbers{
  display:inline-flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:4px 8px !important;
  vertical-align:baseline !important;
}
.kvmt44-num{
  display:inline-flex !important;
  width:auto !important;
  min-width:0 !important;
  height:auto !important;
  padding:3px 5px !important;
  border:0 !important;
  border-radius:7px !important;
  background:transparent !important;
  color:#ef4444 !important;
  font-size:17px !important;
  line-height:1.35 !important;
  font-weight:900 !important;
  text-decoration:underline !important;
  box-shadow:none !important;
}
.kvmt44-num::after{
  content:",";
  color:#ef4444;
}
.kvmt44-num:last-child::after{
  content:"";
}
.kvmt44-num.is-active{
  background:#dff4ff !important;
  color:#0878bd !important;
  text-decoration:none !important;
}
.kvmt44-num.is-active::after{
  content:"";
}
.kvmt44-subcontent{
  margin-bottom:12px;
}
@media(max-width:480px){
  .kvmt44-active{
    padding:10px !important;
  }
  .kvmt44-number-title{
    font-size:16px !important;
    line-height:2 !important;
  }
  .kvmt44-num{
    font-size:16px !important;
    padding:3px 4px !important;
  }
}

/* V4.15: show all subtips directly on learner page */
.kvmt44-subarea{display:none!important}
.kvmt44-tip-panel.is-active .kvmt44-sub-panel{display:block!important;margin-top:14px}
.kvmt44-tip-panel.is-active .kvmt44-sub-panel + .kvmt44-sub-panel{border-top:2px dashed #d6e2ea;padding-top:16px}
.kvmt44-sub-panel .kvmt44-active{display:block!important}
.kvmt44-sub-panel .kvmt44-active h3{font-size:20px;margin:0 0 10px;color:#0f766e}
.kvmt44-subcontent strong{font-weight:900;color:inherit}
.kvmt44-subcontent span[style]{display:inline}
@media(max-width:480px){.kvmt44-tip-panel.is-active .kvmt44-sub-panel{margin-top:12px}.kvmt44-sub-panel .kvmt44-active h3{font-size:18px}}


/* V4.18: đồng bộ xuống dòng của nội dung mẹo con với trình soạn thảo */
.kvmt44-subcontent{white-space:normal!important;}
.kvmt44-subcontent p{display:block!important;margin:.35em 0 .55em!important;line-height:1.5!important;}
.kvmt44-subcontent br{display:block!important;content:""!important;margin-top:6px!important;}
.kvmt44-subcontent div{display:block!important;}


/* v4.20: Đưa danh sách mẹo lên đầu trang */
.kvmt44-shell{
    display:flex !important;
    flex-direction:column !important;
    gap:16px !important;
}
.kvmt44-sidebar{
    width:100% !important;
    max-width:none !important;
    position:relative !important;
    top:auto !important;
}
.kvmt44-side-title{
    margin-bottom:10px !important;
}
.kvmt44-main-list{
    display:flex !important;
    flex-direction:column !important;
    gap:10px !important;
}
.kvmt44-main-btn{
    width:100% !important;
    justify-content:flex-start !important;
}
.kvmt44-stage{
    width:100% !important;
}
@media (min-width: 768px){
    .kvmt44-main-list{
        display:grid !important;
        grid-template-columns:repeat(auto-fit,minmax(230px,1fr)) !important;
        gap:12px !important;
    }
}
@media (max-width: 767px){
    .kvmt44-sidebar{
        margin-bottom:4px !important;
    }
    .kvmt44-main-list{
        display:flex !important;
        flex-direction:column !important;
    }
}


/* v4.21: Sửa triệt để danh sách mẹo lên đầu trang.
   Các bản cũ trong file có order:2 cho sidebar ở mobile, nên cần override order bằng !important. */
.kvmt44-shell{
    display:flex !important;
    flex-direction:column !important;
}
.kvmt44-sidebar{
    order:-10 !important;
    width:100% !important;
    max-width:none !important;
    position:relative !important;
    top:auto !important;
    margin:0 0 14px 0 !important;
}
.kvmt44-stage{
    order:10 !important;
    width:100% !important;
}
.kvmt44-main-list{
    display:flex !important;
    flex-direction:column !important;
    gap:10px !important;
}
.kvmt44-main-btn{
    width:100% !important;
}
@media (min-width: 768px){
    .kvmt44-main-list{
        display:grid !important;
        grid-template-columns:repeat(auto-fit,minmax(230px,1fr)) !important;
        gap:12px !important;
    }
}
@media (max-width: 780px){
    .kvmt44-sidebar{
        order:-10 !important;
        position:relative !important;
        width:100% !important;
        max-width:100% !important;
    }
    .kvmt44-stage{
        order:10 !important;
        width:100% !important;
        max-width:100% !important;
    }
}
