:root{--pn71-blue:#087bbd;--pn71-dark:#073e72;--pn71-red:#f01818;--pn71-pale:#fbfce8;--pn71-line:#333;--pn71-gray:#ececec}.pn71-wrap{overflow-x:auto;padding:.5rem;background:#f2f4f6;border-radius:.5rem}.pn71-sheet{width:1000px;min-width:1000px;min-height:1414px;margin:0 auto;background:#fff;color:#111;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:1.12;padding:34px 45px 22px;position:relative;border:1px solid #aaa}.pn71-sheet *{box-sizing:border-box}.pn71-input,.pn71-textarea,.pn71-bottom-textarea{width:100%;height:100%;border:0;background:transparent;padding:4px 6px;font:inherit;color:inherit;outline:0}.pn71-static{padding:4px 6px;height:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.pn71-multiline{white-space:pre-wrap;word-break:break-word}.pn71-pale,.pn71-white{border:1px solid var(--pn71-line);min-height:27px}.pn71-pale{background:var(--pn71-pale)}.pn71-white{background:#fff}.pn71-center{text-align:center}.pn71-money{text-align:right;padding-right:8px!important;font-variant-numeric:tabular-nums}.pn71-header{display:grid;grid-template-columns:150px 1fr 210px;gap:18px;align-items:start}.pn71-logo-step{height:95px;position:relative;border-bottom:4px solid var(--pn71-blue)}.pn71-logo-frame{position:absolute;left:18px;top:0;width:88px;height:88px;background:#fff;border-right:4px solid var(--pn71-blue);border-bottom:4px solid var(--pn71-blue);display:flex;align-items:center;justify-content:center}.pn71-logo-frame img{width:70px;height:70px;object-fit:contain}.pn71-title-block{border-top:4px solid var(--pn71-blue);padding:5px 0 0 12px}.pn71-title-block h1{font-size:29px;color:var(--pn71-dark);margin:0;font-weight:800;line-height:1}.pn71-title-block h2{font-size:17px;color:var(--pn71-red);margin:8px 0 0 42px}.pn71-header-meta{display:grid;grid-template-columns:75px 1fr;gap:6px 8px;margin-top:25px;align-items:center}.pn71-header-meta label{text-align:right;font-weight:700}.pn71-header-meta>div{height:28px;display:flex;align-items:center;justify-content:center}.pn71-requester-grid{display:grid;grid-template-columns:175px 290px 95px 270px;gap:8px 12px;align-items:center;margin:42px 65px 0}.pn71-requester-label{line-height:1.12}.pn71-id-label{text-align:right}.pn71-requester-grid>div:not(.pn71-requester-label){height:27px}.pn71-amount-row{display:grid;grid-template-columns:52px 330px;align-items:center;margin:20px 65px 0}.pn71-amount-row>em{text-align:right;padding-right:12px;font-weight:700}.pn71-amount-table{display:grid;grid-template-columns:58px 1fr}.pn71-currency-label{border:1px solid var(--pn71-line);background:#fff;font-weight:700;padding:3px 8px}.pn71-amount-table>div{height:25px}.pn71-due-row{display:grid;grid-template-columns:430px 270px;gap:25px;align-items:center;margin:22px 65px 0}.pn71-due-row>div{height:28px}.pn71-purpose-label{margin:22px 65px 4px}.pn71-purpose-box{height:235px;margin:0 65px}.pn71-textarea{resize:none;padding:8px}.pn71-charge-label{margin:12px 100px 4px}.pn71-charge-box{height:28px;width:540px;margin-left:100px}.pn71-transfer-block{margin:24px 65px 0}.pn71-transfer-heading{margin-bottom:2px}.pn71-transfer-grid{display:grid;grid-template-columns:330px 1fr;gap:0;align-items:center;margin-left:36px}.pn71-transfer-grid label{font-weight:700;padding:3px 0}.pn71-transfer-grid>div{height:25px}.pn71-authorization{margin:20px 65px 0;color:#001e8b;font-weight:700;line-height:1.22}.pn71-contact-row{display:grid;grid-template-columns:120px 45px 165px 50px 150px 42px 1fr;gap:6px;align-items:center;margin:22px 0 0;background:var(--pn71-pale);color:var(--pn71-red);font-weight:700}.pn71-contact-row>div{height:25px;color:#111}.pn71-approval-grid{display:grid;grid-template-columns:1.18fr 1fr;gap:48px;margin-top:14px}.pn71-signature-box{border:1px solid #222;min-height:280px;padding:10px 0 0}.pn71-sign-row{display:grid;grid-template-columns:150px 1fr;gap:12px;align-items:end;margin:10px 0 0;color:#001eff;font-style:italic;font-weight:700}.pn71-sign-line{border-bottom:1px solid var(--pn71-blue);min-height:25px;position:relative;color:#111;font-style:normal;text-align:center}.pn71-sign-line span{position:absolute;left:50%;bottom:0;transform:translateX(-50%);background:#fff;padding:0 5px;max-width:96%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pn71-school{font-size:11px;margin:2px 0 0 0}.pn71-director-row{margin-top:43px}.pn71-finance-box{padding:22px 0 0}.pn71-budget,.pn71-finance{font-style:italic;margin-bottom:22px}.pn71-budget-line{margin-top:8px;display:grid;grid-template-columns:minmax(150px,1fr) 14px auto 14px auto;align-items:center;gap:5px}.pn71-budget-line>span:first-child{border-bottom:1px solid #333;min-width:0;padding-bottom:2px}.pn71-date-line{text-align:right;margin-top:8px}.pn71-date-line b{display:inline-block;min-width:115px;border-bottom:1px solid #333;padding-bottom:2px}.pn71-check{display:inline-block;width:14px;height:14px;border:1px solid #777;position:relative}.pn71-check.checked:after{content:'✓';position:absolute;left:1px;top:-4px;font-size:16px;color:#00518a;font-weight:900}.pn71-bydate{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:8px}.pn71-bydate span{border-bottom:1px solid #333;padding-bottom:2px}.pn71-small-table{border:1px solid #222;margin:14px 40px 0;text-align:center}.pn71-small-table strong{display:block;background:var(--pn71-gray);padding:4px}.pn71-small-table>div{min-height:26px;border-top:1px solid #222;padding:4px}.pn71-small-table .pn71-input{padding:0 5px}.pn71-bottom-box{border:1px solid #222;min-height:58px;margin-top:24px;padding:5px}.pn71-bottom-textarea{height:38px;resize:none;padding:3px 0}.pn71-finance-comment{margin-top:14px}.pn71-version{position:absolute;right:45px;bottom:5px;color:#777;font-size:8px}.pn71-sheet.editable .pn71-pale:focus-within{box-shadow:inset 0 0 0 1px rgba(0,111,186,.35)}@page{size:A4 portrait;margin:0}@media print{html,body{margin:0!important;padding:0!important;background:#fff!important}.pn71-wrap{padding:0!important;background:#fff!important;overflow:visible!important}.pn71-sheet{border:0!important;margin:0!important;transform-origin:top left}}


/* V72 header: copied from PAYMENT REQUEST by Bank Accounts measurements. */
.pn72-bank-header{
  position:relative;
  width:210mm;
  height:27mm;
  margin:0 auto;
  background:#fff;
  overflow:visible;
}
.pn72-header-line-top{position:absolute;left:45mm;top:7.2mm;width:145mm;border-top:.65mm solid #0878bd}
.pn72-header-line-vertical{position:absolute;left:45mm;top:7.2mm;height:13.2mm;border-left:.65mm solid #0878bd}
.pn72-header-line-left{position:absolute;left:20mm;top:20.1mm;width:25mm;border-top:.65mm solid #0878bd}
.pn72-logo{position:absolute;left:21.7mm;top:6.4mm;width:18.2mm;height:18.2mm;object-fit:contain;background:#fff}
.pn72-title{position:absolute;left:52mm;top:7.5mm;color:#063c70;font-size:21.5pt;font-weight:800;letter-spacing:-.15mm;line-height:.92;white-space:nowrap}
.pn72-subtitle{position:absolute;left:61mm;top:16.2mm;color:#ed1c24;font-size:10.8pt;font-weight:800;white-space:nowrap}
.pn72-meta-number-label,.pn72-meta-date-label{position:absolute;left:145mm;width:22mm;font-weight:700;display:flex;align-items:center;height:4.4mm}
.pn72-meta-number-label{top:14.2mm}.pn72-meta-date-label{top:20mm}
.pn72-meta-number,.pn72-meta-date{position:absolute;left:169mm;width:21mm;height:4.5mm}
.pn72-meta-number{top:13.9mm}.pn72-meta-date{top:19.7mm}
.pn72-meta-box{background:#fbfce8;border:.22mm solid #7f7f7f;overflow:hidden}
.pn72-meta-number{background:#fff}
.pn72-meta-value{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:.35mm .8mm;font-weight:700;font-size:6.5pt;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Header now occupies the same measured space as Bank Accounts. */
.pn71-requester-grid{margin-top:12px}


/* V73: all Promissory Note content frames use one uniform thin border. */
.pn71-sheet .pn71-pale,
.pn71-sheet .pn71-white,
.pn71-sheet .pn71-currency-label,
.pn71-sheet .pn71-signature-box,
.pn71-sheet .pn71-small-table,
.pn71-sheet .pn71-bottom-box,
.pn71-sheet .pn71-check {
  border-width:1px;
}
.pn71-sheet .pn71-sign-line,
.pn71-sheet .pn71-budget-line>span:first-child,
.pn71-sheet .pn71-date-line b,
.pn71-sheet .pn71-bydate span,
.pn71-sheet .pn71-small-table>div {
  border-width:1px;
}

/* V74: align the Promissory Note content on one consistent page grid. */
.pn71-requester-grid{
  grid-template-columns:180px minmax(0,1fr) 88px minmax(0,1fr);
  column-gap:12px;
  row-gap:0;
  margin:20px 65px 0;
  align-items:center;
}
.pn71-requester-label{align-self:center}
.pn71-id-label{padding-right:2px;white-space:nowrap}
.pn71-requester-grid>div:not(.pn71-requester-label){height:28px}

.pn71-amount-row{
  display:grid;
  grid-template-columns:70px 420px;
  align-items:center;
  margin:16px 65px 0;
}
.pn71-amount-row>em{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  align-self:stretch;
  padding-right:12px;
  font-size:15px;
  line-height:1;
  font-weight:700;
}
.pn71-amount-table{
  width:420px;
  display:grid;
  grid-template-columns:70px 350px;
  grid-template-rows:28px 28px;
  border:1px solid var(--pn71-line);
  background:#fff;
}
.pn71-amount-table>div{
  height:28px;
  min-height:28px;
  border:0!important;
}
.pn71-amount-table>div:nth-child(1),
.pn71-amount-table>div:nth-child(3){
  border-right:1px solid var(--pn71-line)!important;
}
.pn71-amount-table>div:nth-child(3),
.pn71-amount-table>div:nth-child(4){
  border-top:1px solid var(--pn71-line)!important;
}
.pn71-amount-table>div:nth-child(2),
.pn71-amount-table>div:nth-child(4){
  border-right:1px solid var(--pn71-line)!important;
}
.pn71-currency-label{
  display:flex;
  align-items:center;
  padding:0 12px;
  font-size:14px;
  line-height:1;
}
.pn71-amount-table .pn71-input,
.pn71-amount-table .pn71-static{
  display:flex;
  align-items:center;
  padding:3px 8px;
}

.pn71-due-row{
  width:780px;
  grid-template-columns:minmax(0,1fr) 270px;
  gap:24px;
  margin:22px 65px 0;
  align-items:center;
}
.pn71-due-row>strong{line-height:1.2}
.pn71-due-row>div{height:28px}

.pn71-purpose-label{width:780px;margin:22px 65px 4px}
.pn71-purpose-box{width:780px;height:225px;margin:0 65px}
.pn71-charge-label{margin:12px 95px 4px}
.pn71-charge-box{width:540px;height:28px;margin-left:95px}

.pn71-transfer-block{width:780px;margin:24px 65px 0}
.pn71-transfer-heading{margin:0 0 4px}
.pn71-transfer-grid{
  grid-template-columns:240px minmax(0,1fr);
  margin-left:30px;
  row-gap:0;
}
.pn71-transfer-grid label{
  min-height:26px;
  display:flex;
  align-items:center;
  padding:0;
  line-height:1.12;
}
.pn71-transfer-grid>div{height:26px}

.pn71-authorization{width:780px;margin:20px 65px 0}
.pn71-contact-row{
  grid-template-columns:110px 38px 150px 42px 145px 38px minmax(0,1fr);
  gap:6px;
  min-height:28px;
  margin:22px 0 0;
  align-items:center;
}
.pn71-contact-row>strong,
.pn71-contact-row>span{white-space:nowrap}
.pn71-contact-row>div{height:28px}

.pn71-approval-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:42px;
  margin-top:14px;
  align-items:start;
}
.pn71-signature-box{min-height:280px;padding:12px 0 0}
.pn71-sign-row{grid-template-columns:150px minmax(0,1fr);gap:12px;margin-top:10px}
.pn71-finance-box{padding-top:20px}
.pn71-budget-line{grid-template-columns:minmax(145px,1fr) 14px auto 14px auto}
.pn71-small-table{margin-left:28px;margin-right:28px}
.pn71-bottom-box{margin-top:22px}

/* V75: ensure the USD/VND amount block has a visible right vertical rule. */
.pn71-amount-table .pn71-pale,
.pn71-amount-table .pn71-static,
.pn71-amount-table .pn71-input{
  box-sizing:border-box;
}

/* V76: Promissory currency conversion state. */
.pn71-amount-table .pn76-converted-amount{background:#ededed!important;color:#333;cursor:not-allowed}
.pn72-title{transform-origin:left top}

/* V77: enlarge the entire Promissory Note header group, not only its text. */
.pn72-bank-header{
  height:34mm;
}
.pn72-header-line-top{
  left:43mm;
  top:5.8mm;
  width:150mm;
  border-top-width:.72mm;
}
.pn72-header-line-vertical{
  left:43mm;
  top:5.8mm;
  height:18.2mm;
  border-left-width:.72mm;
}
.pn72-header-line-left{
  left:15mm;
  top:23.7mm;
  width:28mm;
  border-top-width:.72mm;
}
.pn72-logo{
  left:17.2mm;
  top:4.5mm;
  width:23.5mm;
  height:23.5mm;
}
.pn72-title{
  left:50mm;
  top:6.8mm;
  font-size:22pt;
  letter-spacing:-.18mm;
}
.pn72-subtitle{
  left:63mm;
  top:17.2mm;
  font-size:11.5pt;
}
.pn72-meta-number-label,.pn72-meta-date-label{
  left:145mm;
  width:23mm;
  height:5.4mm;
  font-size:8.5pt;
}
.pn72-meta-number-label{top:13mm}
.pn72-meta-date-label{top:20.3mm}
.pn72-meta-number,.pn72-meta-date{
  left:169mm;
  width:24mm;
  height:5.5mm;
}
.pn72-meta-number{top:12.8mm}
.pn72-meta-date{top:20.1mm}
.pn72-meta-value{
  font-size:7.6pt;
}
.pn71-requester-grid{
  margin-top:14px;
}


/* V81 requester-entered Received by. */
.pn81-received-row{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;align-items:end;margin:0 28px 16px;color:#001eff;font-style:italic;font-weight:700}.pn81-received-row .pn71-sign-line{min-height:25px}.pn71-sheet.editable .pn81-received-row .pn71-sign-line{background:var(--pn71-pale)}.pn81-received-row .pn71-input{padding:2px 6px;text-align:center;color:#111;font-style:normal}

/* V82: requester types directly on the signature line; no yellow input box. */
.pn71-sheet.editable .pn81-received-row .pn71-sign-line{background:transparent!important;box-shadow:none!important;display:flex;align-items:flex-end}
.pn81-received-row .pn71-input{height:24px;padding:0 4px 1px!important;background:transparent!important;border:0!important;box-shadow:none!important;text-align:center;color:#111;font-style:normal;line-height:1}

/* V100: full reference number and unclipped contact labels in print. */
.pn71-sheet{break-inside:avoid;page-break-inside:avoid}
.pn72-meta-number-label,.pn72-meta-date-label{left:128mm;width:21mm}
.pn72-meta-number,.pn72-meta-date{left:151mm;width:42mm}
.pn72-meta-value{display:block;padding:.7mm .35mm 0;font-size:5.5pt;line-height:1;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pn71-contact-row{grid-template-columns:110px 46px 145px 50px 138px 45px minmax(0,1fr)}

/* V104: stretch the complete header to the form grid while keeping its left group aligned. */
.pn72-bank-header{width:100%}
.pn72-header-line-top{left:58.5mm;right:0;width:auto}
.pn72-header-line-vertical{left:58.5mm}
.pn72-header-line-left{left:30.5mm}
.pn72-logo{left:32.7mm}
.pn72-title{left:65.5mm}
.pn72-subtitle{left:78.5mm}
.pn72-meta-number-label,.pn72-meta-date-label{left:auto;right:44mm}
.pn72-meta-number,.pn72-meta-date{left:auto;right:0}
.pn72-meta-date .pn72-meta-value{padding-top:.35mm;font-size:10pt;font-weight:800}

/* V108: keep the approved step geometry and move the AIT logo up by 2mm. */
.pn72-bank-header{width:100%;height:34mm}
.pn72-header-line-top{left:46mm;right:0;top:8mm;width:auto;border-top-width:.65mm;z-index:1}
.pn72-header-line-vertical{left:46mm;top:8mm;height:17.7mm;border-left-width:.65mm;z-index:1}
.pn72-header-line-left{left:14mm;top:25.7mm;width:32mm;border-top-width:.65mm;z-index:1}
.pn72-logo{left:18mm;top:4.8mm;width:23mm;height:23mm;object-fit:contain;background:#fff;z-index:2}
.pn72-title{left:52mm;top:8.8mm}
.pn72-subtitle{left:61mm;top:18.2mm}

/* V118: Number and Date share one centered, readable header-meta style. */
.pn72-meta-number-label,.pn72-meta-date-label{
  left:auto;
  right:62mm;
  width:23mm;
  height:5.5mm;
  display:flex;
  align-items:center;
  font-family:Arial,Helvetica,sans-serif;
  font-size:10pt;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
}
.pn72-meta-number-label{top:12.8mm}
.pn72-meta-date-label{top:20.1mm}
.pn72-meta-number,.pn72-meta-date{
  left:auto;
  right:0;
  width:60mm;
  height:5.5mm;
  border:.22mm solid #7f7f7f;
  box-sizing:border-box;
}
.pn72-meta-number{top:12.8mm}
.pn72-meta-date{top:20.1mm}
.pn72-meta-number .pn72-meta-value,.pn72-meta-date .pn72-meta-value{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 1mm!important;
  font-family:Arial,Helvetica,sans-serif;
  font-size:10pt!important;
  font-weight:700;
  line-height:1!important;
  text-align:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-variant-numeric:tabular-nums;
}
