.nilm-results-wrap{
  background:#eef2f5;
  padding:40px 12px;
  font-family: Arial, Helvetica, sans-serif;
}
.nilm-results-card{
  max-width:420px;
  margin:0 auto;
  background:#fff;
  border:1px solid #d9e1e7;
  border-top:3px solid #2f76d2;
  border-radius:4px;
  box-shadow:0 1px 0 rgba(0,0,0,.03);
  padding:18px 18px 16px;
}
.nilm-results-logo{
  width:84px;
  height:auto;
}
.nilm-results-logo-placeholder{
  width:84px;
  height:84px;
  background:#f3f6f8;
  border:1px dashed #c9d5de;
}
.nilm-brand{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin-bottom:8px;
}
.nilm-wordmark{
  text-align:left;
}
.nilm-results-college-stack,
.nilm-wordmark{
  line-height:1;
}
.nilm-college-top{
  font-weight:800;
  font-size:34px;
  letter-spacing:1px;
  color:#2f6b1f; /* green like screenshot */
}
.nilm-college-bottom{
  margin-top:2px;
  font-weight:800;
  font-size:22px;
  letter-spacing:.6px;
  color:#b02b2b; /* red like screenshot */
}
.nilm-divider{
  height:1px;
  background:#e3e8ed;
  margin:8px 0 10px;
}
.nilm-results-title{
  text-align:center;
  margin-top:2px;
  font-size:13px;
  color:#2d3a43;
}
.nilm-results-form{
  margin-top:10px;
}
.nilm-field{
  margin:10px 0;
}
.nilm-field label{
  display:block;
  font-size:12px;
  color:#4b5a64;
  margin-bottom:4px;
}
.nilm-field input,
.nilm-field select{
  width:100%;
  height:36px;
  border:1px solid #cfd8df;
  border-radius:3px;
  padding:0 10px;
  font-size:14px;
  background:#fff;
}
.nilm-btn{
  display:inline-block;
  width:100%;
  height:36px;
  border-radius:3px;
  border:1px solid #2f76d2;
  background:#2f76d2 !important;
  color:#fff !important;
  font-weight:700;
  cursor:pointer;
}
.nilm-btn:hover{background:#2a69bb;border-color:#2a69bb}
.nilm-alert{
  margin:8px 0 10px;
  padding:8px 10px;
  border-radius:3px;
  font-size:13px;
}
.nilm-alert-error{
  background:#fff3f3;
  border:1px solid #ffd1d1;
  color:#7a1b1b;
}
.nilm-result-actions{
  max-width:980px;
  margin:18px auto 8px;
  display:flex;
  justify-content:flex-start;
}
.nilm-btn-secondary{
  width:auto;
  padding:0 14px;
  text-decoration:none;
  line-height:34px;
  background:#fff;
  color:#2f76d2;
}
.nilm-btn-secondary:hover{background:#f6f9ff}
.nilm-result-paper{
  max-width:980px;
  margin:0 auto;
}
.nilm-result-toolbar{
  display:flex;
  justify-content:flex-start;
  margin:10px 0 6px;
}
.nilm-print-btn{
  background:#2db44a;
  border:1px solid #269b3f;
  color:#fff;
  font-weight:700;
  border-radius:3px;
  padding:6px 10px;
  cursor:pointer;
}
.nilm-result-sheet{
  background:#fff;
  border:1px solid #e3e8ed;
  padding:22px;
}
.nilm-result-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:10px;
}
.nilm-result-brand{
  display:flex;
  align-items:center;
  gap:14px;
}
.nilm-result-college-logo{
  max-width:170px;
  height:auto;
  margin:0 auto 6px;
}
.nilm-result-college-name{
  display:none; /* replaced by stacked style below */
}
.nilm-result-college-stack{
  line-height:1;
}
.nilm-result-college-top{
  font-weight:800;
  font-size:34px;
  letter-spacing:1px;
  color:#2f6b1f;
}
.nilm-result-college-bottom{
  margin-top:2px;
  font-weight:800;
  font-size:22px;
  letter-spacing:.6px;
  color:#b02b2b;
}
.nilm-result-subtitle{
  font-size:13px;
  color:#4b5a64;
  margin-top:2px;
}
.nilm-result-city{
  font-size:12px;
  color:#6b7b86;
  margin-top:2px;
}
.nilm-result-student-photo{
  width:80px;
  height:92px;
  object-fit:cover;
  border:1px solid #d1dbe2;
}
.nilm-result-meta{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  font-size:13px;
  margin:10px 0 14px;
}
.nilm-meta-label{color:#2d3a43;font-weight:700}
.nilm-meta-val{color:#2d3a43}
.nilm-meta-col-right{justify-self:end;text-align:right}
.nilm-result-table{
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}
.nilm-result-table th,
.nilm-result-table td{
  border:1px solid #bfcbd4;
  padding:8px 8px;
}
.nilm-result-table thead th{
  background:#f5f7f9;
  font-weight:700;
  text-align:center;
}
.nilm-num{text-align:center}
.nilm-grand{
  background:#f5f7f9;
  font-weight:700;
}
.nilm-empty{text-align:center;color:#6b7b86}
@media print{
  /* keep colors in print (browser setting must allow backgrounds) */
  *{-webkit-print-color-adjust: exact !important; print-color-adjust: exact !important;}
  .nilm-results-card{display:none !important}
  /* keep PRINT button visible if you want; hide if not */
  /* .nilm-result-toolbar{display:none !important} */
  .nilm-results-wrap{background:#fff;padding:0}
  .nilm-result-sheet{border:none;padding:0}
}

