/* [exam_result] — website result lookup. Self-contained so it reads well on any theme. */
.csh-pr{ --pr-ink:#14213d; --pr-text:#1f2937; --pr-muted:#6b7280; --pr-line:#e5e7eb; --pr-soft:#f8fafc; --pr-acc:#c9a227; --pr-acc-dark:#a8861a; --pr-bad:#dc2626;
  font-family:'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; color:var(--pr-text); max-width:880px; margin:0 auto; }
.csh-pr *{ box-sizing:border-box; font-family:inherit; }
.csh-pr-card{ background:#fff; border:1px solid var(--pr-line); border-radius:16px; box-shadow:0 10px 30px rgba(20,33,61,.08); padding:26px; }
.csh-pr-search{ max-width:520px; margin:0 auto; text-align:center; }
.csh-pr-brand{ display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:10px; }
.csh-pr-brand img{ height:48px; width:auto; }
.csh-pr-brand b{ font-size:15px; color:var(--pr-ink); letter-spacing:.02em; }
.csh-pr h2{ margin:6px 0 4px; font-size:24px; color:var(--pr-ink); font-weight:800; line-height:1.25; }
.csh-pr-sub{ margin:0 0 16px; color:var(--pr-muted); font-size:14px; }
.csh-pr-form{ display:flex; flex-direction:column; gap:12px; text-align:left; }
.csh-pr-form label span{ display:block; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--pr-muted); margin-bottom:6px; }
.csh-pr-form select{ width:100%; font-size:16px; padding:12px 13px; border:1.5px solid var(--pr-line); border-radius:10px; color:var(--pr-text); background:#fff; }
/* Many themes give selects and inputs a fixed height or a tall line-height, which cut the text in half. */
.csh-pr .csh-pr-form select, .csh-pr .csh-pr-form input{ height:auto !important; min-height:50px; line-height:1.35 !important; margin:0 !important; max-width:100%; box-sizing:border-box !important; }
.csh-pr .csh-pr-form select{ -webkit-appearance:menulist; appearance:auto; padding-top:11px !important; padding-bottom:11px !important; }
.csh-pr .csh-pr-form label{ display:block; margin:0; }
.csh-pr-newrow{ max-width:860px; margin:0 auto 8px; }
.csh-pr-form input{ width:100%; font-size:17px; padding:13px 14px; border:1.5px solid var(--pr-line); border-radius:10px; color:var(--pr-text); background:#fff; outline:none; }
.csh-pr-form input:focus{ border-color:var(--pr-acc); box-shadow:0 0 0 3px rgba(201,162,39,.18); }
.csh-pr-btn{ background:var(--pr-acc); color:#1b1400; border:none; border-radius:10px; padding:13px 18px; font-size:15px; font-weight:800; cursor:pointer; }
.csh-pr-btn:hover{ background:var(--pr-acc-dark); color:#fff; }
.csh-pr-btn:disabled{ opacity:.6; cursor:wait; }
.csh-pr-btn.sm{ padding:8px 14px; font-size:13px; }
.csh-pr-link{ background:none; border:none; color:var(--pr-ink); font-weight:700; cursor:pointer; font-size:13px; padding:8px 4px; }
.csh-pr-link:hover{ text-decoration:underline; }
.csh-pr-msg{ margin-top:14px; padding:11px 14px; border-radius:10px; background:var(--pr-soft); color:var(--pr-text); font-size:14px; text-align:left; }
.csh-pr-msg.err{ background:#fef2f2; color:#991b1b; border:1px solid #fecaca; }
.csh-pr-classes{ display:flex; flex-direction:column; gap:8px; margin:6px 0 12px; }
.csh-pr-classbtn{ border:1.5px solid var(--pr-line); background:#fff; border-radius:10px; padding:12px 14px; font-size:15px; font-weight:700; color:var(--pr-ink); cursor:pointer; text-align:left; }
.csh-pr-classbtn:hover{ border-color:var(--pr-acc); background:#fffbeb; }

/* result */
.csh-pr-top{ display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; }
.csh-pr-top .csh-pr-brand{ margin:0; justify-content:flex-start; }
.csh-pr-actions{ display:flex; gap:8px; align-items:center; }
.csh-pr-examline{ display:flex; justify-content:space-between; align-items:flex-end; gap:14px; flex-wrap:wrap; border-top:3px solid var(--pr-acc); margin-top:14px; padding-top:14px; }
.csh-pr-k{ font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--pr-acc-dark); }
.csh-pr-examline .csh-pr-sub{ margin:0; }
.csh-pr-exam span{ display:block; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--pr-muted); margin-bottom:4px; }
.csh-pr-exam select{ font-size:14px; padding:8px 10px; border:1.5px solid var(--pr-line); border-radius:9px; background:#fff; max-width:320px; }
.csh-pr-student{ display:flex; gap:16px; align-items:center; background:var(--pr-soft); border:1px solid var(--pr-line); border-radius:12px; padding:14px 16px; margin:16px 0; }
.csh-pr-student img, .csh-pr-student .ph{ width:74px; height:74px; border-radius:12px; object-fit:cover; flex:0 0 74px; }
.csh-pr-student .ph{ background:var(--pr-ink); color:#fff; display:flex; align-items:center; justify-content:center; font-size:30px; font-weight:800; }
.csh-pr-student .grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:10px 16px; flex:1; }
.csh-pr-student .grid span{ display:block; font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--pr-muted); font-weight:700; }
.csh-pr-student .grid b{ font-size:15px; color:var(--pr-ink); }
.csh-pr-summary{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:10px; margin-bottom:6px; }
.csh-pr-summary.one{ grid-template-columns:1fr; }
.csh-pr-summary > div{ background:var(--pr-ink); color:#fff; border-radius:12px; padding:14px; text-align:center; }
.csh-pr-summary .v{ display:block; font-size:26px; font-weight:800; color:#fde68a; }
.csh-pr-summary .v small{ font-size:15px; color:#cbd5e1; font-weight:700; }
.csh-pr-summary .l{ display:block; font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:#cbd5e1; margin-top:4px; font-weight:700; }
.csh-pr-remarks{ margin:10px 0 0; padding:10px 14px; background:#fffbeb; border:1px solid #fde68a; border-radius:10px; font-size:14px; color:#78350f; font-style:italic; }
.csh-pr-views{ display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); gap:8px; margin:18px 0 12px; }
.csh-pr-views button{ border:1.5px solid var(--pr-line); background:#fff; border-radius:10px; padding:10px; font-size:13px; font-weight:800; color:var(--pr-ink); cursor:pointer; }
.csh-pr-views button small{ display:block; font-size:12px; font-weight:600; color:var(--pr-muted); margin-top:2px; }
.csh-pr-views button.on{ border-color:var(--pr-acc); background:#fffbeb; }
.csh-pr-views button.on small{ color:var(--pr-acc-dark); }
.csh-pr-subj{ border:1px solid var(--pr-line); border-radius:12px; overflow:hidden; overflow-x:auto; margin-bottom:12px; }
.csh-pr-subjh{ display:flex; justify-content:space-between; background:var(--pr-soft); padding:10px 14px; font-weight:800; color:var(--pr-ink); font-size:14.5px; border-bottom:1px solid var(--pr-line); }
.csh-pr table{ width:100%; border-collapse:collapse; margin:0; }
.csh-pr th{ text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--pr-muted); padding:9px 14px; border-bottom:1px solid var(--pr-line); background:#fff; font-weight:700; }
.csh-pr td{ padding:10px 14px; border-bottom:1px solid var(--pr-line); font-size:14px; color:var(--pr-text); }
.csh-pr tbody tr:last-child td{ border-bottom:none; }
.csh-pr tfoot td{ font-weight:800; background:var(--pr-soft); color:var(--pr-ink); border-top:2px solid var(--pr-line); }
.csh-pr .n{ text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.csh-pr em.ab{ font-style:normal; font-weight:800; color:var(--pr-bad); }
.csh-pr-foot{ margin-top:14px; font-size:12px; color:var(--pr-muted); text-align:center; }
@media (max-width:640px){
  .csh-pr-card{ padding:18px; }
  .csh-pr-student{ flex-direction:column; align-items:flex-start; }
  .csh-pr-student .grid{ grid-template-columns:1fr 1fr; }
  .csh-pr-summary{ gap:6px; }
  .csh-pr-summary > div{ padding:10px 4px; }
  .csh-pr-summary .v{ font-size:17px; }
  .csh-pr-summary .v small{ font-size:12px; }
  .csh-pr-summary .l{ font-size:9.5px; letter-spacing:.04em; }
  .csh-pr td{ font-size:13px; }
  .csh-pr th{ font-size:10px; letter-spacing:.03em; }
  .csh-pr-views{ grid-template-columns:repeat(3, minmax(0,1fr)); gap:6px; }
  .csh-pr-views button{ padding:8px 4px; font-size:11.5px; }
  .csh-pr-views button small{ font-size:11px; }
  .csh-pr td, .csh-pr th{ padding:8px 7px; }
}
@media print{
  body.csh-pr-printing *{ visibility:hidden; }
  body.csh-pr-printing .csh-pr-printme, body.csh-pr-printing .csh-pr-printme *{ visibility:visible; }
  body.csh-pr-printing .csh-pr-printme{ position:absolute; left:0; top:0; width:100%; max-width:none; }
  .csh-pr-actions, .csh-pr-views, .csh-pr-exam{ display:none !important; }
  .csh-pr-card{ box-shadow:none; border:none; padding:0; }
  .csh-pr-summary > div{ -webkit-print-color-adjust:exact; print-color-adjust:exact; }
}
