.hg1862-card{border-top:3px solid #e4b84b}
.hg1862-card .pageHeading{align-items:flex-start;gap:16px}
.hg1862-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.hg1862-file-label{cursor:pointer;display:inline-flex;align-items:center}
.hg1862-file-label input{display:none}
.hg1862-message{min-height:22px;margin:8px 0;color:#f0e2c3;font-size:14px}
.hg1862-message.ok{color:#a9f0ba}
.hg1862-message.error{color:#ffb5b5}
.hg1862-summary-note{margin:8px 0;color:#e7d8b6;font-size:13px;line-height:1.45}
.hg1862-filter-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.hg1862-filter-head .small,#hg1862ResultsCount{color:#e7d8b6;font-size:13px;line-height:1.45}
.hg1862-filters{margin-top:8px;grid-template-columns:minmax(120px,.9fr) minmax(140px,1.1fr) minmax(108px,.8fr) minmax(210px,1.55fr) max-content;gap:8px}
.hg1862-filters>div{min-width:0}
.hg1862-filters .hg1862-checkbox{min-width:0;white-space:nowrap}
.hg1862-filters select{box-sizing:border-box;max-width:100%;min-width:0}
.hg1862-filters label{color:#f2e2bf;font-size:13px}
.hg1862-filters select{font-size:14px}
.hg1862-checkbox{align-self:end;padding-bottom:8px}
.hg1862-status{display:inline-block;border:1px solid transparent;border-radius:999px;padding:4px 8px;font-size:13px;font-weight:600;white-space:nowrap}
.hg1862-status.good{background:#EAF7EE;border-color:#B7E4C2;color:#166534}
.hg1862-status.warn{background:#FFF7ED;border-color:#FED7AA;color:#9A3412}
.hg1862-status.bad,.hg1862-status.info{background:#FEF2F2;border-color:#FECACA;color:#991B1B}
.hg1862-identity-status,.hg1862-enrollment-status{display:block;width:max-content;max-width:100%;border:1px solid transparent;border-radius:999px;padding:4px 7px;font-size:12px;font-weight:600;line-height:1.3;white-space:normal}
.hg1862-identity-status.good,.hg1862-enrollment-status.good{background:#EAF7EE;border-color:#B7E4C2;color:#166534}
.hg1862-identity-status.warn,.hg1862-enrollment-status.warn{background:#FFF7ED;border-color:#FED7AA;color:#9A3412}
.hg1862-identity-status.bad,.hg1862-identity-status.info,.hg1862-enrollment-status.bad,.hg1862-enrollment-status.info{background:#FEF2F2;border-color:#FECACA;color:#991B1B}
.hg1862-result-row [data-label="Kết quả"] .hg1862-status,.hg1862-result-row [data-label="Kết quả"] .hg1862-enrollment-status{display:block;width:max-content;max-width:100%;margin-top:5px;white-space:normal}
.hg1862-summary-list,.hg1862-result-list{width:100%}
.hg1862-summary-head,.hg1862-summary-row{display:grid;grid-template-columns:minmax(190px,1.6fr) repeat(5,minmax(46px,.43fr)) minmax(78px,.62fr) minmax(78px,.62fr);gap:8px;align-items:center}
.hg1862-summary-head{padding:0 10px 7px;color:#f2cb78;font-size:13px;font-weight:700;line-height:1.3}
.hg1862-summary-row{padding:10px;border-top:1px solid rgba(226,190,119,.28);color:#f4ebdd;font-size:15px;line-height:1.4}
.hg1862-summary-row>div:not(.hg1862-summary-class){text-align:center;font-variant-numeric:tabular-nums}
.hg1862-summary-class b,.hg1862-result-row b{display:block;color:#fff8e8}
.hg1862-summary-class small,.hg1862-result-row small{display:block;margin-top:4px;color:#e4d7ba;font-size:13px;line-height:1.4}
.hg1862-summary-total{border-top:2px solid rgba(226,190,119,.5);background:rgba(145,104,35,.18);font-weight:700}
.hg1862-result-head,.hg1862-result-row{display:grid;grid-template-columns:minmax(30px,.22fr) minmax(130px,1.05fr) minmax(125px,.95fr) minmax(120px,.82fr) minmax(108px,.72fr) minmax(100px,.76fr) minmax(150px,1.05fr);gap:10px;align-items:start}
.hg1862-result-head{padding:0 10px 7px;color:#f2cb78;font-size:13px;font-weight:700;line-height:1.3}
.hg1862-result-row{padding:11px 10px;border-top:1px solid rgba(226,190,119,.28);color:#f4ebdd;font-size:15px;line-height:1.4}
.hg1862-result-number{text-align:center;font-variant-numeric:tabular-nums;color:#f2cb78}
.hg1862-result-row [data-label="Excel / HG Edu"] span{display:block;line-height:1.45;font-variant-numeric:tabular-nums}
.hg1862-result-row [data-label="Ghi chú"] small+small{margin-top:5px}
.hg1862-manual-label{display:block;margin-top:7px;color:#e4d7ba;font-size:12px;line-height:1.35}
.hg1862-manual-decision{display:block;max-width:100%;margin-top:4px;padding:4px 6px;background:#2c2a26;border:1px solid #8a7146;border-radius:5px;color:#fff8e8;font-size:12px}
.hg1862-manual-decision:disabled{opacity:.72;cursor:wait}
.hg1862-save-state{display:block;margin-top:3px;color:#e4d7ba;font-size:11px}
.hg1862-save-state.saved{color:#86c99a}
.hg1862-save-state.error{color:#ffb5b5}
.hg1862-save-retry{margin-top:3px;padding:3px 6px;border:1px solid #b56a6a;border-radius:4px;background:transparent;color:#ffcdcd;font-size:11px;cursor:pointer}
.hg1862-empty{padding:18px;color:#e4d7ba;font-size:14px;text-align:center}
@media (max-width:900px){
  .hg1862-card .pageHeading,.hg1862-filter-head{display:block}
  .hg1862-actions{justify-content:flex-start;margin-top:12px}
  .hg1862-summary-head,.hg1862-result-head{display:none}
  .hg1862-summary-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 14px}
  .hg1862-summary-class{grid-column:1/-1}
  .hg1862-summary-row>div:not(.hg1862-summary-class){display:flex;justify-content:space-between;text-align:right}
  .hg1862-summary-row>div:not(.hg1862-summary-class)::before,.hg1862-result-row>div::before{content:attr(data-label);color:#f2cb78;font-size:13px;text-align:left}
  .hg1862-result-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px}
  .hg1862-result-row .hg1862-result-number{grid-column:1}
  .hg1862-result-row .hg1862-student{grid-column:2}
  .hg1862-result-row [data-label="Kết quả"],.hg1862-result-row [data-label="Ghi chú"]{grid-column:1/-1}
  .hg1862-result-row>div:not(.hg1862-student){display:flex;flex-direction:column}
}
