:root{--rjh-navy:#1b233b;--rjh-navy2:#242d49;--rjh-gold:#d8ad43;--rjh-gold2:#ebc862;--rjh-ivory:#f7f5ef;--rjh-white:#fff;--rjh-text:#1d2330;--rjh-muted:#6c7380;--rjh-line:#e5e1d8}.rjh-app-shell,.rjh-status-widget{font-family:Arial,Helvetica,sans-serif;color:var(--rjh-text);line-height:1.6}.rjh-app-shell *,.rjh-status-widget *{box-sizing:border-box}.rjh-app-wrap{width:min(1180px,92%);margin:auto}.rjh-app-hero{background:linear-gradient(120deg,var(--rjh-navy),var(--rjh-navy2));color:#fff;padding:80px 0}.rjh-breadcrumb{display:flex;gap:9px;font-size:12px;color:#c9ced9;margin-bottom:18px}.rjh-breadcrumb a{color:var(--rjh-gold2);text-decoration:none}.rjh-kicker{display:inline-block;color:var(--rjh-gold2);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1.4px}.rjh-app-hero h1{font-size:48px;line-height:1.05;font-weight:500;margin:8px 0 10px}.rjh-app-hero p{margin:0;color:#d8dde6;font-size:15px}.rjh-app-area{background:var(--rjh-ivory);padding:58px 0 80px}.rjh-progress{display:grid;grid-template-columns:auto 1fr auto 1fr auto 1fr auto;align-items:center;margin:0 0 24px}.rjh-progress-line{height:1px;background:#d7d9df}.rjh-progress-step{display:flex;align-items:center;gap:8px;color:#8a909b}.rjh-progress-step span{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#eceef1;font-weight:700;font-size:12px}.rjh-progress-step b{font-size:11px}.rjh-progress-step.active{color:var(--rjh-navy)}.rjh-progress-step.active span{background:var(--rjh-gold);color:var(--rjh-navy)}.rjh-progress-step.done span{background:#49a84f;color:#fff}.rjh-form,.rjh-success-card{background:#fff;border-radius:8px;box-shadow:0 18px 50px rgba(27,35,59,.08);padding:30px}.rjh-step-panel{display:none}.rjh-step-panel.active{display:block}.rjh-step-title{display:flex;gap:14px;align-items:center;background:var(--rjh-navy);color:#fff;border-radius:5px;padding:17px 19px;margin-bottom:26px}.rjh-step-title>span{width:38px;height:38px;border-radius:50%;background:rgba(216,173,67,.15);color:var(--rjh-gold2);display:grid;place-items:center;font-size:12px;font-weight:700}.rjh-step-title b{display:block;color:var(--rjh-gold2);font-size:17px}.rjh-step-title small{display:block;color:#c7ccd6;font-size:11px}.rjh-grid{display:grid;gap:16px;margin-bottom:16px}.rjh-grid.two{grid-template-columns:1fr 1fr}.rjh-grid.one{grid-template-columns:1fr}.rjh-field label{display:block;margin-bottom:7px;font-size:12px;font-weight:700;color:var(--rjh-navy)}.rjh-field em{color:#c43a3a;font-style:normal}.rjh-field input,.rjh-field select,.rjh-field textarea{width:100%;border:1px solid #dfe1e5;border-radius:4px;background:#fff;color:#333;padding:12px 13px;font:inherit;font-size:13px;outline:none}.rjh-field input,.rjh-field select{min-height:47px}.rjh-field textarea{resize:vertical}.rjh-field input:focus,.rjh-field select:focus,.rjh-field textarea:focus{border-color:var(--rjh-gold);box-shadow:0 0 0 2px rgba(216,173,67,.1)}.rjh-actions{display:flex;justify-content:space-between;gap:12px;margin-top:22px}.rjh-actions.end{justify-content:flex-end}.rjh-btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:3px;padding:0 20px;font-size:12px;font-weight:700;text-decoration:none;cursor:pointer}.rjh-btn-gold{background:var(--rjh-gold);color:var(--rjh-navy)}.rjh-btn-navy{background:var(--rjh-navy);color:#fff}.rjh-btn-light{background:#fff;border:1px solid #cfd3d9;color:#56606d}.rjh-info-box{background:#eef8fb;border:1px solid #cce8f0;color:#2f5b67;padding:14px 16px;border-radius:4px;margin-bottom:20px;font-size:12px}.rjh-file-field>input{position:absolute;left:-9999px}.rjh-upload{min-height:185px;border:1px dashed #cbb46f!important;background:#fbfaf6;border-radius:6px;display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center;cursor:pointer;padding:22px!important}.rjh-upload-icon{width:42px;height:42px;border-radius:50%;background:var(--rjh-gold);color:var(--rjh-navy);display:grid;place-items:center;font-size:22px;margin-bottom:8px}.rjh-upload b{font-size:13px}.rjh-upload small{color:var(--rjh-muted);font-size:10px}.rjh-file-name{margin-top:8px;color:#8b6a19;font-size:11px}.rjh-check{display:flex;align-items:flex-start;gap:10px;margin:14px 0;font-size:12px;color:#4c5360}.rjh-check input{margin-top:3px}.rjh-review{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}.rjh-review-card{border:1px solid var(--rjh-line);background:#fbfaf7;padding:13px}.rjh-review-card span{display:block;color:#9a761d;font-size:9px;text-transform:uppercase;letter-spacing:.6px}.rjh-review-card strong{display:block;margin-top:3px;font-size:13px;color:var(--rjh-navy);word-break:break-word}.rjh-success-card{text-align:center;max-width:760px;margin:auto;padding:48px}.rjh-success-icon{width:68px;height:68px;border-radius:50%;background:#d9f0dd;color:#21672a;display:grid;place-items:center;margin:0 auto 18px;font-size:30px;font-weight:700}.rjh-success-card h2{font-size:30px;font-weight:500;margin:0 0 10px;color:var(--rjh-navy)}.rjh-success-card p{color:var(--rjh-muted);font-size:14px}.rjh-reference{max-width:430px;margin:22px auto;padding:18px;border:1px solid #ddc477;background:#fbf8ef}.rjh-reference span{display:block;font-size:11px;color:#6d7480}.rjh-reference strong{display:block;font-size:24px;color:#a87a12;letter-spacing:1px;margin-top:4px}.rjh-hp{position:absolute!important;left:-9999px!important}.rjh-status-widget{max-width:760px;margin:auto;background:#fff;padding:28px;border:1px solid var(--rjh-line);border-radius:6px}.rjh-status-widget label{display:block;font-size:12px;font-weight:700;color:var(--rjh-navy);margin-bottom:7px}.rjh-status-row{display:grid;grid-template-columns:1fr auto;gap:8px}.rjh-status-row input{min-height:46px;border:1px solid #dfe1e5;border-radius:3px;padding:0 13px}.rjh-status-result{margin-top:15px;padding:15px;border-radius:4px}.rjh-status-result.ok{background:#edf8ef;border:1px solid #cce6d0}.rjh-status-result.bad{background:#fff3f3;border:1px solid #f0d0d0}.rjh-status-result b,.rjh-status-result span,.rjh-status-result strong{display:block}.rjh-status-result span{font-size:12px;color:#6d7480}.rjh-status-result strong{margin-top:4px;color:var(--rjh-navy)}
@media(max-width:800px){.rjh-app-hero{padding:62px 0}.rjh-app-hero h1{font-size:39px}.rjh-grid.two,.rjh-review{grid-template-columns:1fr}.rjh-form{padding:22px}.rjh-progress-step b{display:none}.rjh-progress{grid-template-columns:auto 1fr auto 1fr auto 1fr auto}.rjh-step-title b{font-size:15px}.rjh-actions{flex-wrap:wrap}.rjh-actions .rjh-btn{flex:1}.rjh-success-card{padding:32px 22px}}
@media(max-width:520px){.rjh-app-hero{padding:48px 0}.rjh-app-hero h1{font-size:32px}.rjh-app-area{padding:34px 0 55px}.rjh-form{padding:16px}.rjh-step-title{padding:14px}.rjh-step-title small{display:none}.rjh-actions{flex-direction:column}.rjh-actions .rjh-btn{width:100%}.rjh-progress-step span{width:32px;height:32px}.rjh-status-row{grid-template-columns:1fr}.rjh-status-row .rjh-btn{width:100%}}

.rjh-whatsapp-help{max-width:520px;margin:0 auto 22px;padding:14px 16px;border:1px solid #cfe9d7;background:#f1faf4;border-radius:5px;display:grid;grid-template-columns:38px 1fr auto;gap:12px;align-items:center;text-align:left}.rjh-whatsapp-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#25d366;color:#fff;font-weight:700;font-size:18px}.rjh-whatsapp-help b{display:block;color:var(--rjh-navy);font-size:13px}.rjh-whatsapp-help small{display:block;color:var(--rjh-muted);font-size:11px}.rjh-whatsapp-link{color:#177d3d;font-weight:700;font-size:13px;text-decoration:none;white-space:nowrap}.rjh-whatsapp-link:hover{text-decoration:underline}@media(max-width:600px){.rjh-whatsapp-help{grid-template-columns:38px 1fr;text-align:left}.rjh-whatsapp-link{grid-column:1/-1;display:block;text-align:center;padding:9px 12px;background:#25d366;color:#fff;border-radius:3px}.rjh-whatsapp-link:hover{color:#fff;text-decoration:none}}

/* v1.3 Offer letter */
.rjh-offer-shell{margin-top:28px}.rjh-offer-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 20px;background:#e7f4eb;border:1px solid #b7ddc3;border-radius:6px}.rjh-offer-toolbar>div:first-child{display:flex;flex-direction:column;gap:2px}.rjh-offer-toolbar span{font-size:12px;color:#386146}.rjh-offer-toolbar strong{font-size:18px;color:#173a23}.rjh-offer-tools{display:flex;gap:10px;flex-wrap:wrap}.rjh-offer-letter{max-width:860px;margin:26px auto 0;background:#fff;border:1px solid #e4dfd4;box-shadow:0 18px 48px rgba(24,32,53,.10);padding:46px;color:#1b233b}.rjh-offer-head{display:flex;align-items:center;justify-content:space-between;gap:25px;padding-bottom:22px;border-bottom:2px solid #d8ad43}.rjh-offer-head>div{display:flex;flex-direction:column}.rjh-offer-brand{font-size:24px;font-weight:700;letter-spacing:.2px}.rjh-offer-head small{color:#a77a17;text-transform:uppercase;letter-spacing:1.5px;font-weight:700}.rjh-offer-head img{width:92px;height:112px;object-fit:cover;border:1px solid #ddd;padding:3px;background:#fff}.rjh-offer-ref{display:flex;justify-content:space-between;gap:20px;padding:16px 0;font-size:12px;color:#6e7480}.rjh-offer-letter h2{text-align:center;text-transform:uppercase;letter-spacing:2.2px;font-size:27px;margin:24px 0}.rjh-offer-letter>p{font-size:14px;line-height:1.8;color:#3e4655}.rjh-offer-table{margin:26px 0;border:1px solid #dedbd3}.rjh-offer-table>div{display:grid;grid-template-columns:190px 1fr;border-bottom:1px solid #e9e6df}.rjh-offer-table>div:last-child{border-bottom:0}.rjh-offer-table span,.rjh-offer-table b{padding:11px 13px;font-size:13px}.rjh-offer-table span{background:#f7f5ef;color:#555e6b;font-weight:700}.rjh-offer-terms,.rjh-offer-notes{margin-top:22px;padding:20px;background:#faf8f2;border:1px solid #e7e0cf}.rjh-offer-terms h3,.rjh-offer-notes h3{font-size:15px;margin:0 0 10px}.rjh-offer-terms ul{margin:0;padding-left:20px}.rjh-offer-terms li,.rjh-offer-notes p{font-size:13px;line-height:1.7;color:#48505d}.rjh-offer-sign{display:flex;justify-content:space-between;gap:30px;margin-top:34px;padding-top:24px;border-top:1px solid #dedbd3}.rjh-offer-sign>div{display:flex;flex-direction:column;gap:3px}.rjh-offer-sign span{font-size:11px;color:#777f8b;text-transform:uppercase;letter-spacing:.8px}.rjh-offer-sign strong{font-size:15px}.rjh-offer-sign small{font-size:11px;color:#777f8b}.rjh-status-result small{display:block;margin-top:7px;font-size:12px;color:#667085}
@media(max-width:700px){.rjh-offer-toolbar{align-items:flex-start;flex-direction:column}.rjh-offer-tools{width:100%}.rjh-offer-tools .rjh-btn{flex:1}.rjh-offer-letter{padding:24px 18px}.rjh-offer-head{align-items:flex-start}.rjh-offer-brand{font-size:19px}.rjh-offer-head img{width:72px;height:88px}.rjh-offer-ref{flex-direction:column;gap:4px}.rjh-offer-letter h2{font-size:21px}.rjh-offer-table>div{grid-template-columns:1fr}.rjh-offer-table span{padding-bottom:3px}.rjh-offer-table b{padding-top:3px}.rjh-offer-sign{flex-direction:column}.rjh-grid.two .rjh-file-field{grid-column:1/-1}}
@media print{body *{visibility:hidden!important}.rjh-offer-letter,.rjh-offer-letter *{visibility:visible!important}.rjh-offer-letter{position:absolute;left:0;top:0;width:100%;max-width:none;box-shadow:none;border:0;margin:0;padding:22mm 18mm}.rjh-offer-toolbar{display:none!important}}

/* =========================================================
   Optional Generic Payment Module (v1.4.0)
========================================================= */
.rjh-payment-shell{max-width:1180px;margin:0 auto;padding:24px 0;font-family:Arial,Helvetica,sans-serif;color:#1b233b}
.rjh-payment-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}
.rjh-payment-card,.rjh-payment-summary{background:#fff;border:1px solid #e5e1d8;border-radius:7px;padding:28px;box-shadow:0 12px 34px rgba(27,35,59,.07)}
.rjh-payment-card h2,.rjh-payment-card h3,.rjh-payment-summary h3{margin-top:0;color:#1b233b}
.rjh-payment-heading{display:flex;justify-content:space-between;gap:24px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #e9e6df}
.rjh-payment-heading>div{display:flex;flex-direction:column;gap:3px}
.rjh-payment-heading span,.rjh-payment-summary span{font-size:11px;text-transform:uppercase;letter-spacing:.7px;color:#7a808b}
.rjh-payment-heading strong{font-size:20px;color:#1b233b}
.rjh-payment-context{display:flex;flex-direction:column;gap:3px;margin-bottom:22px}.rjh-payment-context span{font-weight:700}.rjh-payment-context small{color:#727986}
.rjh-payment-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0 24px}
.rjh-payment-method{position:relative;display:block;cursor:pointer}.rjh-payment-method input{position:absolute;opacity:0;pointer-events:none}.rjh-payment-method>span{min-height:100px;display:flex;flex-direction:column;justify-content:center;padding:17px;border:1px solid #ded9cd;border-radius:5px;background:#fcfbf8;transition:.2s ease}.rjh-payment-method b{font-size:14px;color:#1b233b}.rjh-payment-method small{display:block;margin-top:7px;color:#69717e;font-size:12px;line-height:1.5;white-space:normal}.rjh-payment-method input:checked+span{border-color:#d8ad43;box-shadow:0 0 0 1px #d8ad43;background:#fffaf0}
.rjh-payment-summary>div{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #ece9e2}.rjh-payment-summary>div:last-child{border-bottom:0}.rjh-payment-summary b{text-align:right;color:#1b233b}
.rjh-payment-review{display:flex;gap:14px;align-items:flex-start;padding:18px 20px;margin-bottom:18px;border:1px solid #b7dfc6;border-radius:5px;background:#edf8f1;color:#175d32}.rjh-payment-review>span{width:30px;height:30px;flex:0 0 30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#caedd6;font-weight:800}.rjh-payment-review strong{display:block;font-size:15px}.rjh-payment-review small{display:block;margin-top:4px;color:#477257}
.rjh-payment-lookup{display:grid;grid-template-columns:1fr auto;gap:10px}.rjh-payment-lookup input{min-height:46px;border:1px solid #dfe1e5;border-radius:4px;padding:0 13px;font-size:14px}
.rjh-payment-submit{width:100%;margin-top:10px}
@media(max-width:800px){.rjh-payment-layout{grid-template-columns:1fr}.rjh-payment-summary{order:-1}.rjh-payment-methods{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.rjh-payment-shell{padding:14px 0}.rjh-payment-card,.rjh-payment-summary{padding:20px}.rjh-payment-heading{flex-direction:column;gap:10px}.rjh-payment-methods{grid-template-columns:1fr}.rjh-payment-lookup{grid-template-columns:1fr}.rjh-payment-lookup .rjh-btn{width:100%}}

/* Structured payment method details (v1.5.0) */
.rjh-payment-method>span{min-height:118px;justify-content:flex-start}
.rjh-payment-method b{font-size:15px}
.rjh-method-type{display:block;margin-top:5px;color:#9a741d;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.7px}
.rjh-method-details{display:none;margin-top:13px;padding-top:12px;border-top:1px solid #e8e3d8}
.rjh-payment-method input:checked+span .rjh-method-details{display:block}
.rjh-method-row{display:grid!important;grid-template-columns:105px minmax(0,1fr);gap:9px;padding:5px 0;align-items:start}
.rjh-method-row em{font-style:normal;color:#767d89;font-size:10px;text-transform:uppercase;letter-spacing:.45px}
.rjh-method-row strong{font-size:12px!important;color:#1b233b;overflow-wrap:anywhere}
.rjh-method-instructions{display:block!important;margin-top:9px;padding:10px 11px;border-radius:4px;background:#f5f2ea;color:#5f6672;font-size:12px;line-height:1.55}
@media(max-width:560px){.rjh-method-row{grid-template-columns:1fr;gap:2px}.rjh-payment-method>span{min-height:auto}}

/* =========================================================
   v1.6 PREMIUM OFFER LETTER ENGINE
   Automated, brandable, print-ready A4 documents
========================================================= */
.rjh-premium-status-page,.rjh-premium-offer-page{font-family:Arial,Helvetica,sans-serif;color:#1b233b;line-height:1.55}
.rjh-premium-status-page{max-width:1060px;margin:0 auto;padding:28px 0}
.rjh-status-lookup-card{display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:center;padding:28px 30px;margin-bottom:24px;background:linear-gradient(135deg,#fff,#fbfaf6);border:1px solid #e2ddd2;border-radius:10px;box-shadow:0 18px 42px rgba(27,35,59,.08)}
.rjh-status-lookup-copy>span{display:block;color:#a57c1b;font-size:10px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase}.rjh-status-lookup-copy h2{margin:6px 0 6px;font-size:26px;line-height:1.15;color:#1b233b}.rjh-status-lookup-copy p{margin:0;color:#707783;font-size:13px}
.rjh-status-lookup-form label{display:block;margin-bottom:7px;color:#303849;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.6px}.rjh-status-lookup-form>div{display:grid;grid-template-columns:1fr auto;gap:8px}.rjh-status-lookup-form input{min-width:0;min-height:48px;padding:0 13px;border:1px solid #d9dde4;border-radius:5px;font-size:14px;letter-spacing:.3px;outline:none}.rjh-status-lookup-form input:focus{border-color:#d8ad43;box-shadow:0 0 0 2px rgba(216,173,67,.12)}
.rjh-premium-pending,.rjh-premium-notfound{display:flex;gap:18px;align-items:flex-start;padding:24px 26px;border-radius:8px;background:#fff;border:1px solid #e2ddd2;box-shadow:0 12px 32px rgba(27,35,59,.06)}.rjh-premium-pending-icon{width:48px;height:48px;flex:0 0 48px;border-radius:50%;display:grid;place-items:center;background:#f5ead0;color:#8a6814;font-size:21px}.rjh-premium-pending span{color:#8b6a18;font-size:10px;text-transform:uppercase;letter-spacing:.8px;font-weight:800}.rjh-premium-pending h3{margin:3px 0;color:#1b233b;font-size:20px}.rjh-premium-pending p{margin:0 0 7px;color:#69717f;font-size:12px}.rjh-premium-pending strong,.rjh-premium-pending small{display:block}.rjh-premium-pending small{margin-top:5px;color:#727a86}.rjh-premium-notfound{flex-direction:column}.rjh-premium-notfound b{font-size:18px}.rjh-premium-notfound span{color:#6e7581;font-size:13px}

.rjh-premium-offer-page{--offer-primary:#1b233b;--offer-accent:#d8ad43;margin-top:26px}.rjh-offer-statusbar{max-width:980px;margin:0 auto 18px;display:grid;grid-template-columns:54px 1fr auto;gap:16px;align-items:center;padding:18px 20px;background:linear-gradient(135deg,#e9f7ee,#f7fcf9);border:1px solid #bde0c8;border-radius:9px;box-shadow:0 12px 28px rgba(20,75,40,.06)}.rjh-offer-status-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#ccebd6;color:#166534;font-size:22px;font-weight:900}.rjh-offer-status-copy span{display:block;color:#3c7050;font-size:10px;text-transform:uppercase;letter-spacing:.8px;font-weight:800}.rjh-offer-status-copy strong{display:block;color:#173b24;font-size:18px}.rjh-offer-status-copy small{display:block;color:#5c7565;font-size:11px}.rjh-offer-status-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.rjh-btn-outline{background:#fff;border:1px solid #cfd5dd;color:var(--offer-primary)!important}.rjh-btn-outline:hover{border-color:var(--offer-accent)}
.rjh-offer-payment-state{max-width:980px;margin:0 auto 18px;padding:14px 18px;border-radius:6px;border:1px solid #ead7a0;background:#fff7dc;color:#72560d}.rjh-offer-payment-state b,.rjh-offer-payment-state span{display:block}.rjh-offer-payment-state span{margin-top:3px;font-size:12px}.rjh-offer-payment-state.approved{border-color:#b9dfc5;background:#ecf8f0;color:#1f6336}.rjh-offer-payment-state.rejected{border-color:#efc8c8;background:#fff0f0;color:#8a2d2d}

.rjh-premium-letter{position:relative;width:min(900px,100%);min-height:1180px;margin:0 auto;background:#fff;color:#1c2330;border:1px solid #dcd7cc;box-shadow:0 28px 70px rgba(20,27,45,.14);overflow:hidden;isolation:isolate}.rjh-letter-topline,.rjh-letter-bottomline{height:8px;background:linear-gradient(90deg,var(--offer-primary) 0 74%,var(--offer-accent) 74% 100%)}.rjh-letter-watermark{position:absolute;left:50%;top:54%;transform:translate(-50%,-50%) rotate(-28deg);z-index:-1;font-family:Georgia,'Times New Roman',serif;font-size:86px;font-weight:700;letter-spacing:4px;color:var(--offer-primary);opacity:.028;white-space:nowrap;pointer-events:none}
.rjh-letter-header{display:flex;justify-content:space-between;gap:28px;align-items:flex-start;padding:38px 44px 25px;border-bottom:1px solid #e6e1d8}.rjh-letter-brand-block{display:flex;gap:18px;align-items:center;min-width:0}.rjh-letter-logo{width:128px!important;max-height:64px!important;object-fit:contain!important;object-position:left center}.rjh-letter-brand-block>div{display:flex;flex-direction:column;min-width:0}.rjh-letter-brand-block strong{font-family:Georgia,'Times New Roman',serif;color:var(--offer-primary);font-size:25px;line-height:1.08}.rjh-letter-brand-block span{margin-top:5px;color:#a57b18;font-size:10px;text-transform:uppercase;letter-spacing:1.7px;font-weight:800}.rjh-letter-brand-block small{margin-top:5px;max-width:420px;color:#6e7580;font-size:9px;line-height:1.4}
.rjh-letter-identity{display:flex;align-items:center;gap:12px;flex:0 0 auto}.rjh-letter-photo{width:70px!important;height:84px!important;object-fit:cover!important;border:1px solid #cfc9bd;padding:3px;background:#fff}.rjh-letter-verify-box{min-width:120px;padding:10px;border:1px solid #ddd6c7;background:#faf8f2;text-align:center}.rjh-letter-verify-box span{display:block;color:#7d8490;font-size:8px;text-transform:uppercase;letter-spacing:.7px}.rjh-letter-verify-box b{display:block;margin:4px 0 2px;color:var(--offer-primary);font-size:12px}.rjh-letter-verify-box small{font-family:monospace;color:#a47917;font-size:8px;letter-spacing:.6px}
.rjh-letter-meta{display:flex;justify-content:space-between;gap:20px;padding:14px 44px;border-bottom:1px solid #eeeae3;background:#fcfbf8}.rjh-letter-meta span{display:flex;flex-direction:column}.rjh-letter-meta small{color:#8a909a;font-size:8px;text-transform:uppercase;letter-spacing:.6px}.rjh-letter-meta b{margin-top:2px;color:#343b48;font-size:10px}
.rjh-letter-title{text-align:center;padding:32px 44px 26px}.rjh-letter-title span{color:#ae8320;font-size:9px;text-transform:uppercase;letter-spacing:2.1px;font-weight:800}.rjh-letter-title h1{margin:7px 0 10px!important;color:var(--offer-primary)!important;font-family:Georgia,'Times New Roman',serif!important;font-size:31px!important;line-height:1.15!important;font-weight:500!important;letter-spacing:.7px!important;text-transform:uppercase}.rjh-letter-title div{width:72px;height:2px;margin:auto;background:var(--offer-accent)}
.rjh-letter-body{padding:0 44px 34px}.rjh-letter-body>p{font-family:Georgia,'Times New Roman',serif;color:#353c48;font-size:13px;line-height:1.85}.rjh-letter-body>p strong{color:#1b233b}.rjh-letter-details{margin:26px 0 20px;border:1px solid #ded9cf;background:#fff}.rjh-letter-details h2,.rjh-letter-benefits h2,.rjh-letter-notes h2{margin:0!important;padding:10px 14px;background:var(--offer-primary);color:#fff!important;font-family:Georgia,'Times New Roman',serif!important;font-size:13px!important;line-height:1.2!important;letter-spacing:.6px!important;text-transform:uppercase}.rjh-letter-details-grid{display:grid;grid-template-columns:1fr 1fr}.rjh-letter-details-grid>div{display:grid;grid-template-columns:128px 1fr;min-height:42px;border-bottom:1px solid #ebe7df}.rjh-letter-details-grid>div:nth-child(odd):not(.wide){border-right:1px solid #ebe7df}.rjh-letter-details-grid>div.wide{grid-column:1/-1}.rjh-letter-details-grid span,.rjh-letter-details-grid b{padding:9px 10px;font-size:10px}.rjh-letter-details-grid span{background:#faf8f3;color:#67707c;font-weight:800}.rjh-letter-details-grid b{color:#202735;font-weight:700;overflow-wrap:anywhere}
.rjh-letter-benefits,.rjh-letter-notes{margin:18px 0;border:1px solid #e4ded2;background:#fbf9f4}.rjh-letter-benefits h2,.rjh-letter-notes h2{background:#f2ead8;color:#72540e!important}.rjh-letter-benefits ul{margin:0;padding:14px 20px 14px 34px}.rjh-letter-benefits li,.rjh-letter-notes p{color:#454d59;font-family:Georgia,'Times New Roman',serif;font-size:11px;line-height:1.7}.rjh-letter-notes p{margin:0;padding:14px 18px}.rjh-letter-closing{margin-top:22px!important}
.rjh-letter-signature-area{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:end;margin-top:32px;padding-top:12px}.rjh-letter-authorized img{display:block;width:auto!important;max-width:150px!important;max-height:60px!important;margin-bottom:-6px}.rjh-sign-line{width:190px;height:1px;background:#4e5561;margin:12px 0 8px}.rjh-letter-authorized strong{display:block;color:#1b233b;font-family:Georgia,'Times New Roman',serif;font-size:13px}.rjh-letter-authorized span,.rjh-letter-authorized small{display:block;color:#737b86;font-size:9px}.rjh-letter-verification{text-align:right;padding:13px 15px;border:1px solid #ddd7ca;background:#fcfaf5}.rjh-letter-verification span{display:block;color:#868c96;font-size:8px;text-transform:uppercase;letter-spacing:.8px}.rjh-letter-verification strong{display:block;margin-top:4px;color:var(--offer-primary);font-size:13px}.rjh-letter-verification code{display:block;margin:4px 0 6px;padding:0;background:none;color:#a77c18;font-size:9px}.rjh-letter-verification a{color:var(--offer-primary);font-size:9px;font-weight:700;text-decoration:none}.rjh-letter-verification a:hover{text-decoration:underline}
.rjh-letter-barcode{width:68%;height:34px;margin:28px auto 4px;border:1px solid #e4dfd5;background:repeating-linear-gradient(90deg,var(--offer-primary) 0 2px,transparent 2px 7px,var(--offer-primary) 7px 8px,transparent 8px 13px,var(--offer-primary) 13px 17px,transparent 17px 22px);opacity:.72}.rjh-letter-footer{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:13px 44px;background:var(--offer-primary);color:#fff;text-align:center;font-size:9px}.rjh-letter-footer>div{padding:0 8px;border-right:1px solid rgba(255,255,255,.18);overflow-wrap:anywhere}.rjh-letter-footer>div:last-child{border-right:0}.rjh-letter-legal{padding:11px 44px;color:#949aa3;text-align:center;font-size:7.5px;line-height:1.55}.rjh-letter-bottomline{height:5px}

/* Corporate alternative */
.rjh-premium-letter.template-corporate .rjh-letter-topline,.rjh-premium-letter.template-corporate .rjh-letter-bottomline{background:var(--offer-primary)}.rjh-premium-letter.template-corporate .rjh-letter-title h1,.rjh-premium-letter.template-corporate .rjh-letter-brand-block strong{font-family:Arial,Helvetica,sans-serif!important;letter-spacing:-.3px!important}.rjh-premium-letter.template-corporate .rjh-letter-title div{width:120px}.rjh-premium-letter.template-corporate .rjh-letter-body>p,.rjh-premium-letter.template-corporate .rjh-letter-benefits li,.rjh-premium-letter.template-corporate .rjh-letter-notes p{font-family:Arial,Helvetica,sans-serif}.rjh-premium-letter.template-corporate .rjh-letter-details h2{background:var(--offer-primary)}
/* Minimal alternative */
.rjh-premium-letter.template-minimal{box-shadow:0 18px 50px rgba(0,0,0,.08)}.rjh-premium-letter.template-minimal .rjh-letter-topline,.rjh-premium-letter.template-minimal .rjh-letter-bottomline{height:2px;background:#202020}.rjh-premium-letter.template-minimal .rjh-letter-watermark{display:none}.rjh-premium-letter.template-minimal .rjh-letter-brand-block strong,.rjh-premium-letter.template-minimal .rjh-letter-title h1{color:#111!important}.rjh-premium-letter.template-minimal .rjh-letter-title div{background:#111}.rjh-premium-letter.template-minimal .rjh-letter-details h2{background:#222}.rjh-premium-letter.template-minimal .rjh-letter-footer{background:#222}

@media(max-width:760px){.rjh-premium-status-page{padding:16px 0}.rjh-status-lookup-card{grid-template-columns:1fr;gap:18px;padding:22px}.rjh-status-lookup-form>div{grid-template-columns:1fr}.rjh-status-lookup-form .rjh-btn{width:100%}.rjh-offer-statusbar{grid-template-columns:46px 1fr;align-items:start}.rjh-offer-status-icon{width:42px;height:42px}.rjh-offer-status-actions{grid-column:1/-1;justify-content:flex-start}.rjh-offer-status-actions .rjh-btn{flex:1}.rjh-premium-letter{min-height:auto}.rjh-letter-header{padding:26px 22px 20px;flex-direction:column}.rjh-letter-identity{width:100%;justify-content:space-between}.rjh-letter-meta{padding:12px 22px}.rjh-letter-title{padding:26px 22px 20px}.rjh-letter-title h1{font-size:24px!important}.rjh-letter-body{padding:0 22px 26px}.rjh-letter-details-grid{grid-template-columns:1fr}.rjh-letter-details-grid>div,.rjh-letter-details-grid>div:nth-child(odd):not(.wide){border-right:0}.rjh-letter-signature-area{grid-template-columns:1fr;gap:26px}.rjh-letter-verification{text-align:left}.rjh-letter-footer{grid-template-columns:1fr;padding:14px 22px}.rjh-letter-footer>div{border-right:0;border-bottom:1px solid rgba(255,255,255,.15);padding:6px}.rjh-letter-footer>div:last-child{border-bottom:0}.rjh-letter-legal{padding:10px 22px}.rjh-letter-barcode{width:88%}}
@media(max-width:480px){.rjh-status-lookup-copy h2{font-size:22px}.rjh-premium-pending{padding:20px;flex-direction:column}.rjh-offer-statusbar{padding:15px}.rjh-offer-status-actions{flex-direction:column}.rjh-offer-status-actions .rjh-btn{width:100%}.rjh-letter-logo{max-width:115px!important}.rjh-letter-photo{width:62px!important;height:75px!important}.rjh-letter-verify-box{min-width:105px}.rjh-letter-meta{flex-direction:column;gap:8px}.rjh-letter-details-grid>div{grid-template-columns:1fr}.rjh-letter-details-grid span{padding-bottom:3px}.rjh-letter-details-grid b{padding-top:3px}.rjh-letter-title h1{font-size:21px!important}}

@media print{
  @page{size:A4;margin:0}
  body{background:#fff!important}
  body *{visibility:hidden!important}
  .rjh-premium-letter,.rjh-premium-letter *{visibility:visible!important}
  .rjh-premium-letter{position:absolute!important;left:0!important;top:0!important;width:210mm!important;max-width:210mm!important;min-height:297mm!important;margin:0!important;border:0!important;box-shadow:none!important}
  .rjh-offer-statusbar,.rjh-offer-payment-state,.rjh-status-lookup-card,.rjh-premium-pending,.rjh-premium-notfound{display:none!important}
  .rjh-letter-header{padding:12mm 14mm 7mm}.rjh-letter-meta{padding:4mm 14mm}.rjh-letter-title{padding:8mm 14mm 6mm}.rjh-letter-body{padding:0 14mm 8mm}.rjh-letter-footer{padding:4mm 14mm}.rjh-letter-legal{padding:3mm 14mm}
  .rjh-letter-details,.rjh-letter-benefits,.rjh-letter-notes,.rjh-letter-signature-area{break-inside:avoid;page-break-inside:avoid}
}


/* v1.7 candidate-photo application + offer refinements */
.rjh-personal-extra{grid-template-columns:280px minmax(0,1fr);align-items:stretch}.rjh-personal-extra .rjh-position-field{display:flex;flex-direction:column}.rjh-personal-extra .rjh-position-field select{min-height:52px}.rjh-field-help{display:block;margin-top:9px;color:var(--rjh-muted);font-size:10px;line-height:1.5}.rjh-candidate-photo .rjh-upload{min-height:160px;padding:16px!important}.rjh-photo-preview{width:72px;height:84px;border:1px solid #d7c88f;background:#fff;border-radius:4px;display:grid;place-items:center;overflow:hidden;margin-bottom:8px;position:relative}.rjh-photo-preview img{width:100%!important;height:100%!important;object-fit:cover!important;display:none}.rjh-photo-preview.has-image img{display:block}.rjh-photo-preview.has-image .rjh-photo-placeholder{display:none}.rjh-photo-placeholder{font-size:32px;color:#b48a27}.rjh-letter-photo-placeholder{display:grid!important;place-items:center!important;background:#f6f2e8!important;color:var(--offer-primary)!important;font:700 19px/1 Arial,Helvetica,sans-serif!important}.rjh-letter-logo{width:150px!important;max-height:72px!important}.rjh-letter-photo{width:76px!important;height:94px!important;border:2px solid #d7c788!important;box-shadow:0 3px 10px rgba(27,35,59,.08)}
@media(max-width:760px){.rjh-personal-extra{grid-template-columns:1fr}.rjh-candidate-photo .rjh-upload{min-height:150px}.rjh-letter-logo{width:128px!important}.rjh-letter-photo{width:68px!important;height:84px!important}}


/* v1.9.0 live USD/PKR conversion */
.rjh-fx-inline{display:block;margin-top:4px;color:#9b741b;font-size:12px;font-weight:700}.rjh-fx-notice{margin:12px 0 18px;padding:14px 16px;border:1px solid #e4c76f;background:#fff9e7;border-radius:4px;color:#1b233b}.rjh-fx-notice b{display:block;font-size:15px}.rjh-fx-notice span{display:block;margin-top:3px;color:#69717f;font-size:12px}.rjh-payment-summary>div{gap:12px}.rjh-payment-summary>div b{text-align:right}@media(max-width:600px){.rjh-fx-notice{padding:12px}.rjh-fx-notice b{font-size:14px}}

/* =========================================================
   v1.9.5 PREMIUM DOCUMENT PORTAL + EXECUTIVE OFFER REDESIGN
========================================================= */
.rjh-premium-status-page{max-width:1120px!important;padding:34px 0 52px!important}
.rjh-document-center-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:64px 1fr auto;gap:20px;align-items:center;margin:0 0 20px;padding:28px 30px;border:1px solid rgba(216,173,67,.24);border-radius:14px;background:linear-gradient(135deg,#18233e 0%,#273a61 72%,#30486f 100%);box-shadow:0 24px 55px rgba(12,20,38,.18);color:#fff}
.rjh-document-center-hero:after{content:"";position:absolute;right:-90px;top:-115px;width:300px;height:300px;border:1px solid rgba(255,255,255,.08);border-radius:50%;box-shadow:0 0 0 42px rgba(255,255,255,.025),0 0 0 84px rgba(255,255,255,.018)}
.rjh-document-center-mark{position:relative;z-index:2;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#e6c65d,#c89c2a);color:#17233e;font-size:25px;font-weight:900;box-shadow:0 8px 20px rgba(216,173,67,.24)}
.rjh-document-center-hero>div:nth-child(2){position:relative;z-index:2}.rjh-document-center-hero span{display:block;color:#ebc862;font-size:10px;letter-spacing:1.6px;text-transform:uppercase;font-weight:800}.rjh-document-center-hero h1{margin:4px 0 7px!important;color:#fff!important;font-size:30px!important;line-height:1.12!important;font-weight:600!important;letter-spacing:-.5px!important}.rjh-document-center-hero p{max-width:690px;margin:0;color:#d9dfeb;font-size:13px;line-height:1.65}.rjh-document-center-badges{position:relative;z-index:2;display:flex;flex-direction:column;gap:7px}.rjh-document-center-badges b{display:block;padding:8px 11px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.06);color:#eef2f8;font-size:9px;text-align:center;white-space:nowrap;letter-spacing:.45px;text-transform:uppercase}
.rjh-status-lookup-card{padding:24px 26px!important;border-radius:12px!important;border:1px solid #e6e1d8!important;background:#fff!important;box-shadow:0 14px 38px rgba(20,27,45,.08)!important}.rjh-status-lookup-copy>span{color:#ad811b!important}.rjh-status-lookup-copy h2{font-size:24px!important}.rjh-status-lookup-form input{min-height:50px!important;background:#fbfcfe;border-color:#d8dde6!important}.rjh-status-lookup-form .rjh-btn{min-height:50px!important;padding:0 22px!important}
.rjh-offer-statusbar{max-width:1020px!important;padding:17px 19px!important;border-radius:12px!important;border:1px solid #b8dec4!important;background:linear-gradient(135deg,#eaf8ef,#f9fdfb)!important;box-shadow:0 12px 30px rgba(20,75,40,.07)!important}.rjh-offer-status-icon{background:linear-gradient(145deg,#ccefd7,#e8f8ee)!important}.rjh-offer-status-copy strong{font-size:19px!important}.rjh-offer-status-actions .rjh-btn{border-radius:6px!important}
.rjh-offer-payment-state{max-width:1020px!important;border-radius:10px!important}

.rjh-premium-letter{width:min(940px,100%)!important;min-height:1280px!important;border:1px solid #d9cfb7!important;background:
linear-gradient(rgba(255,255,255,.965),rgba(255,255,255,.965)),
repeating-linear-gradient(45deg,#f4efe2 0,#f4efe2 18px,#fff 18px,#fff 36px)!important;box-shadow:0 30px 80px rgba(13,20,36,.18)!important}
.rjh-letter-frame{position:absolute;inset:14px;z-index:4;pointer-events:none;border:1px solid rgba(216,173,67,.55);box-shadow:inset 0 0 0 3px rgba(255,255,255,.85),inset 0 0 0 4px rgba(27,35,59,.1)}
.rjh-letter-topline{height:10px!important;background:repeating-linear-gradient(90deg,#1b233b 0 14px,#d8ad43 14px 28px,#a74e38 28px 42px,#d9d1b7 42px 56px)!important}.rjh-letter-bottomline{height:8px!important;background:repeating-linear-gradient(90deg,#1b233b 0 14px,#d8ad43 14px 28px,#a74e38 28px 42px,#d9d1b7 42px 56px)!important}
.rjh-letter-hero-image{position:relative;height:128px;overflow:hidden;background:#1b233b}.rjh-letter-hero-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(16,24,40,.05),rgba(16,24,40,.18))}.rjh-letter-hero-image img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.rjh-letter-watermark{font-size:106px!important;opacity:.025!important;top:55%!important;color:#8f6d1c!important}
.rjh-letter-header{padding:34px 48px 24px!important;border-bottom:0!important;position:relative;z-index:2}.rjh-letter-brand-block{align-items:flex-start!important}.rjh-letter-logo{width:170px!important;max-height:76px!important}.rjh-letter-brand-block strong{font-size:28px!important;letter-spacing:.1px!important}.rjh-letter-brand-block span{font-size:9px!important;letter-spacing:2px!important}.rjh-letter-brand-block small{font-size:9px!important;line-height:1.55!important}
.rjh-letter-identity{gap:13px!important}.rjh-photo-shell{display:flex;flex-direction:column;align-items:center;gap:4px}.rjh-photo-shell small{font-size:7.5px;color:#7a818d;text-transform:uppercase;letter-spacing:.5px}.rjh-letter-photo{width:82px!important;height:100px!important;border:2px solid #d6bd72!important;padding:3px!important;box-shadow:0 5px 14px rgba(27,35,59,.10)!important}.rjh-letter-verify-box{min-width:132px!important;padding:12px!important;border:1px solid #dfd5bd!important;background:rgba(250,248,242,.88)!important}.rjh-letter-verify-box span{font-size:7.5px!important;letter-spacing:1px!important}.rjh-letter-verify-box b{font-size:12px!important}.rjh-letter-verify-box small{font-size:7.5px!important}.rjh-letter-verify-box em{display:block;margin-top:5px;color:#6e7580;font-size:7px;font-style:normal;text-transform:uppercase;letter-spacing:.6px}
.rjh-letter-meta{padding:14px 48px!important;background:rgba(252,250,245,.76)!important;border-top:1px solid #eee8da!important;border-bottom:1px solid #dfd3b6!important}.rjh-letter-meta span{min-width:140px}.rjh-letter-meta span:last-child{text-align:right}.rjh-letter-meta small{font-size:7.5px!important}.rjh-letter-meta b{font-size:10px!important;color:#232b3a!important}
.rjh-letter-title{padding:30px 48px 23px!important}.rjh-letter-title span{font-size:8.5px!important;letter-spacing:2.4px!important}.rjh-letter-title h1{font-size:32px!important;letter-spacing:2.6px!important;margin:8px 0 6px!important}.rjh-letter-title p{margin:0!important;color:#a77b17!important;font-family:Arial,Helvetica,sans-serif!important;font-size:8.5px!important;font-weight:800!important;letter-spacing:1.7px!important}.rjh-letter-title div{width:190px!important;height:1px!important;margin-top:13px!important;background:linear-gradient(90deg,transparent,var(--offer-accent),transparent)!important}
.rjh-letter-body{padding:0 48px 36px!important}.rjh-letter-body>p{font-size:12.5px!important;line-height:1.9!important}.rjh-letter-details{margin:24px 0 18px!important;border-color:#d9cfbb!important}.rjh-letter-details h2{padding:11px 14px!important;color:#f0cf62!important;letter-spacing:.8px!important}.rjh-letter-details-grid>div{min-height:40px!important}.rjh-letter-details-grid span{background:rgba(249,246,238,.88)!important;color:#3d4654!important}.rjh-letter-details-grid span,.rjh-letter-details-grid b{font-size:9.5px!important;padding:9px 11px!important}
.rjh-letter-benefits,.rjh-letter-notes{background:rgba(250,247,239,.82)!important;border-color:#e2d7bf!important;border-radius:5px;overflow:hidden}.rjh-letter-benefits h2,.rjh-letter-notes h2{padding:10px 14px!important;background:#f2ead8!important;color:#6d5010!important;font-size:11px!important}.rjh-letter-benefits li,.rjh-letter-notes p{font-size:10.5px!important;line-height:1.72!important}.rjh-letter-closing{margin-top:22px!important}
.rjh-letter-signature-area{grid-template-columns:120px 1fr 220px!important;gap:28px!important;align-items:end!important;margin-top:30px!important;padding-top:8px!important}.rjh-letter-seal-wrap{display:flex;justify-content:center;align-items:flex-end}.rjh-letter-seal-img{max-width:95px!important;max-height:95px!important;object-fit:contain!important}.rjh-letter-seal-fallback{width:86px;height:86px;border:2px solid var(--offer-accent);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#9b7316;text-align:center;box-shadow:inset 0 0 0 4px #fff,inset 0 0 0 5px rgba(216,173,67,.45)}.rjh-letter-seal-fallback strong{font-family:Georgia,'Times New Roman',serif;font-size:20px}.rjh-letter-seal-fallback span{font-size:7px;font-weight:800;letter-spacing:1px}.rjh-letter-seal-fallback small{font-size:6px;letter-spacing:.8px}.rjh-letter-authorized{text-align:center}.rjh-letter-authorized img{margin:0 auto -6px!important}.rjh-sign-line{width:190px!important;margin:12px auto 8px!important}.rjh-letter-authorized strong{font-size:13px!important}.rjh-letter-authorized span{font-size:9px!important}.rjh-letter-authorized small{font-size:8px!important}.rjh-letter-verification{padding:14px 15px!important;text-align:center!important;border-color:#dfd5bd!important;background:rgba(252,250,245,.9)!important}.rjh-letter-verification strong{font-size:12px!important}.rjh-letter-verification code{font-size:8px!important}.rjh-letter-verification a{font-size:8px!important}
.rjh-letter-barcode{width:66%!important;height:39px!important;margin:27px auto 0!important;border:1px solid #e1dacb!important;background:repeating-linear-gradient(90deg,#1b233b 0 2px,transparent 2px 6px,#1b233b 6px 7px,transparent 7px 11px,#1b233b 11px 15px,transparent 15px 20px,#1b233b 20px 21px,transparent 21px 26px)!important;opacity:.83!important}.rjh-letter-barcode-code{text-align:center;color:#616978;font-family:monospace;font-size:7px;letter-spacing:3px;margin:3px 0 20px}
.rjh-letter-footer{padding:14px 48px!important;background:#171f36!important;font-size:8px!important}.rjh-letter-legal{padding:12px 48px 15px!important;font-size:7px!important;color:#969ca6!important}

@media(max-width:800px){.rjh-document-center-hero{grid-template-columns:54px 1fr}.rjh-document-center-badges{grid-column:1/-1;flex-direction:row;flex-wrap:wrap}.rjh-document-center-mark{width:50px;height:50px}.rjh-document-center-hero h1{font-size:26px!important}.rjh-letter-frame{inset:8px}.rjh-letter-signature-area{grid-template-columns:1fr!important;gap:24px!important}.rjh-letter-seal-wrap{justify-content:flex-start}.rjh-letter-authorized{text-align:left}.rjh-letter-signature-area .rjh-sign-line{margin:12px 0 8px!important}.rjh-letter-verification{text-align:left!important}}
@media(max-width:560px){.rjh-premium-status-page{padding:18px 0 34px!important}.rjh-document-center-hero{grid-template-columns:1fr;padding:22px}.rjh-document-center-mark{display:none}.rjh-document-center-hero h1{font-size:23px!important}.rjh-document-center-badges{display:none}.rjh-status-lookup-card{padding:20px!important}.rjh-premium-letter{min-height:auto!important}.rjh-letter-frame{display:none}.rjh-letter-hero-image{height:92px}.rjh-letter-header{padding:24px 20px 18px!important}.rjh-letter-logo{width:135px!important}.rjh-letter-brand-block strong{font-size:22px!important}.rjh-letter-meta{padding:12px 20px!important}.rjh-letter-title{padding:24px 20px 18px!important}.rjh-letter-title h1{font-size:22px!important;letter-spacing:1.4px!important}.rjh-letter-body{padding:0 20px 24px!important}.rjh-letter-footer{padding:14px 20px!important}.rjh-letter-legal{padding:10px 20px!important}.rjh-letter-seal-fallback{width:76px;height:76px}}

@media print{
  .rjh-document-center-hero{display:none!important}
  .rjh-premium-letter{background:#fff!important}
  .rjh-letter-frame{inset:5mm!important}
  .rjh-letter-hero-image{height:28mm!important}
  .rjh-letter-header{padding:9mm 14mm 6mm!important}
  .rjh-letter-meta{padding:3.5mm 14mm!important}
  .rjh-letter-title{padding:7mm 14mm 5mm!important}
  .rjh-letter-body{padding:0 14mm 8mm!important}
  .rjh-letter-footer{padding:4mm 14mm!important}
  .rjh-letter-legal{padding:3mm 14mm!important}
}

/* v1.9.7 — premium approved-offer hero */
.rjh-offer-ready-card{
  position:relative;
  max-width:1020px;
  margin:0 auto 22px;
  padding:32px 28px 25px;
  text-align:center;
  overflow:hidden;
  border:1px solid #a9d8bc;
  border-radius:16px;
  background:
    radial-gradient(circle at 50% -10%,rgba(255,255,255,.96),rgba(255,255,255,0) 42%),
    linear-gradient(135deg,#e7f7ed 0%,#f8fcf9 52%,#edf8f1 100%);
  box-shadow:0 18px 44px rgba(17,67,39,.09);
}
.rjh-offer-ready-card:before{
  content:"";
  position:absolute;
  left:0;top:0;right:0;
  height:4px;
  background:linear-gradient(90deg,var(--offer-primary,#1b233b) 0 58%,var(--offer-accent,#d8ad43) 58% 100%);
}
.rjh-offer-ready-shine{
  position:absolute;
  width:240px;height:240px;
  left:50%;top:-175px;
  transform:translateX(-50%);
  border-radius:50%;
  background:rgba(255,255,255,.65);
  filter:blur(2px);
  pointer-events:none;
}
.rjh-offer-ready-icon{
  position:relative;
  width:54px;height:54px;
  margin:0 auto 12px;
  display:grid;place-items:center;
  border-radius:50%;
  background:linear-gradient(145deg,#075d3b,#0b7b4e);
  color:#fff;
  font-size:26px;
  font-weight:900;
  box-shadow:0 8px 22px rgba(8,103,62,.22),0 0 0 8px rgba(77,191,126,.11);
}
.rjh-offer-ready-kicker{
  margin:2px 0 5px;
  color:#43805c;
  font-size:10px;
  line-height:1.4;
  font-weight:800;
  letter-spacing:1.45px;
  text-transform:uppercase;
}
.rjh-offer-ready-card h2{
  margin:0;
  color:#153d29;
  font-family:Georgia,'Times New Roman',serif;
  font-size:27px!important;
  line-height:1.22;
  font-weight:600;
  letter-spacing:-.2px;
}
.rjh-offer-ready-meta{
  margin:8px auto 19px;
  color:#476555;
  font-size:13px;
  line-height:1.5;
}
.rjh-offer-ready-meta strong{
  margin-left:5px;
  color:#173d29;
  font-size:14px;
  letter-spacing:.35px;
}
.rjh-offer-ready-meta span{margin:0 8px;color:#8eaa99}
.rjh-offer-ready-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
}
.rjh-offer-ready-actions .rjh-btn{
  min-height:46px;
  padding:0 21px!important;
  border-radius:8px!important;
  font-size:13px!important;
  font-weight:800!important;
  letter-spacing:.05px;
  box-shadow:none;
}
.rjh-offer-view-btn{
  background:linear-gradient(135deg,var(--offer-accent,#d8ad43),#e7bf4d)!important;
  color:#17213a!important;
  border:1px solid #c79b2b!important;
  box-shadow:0 8px 18px rgba(169,119,14,.16)!important;
}
.rjh-offer-view-btn:hover{transform:translateY(-1px);filter:brightness(1.025)}
.rjh-offer-pdf-btn{
  background:#fff!important;
  color:#17633f!important;
  border:1px solid #77bd94!important;
}
.rjh-offer-pdf-btn:hover{background:#f4fcf7!important;transform:translateY(-1px)}
.rjh-offer-ready-support{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:16px;
  color:#52715f!important;
  font-size:11px;
  font-weight:600;
  text-decoration:none!important;
}
.rjh-offer-ready-support span{color:#20a466;font-size:11px}
.rjh-offer-ready-support:hover{color:#17633f!important}
#rjh-generated-offer{scroll-margin-top:24px}
html{scroll-behavior:smooth}

@media(max-width:760px){
  .rjh-offer-ready-card{padding:28px 20px 22px;border-radius:12px}
  .rjh-offer-ready-card h2{font-size:23px!important}
  .rjh-offer-ready-meta span{display:none}
  .rjh-offer-ready-meta{display:flex;flex-direction:column;gap:2px}
  .rjh-offer-ready-actions{flex-direction:column}
  .rjh-offer-ready-actions .rjh-btn{width:100%;max-width:360px}
}
@media(max-width:480px){
  .rjh-offer-ready-icon{width:48px;height:48px;font-size:22px}
  .rjh-offer-ready-card h2{font-size:21px!important}
  .rjh-offer-ready-card{padding-left:16px;padding-right:16px}
}
@media print{
  .rjh-offer-ready-card{display:none!important}
}

/* v1.9.8 — premium payment-due card below approved offer notice */
.rjh-offer-payment-card{
  position:relative;
  max-width:1020px;
  margin:0 auto 24px;
  padding:25px 28px 22px;
  overflow:hidden;
  border:1px solid #d5ad3a;
  border-radius:14px;
  background:linear-gradient(180deg,#fff 0%,#fffdf8 100%);
  box-shadow:0 18px 42px rgba(27,35,59,.07);
  color:#17213a;
}
.rjh-offer-payment-card:before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  background:linear-gradient(90deg,var(--offer-accent,#d8ad43),#efd06e 58%,var(--offer-primary,#1b233b));
}
.rjh-offer-payment-head{
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:19px;
}
.rjh-offer-payment-icon{
  width:48px;height:48px;flex:0 0 48px;
  display:grid;place-items:center;
  border-radius:50%;
  background:linear-gradient(145deg,#e2bc55,#f0d77f);
  color:#fff;
  font-size:21px;
  box-shadow:0 7px 18px rgba(174,126,14,.18);
}
.rjh-offer-payment-kicker{
  display:block;
  margin-bottom:2px;
  color:#a7780e;
  font-size:9px;
  font-weight:800;
  letter-spacing:1.4px;
  text-transform:uppercase;
}
.rjh-offer-payment-head h3{
  margin:0 0 2px!important;
  color:#1b233b!important;
  font-family:Georgia,'Times New Roman',serif;
  font-size:20px!important;
  line-height:1.25!important;
  font-weight:500!important;
}
.rjh-offer-payment-head p{
  margin:0;
  color:#69707c;
  font-size:12px;
  line-height:1.55;
}
.rjh-offer-payment-table{
  overflow:hidden;
  border:1px solid #e0d9c9;
  border-radius:10px;
  background:#fff;
}
.rjh-offer-payment-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 180px 180px;
  align-items:center;
  min-height:42px;
  border-bottom:1px solid #e7e4dd;
}
.rjh-offer-payment-row:last-child{border-bottom:0}
.rjh-offer-payment-row>*{
  padding:10px 15px;
  min-width:0;
}
.rjh-offer-payment-row>*:not(:first-child){text-align:right}
.rjh-offer-payment-row-head{
  min-height:36px;
  background:#fffdf8;
  color:#b18628;
  font-size:11px;
  font-weight:800;
  letter-spacing:.3px;
  text-transform:uppercase;
}
.rjh-offer-payment-row:not(.rjh-offer-payment-row-head){
  color:#454c59;
  font-size:13px;
}
.rjh-offer-payment-row strong{color:#17213a}
.rjh-offer-payment-total{
  background:#fdfbf6;
  font-size:14px!important;
}
.rjh-offer-payment-total strong:nth-child(n+2){color:#b68517}
.rjh-offer-fx-note{
  display:flex;
  align-items:center;
  gap:7px;
  padding:9px 2px 2px;
  color:#838790;
  font-size:10px;
  line-height:1.45;
}
.rjh-offer-fx-note span{font-size:8px;color:#b8b8b8}
.rjh-offer-pay-button{
  width:100%;
  min-height:50px;
  margin-top:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border-radius:7px;
  background:linear-gradient(135deg,var(--offer-accent,#d8ad43),#e6bf55);
  color:#17213a!important;
  border:1px solid #c79b2b;
  text-decoration:none!important;
  font-size:15px;
  font-weight:900;
  box-shadow:0 10px 23px rgba(174,126,14,.13);
  transition:.2s ease;
}
.rjh-offer-pay-button:hover{
  transform:translateY(-1px);
  filter:brightness(1.02);
  color:#17213a!important;
}
.rjh-offer-payment-foot{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:6px;
  margin-top:10px;
  color:#717681;
  font-size:10px;
  text-align:center;
}
.rjh-offer-payment-foot span{color:#15965b;font-weight:800}

@media(max-width:760px){
  .rjh-offer-payment-card{padding:22px 18px 19px;border-radius:12px}
  .rjh-offer-payment-head{align-items:flex-start}
  .rjh-offer-payment-row{grid-template-columns:minmax(0,1fr) 112px 128px}
  .rjh-offer-payment-row>*{padding:10px 9px}
}
@media(max-width:520px){
  .rjh-offer-payment-head{gap:11px}
  .rjh-offer-payment-icon{width:42px;height:42px;flex-basis:42px;font-size:18px}
  .rjh-offer-payment-head h3{font-size:18px!important}
  .rjh-offer-payment-table{overflow-x:auto}
  .rjh-offer-payment-row{min-width:500px}
  .rjh-offer-pay-button{font-size:13px;padding:0 12px}
}
@media print{
  .rjh-offer-payment-card,.rjh-offer-payment-state{display:none!important}
}

/* v1.9.9 structured fee breakdown */
.rjh-payment-fee-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 18px}.rjh-payment-fee-breakdown>div{display:flex;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid #e7e0cf;border-radius:8px;background:#fbfaf6}.rjh-payment-fee-breakdown span{color:#6b7280;font-size:12px}.rjh-payment-fee-breakdown b{color:#1b233b;font-size:13px}@media(max-width:640px){.rjh-payment-fee-breakdown{grid-template-columns:1fr}}


/* v2.0.0 — formal certificate-style offer document */
.rjh-premium-letter{
  background:
    linear-gradient(rgba(255,255,255,.955),rgba(255,255,255,.955)),
    linear-gradient(45deg,rgba(214,190,126,.14) 25%,transparent 25%,transparent 75%,rgba(214,190,126,.14) 75%),
    linear-gradient(45deg,rgba(214,190,126,.14) 25%,transparent 25%,transparent 75%,rgba(214,190,126,.14) 75%)!important;
  background-size:auto,44px 44px,44px 44px!important;
  background-position:0 0,0 0,22px 22px!important;
}
.rjh-letter-frame{border:2px solid rgba(216,173,67,.72)!important;box-shadow:inset 0 0 0 3px #fff,inset 0 0 0 4px rgba(27,35,59,.26)!important}
.rjh-letter-brand-block>div>strong{font-family:Georgia,'Times New Roman',serif!important;text-transform:uppercase;letter-spacing:1.8px!important}
.rjh-letter-brand-block>div>span{color:#b88a23!important;letter-spacing:1.9px!important}
.rjh-letter-details-grid{display:grid!important;grid-template-columns:1fr!important}
.rjh-letter-details-grid>div,.rjh-letter-details-grid>div:nth-child(odd):not(.wide){display:grid!important;grid-template-columns:220px 1fr!important;border-right:0!important;border-bottom:1px solid #ded7c8!important;min-height:38px!important}
.rjh-letter-details-grid>div:last-child{border-bottom:0!important}
.rjh-letter-details-grid span{border-right:1px solid #ded7c8!important;background:rgba(249,247,241,.86)!important;color:#242a38!important;font-family:Georgia,'Times New Roman',serif!important;font-weight:700!important}
.rjh-letter-details-grid b{font-family:Georgia,'Times New Roman',serif!important;font-weight:400!important;color:#212838!important}
.rjh-letter-benefits h2{background:transparent!important;color:#242a38!important;text-transform:none!important;font-size:13px!important;padding-bottom:4px!important}
.rjh-letter-benefits{padding:2px 0 4px!important;background:rgba(250,248,242,.8)!important}
.rjh-letter-benefits ul{padding-top:4px!important}
.rjh-letter-acceptance{margin:20px 0 0;padding:0;background:transparent;border:0}
.rjh-letter-acceptance h2{margin:0 0 7px!important;color:#242a38!important;font:700 12px/1.3 Georgia,'Times New Roman',serif!important}
.rjh-letter-acceptance p{margin:0;color:#353c48;font:400 11.5px/1.85 Georgia,'Times New Roman',serif}
.rjh-letter-closing{margin-top:16px!important}
.rjh-letter-authorized small{margin-top:3px!important;color:#6d7480!important}
.rjh-letter-verification code{font-weight:700!important;letter-spacing:1px!important}
.rjh-letter-legal{font-family:Georgia,'Times New Roman',serif!important}
@media(max-width:560px){
 .rjh-letter-details-grid>div,.rjh-letter-details-grid>div:nth-child(odd):not(.wide){grid-template-columns:1fr!important}
 .rjh-letter-details-grid span{border-right:0!important;border-bottom:1px solid #e9e2d5!important}
}
