/* Video hotspot: keyboard-accessible trigger, hover preview and native modal. */
.hrms-page .exact-db-window{position:relative;overflow:visible}
.hrms-page .payroll-video-hotspot{position:absolute;left:50%;top:54%;transform:translate(-50%,-50%);z-index:2}
.hrms-page .payroll-hotspot-trigger{position:relative;display:grid;place-items:center;width:64px;height:64px;border:3px solid white;border-radius:50%;background:#ed2626;color:#fff;box-shadow:0 6px 24px #42131340}
.payroll-hotspot-trigger:before{content:'';position:absolute;inset:-8px;border:2px solid #ed262680;border-radius:50%;animation:payroll-hotspot-beat 2s ease-out infinite;pointer-events:none}
.payroll-hotspot-trigger svg{width:34px;height:26px}
.payroll-hotspot-trigger:focus-visible{outline:3px solid #172033;outline-offset:9px}
.payroll-hotspot-tooltip{position:absolute;bottom:calc(100% + 18px);left:50%;width:240px;max-width:65vw;transform:translate(-50%,8px);opacity:0;visibility:hidden;pointer-events:none;padding:12px;background:#fff;color:#172033;border:1px solid #ded4ea;border-radius:14px;box-shadow:0 8px 30px #17203325;transition:opacity .2s,transform .2s,visibility .2s;text-align:left}
.payroll-hotspot-tooltip strong{font-size:15px}.payroll-hotspot-tooltip span{font-size:11px;display:block;margin-top:8px}
.hrms-page .exact-db-window .payroll-hotspot-tooltip img{width:100%;height:auto;border-radius:6px;margin-top:8px}
.payroll-video-hotspot:hover .payroll-hotspot-tooltip,.payroll-video-hotspot:focus-within .payroll-hotspot-tooltip{opacity:1;visibility:visible;transform:translate(-50%,0)}
dialog.payroll-video-dialog{inset:0;width:min(960px,calc(100vw - 32px));max-width:960px;max-height:90dvh;margin:auto;padding:18px;border:1px solid #dcd2e8;border-radius:20px;background:#fff;color:#172033;overflow:auto}
.payroll-video-dialog::backdrop{background:#101726d9}
.payroll-video-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.payroll-video-heading h2{font:700 clamp(16px,3vw,22px)/1.3 Inter,system-ui,sans-serif;margin:0}
.payroll-video-close{flex-shrink:0;width:44px;height:44px;border:0;border-radius:50%;background:#eee5f9;color:#172033;font-size:28px;cursor:pointer}
.payroll-video-frame{aspect-ratio:16/9;background:#101726;border-radius:12px;overflow:hidden}
.payroll-video-frame iframe{display:block;width:100%;height:100%;border:0}
.payroll-video-dialog>p{margin:12px 0 0;font-size:13px}.payroll-video-dialog>p a{color:#4f2384}
@keyframes payroll-hotspot-beat{0%{transform:scale(.9);opacity:.9}100%{transform:scale(1.4);opacity:0}}
@media(prefers-reduced-motion:reduce){.payroll-hotspot-trigger:before{animation:none}.payroll-hotspot-tooltip{transition:none}}

/* Small integration fixes; reference design remains the source of styling. */
.hrms-page .exact-db-window .payroll-video-hotspot{top:44%;left:50%}
.hrms-page .exact-db-window .payroll-hotspot-tooltip img{max-width:100%;height:auto}
#payrollLeadStatus{color:#ac331b;font-size:13px;line-height:1.5}
.search-box{position:relative}.payroll-search-results{position:absolute;top:100%;left:0;right:0;background:white;border:1px solid #eee;border-radius:14px;padding:8px;box-shadow:0 10px 30px #0002;max-height:320px;overflow:auto;z-index:110}
.payroll-search-results[hidden]{display:none}.payroll-search-results a{display:block;padding:10px;border-radius:8px;color:#172033}.payroll-search-results a:hover,.payroll-search-results a:focus{background:#eee5f9}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}}


/* Make the interactive module picker visibly actionable. */
.edb-explore-hint{margin:0 4px 16px;color:#fff;line-height:1.5}
.edb-explore-hint strong{display:block;font-size:14px;font-weight:700}
.edb-explore-hint>span{display:block;margin-top:4px;font-size:11px;color:#bdc9dc}
.edb-module-picker .edb-sidebar-nav{gap:10px}
.edb-module-picker .edb-nav-btn{min-height:56px;padding:12px;border:1px solid #43516a;border-radius:14px;background:#1b283e;color:#e3eaf5;gap:10px;transition:background .18s,border-color .18s,box-shadow .18s}
.edb-module-picker .edb-nav-icon{color:#a9bad3}
.edb-module-picker .edb-tab-arrow{margin-left:auto;font-size:20px;color:#ac82e0;flex-shrink:0}
.edb-module-picker .edb-nav-btn:hover{background:#2c3b52;border-color:#8445d0;box-shadow:0 0 0 1px #8445d0}
.edb-module-picker .edb-nav-btn.active{background:#eee5f9!important;color:#401b6e!important;border:1px solid #8445d0;border-radius:14px;box-shadow:inset 4px 0 0 #8445d0!important}
.edb-module-picker .edb-nav-btn.active .edb-tab-arrow,.edb-module-picker .edb-nav-btn.active .edb-nav-icon{color:#552096}
.edb-module-picker .edb-nav-btn:focus-visible{outline:3px solid #be9aea;outline-offset:3px}
@media(max-width:900px){.edb-module-picker{min-width:0}.edb-module-picker .edb-sidebar-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.edb-module-picker .edb-nav-btn{width:100%;height:100%;white-space:normal}.edb-explore-hint>span{font-size:12px}}
@media(max-width:400px){.edb-module-picker .edb-sidebar-nav{grid-template-columns:1fr}}

/* Reports connect all lifecycle stages rather than adding another step. */
.lifecycle-reports-strip{display:flex;align-items:center;gap:20px;margin-top:32px;padding:24px 28px;border:1px solid #c3a8e3;border-radius:22px;background:linear-gradient(110deg,#f0e8fa,#f9f6fd);color:#3f2361;box-shadow:0 8px 24px #63349d0c;transition:background .2s,box-shadow .2s}
.lifecycle-reports-icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:15px;background:#dcc9f4;color:#5e2a9d;font-size:22px}
.lifecycle-reports-copy{flex:1;min-width:0}.lifecycle-reports-copy strong{display:block;font-size:18px;line-height:1.45}.lifecycle-reports-copy strong span{font-weight:500}.lifecycle-reports-copy>span{display:block;margin-top:5px;font-size:13px;line-height:1.6;color:#65574d}
.lifecycle-reports-action{display:inline-flex;align-items:center;justify-content:center;gap:12px;flex-shrink:0;padding:12px 20px;border-radius:999px;background:#8445d0;color:#fff;font-size:13px;font-weight:700}
.lifecycle-reports-strip:hover{background:#ebe0f9;box-shadow:0 8px 24px #63349d20}.lifecycle-reports-strip:focus-visible{outline:3px solid #5e2a9d;outline-offset:4px}
#reports{scroll-margin-top:120px}
@media(max-width:650px){.lifecycle-reports-strip{flex-wrap:wrap;gap:14px;padding:20px}.lifecycle-reports-copy{flex-basis:calc(100% - 62px)}.lifecycle-reports-copy strong{font-size:16px}.lifecycle-reports-action{width:100%}}

/* Additional roles reuse the existing tab and content-card patterns. */
.role-tab-symbol{position:relative;z-index:1;display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#eee5f9;color:#652da9;font-size:27px}
.role-tab-box.active .role-tab-symbol{background:#dac5f3;color:#51218b}
.role-tab-box:focus-visible{outline:3px solid #8445d0;outline-offset:4px}
@media(max-width:640px){.role-tab-symbol{width:42px;height:42px;font-size:22px}}

/* Keep the scale statement visually aligned with the orange product theme. */
.hero-trust-row{gap:12px}
.hero-trust-icon{display:inline-grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:#eee5f9;color:#632da6;font-size:16px}
.hero-trust-row .payroll-record-count{color:#632da6;font-weight:800}
.hero-trust-row .trust-text{line-height:1.6}
@media(max-width:480px){.hero-trust-row{flex-wrap:nowrap;align-items:center;text-align:left;max-width:320px;margin-inline:auto}.hero-trust-row .trust-text{font-size:13px}}

/* Rebuilt core modules section: clear content hierarchy and real preview links. */
.hrms-features-section.modules-overview{padding:80px 24px;background:#f9f6fd;overflow:visible}
.modules-overview::before,.modules-overview::after{display:none}
.modules-overview-wrap{position:relative;max-width:1200px;margin:auto}
.modules-overview-heading{display:grid;grid-template-columns:1.3fr 1fr;gap:56px;align-items:end;margin-bottom:36px}
.modules-overview-eyebrow{display:block;margin-bottom:16px;color:#51218b;font-size:11px;font-weight:800;letter-spacing:.14em}
.modules-overview-heading h2{font-size:clamp(30px,3.5vw,46px);line-height:1.16;letter-spacing:-.045em;color:#172033;font-weight:800}
.modules-overview-heading h2 span{color:#662dab}
.modules-overview-intro p{font-size:15px;line-height:1.8;color:#606a78;margin-bottom:18px}
.modules-overview-intro a{display:inline-flex;gap:18px;font-size:13px;font-weight:700;color:#4d2183;border-bottom:1px solid #c8b5e0;padding-bottom:6px}
.modules-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.module-overview-card{display:flex;flex-direction:column;min-width:0;padding:28px;border:1px solid #ded7e6;border-radius:24px;background:#fff;transition:border-color .2s,box-shadow .2s}
.module-overview-card:hover,.module-overview-card:focus-within{border-color:#ae8bd8;box-shadow:0 12px 30px #43206d0d}
.module-overview-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}
.module-overview-icon{display:grid;place-items:center;width:48px;height:48px;background:#f0e7fa;border:1px solid #dfcdf4;border-radius:15px;color:#602aa3;font-size:21px}
.module-overview-number{font-size:12px;font-weight:700;color:#9b8c80;letter-spacing:.08em}
.module-overview-card h3{font-size:22px;line-height:1.25;letter-spacing:-.035em;color:#192337;margin-bottom:10px}
.module-overview-tagline{font-size:13px;font-weight:700;line-height:1.6;color:#4c5665;min-height:42px;margin-bottom:12px}
.module-overview-description{font-size:13px;line-height:1.8;color:#68717d;margin-bottom:20px}
.module-overview-card ul{margin-top:auto;display:grid;gap:9px;padding-bottom:24px}
.module-overview-card li{display:flex;gap:9px;align-items:baseline;font-size:12px;line-height:1.6;color:#4b5868}
.module-overview-card li::before{content:'✓';color:#5a2799;font-weight:800}
.module-overview-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-radius:999px;background:#f3edfb;border:1px solid #d7c9e8;color:#4c2180;font-size:12px;font-weight:750;min-height:44px}
.module-overview-link span{font-size:19px}.module-overview-link:hover{background:#e4d5f6;border-color:#ac88d9}
.module-overview-payroll{background:#eee5f9;border-color:#bfa4df}.module-overview-payroll .module-overview-icon{background:#8445d0;color:white;border-color:#8445d0}.module-overview-payroll .module-overview-link{background:#5c279c;border-color:#5c279c;color:white}
.modules-overview a:focus-visible{outline:3px solid #51218b;outline-offset:4px}
.modules-overview-flow{display:flex;align-items:center;gap:28px;padding:24px 0 0;margin-top:28px;border-top:1px solid #d7cee2}
.modules-overview-flow-label{font-size:10px;letter-spacing:.12em;font-weight:800;color:#6b5389;flex-shrink:0}
.modules-overview-flow ol{display:flex;flex-wrap:wrap;gap:12px 20px;list-style:none;margin:0;padding:0;color:#536070;font-size:12px;font-weight:600}
.modules-overview-flow li:not(:last-child)::after{content:'→';margin-left:20px;color:#6d3aac}
#payroll-details{scroll-margin-top:110px}
@media(max-width:980px){.modules-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.modules-overview-heading{gap:28px}.modules-overview-flow{align-items:flex-start;flex-direction:column;gap:14px}}
@media(max-width:600px){.hrms-features-section.modules-overview{padding:52px 18px}.modules-overview-heading{grid-template-columns:1fr;gap:20px}.modules-overview-grid{grid-template-columns:1fr;gap:16px}.module-overview-card{padding:24px}.module-overview-tagline{min-height:0}.modules-overview-flow ol{display:grid;gap:12px}.modules-overview-flow li:not(:last-child)::after{display:none}}

.hrms-pricing-entry{margin:18px 0;text-align:center}.hrms-pricing-entry a{display:inline-flex;gap:16px;border:1px solid #d9c7ed;background:#faf6ff;color:#6c3aa2;border-radius:999px;padding:10px 20px;font-size:13px;font-weight:700}

/* HRMS content refresh: direct enquiry, prominent pricing and practical guidance. */
#workflow[hidden]{display:none!important}
.hero-demo-status{font-size:14px;line-height:1.6;text-align:center;max-width:620px;margin:12px auto 0;color:#563479}
.hero-demo-status:empty{display:none}
.hero-demo-form button:disabled{cursor:wait;opacity:.7}
.hrms-pricing-entry a{align-items:center;justify-content:center;padding:15px 28px;min-height:52px;background:#6c3aa2;color:#fff;border:2px solid #6c3aa2;font-size:16px;font-weight:800;box-shadow:0 7px 18px #6c3aa22b;text-decoration:none;transition:background .2s,box-shadow .2s}
.hrms-pricing-entry a:hover{background:#52277f;border-color:#52277f;box-shadow:0 9px 24px #6c3aa240}
.hrms-pricing-entry a:focus-visible{outline:3px solid #a37bc9;outline-offset:4px}
#assistantBarsRow{display:block;height:auto;min-height:0;align-items:initial}
.assistant-answer-checklist{display:grid;gap:12px;margin:0;padding:0 0 0 20px;font-size:14px;line-height:1.6;color:inherit}
.assistant-answer-checklist li::marker{color:#8445d0}
@media(max-width:600px){.hrms-pricing-entry a{font-size:14px;padding:14px 20px}.assistant-answer-checklist{font-size:13px}}
