/* Student Profile payment presentation only. Shared Cashfree and admission styles remain in app-shell.css. */
.studentProfileYearBox{border:1px solid #ffc4df;border-radius:14px;background:#fff;padding:10px;box-shadow:0 8px 18px rgba(255,115,181,.08);overflow:hidden}
.studentProfilePaymentGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px;align-items:start}
.studentProfilePaymentCard{position:relative;overflow:hidden;min-height:96px;border:1.5px solid #c7ead2;border-radius:16px;background:#e8f7ee;color:#11613c;padding:8px 5px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-shadow:0 8px 18px rgba(17,97,60,.08)}
.studentProfilePaymentCard.receiptReady{cursor:pointer;outline:none}
.studentProfilePaymentCard.receiptReady:focus-visible{box-shadow:0 0 0 3px rgba(16,32,61,.16),0 8px 18px rgba(17,97,60,.08)}
.studentProfilePaymentCard.latestPaidShine{border-color:#c7ead2;background:linear-gradient(135deg,#e8f7ee 0%,#fff9e8 54%,#e8f7ee 100%);box-shadow:0 8px 18px rgba(17,97,60,.08)}
.studentProfilePaymentCard.latestPaidShine:after{content:"";position:absolute;inset:-28% -74%;background:linear-gradient(115deg,rgba(255,255,255,0) 35%,rgba(255,255,255,.86) 50%,rgba(255,255,255,0) 65%);transform:translateX(-58%);animation:studentLatestPaymentSweep 1.8s ease-in-out infinite;pointer-events:none}
@keyframes studentLatestPaymentSweep{0%{transform:translateX(-62%)}55%,100%{transform:translateX(62%)}}
.studentProfilePaymentCard.due{background:#fdecec;border-color:#f1d0d0;color:#931b1f}
.studentProfilePaymentCard.skipped{background:#eef1f5;border-color:#d1d5db;color:#4b5563;box-shadow:0 8px 18px rgba(75,85,99,.08)}
.studentProfilePaymentCard.pauseInfo{justify-content:center;align-items:stretch;text-align:left;min-height:96px;padding:8px 6px;background:#f4f6fa;border-color:#cbd5e1;color:#334155}
.studentProfilePaymentMonth{font-size:13px;font-weight:950;line-height:1.12}
.studentProfilePaymentDue{font-size:10px;font-weight:950;line-height:1.15;margin-top:4px;text-transform:none}
.studentProfilePaymentAmount{font-size:14px;font-weight:950;line-height:1.12;margin-top:5px}
.studentProfilePaymentStatus{font-size:10px;font-weight:950;line-height:1.15;margin-top:5px}
.studentProfilePaymentNote{font-size:8.5px;font-weight:900;line-height:1.2;margin-top:4px;opacity:.82}
.studentProfilePauseLabel{width:100%;margin-bottom:2px;color:#64748b;font-size:7px;font-weight:900;line-height:1;text-align:left}
.studentProfilePauseSummary{display:grid;gap:2px;width:100%;color:#475569;font-size:7px;font-weight:800;line-height:1.15}
.studentProfilePauseSummary div{min-width:0;overflow-wrap:anywhere}
.studentProfilePauseSummary b{color:#0f172a;font-weight:950}
.studentProfilePauseSavedAt{color:#64748b;font-size:8px}
.studentProfilePaymentCashfreeMeta{display:grid;gap:1px;margin-top:4px;font-size:8px;font-weight:900;line-height:1.12;opacity:.82;max-width:100%;min-width:0}
.studentProfilePaymentBreakdown{display:none;gap:2px;width:100%;max-width:128px;margin-top:6px;font-size:9.5px;font-weight:900;line-height:1.15;opacity:.9}
.studentProfilePaymentBreakdown div{display:flex;align-items:center;justify-content:space-between;gap:5px;min-width:0}
.studentProfilePaymentBreakdown span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.78}
.studentProfilePaymentBreakdown b{flex:0 0 auto;font-weight:950}
.studentProfilePaymentBreakdown .strong{border-top:1px solid rgba(17,97,60,.16);padding-top:2px;opacity:1}
.studentProfilePaymentMetaLine{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.studentProfilePaymentTxn{display:flex;align-items:center;justify-content:center;gap:2px;max-width:100%;min-width:0;white-space:nowrap;overflow:hidden}

.studentFeeReceiptOverlay{position:fixed;inset:0;z-index:10080;background:rgba(16,32,61,.58);display:flex;align-items:center;justify-content:center;padding:14px;overflow:auto}
.studentFeeReceiptShell{width:min(820px,100%);background:#f8fafc;border:1px solid rgba(16,32,61,.16);border-radius:18px;box-shadow:0 20px 50px rgba(16,32,61,.24);padding:10px}
.studentFeeReceiptActions{display:flex;justify-content:flex-end;gap:8px;margin-bottom:8px}
.studentFeeReceiptIconBtn{width:38px;height:38px;border-radius:999px;border:1px solid #cbd5e1;background:#fff;color:#10203d;font-size:18px;font-weight:950;display:grid;place-items:center;box-shadow:0 8px 18px rgba(16,32,61,.08)}
.studentFeeReceiptIconBtn.primary{background:#10203d;color:#fff;border-color:#10203d}
.studentFeeReceiptPaper{background:#fff;color:#111827;border:1px solid #2f3845;padding:18px;font-family:Arial,Helvetica,sans-serif;box-shadow:0 10px 28px rgba(16,32,61,.14);box-sizing:border-box;max-width:100%;overflow:hidden}
.studentFeeReceiptHead{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1.5px solid #111827;padding-bottom:9px}
.studentFeeReceiptBrand{display:flex;align-items:center;gap:9px;min-width:0}
.studentFeeReceiptBrand img{width:38px;height:38px;border:1px solid #d1d5db;border-radius:999px;object-fit:contain}
.studentFeeReceiptBrand strong{display:block;font-size:13px;letter-spacing:.02em;text-transform:uppercase;font-weight:800}
.studentFeeReceiptBrand span,.studentFeeReceiptContact{font-size:9px;color:#374151;line-height:1.35}
.studentFeeReceiptContact{text-align:right;white-space:normal}
.studentFeeReceiptTitle{display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #111827;border-radius:4px;margin:13px 0 12px;padding:8px 10px;text-transform:uppercase;font-size:18px;font-weight:800;letter-spacing:.035em}
.studentFeeReceiptPaid{margin-left:auto;background:#0f6b43;color:#fff;border-radius:5px;padding:5px 12px;font-size:12px;font-weight:800}
.studentFeeReceiptMetaGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #9ca3af;margin-bottom:11px;font-size:10px}
.studentFeeReceiptMetaGrid div{min-width:0;border-right:1px solid #9ca3af;padding:6px 8px}
.studentFeeReceiptMetaGrid div:last-child{border-right:0}
.studentFeeReceiptMetaGrid b{display:block;margin-bottom:4px;font-weight:800}
.studentFeeReceiptMetaGrid span{display:block;overflow-wrap:anywhere;line-height:1.25}
.studentFeeReceiptCompactGrid{display:grid;grid-template-columns:1fr 1.1fr;gap:11px}
.studentFeeReceiptPanel{border:1px solid #9ca3af;background:#fff}
.studentFeeReceiptPanelTitle{background:#f3f4f6;border-bottom:1px solid #9ca3af;padding:7px 9px;font-size:12px;font-weight:800;text-transform:uppercase}
.studentFeeReceiptLine{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1fr);gap:8px;border-bottom:1px solid #d1d5db;padding:6px 9px;font-size:11px;line-height:1.3}
.studentFeeReceiptLine:last-child{border-bottom:0}
.studentFeeReceiptLabel{font-weight:750;color:#111827}
.studentFeeReceiptValue{color:#1f2937;overflow-wrap:anywhere}
.studentFeeReceiptAmount{color:#075e3f;font-weight:800}
.studentFeeReceiptStatus{display:flex;justify-content:space-between;gap:10px;border:1px solid #0f6b43;background:#f8fffb;border-radius:4px;padding:8px 10px;margin:12px 0 0;font-size:12px;font-weight:750;flex-wrap:wrap}
.studentFeeReceiptBottom{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin-top:12px}
.studentFeeReceiptNotes{font-size:9px;line-height:1.45;color:#374151}
.studentFeeReceiptSign{margin-top:9px;border-top:1.5px solid #111827;display:inline-block;min-width:150px;padding-top:4px;font-size:9px;color:#374151}
.studentFeeReceiptSign strong{display:block;color:#111827;font-size:13px;margin-bottom:1px;font-weight:800}
.studentFeeReceiptVerify{border-left:1px solid #9ca3af;padding-left:12px;display:flex;gap:10px;align-items:center;justify-content:center}
.studentFeeReceiptQr{width:86px;min-height:48px;border:1px solid #111827;background:#fff;display:flex;align-items:center;justify-content:center;text-align:center;padding:6px;font-size:8px;font-weight:800;color:#111827;word-break:break-word;line-height:1.2}
.studentFeeReceiptVerifyText{font-size:9px;line-height:1.35;color:#374151;max-width:150px}
.studentFeeReceiptVerifyText strong{display:block;color:#111827;margin-bottom:3px;font-weight:800}
.studentFeeReceiptFooter{border-top:1.5px solid #111827;margin-top:12px;padding-top:8px;text-align:center;font-size:9px;color:#374151}

.guardianFeeBox.studentProfilePaymentPayBox{border-top:0;border:1px solid rgba(255,196,223,.86);background:linear-gradient(135deg,#fff 0%,#fff8fb 46%,#f4fbff 100%);border-radius:20px;padding:14px;margin:0 0 12px;box-shadow:0 14px 30px rgba(157,20,87,.09),0 0 0 2px rgba(255,255,255,.76) inset}
.studentProfilePaymentPayBox .guardianFeeCheckBtn{flex:0 0 auto;border:1px solid rgba(157,20,87,.18);background:rgba(255,255,255,.9);color:#8a1952;padding:0;width:40px;height:40px;border-radius:999px;font-size:0;display:grid;place-items:center;box-shadow:0 8px 18px rgba(157,20,87,.08)}
.studentProfilePaymentPayBox .guardianFeeHeaderActions .guardianFeeDiscountWrap{width:auto;gap:2px;justify-items:center}
.studentProfilePaymentPayBox .guardianFeeHeaderActions .guardianFeeDiscountGift{min-width:42px;padding:0;gap:0}
.studentProfilePaymentPayBox .guardianFeeHeaderActions .guardianFeeDiscountGiftFrame{width:40px;height:36px;border-radius:14px;box-shadow:0 8px 16px rgba(219,39,119,.12),0 0 0 1px rgba(255,255,255,.75) inset;animation:none}
.studentProfilePaymentPayBox .guardianFeeHeaderActions .guardianFeeDiscountGiftImg{width:40px;height:40px}
.studentProfilePaymentPayBox .guardianFeeHeaderActions .guardianFeeDiscountLabel{font-size:8.5px;line-height:1}
.studentProfilePaymentPayBox .guardianFeeHeader{gap:8px}
.studentProfilePaymentPayBox .guardianFeeTitle{font-size:23px;line-height:1.04}
.studentProfilePaymentPayBox .guardianFeePolicyNote{font-size:10.4px;line-height:1.22;margin-top:4px;max-width:100%}
.studentProfilePaymentPayBox .guardianFeePolicyNote strong{font-weight:950;color:#10203d}
.studentProfilePaymentPayBox .guardianFeeHeaderActions{display:grid;grid-template-columns:1fr;align-items:start;justify-items:center;gap:5px;min-width:46px}
.studentProfilePaymentPayBox .guardianFeeToggle{display:none}
.studentProfilePaymentPayBox .guardianFeePanel{display:grid}
.studentFeeReminderChip{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin:10px 0;padding:12px 13px;border:1.5px solid #f2c86d;border-radius:18px;background:linear-gradient(135deg,#fffdf6 0%,#fff6df 56%,#fff0f7 100%);box-shadow:0 10px 22px rgba(138,75,0,.11)}
.studentFeeReminderChip strong{display:block;font-size:15px;font-weight:950;color:#8a1952;line-height:1.16}
.studentFeeReminderChip span{display:block;margin-top:4px;font-size:12px;font-weight:850;color:#6b4b12;line-height:1.35}
.studentFeeReminderChip button{border:none;border-radius:999px;background:linear-gradient(135deg,#0aa889,#087a72);color:#fff;padding:11px 15px;font-size:13px;font-weight:950;box-shadow:0 8px 16px rgba(8,122,114,.18);white-space:nowrap}
.studentProfileResumeNoticeCard .guardianFeeBox.studentProfilePaymentPayBox.guardianFeeSplitPauseLayout{border:0;background:transparent;box-shadow:none;padding:0;margin:0}
.studentProfileFreezeNoticeCard .studentProfilePaymentPayBox{width:100%;box-sizing:border-box;margin:2px 0 12px;border-color:#ead9b0;background:linear-gradient(135deg,#fffaf1 0%,#fff 62%,#f8fbff 100%)}

@media(max-width:640px){
  .studentFeeReceiptOverlay{padding:8px}
  .studentFeeReceiptShell{border-radius:14px;padding:8px}
  .studentFeeReceiptPaper{padding:12px}
  .studentFeeReceiptHead{gap:8px}
  .studentFeeReceiptBrand img{width:32px;height:32px}
  .studentFeeReceiptBrand strong{font-size:11px}
  .studentFeeReceiptContact{font-size:7.5px;max-width:118px}
  .studentFeeReceiptTitle{font-size:13px;padding:7px 8px;gap:6px;margin:10px 0}
  .studentFeeReceiptPaid{font-size:10px;padding:4px 7px}
  .studentFeeReceiptMetaGrid{grid-template-columns:repeat(4,minmax(0,1fr));font-size:7.5px;margin-bottom:8px}
  .studentFeeReceiptMetaGrid div{padding:5px 4px}
  .studentFeeReceiptCompactGrid{grid-template-columns:1fr 1.05fr;gap:7px}
  .studentFeeReceiptPanelTitle{font-size:9px;padding:5px 6px}
  .studentFeeReceiptLine{grid-template-columns:1fr;padding:4px 6px;gap:2px;font-size:8.5px}
  .studentFeeReceiptStatus{font-size:9px;padding:6px 7px;margin-top:8px}
  .studentFeeReceiptBottom{grid-template-columns:1fr auto;gap:8px;margin-top:8px}
  .studentFeeReceiptNotes{font-size:7.5px}
  .studentFeeReceiptSign{min-width:98px;margin-top:6px;font-size:7.5px}
  .studentFeeReceiptSign strong{font-size:10px}
  .studentFeeReceiptVerify{padding-left:8px;gap:6px}
  .studentFeeReceiptQr{width:62px;min-height:38px;font-size:6.5px;padding:4px}
  .studentFeeReceiptVerifyText{display:none}
  .studentFeeReceiptFooter{font-size:7.5px;margin-top:8px;padding-top:6px}
}

@media(max-width:720px){
  .studentProfileYearBox{padding:8px;border-radius:12px}
  .studentProfilePaymentGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .studentProfilePaymentCard{min-height:94px;border-radius:13px;padding:7px 4px}
  .studentProfilePaymentCard.pauseInfo{min-height:94px;padding:7px 5px}
  .studentProfilePaymentMonth{font-size:12px}
  .studentProfilePaymentDue{font-size:10px;margin-top:4px}
  .studentProfilePaymentAmount{font-size:13px;margin-top:5px}
  .studentProfilePaymentStatus{font-size:10px;margin-top:5px}
  .studentProfilePaymentNote{font-size:9px}
  .studentProfilePaymentCashfreeMeta{font-size:7.5px;line-height:1.12;margin-top:4px}
}

@media(max-width:620px){
  .studentFeeReminderChip{grid-template-columns:1fr}
  .studentFeeReminderChip button{width:100%}
}

.studentProfilePaymentHistoryHead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.studentProfilePaymentHistoryHead .homeworkCardTitle{margin:0}
.studentProfileReceiptBtn{border:1px solid rgba(16,32,61,.16);border-radius:999px;background:linear-gradient(135deg,#10203d 0%,#164e63 100%);color:#fff;padding:9px 13px;font-size:12px;font-weight:950;line-height:1;white-space:nowrap;box-shadow:0 10px 22px rgba(16,32,61,.14)}
.studentProfileReceiptBtn:active{transform:translateY(1px)}

.studentFeeReceiptOverlay{position:fixed;inset:0;z-index:10080;background:rgba(15,23,42,.62);display:flex;align-items:flex-start;justify-content:center;padding:16px;overflow:auto}
.studentFeeReceiptShell{width:min(980px,100%);background:#f8fafc;border:1px solid rgba(148,163,184,.5);border-radius:18px;box-shadow:0 24px 60px rgba(15,23,42,.28);padding:12px;box-sizing:border-box}
.studentFeeReceiptActions{display:flex;justify-content:flex-end;gap:8px;margin-bottom:8px}
.studentFeeReceiptIconBtn{height:38px;min-width:38px;border-radius:999px;border:1px solid #cbd5e1;background:#fff;color:#10203d;font-size:17px;font-weight:950;display:inline-grid;place-items:center;padding:0 12px;box-shadow:0 8px 18px rgba(15,23,42,.08)}
.studentFeeReceiptIconBtn.primary{background:#10203d;color:#fff;border-color:#10203d}
.studentFeeReceiptIconBtn.wide{width:auto;min-width:142px}
.studentFeeReceiptIconBtn:disabled{opacity:.62;cursor:wait;transform:none}
.studentFeeReceiptRangeControls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:10px;align-items:end;margin:0 0 12px;padding:10px;border:1px solid rgba(203,213,225,.9);border-radius:14px;background:#fff}
.studentFeeReceiptRangeControls label{display:grid;gap:5px;font-size:11px;font-weight:900;color:#475569}
.studentFeeReceiptRangeControls input{height:38px;border:1px solid #cbd5e1;border-radius:10px;padding:0 10px;font:800 13px/1 Arial,Helvetica,sans-serif;color:#10203d;background:#fff}

.studentFeeReceiptPrintBody{background:#fff}
.studentFeeReceiptPrintToolbar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:center;gap:12px;padding:10px 12px;background:#f8fafc;border-bottom:1px solid #dbeafe;font-family:Arial,Helvetica,sans-serif;color:#243b63}
.studentFeeReceiptPrintToolbar button{border:0;border-radius:999px;background:#10203d;color:#fff;padding:10px 18px;font-size:13px;font-weight:800;box-shadow:0 8px 18px rgba(15,23,42,.12)}
.studentFeeReceiptPrintToolbar span{font-size:12px;font-weight:600;line-height:1.35}
.studentFeeReceiptPreviewFrame{overflow:hidden;background:#eaf1f8;border:1px solid #dbeafe;border-radius:14px;padding:18px;max-width:100%;box-sizing:border-box;-webkit-overflow-scrolling:touch}
.studentFeeReceiptPreviewScale{width:900px;max-width:none;margin:0 auto;transform-origin:top left}
.studentFeeReceiptPaper{position:relative;box-sizing:border-box;width:min(900px,100%);margin:0 auto;background:#fff;color:#0b1c3f;border:0;padding:32px 36px 28px;font-family:Arial,Helvetica,sans-serif;box-shadow:0 18px 55px rgba(15,23,42,.16);overflow:hidden}
.studentFeeReceiptPreviewFrame .studentFeeReceiptPaper{width:900px;max-width:none}
.studentFeeReceiptHeader{display:grid;grid-template-columns:123px minmax(0,1fr);gap:18px;align-items:center;border-bottom:1.5px solid #315b9b;padding-bottom:18px}
.studentFeeReceiptLogo{width:87px;height:87px;object-fit:contain;justify-self:center}
.studentFeeReceiptHeaderText{text-align:center;min-width:0}
.studentFeeReceiptBrandName{font-size:31px;line-height:1.08;font-weight:800;letter-spacing:0;color:#071942}
.studentFeeReceiptSlogan{display:flex;align-items:center;justify-content:center;gap:12px;margin:8px 0 7px;color:#8a1032;font:700 15px/1.2 Arial,Helvetica,sans-serif;letter-spacing:0}
.studentFeeReceiptSlogan:before,.studentFeeReceiptSlogan:after{content:"";height:1px;width:82px;background:#315b9b}
.studentFeeReceiptLegal{font:600 11px/1.35 Arial,Helvetica,sans-serif;color:#17335d}
.studentFeeReceiptContactLine{display:flex;justify-content:center;gap:32px;flex-wrap:wrap;margin-top:12px;font:600 13px/1.35 Arial,Helvetica,sans-serif;color:#071942}
.studentFeeReceiptTitleText{position:relative;margin:28px 0 22px;text-align:center;color:#071942;font-size:28px;line-height:1.12;font-weight:800;letter-spacing:0}
.studentFeeReceiptSection{border:1px solid #c9def2;border-radius:12px;margin:0 0 18px;overflow:hidden;background:linear-gradient(135deg,#fff 0%,#fbfdff 100%)}
.studentFeeReceiptSectionTitle{padding:13px 20px;background:linear-gradient(135deg,#edf7ff 0%,#fff 100%);border-bottom:1px solid #dbeafe;color:#071942;font-size:20px;font-weight:800;line-height:1.15}
.studentFeeReceiptDetailsGrid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:26px;padding:22px 24px}
.studentFeeReceiptDetailsGrid>div:first-child{border-right:1px solid #bcd1ea}
.studentFeeReceiptDetailsGrid div div{display:grid;grid-template-columns:142px minmax(0,1fr);gap:10px;align-items:baseline;margin:0 0 10px;color:#071942;font-size:16px;line-height:1.28}
.studentFeeReceiptDetailsGrid span{font-family:Arial,Helvetica,sans-serif;color:#243b63;font-size:14px}
.studentFeeReceiptDetailsGrid b{font-size:16px;font-weight:800;overflow-wrap:anywhere;word-break:normal}
.studentFeeReceiptDetailsGrid b:nth-child(2){max-width:100%}
.studentFeeReceiptDetailsGrid>div:last-child b{font-size:15px;overflow-wrap:normal;word-break:keep-all}
.studentFeeReceiptBreakup{width:100%;border-collapse:collapse;font-family:Arial,Helvetica,sans-serif;font-size:15px;color:#071942}
.studentFeeReceiptBreakup th,.studentFeeReceiptBreakup td{border:1px solid #d7e4f3;padding:12px 14px;text-align:center}
.studentFeeReceiptBreakup th{background:linear-gradient(135deg,#e9f4ff 0%,#f8fbff 100%);font-weight:800;color:#0b315d}
.studentFeeReceiptBreakup th:first-child,.studentFeeReceiptBreakup td:first-child{text-align:left}
.studentFeeReceiptStatusPill{display:inline-flex;align-items:center;justify-content:center;min-width:70px;border-radius:999px;padding:7px 13px;font-weight:950;font-size:13px}
.studentFeeReceiptStatusPill.paid{background:#d8f4dc;color:#14532d}
.studentFeeReceiptStatusPill.due{background:#fce1e6;color:#9f1239}
.studentFeeReceiptEmpty{text-align:center!important;color:#64748b;font-weight:800}
.studentFeeReceiptSummaryGrid{position:relative;display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:14px;padding:14px}
.studentFeeReceiptSummaryGrid.noDue{grid-template-columns:1fr 1.15fr}
.studentFeeReceiptSummaryCard{position:relative;min-height:94px;border-radius:10px;padding:20px 24px;box-sizing:border-box;display:grid;align-content:center;gap:8px;overflow:visible}
.studentFeeReceiptSummaryCard span{font-size:15px;font-weight:800;color:#071942}
.studentFeeReceiptSummaryCard strong{font-size:23px;font-weight:800;line-height:1.15;color:#071942}
.studentFeeReceiptSummaryCard.paid{background:linear-gradient(135deg,#e9fbef 0%,#f5fff8 100%)}
.studentFeeReceiptSummaryCard.due{background:linear-gradient(135deg,#ffe7ea 0%,#fff3f5 100%)}
.studentFeeReceiptSummaryCard.due strong{color:#9f1239}
.studentFeeReceiptSummaryCard.words{background:linear-gradient(135deg,#eaf5ff 0%,#f8fcff 100%)}
.studentFeeReceiptSummaryCard.words strong{font-size:16px;line-height:1.35;overflow-wrap:anywhere}
.studentFeeReceiptPaidStamp{position:absolute;width:130px;height:130px;object-fit:contain;left:118px;top:-18px;transform:rotate(-17deg);opacity:.35;pointer-events:none;mix-blend-mode:multiply}
.studentFeeReceiptPlainNote{margin:28px 8px 32px;color:#071942;font:500 14px/1.45 Arial,Helvetica,sans-serif}
.studentFeeReceiptPlainNote b{font-weight:800}

@media(max-width:720px){
  .studentProfilePaymentHistoryHead{align-items:flex-start}
  .studentProfileReceiptBtn{padding:8px 10px;font-size:11px}
  .studentFeeReceiptOverlay{padding:8px}
  .studentFeeReceiptShell{border-radius:14px;padding:8px}
  .studentFeeReceiptPrintToolbar{display:grid;gap:7px;text-align:center;padding:10px}
  .studentFeeReceiptPrintToolbar button{width:100%;padding:11px 16px}
  .studentFeeReceiptPrintToolbar span{font-size:11px}
  .studentFeeReceiptRangeControls{grid-template-columns:1fr;gap:8px}
  .studentFeeReceiptIconBtn.wide{width:100%}
  .studentFeeReceiptPreviewFrame{padding:10px}
  .studentFeeReceiptPreviewScale{margin:0 auto}
  .studentFeeReceiptPaper{padding:18px 14px 18px;width:100%}
  .studentFeeReceiptHeader{grid-template-columns:1fr;gap:8px;padding-bottom:12px}
  .studentFeeReceiptLogo{width:72px;height:72px}
  .studentFeeReceiptBrandName{font-size:20px}
  .studentFeeReceiptSlogan{font-size:11px;letter-spacing:0;gap:8px}
  .studentFeeReceiptSlogan:before,.studentFeeReceiptSlogan:after{width:38px}
  .studentFeeReceiptLegal{font-size:8.5px}
  .studentFeeReceiptContactLine{gap:8px;font-size:10px;margin-top:8px}
  .studentFeeReceiptTitleText{font-size:20px;margin:20px 0 16px}
  .studentFeeReceiptSectionTitle{font-size:16px;padding:10px 12px}
  .studentFeeReceiptDetailsGrid{grid-template-columns:1fr;gap:4px;padding:14px 12px}
  .studentFeeReceiptDetailsGrid>div:first-child{border-right:0}
  .studentFeeReceiptDetailsGrid div div{grid-template-columns:102px minmax(0,1fr);font-size:13px;gap:6px;margin-bottom:8px}
  .studentFeeReceiptDetailsGrid span{font-size:11px}
  .studentFeeReceiptDetailsGrid b{font-size:13px}
  .studentFeeReceiptDetailsGrid>div:last-child b{font-size:12px;overflow-wrap:anywhere;word-break:normal}
  .studentFeeReceiptBreakup{font-size:10px}
  .studentFeeReceiptBreakup th,.studentFeeReceiptBreakup td{padding:7px 4px}
  .studentFeeReceiptStatusPill{min-width:46px;font-size:9px;padding:5px 7px}
  .studentFeeReceiptSummaryGrid{grid-template-columns:1fr;gap:10px}
  .studentFeeReceiptSummaryGrid.noDue{grid-template-columns:1fr}
  .studentFeeReceiptSummaryCard{min-height:78px;padding:16px 18px}
  .studentFeeReceiptSummaryCard span{font-size:13px}
  .studentFeeReceiptSummaryCard strong{font-size:20px}
  .studentFeeReceiptSummaryCard.words strong{font-size:14px}
  .studentFeeReceiptPaidStamp{width:112px;height:112px;left:104px;top:-18px}
  .studentFeeReceiptPlainNote{margin:20px 2px 26px;font-size:12px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptPaper{width:900px;max-width:none;padding:32px 36px 28px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptHeader{grid-template-columns:123px minmax(0,1fr);gap:18px;padding-bottom:18px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptLogo{width:87px;height:87px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptBrandName{font-size:31px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptSlogan{font-size:15px;gap:12px;margin:8px 0 7px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptSlogan:before,.studentFeeReceiptPreviewFrame .studentFeeReceiptSlogan:after{width:82px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptLegal{font-size:11px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptContactLine{gap:32px;font-size:13px;margin-top:12px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptTitleText{font-size:28px;margin:28px 0 22px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptSectionTitle{font-size:20px;padding:13px 20px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptDetailsGrid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:26px;padding:22px 24px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptDetailsGrid>div:first-child{border-right:1px solid #bcd1ea}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptDetailsGrid div div{grid-template-columns:142px minmax(0,1fr);font-size:16px;gap:10px;margin-bottom:10px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptDetailsGrid span{font-size:14px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptDetailsGrid b{font-size:16px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptDetailsGrid>div:last-child b{font-size:15px;overflow-wrap:normal;word-break:keep-all}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptBreakup{font-size:15px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptBreakup th,.studentFeeReceiptPreviewFrame .studentFeeReceiptBreakup td{padding:12px 14px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptStatusPill{min-width:70px;font-size:13px;padding:7px 13px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptSummaryGrid{grid-template-columns:1fr 1fr 1.15fr;gap:14px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptSummaryGrid.noDue{grid-template-columns:1fr 1.15fr}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptSummaryCard{min-height:94px;padding:20px 24px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptSummaryCard span{font-size:15px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptSummaryCard strong{font-size:23px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptSummaryCard.words strong{font-size:16px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptPaidStamp{width:130px;height:130px;left:118px;top:-18px}
  .studentFeeReceiptPreviewFrame .studentFeeReceiptPlainNote{margin:28px 8px 32px;font-size:14px}
}

@media print{
  body.studentFeeReceiptPrintBody{background:#fff!important}
  .studentFeeReceiptPaper{width:210mm;min-height:297mm;margin:0 auto!important;padding:18mm 17mm 15mm!important;box-shadow:none!important}
  .studentFeeReceiptRangeControls,.studentFeeReceiptActions,.studentFeeReceiptOverlay:before{display:none!important}
  .studentFeeReceiptTitleText{font-size:28px}
  .studentFeeReceiptBrandName{font-size:30px}
  .studentFeeReceiptBreakup th,.studentFeeReceiptBreakup td{padding:9px 11px}
}
