:root{--hpa420-navy:#17344b;--hpa420-blue:#315efb;--hpa420-bg:#f3f6fa;--hpa420-green:#0f9f73}
/* v4.2.2: disable the legacy full-screen BS fallback. All fields use the
   original Nepali Date Picker used by Entry Center/Salary. */
#ndp-nepali-box,.ndp-nepali-box{z-index:2147483600!important}
.hpa420-mobile-nav,.hpa420-mobile-more{display:none}
.hpa420-share{border:0;border-radius:9px;background:#e9efff;color:#2448c8;padding:8px 10px;font-weight:800;cursor:pointer;margin-left:6px}
.hpa420-share-sheet{position:fixed;inset:0;z-index:2147483500;background:#0f172a88;display:none;align-items:flex-end;justify-content:center;padding:16px}.hpa420-share-sheet.open{display:flex}.hpa420-share-card{width:min(540px,100%);background:#fff;border-radius:20px;padding:20px;box-shadow:0 24px 70px #0004}.hpa420-share-card h3{margin:0 0 7px}.hpa420-share-card p{color:#64748b}.hpa420-share-url{width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:10px;font-size:14px}.hpa420-share-actions{display:flex;gap:8px;margin-top:12px}.hpa420-share-actions button{flex:1;border:0;border-radius:10px;padding:11px;font-weight:900}.hpa420-share-actions .primary{background:var(--hpa420-blue);color:#fff}.hpa420-share-actions .light{background:#edf2f7;color:#23364a}
.hpa420-date{background-color:#fff!important;background-image:linear-gradient(transparent,transparent);padding-right:42px!important;pointer-events:auto!important;cursor:pointer!important}.hpa420-date-wrap{position:relative}.hpa420-date-icon{position:absolute;right:10px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:var(--hpa420-blue);font-size:17px;padding:6px;cursor:pointer}
.hpa420-salary-date-hidden{display:none!important}.hpa420-refresh{border:1px solid #d8e1ed!important;background:#fff!important;color:#315efb!important;border-radius:10px!important;padding:9px 13px!important;min-height:40px!important;font-weight:850!important;display:inline-flex!important;align-items:center!important;gap:7px!important;margin-left:auto!important;box-shadow:0 4px 12px #0f172a0b!important}.hpa420-refresh.loading i{animation:hpa420spin .7s linear infinite}@keyframes hpa420spin{to{transform:rotate(360deg)}}
.hpa430-subnav-hidden,.hpa431-duplicate-tabs{display:none!important}.hpa430-module-tabs{display:flex;align-items:stretch;gap:8px;padding:10px;margin:0 0 14px;background:#edf3fa;border:1px solid #d9e4ef;border-radius:15px;overflow:auto}.hpa430-module-tabs button{border:1px solid transparent;background:transparent;color:#334155;border-radius:11px;padding:12px 16px;min-height:52px;font-size:14px!important;line-height:1.25!important;font-family:Arial,"Noto Sans",sans-serif!important;font-weight:800!important;display:flex;align-items:center;gap:10px;white-space:nowrap;cursor:pointer}.hpa430-module-tabs button.active{background:#fff;color:#172033;border-color:#d8e2ed;box-shadow:0 5px 14px #0f172a12}.hpa430-module-tabs kbd{border:1px solid #b9c8d8;border-radius:6px;padding:3px 6px;background:#f7fafc;color:#64748b;font-size:11px!important;font-family:Arial,sans-serif}.hpa430-period-tools{margin-left:auto;display:flex;gap:8px;align-items:end}.hpa430-compact-reports>.hpa-acc-page-head,.hpa431-headless>.hpa-acc-page-head{display:none!important}.hpa430-compact-reports .hpa-acc-tabs{margin-top:0!important}.hpa-v360-period .period-note{order:10;width:100%;margin:0!important}.hpa-v360-period{align-items:end!important}.hpa-v360-period .group{flex:0 1 220px!important}
.hpa431-headless .hpi-page-head-actions{display:none!important}.hpa431-headless .hpi-nav-row{display:block!important;margin:0 0 14px!important}.hpa431-headless .hpi-tabs{display:flex!important;align-items:stretch!important;gap:8px!important;padding:10px!important;margin:0!important;background:#edf3fa!important;border:1px solid #d9e4ef!important;border-radius:15px!important;overflow-x:auto!important}.hpa431-headless .hpi-tab{min-height:52px!important;padding:12px 16px!important;border-radius:11px!important;font-family:Arial,"Noto Sans",sans-serif!important;font-size:14px!important;line-height:1.25!important;font-weight:800!important;white-space:nowrap!important}.hpa431-headless .hpi-tab.active{background:#fff!important;color:#172033!important;border-color:#d8e2ed!important;box-shadow:0 5px 14px #0f172a12!important}
.hpa433-party-card{cursor:pointer!important;transition:transform .18s ease,box-shadow .18s ease!important}.hpa433-party-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,23,42,.1)!important}.hp-p-head>div small,.hpa433-party-detail .pop-head small,.hpa433-recent-head small{display:block;font:800 10px/1.2 Arial,sans-serif;letter-spacing:.12em;color:#8190a5}.hpa433-party-detail{width:min(760px,calc(100vw - 24px))!important;max-height:min(760px,calc(100vh - 30px))!important;overflow:auto!important}.hpa433-party-detail .pop-head span strong{display:block;font:800 20px/1.3 Arial,"Noto Sans",sans-serif}.hpa433-party-profile{display:grid;grid-template-columns:58px 1fr auto;gap:14px;align-items:center;padding:16px;border:1px solid #dce6f0;border-radius:16px;background:#f8fbff}.hpa433-party-avatar{width:58px;height:58px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#6d28d9,#315efb);color:#fff;font:800 24px Arial}.hpa433-party-profile h3,.hpa433-recent-head h3{margin:0;color:#172033}.hpa433-party-profile p{margin:4px 0;color:#64748b}.hpa433-party-profile button{border:0;border-radius:10px;padding:11px 14px;background:#315efb;color:#fff;font-weight:800;cursor:pointer}.hpa433-party-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0}.hpa433-party-kpis>div{padding:14px;border:1px solid #dce6f0;border-radius:13px}.hpa433-party-kpis small{display:block;color:#64748b;margin-bottom:6px}.hpa433-party-kpis strong{font-size:17px;color:#172033}.hpa433-recent-head{margin:18px 0 8px}.hpa433-party-transactions{border:1px solid #dce6f0;border-radius:14px;overflow:hidden}.hpa433-party-transactions>div{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border-bottom:1px solid #e7edf4}.hpa433-party-transactions>div:last-child{border-bottom:0}.hpa433-party-transactions span small{display:block;color:#8190a5;margin-top:3px}.hpa433-party-transactions strong{white-space:nowrap}.hpa433-empty{padding:20px;color:#64748b;text-align:center}@media(max-width:640px){.hpa433-party-profile{grid-template-columns:48px 1fr}.hpa433-party-avatar{width:48px;height:48px}.hpa433-party-profile button{grid-column:1/-1}.hpa433-party-kpis{grid-template-columns:1fr}.hpa433-party-detail{max-height:calc(100vh - 16px)!important}}
@media(min-width:821px){#hpaAccountingCenter .hpa-acc-content{padding-top:14px!important}#hpaAccountingCenter .hpa431-headless .hpa-acc-grid{margin-top:0!important}#hpaAccountingCenter .hpa-acc-kpi{padding:15px!important;min-height:104px!important}#hpaAccountingCenter .hpa-acc-kpi .value{font-size:25px!important}#hpaAccountingCenter .hpa-acc-two{gap:14px!important}#hpaAccountingCenter .hpa-acc-card{box-shadow:0 5px 18px rgba(15,23,42,.05)!important}}
@media(min-width:781px){#entryPopup .pop{width:min(1420px,92vw)!important;max-height:90vh!important}#entryPopup .pop-body{padding:24px 28px!important}.hpi-billing-head,.hps-section{padding:17px!important}.hpi-billing-head p,.hps-section-head small,.hpa-acc-page-head p{max-width:720px!important;line-height:1.45!important}.hpa-acc-page-head{padding:16px 18px!important}.hpa-acc-card{border-radius:14px!important}.hpa-acc-table th,.hpa-acc-table td{padding:10px 11px!important}.hpa-acc-kpi,.hpa-acc-stat{min-height:112px!important}.hpa-acc-content{background:#f4f7fb!important}}
@media(max-width:780px){
 body.hpa420-app{padding-bottom:74px!important}.sidebar{display:none!important}.shell{display:block!important}.content{width:100%!important;padding:12px!important}.app-wrap{max-width:none!important}
 .hpa420-mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);left:0;right:0;bottom:0;z-index:2147482000;background:#fff;border-top:1px solid #dce5ef;padding:7px max(5px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));box-shadow:0 -8px 25px #0f172a12}
 .hpa420-mobile-nav button{border:0;background:transparent;color:#64748b;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;font-weight:800;min-height:50px;padding:5px}.hpa420-mobile-nav i{font-size:19px}.hpa420-mobile-nav .entry{margin-top:-22px}.hpa420-mobile-nav .entry i{display:grid;place-items:center;width:51px;height:51px;border-radius:18px;background:linear-gradient(135deg,#6d28d9,#315efb);color:#fff;box-shadow:0 8px 20px #315efb55}.hpa420-mobile-nav button.active{color:var(--hpa420-blue)}
 .hpa420-mobile-more{position:fixed;display:block;inset:0;z-index:2147483000;background:#f4f7fb;transform:translateX(105%);transition:transform .24s ease;overflow:auto;padding-bottom:30px}.hpa420-mobile-more.open{transform:none}.hpa420-more-head{position:sticky;top:0;background:linear-gradient(135deg,var(--hpa420-navy),#285675);color:#fff;padding:20px 16px;display:flex;justify-content:space-between;align-items:center;z-index:2}.hpa420-more-head h2{margin:0;font-size:22px}.hpa420-more-head p{margin:4px 0 0;opacity:.75}.hpa420-more-head button{border:0;background:#ffffff22;color:#fff;border-radius:10px;width:42px;height:42px;font-size:20px}.hpa420-more-search{margin:14px 14px 4px;width:calc(100% - 28px);border:1px solid #d5dee9;border-radius:12px;padding:13px;font-size:16px}.hpa420-more-section{padding:13px 14px 2px}.hpa420-more-section h3{margin:0 0 8px;color:#64748b;font-size:11px;letter-spacing:.12em}.hpa420-more-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.hpa420-more-item{border:1px solid #dce5ef;background:#fff;border-radius:14px;padding:13px;text-align:left;min-height:72px;color:#243e55;font-weight:850}.hpa420-more-item i{display:block;color:var(--hpa420-blue);font-size:20px;margin-bottom:7px}.hpa420-more-item small{display:block;color:#64748b;font-weight:500;margin-top:4px}
 .hp-dashboard-title{display:block!important}.hp-dashboard-actions{margin-top:12px!important}.hp-kpi-grid,.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hp-analytics-grid{grid-template-columns:1fr!important}.hpa-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.hpa-entry-choice{min-height:145px!important;padding:13px!important}.hpa-entry-choice strong{font-size:15px!important}.hpa-entry-choice small{font-size:11px!important;line-height:1.35!important}
 input,select,textarea{font-size:16px!important}.pop,.modal-content,.hpa-acc-dialog,.hpi-modal-card{max-width:none!important;width:100%!important;border-radius:18px 18px 0 0!important;max-height:94vh!important}.modal,.popup,.hpa-acc-modal,.hpi-modal{align-items:flex-end!important;padding:0!important}
 .table-wrap,.hpa-acc-table-wrap{overflow:auto!important;-webkit-overflow-scrolling:touch}.table-wrap table,.hpa-acc-table{min-width:720px}.hp-card{position:relative}.hpa420-share{min-height:40px}
 .hpa-acc-shell{display:block!important}.hpa-acc-sidebar{position:fixed!important;inset:0!important;z-index:2147483100!important;transform:translateX(-105%);transition:.22s;width:88%!important;max-width:330px!important}.hpa-acc-sidebar.hpa420-open{transform:none}.hpa-acc-content{padding:12px!important}.hpa-acc-page-head{align-items:flex-start!important}.hpa-acc-page-head h2{font-size:22px!important}
 .hpa420-refresh{padding:8px 10px!important;font-size:12px!important}.hpa420-share-actions{flex-wrap:wrap}.hpa420-share-actions button{flex:1 1 45%}
 .hpa430-module-tabs{padding:7px;gap:5px}.hpa430-module-tabs button{padding:9px 10px;min-height:44px}.hpa430-period-tools{width:100%;margin-left:0}.hpa430-period-tools button{flex:1}.hpa-v360-period .group{flex:1 1 calc(50% - 6px)!important}
}
@media(max-width:390px){.hpa420-more-grid{grid-template-columns:1fr}.hpa-entry-grid{grid-template-columns:1fr!important}.hp-kpi-grid,.summary-grid{grid-template-columns:1fr 1fr!important}}
.hpa433-parties-open #companyTitle,.hpa433-parties-open #summaryCard,.hpa433-parties-open #summaryTiles,.hpa433-parties-open #dashboardAnalytics,.hpa433-parties-open #summaryTableWrap,.hpa433-parties-open #summaryMobile,.hpa433-parties-open #partyTableDiv,.hpa433-parties-open #entryTableDiv,.hpa433-parties-open #letterPreviewContainer{display:none!important}.hpa433-parties-open #partiesPage{display:block!important}.hpa433-parties-open .hp-fab{min-width:150px!important;min-height:56px!important;padding:14px 20px!important;border-radius:18px!important;font:800 15px/1.2 Arial,"Noto Sans",sans-serif!important}.hpa433-parties-open .hp-fab i,.hpa433-parties-open .hp-fab span{font-size:15px!important}
@media print{.hpa420-mobile-nav,.hpa420-mobile-more,.hpa420-share{display:none!important}}
