.loading{min-height:100vh;display:grid;place-items:center;font-size:19px;color:#75889a}.login-screen{min-height:100vh;background:linear-gradient(135deg,#0c1926,#123b3b 66%,#0c6a59);display:flex;align-items:center;justify-content:center;padding:24px}.login-card{width:min(460px,100%);background:#fff;padding:36px;border-radius:22px;box-shadow:0 30px 90px #001b2d55}.login-title{font-weight:850;font-size:32px;margin:0 0 7px}.login-card .field{margin:14px 0}.login-card .btn{width:100%;margin-top:15px}.brand-inline{display:flex;align-items:center;gap:12px;margin-bottom:25px}.banner-note{padding:12px 15px;border-radius:11px;color:#3f5367;background:#f0f4f7;font-size:12px;margin:18px 0}.main .card{overflow:hidden}.mgtab{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.mgtab .btn{margin:3px}.mg-modal-overlay{position:fixed;inset:0;background:#0a1a2aa3;z-index:50;display:flex;align-items:center;justify-content:center;padding:16px}.mg-modal{width:min(700px,100%);max-height:93vh;overflow:auto;background:white;border-radius:18px;box-shadow:0 20px 90px #0003;padding:25px}.mg-modal h2{font-size:22px;margin-bottom:18px}.mg-modal .field{margin-bottom:12px}.mg-modal .btn{margin:4px}.mg-modal .formgrid{margin-bottom:16px}.mg-modal .modal-actions{display:flex;justify-content:flex-end;border-top:1px solid #e9eef2;padding-top:15px;gap:8px}.mg-modal .close-modal{float:right}.mg-modal .hint{color:#7a8791;font-size:12px}.kgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:15px}.kcard{border:1px solid #e8ecef;border-radius:14px;background:#fff;padding:19px}.kcard .value{font-size:27px;font-weight:850;margin:12px 0}.kcard .label{font-size:12px;color:#738494}.subsection{margin-top:27px}.subsection h3{margin-bottom:12px}.text-danger{color:#bc5249}.badge{display:inline-flex;align-items:center;background:#f0f3f6;color:#647587;border-radius:99px;padding:5px 9px;font-weight:780;font-size:11px;white-space:nowrap}.badge.approved,.badge.confirmed,.badge.paid,.badge.instructions{background:#e6f5ee;color:#0b8c69}.badge.disapproved,.badge.revoked,.badge.rejected,.badge.cancelled,.badge.correction,.badge.not_used{background:#ffeded;color:#b75e55}.badge.pending,.badge.tl_pending,.badge.payment_pending,.badge.not_received,.badge.manager_pending,.badge.cancel_pending{background:#fff2dc;color:#af7b20}.badge.queue,.badge.claimed,.badge.forwarded{background:#e9f2ff;color:#3977ba}.data-table{overflow:auto}.data-table table{min-width:700px}.data-table tr.clickable{cursor:pointer}.data-table tr.clickable:hover{background:#f7fbfa}.subnav{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:17px}.subnav .btn.active{background:#0b8c68;color:white}.cardhead{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.dialog-record{background:#f5f7f8;border-radius:12px;padding:14px;margin:10px 0;line-height:1.8}.smallcaps{font-size:10px;color:#728292;letter-spacing:1px;text-transform:uppercase;font-weight:780}.largeval{font-size:30px;font-weight:850;letter-spacing:-.8px}.empty-state{text-align:center;color:#8591a0;padding:32px 10px}.toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:16px 0}.toolbar input,.toolbar select{border:1px solid #dce5eb;border-radius:9px;padding:10px;background:#fff;max-width:250px}.topbar .smalluser{display:flex;align-items:center;gap:9px;color:#526272;font-weight:700;font-size:12px}.notification-bell{border:0;background:#f0f5f3;border-radius:10px;padding:10px 13px;color:#16806a;position:relative}.notification-bell .badgecount{position:absolute;right:-4px;top:-7px;background:#cf5b51;color:white;border-radius:100%;font-size:10px;padding:1px 5px}.proof-file{font-size:12px;word-break:break-word}.formmsg{font-size:12px;color:#8994a0}.formmsg.error{color:#bd544d}.statline{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid #eef1f3;gap:10px}.statline:last-child{border-bottom:0}.request-timeline{border-left:2px solid #bfe6d6;padding-left:17px;margin:17px 0}.event{margin-bottom:15px;font-size:12px}.event strong{display:block}.event small{color:#81909c}.highlightgreen{color:#0a916b}.flash{background:#fffce8;border:1px solid #f0e6aa;border-radius:13px;padding:15px 18px}.fullscreen-celebration{position:fixed;inset:0;z-index:99;background:#061a2ce8;display:grid;place-items:center;padding:20px}.celebration-card{max-width:480px;background:white;border-radius:24px;text-align:center;padding:40px 30px;animation:popIn .4s ease-out}.celebration-card .emoji{font-size:65px;margin-bottom:15px;animation:bounce 1s infinite alternate}@keyframes popIn{from{transform:scale(.78);opacity:0}to{transform:scale(1);opacity:1}}@keyframes bounce{from{transform:translateY(0)}to{transform:translateY(-10px)}}.pill-link{cursor:pointer;color:#097b5f;text-decoration:underline}.header-intro{margin:0 0 28px}.header-intro p{color:#738495;margin:8px 0}.mg-dashed{border:1px dashed #c1d9d0;background:#fafdfb;border-radius:13px;padding:15px}.sidebar .brand{padding-bottom:18px}.usernav{padding:14px 12px 4px;color:#8ba1af;font-size:11px}.sidebar-footer{margin-top:auto;padding:15px 10px;color:#8fa2b4;font-size:11px;line-height:1.6}.chartrow{display:flex;align-items:center;gap:10px;margin:11px 0}.chartrow .barlabel{width:75px;color:#738392;font-size:11px}.chartrow .barouter{flex:1;background:#eff3f5;border-radius:99px;height:11px;overflow:hidden}.chartrow .barinner{height:100%;background:linear-gradient(90deg,#08a67e,#82dbc2);border-radius:99px}.chartrow b{min-width:70px;text-align:right;font-size:12px}.buttonrow{display:flex;gap:7px;flex-wrap:wrap}.buttonrow .btn{padding:6px 9px;min-height:30px}.muted-link{font-size:12px;color:#718393}.language-picker{max-width:155px}.login-card .banner-note{margin-top:22px}.mobile-nav-toggle{display:none}.topbar{position:sticky;top:0;z-index:4}.sidebar{z-index:7}.usernav strong{color:#dce5ed}.footer-plain{font-size:11px;color:#9eacb6;padding-top:25px}.card.stat{padding:20px}.section-title{font-weight:800;font-size:16px;margin-bottom:12px}.payroll-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.code-mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.text-pre{white-space:pre-line}@media(max-width:1100px){.main{padding:24px 20px}.grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.feature{grid-template-columns:1fr}}@media(max-width:750px){.sidebar{position:fixed;transform:translateX(-110%);transition:transform .25s;box-shadow:0 6px 25px #081a2740}.sidebar.mobile-open{transform:translateX(0)}.mobile-nav-toggle{display:block}.topbar{padding:10px 14px;height:64px}.main{padding:19px 13px}.grid.two,.grid.three{grid-template-columns:1fr}.grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.mg-modal{padding:18px}.formgrid{grid-template-columns:1fr}.formgrid .wide{grid-column:auto}.login-card{padding:26px}.topbar .smalluser span{display:none}.pagehead{display:block}.pagehead .headeractions{margin-top:15px}} 

/* Private payroll numbers: click to reveal, moving pointer away hides again. */
.mg-private{display:inline-block;min-width:5.3ch;cursor:pointer;border:1px dashed #c7d9d5;border-radius:7px;padding:1px 7px;background:#edf6f3;color:#176852;font:inherit;white-space:nowrap;vertical-align:baseline;user-select:none;transition:background .13s ease}
.mg-private:hover{background:#ddede7}
.mg-private:focus-visible{outline:2px solid #167d70;outline-offset:3px}
.mg-private.mg-revealed{background:#e1f3ea;border-color:#78bda9}
button[disabled]{opacity:.52;cursor:not-allowed;pointer-events:none}

/* Smart department-aware compensation forms */
.smart-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0}
.smart-settings-grid>.wide{grid-column:1 / -1}
.smart-settings-grid [hidden], [data-fixed-only][hidden]{display:none!important}
.smart-role-intro{padding:13px 16px;border-radius:12px;background:#eef8f4;border:1px solid #d4ede3;color:#295d4f;line-height:1.6;font-size:12px}
.smart-rule-label{color:#0f8562;font-weight:850;font-size:10px;letter-spacing:.09em;margin-bottom:4px}
.smart-inline-note{color:#758a92;font-size:11px;line-height:1.65;margin:0 0 2px}
.smart-subtitle{font-size:12px;font-weight:850;color:#183c3b;padding:8px 0 2px;border-bottom:1px solid #e8edee}
.smart-advanced{padding:13px 15px;background:#f9fafb;border-radius:11px;border:1px solid #e2eaef}
.smart-advanced summary{cursor:pointer;color:#667e8d;font-size:12px;font-weight:700}
.smart-advanced .smart-settings-grid{margin-top:16px}
@media(max-width:650px){.smart-settings-grid{grid-template-columns:1fr}}

/* Adaptive financial request form */
.mg-request-grid{align-items:start;}
.mg-request-grid .field select:disabled{opacity:1;color:#536878;background:#eef4f6;cursor:not-allowed;}
.mg-request-grid .field input[readonly]{background:#eef4f6;color:#536878;cursor:default;}
.mg-not-applicable{border:1px dashed #cad7df;border-radius:10px;padding:13px;color:#718395;background:#f5f8fa;font-size:13px;}
.mg-request-grid #mgOtherIBAN{padding-top:8px;}

.mg-bo-ack{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #c7d8d4;border-radius:10px;background:#f0f8f5;line-height:1.45;}
.mg-bo-ack input{width:19px;height:19px;flex-shrink:0;}

/* New request dropdowns and their contextual Other fields */
.mg-request-grid #mgProviderOther[hidden],.mg-request-grid #mgSenderOther[hidden]{display:none!important;}
.mg-request-grid #mgProviderOther,.mg-request-grid #mgSenderOther{margin-top:8px;}
/* MonkeyGroup Leaderboard V3 — premium visual competition center */
.lb-shell{display:grid;gap:22px;color:#1c2d3b;--lb-green:#0c9c80;--lb-ink:#193244}
.lb-shell *{box-sizing:border-box}
.lb-shell button{font:inherit;cursor:pointer}
.lb-shell button:focus-visible{outline:3px solid #16a88f;outline-offset:3px}
.lb-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 75% 25%,#205969 0%,transparent 29%),linear-gradient(118deg,#0d1b2d 2%,#122b3b 55%,#063e43 100%);min-height:236px;color:#fff;padding:29px 34px 32px;border-radius:22px;box-shadow:0 16px 44px #0c273a29}
.lb-hero:after{content:'✧';position:absolute;right:23%;top:37px;color:#f1c975;opacity:.13;font-size:190px;line-height:1;transform:rotate(-12deg)}
.lb-hero-lines{position:absolute;inset:0;opacity:.25;background:repeating-radial-gradient(circle at 96% 85%,transparent 0,transparent 48px,#57b5a9 49px,#57b5a9 50px)}
.lb-hero-top,.lb-hero-content{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:24px}
.lb-hero-kicker,.lb-live-badge{letter-spacing:2px;font-size:10px;font-weight:850;color:#98dbc8}
.lb-live-badge{letter-spacing:1px;color:#d6f4e9;display:inline-flex;align-items:center;gap:9px;border:1px solid #ffffff36;border-radius:40px;padding:9px 13px;background:#ffffff0b}
.lb-live-dot{height:7px;width:7px;border-radius:50%;background:#57e8ac;box-shadow:0 0 0 4px #57e8ac20,0 0 15px #57e8ac70}
.lb-hero-content{padding-top:31px}.lb-hero-content h1{font-size:clamp(27px,3.4vw,44px);letter-spacing:-1.7px;margin:0 0 10px;font-weight:850;color:#fff}.lb-hero-content h1 span{color:#e9c477;font-weight:500}.lb-hero-content p{font-size:14px;color:#afc8ce;margin:0 0 19px}.lb-current-period{display:inline-flex;align-items:center;background:#ffffff14;color:#e0f0ed;border:1px solid #ffffff20;border-radius:30px;padding:8px 13px;font-size:11px;font-weight:700}
.lb-hero-emblem{flex:0 0 155px;display:grid;place-items:center;gap:5px;color:#f5d588;text-shadow:0 0 30px #fac76988}.lb-hero-emblem span{display:grid;place-items:center;width:113px;height:113px;border:1px solid #e5c5754f;border-radius:50%;font-size:80px;background:radial-gradient(circle,#d1a75528,transparent 72%);box-shadow:0 0 0 9px #ffffff08,0 0 0 23px #ffffff04}.lb-hero-emblem small{font-size:9px;letter-spacing:2px;font-weight:800}
.lb-filter-panel{background:white;border:1px solid #e3e9ef;border-radius:17px;padding:17px 19px;box-shadow:0 7px 25px #19334709;display:flex;align-items:end;gap:13px;flex-wrap:wrap}
.lb-filter-fields{display:flex;align-items:end;gap:11px;flex:1 1 600px;flex-wrap:wrap}.lb-filter-fields>.field{flex:1 1 130px}.lb-filter-fields .field{margin:0;min-width:115px}.lb-filter-fields .field input,.lb-filter-fields .field select{height:41px}.lb-date-pair{display:flex;flex:2 1 240px;gap:8px;min-width:200px}.lb-date-pair>.field{flex:1;min-width:0}.lb-filter-actions{display:flex;gap:6px;align-items:center}.lb-filter-actions .btn{white-space:nowrap}.lb-filter-actions .lb-nav-arrow{padding:7px 11px;min-width:35px;color:#486274;font-weight:900}
.lb-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.lb-kpi{min-height:121px;border-radius:16px;background:white;border:1px solid #e7ecf1;padding:20px 19px;display:flex;flex-direction:column;gap:7px;box-shadow:0 6px 20px #16324708}.lb-kpi>span{font-size:11px;font-weight:800;color:#82919e;letter-spacing:.3px}.lb-kpi strong{font-size:clamp(19px,2vw,25px);letter-spacing:-.9px;line-height:1.15;overflow-wrap:anywhere}.lb-kpi strong em{font-size:14px;color:#9daab4;font-style:normal}.lb-kpi small{font-size:11px;color:#6a9a8a}.lb-kpi-special{background:linear-gradient(120deg,#e5f6ee,#f2fbf7);border-color:#cdeade}.lb-kpi-special strong{color:#0a795e}
.lb-section-top{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-top:9px}.lb-eyebrow{font-size:10px;letter-spacing:1.75px;color:#139178;font-weight:850}.lb-section-top h2,.lb-rankings-head h2{font-size:25px;margin:7px 0 5px;letter-spacing:-.8px}.lb-section-top p,.lb-rankings-head p{margin:0;color:#8092a0;font-size:12px}.lb-award-label{font-size:10px;font-weight:850;color:#9f7c3d;border:1px solid #f2e6c8;background:#fff9ec;padding:9px 12px;border-radius:20px;white-space:nowrap}
.lb-podium-stage{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.13fr) minmax(0,.95fr);gap:16px;align-items:end;padding:11px 0 0;position:relative}
.lb-podium{position:relative;border:1px solid #e0e7ed;border-radius:19px;background:linear-gradient(165deg,#fff,#fafbfd);min-height:264px;display:flex;align-items:center;flex-direction:column;gap:7px;padding:25px 12px 14px;text-align:center;color:#223748;box-shadow:0 12px 30px #162e3f0c;transition:transform .2s ease,box-shadow .2s ease}
.lb-podium:not(.empty):hover{transform:translateY(-7px);box-shadow:0 22px 38px #1f364623}.lb-podium.empty{visibility:hidden}
.lb-place-1{min-height:310px;background:linear-gradient(160deg,#fff5dc 0%,#fff 41%,#fff 100%);border:1px solid #f0d18b;box-shadow:0 18px 42px #c39d5327;padding-top:36px}
.lb-place-2{border-top:3px solid #b7c4cd}.lb-place-3{border-top:3px solid #d39e70}
.lb-place-1:before{content:'✧ ✦ ✧';position:absolute;color:#c49a36;top:13px;letter-spacing:12px;font-size:16px}
.lb-medal{position:absolute;right:16px;top:13px;font-size:26px;line-height:1;color:#b7c4cd}.lb-place-1 .lb-medal{color:#cf9c38;font-size:32px}.lb-place-3 .lb-medal{color:#bc835b}
.lb-place{font-size:10px;letter-spacing:1.7px;font-weight:900;color:#a58e5e}.lb-place-2 .lb-place{color:#8295a1}.lb-place-3 .lb-place{color:#b48b6b}
.lb-avatar{width:63px;height:63px;border-radius:50%;display:grid;place-items:center;font-size:20px;font-weight:900;color:#256e65;background:linear-gradient(145deg,#d1f4e6,#e1f7f2);border:3px solid #fff;box-shadow:0 0 0 3px #d7ece8,0 5px 16px #0c634a26}.lb-place-1 .lb-avatar{width:81px;height:81px;background:linear-gradient(145deg,#f5cf77,#ffeeb9);box-shadow:0 0 0 3px #f4d895,0 7px 25px #caa45141;color:#81601f;font-size:27px}
.lb-name{font-size:clamp(14px,1.4vw,18px);letter-spacing:-.3px}.lb-team{font-size:11px;color:#8c9aa9;min-height:17px}.lb-score{font-size:clamp(17px,1.9vw,25px);font-weight:900;color:#0b856e;letter-spacing:-.75px;margin-top:4px}.lb-place-1 .lb-score{color:#9a7628}.lb-smalltrend{height:31px;max-width:140px;width:78%;color:#1baf8f}.lb-smalltrend .lb-spark{height:35px}.lb-place-1 .lb-smalltrend{color:#d2a644}.lb-view-profile{font-size:10px;font-weight:850;color:#6c8a91;margin-top:auto;padding-top:8px}
.lb-analytics{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,.85fr);gap:16px}.lb-panel,.lb-rankings{background:#fff;border:1px solid #e4eaf0;border-radius:19px;padding:24px;min-width:0;box-shadow:0 8px 25px #14324509}
.lb-panel-heading{display:flex;justify-content:space-between;align-items:start;gap:12px}.lb-panel-heading h3{font-size:19px;margin:6px 0 0;letter-spacing:-.5px}.lb-panel-tag{font-size:10px;font-weight:750;color:#64847f;background:#edf7f3;padding:7px 9px;border-radius:9px;text-align:right}
.lb-chart-vis{margin:18px -5px 8px}.lb-chart-vis svg{width:100%;height:auto;display:block;overflow:visible}.lb-chart-vis svg circle{transition:r .15s,stroke .15s}.lb-chart-vis svg circle:hover{r:8;stroke:#e4a94a}.lb-panel-note{color:#8b9aa9;font-size:11px;line-height:1.6;margin:0}.lb-team-list{display:grid;gap:2px;margin-top:17px}
.lb-team-row{padding:12px 8px;border:0;border-radius:10px;background:transparent;display:flex;align-items:center;gap:10px;width:100%;text-align:left;color:#203949;transition:background .16s}.lb-team-row:hover,.lb-team-row.selected{background:#edf8f4}.lb-team-row>b{font-size:11px;white-space:nowrap}.lb-team-place{color:#90a3ae;font-size:12px;font-weight:850;width:19px}.lb-team-info{flex:1;min-width:0;display:grid;gap:9px}.lb-team-info strong{font-size:12px;overflow:hidden;text-overflow:ellipsis}.lb-team-meter{height:6px;background:#eef2f4;border-radius:20px;overflow:hidden}.lb-team-meter>span{height:100%;display:block;background:linear-gradient(90deg,#20b68f,#6adfbb);border-radius:20px;transition:width .65s ease}.lb-legacy{margin-top:15px;padding:12px;background:#f5f7f9;border:1px dashed #dce4ea;border-radius:11px;display:grid;gap:4px}.lb-legacy span{font-size:11px;color:#82919c;font-weight:750}.lb-legacy strong{font-size:16px}.lb-legacy small{font-size:10px;color:#94a1aa}
.lb-rankings{padding:24px 22px}.lb-rankings-head{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:23px}.lb-ranking-tools{display:flex;gap:10px;align-items:center}.lb-ranking-tools input{border:1px solid #dfe7ec;border-radius:10px;padding:11px 12px;min-height:41px;width:230px;font-size:12px;outline:none}.lb-ranking-tools input:focus{border-color:#159e83;box-shadow:0 0 0 3px #159e8320}.lb-view-switch{background:#f0f3f6;border-radius:10px;padding:3px;display:flex}.lb-view-switch button{width:39px;height:34px;background:transparent;border:0;border-radius:8px;color:#8292a0;font-size:20px}.lb-view-switch button.active{background:#fff;color:#129879;box-shadow:0 2px 7px #18384915}
.lb-rank-list{display:grid;gap:8px}.lb-rank-row{display:grid;grid-template-columns:70px minmax(140px,1.2fr) minmax(90px,1fr) minmax(140px,.85fr) 19px;gap:12px;align-items:center;text-align:left;width:100%;background:#fafcfd;border:1px solid #ebeff3;color:#253a49;border-radius:13px;padding:13px 16px;transition:transform .15s,border-color .15s,background .15s}.lb-rank-row:hover{background:#f4faf7;border-color:#bce5d8;transform:translateX(3px)}.lb-rank-row.is-me{border-color:#78c5ae;background:#effaf4}.lb-ranking{display:flex;align-items:center;gap:6px}.lb-ranking>b{font-size:16px;font-weight:900;color:#6f8592}.lb-ranking>span{font-size:14px}.lb-profile-small{display:flex;align-items:center;gap:10px;min-width:0}.lb-profile-small>span:last-child{min-width:0;display:grid;gap:4px}.lb-profile-small strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lb-profile-small em{font-style:normal;font-size:8px;letter-spacing:.6px;color:#058467;background:#c9efe1;padding:3px 5px;border-radius:5px}.lb-profile-small small{font-size:10px;color:#8a9ba8}.lb-miniavatar{width:37px;height:37px;flex:none;background:#e2f2ef;color:#278675;border-radius:12px;display:grid;place-items:center;font-weight:900;font-size:11px}.lb-rank-bar{height:8px;border-radius:9px;background:#eaf0f2;overflow:hidden}.lb-rank-bar>span{display:block;width:var(--lb-progress);height:100%;border-radius:9px;background:linear-gradient(90deg,#1cb696,#68dec0);animation:lb-grow 1s ease-out both}.lb-rank-amount{text-align:right;display:grid;gap:5px}.lb-rank-amount b{font-size:14px}.lb-diff{font-size:10px;font-weight:800}.lb-diff.positive{color:#159e7c}.lb-diff.negative{color:#cf6862}.lb-diff.neutral{color:#9aabb5}.lb-rank-more{color:#6e9d91}.lb-motion{display:inline-flex;align-items:center;font-size:10px;font-weight:850;color:#99a4af}.lb-motion.up{color:#0d9d79}.lb-motion.down{color:#cc7466}.lb-motion.lb-new{color:#be9552}.lb-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.lb-entry-card{border:1px solid #e3eaee;border-radius:15px;background:#fcfdfd;text-align:left;padding:17px;display:flex;flex-direction:column;gap:9px;align-items:flex-start;min-width:0;color:#23384b;transition:transform .2s,box-shadow .2s}.lb-entry-card:hover{transform:translateY(-4px);box-shadow:0 15px 30px #15344a18}.lb-card-top{display:flex;align-items:center;justify-content:space-between;width:100%;color:#7e92a0;font-size:11px}.lb-entry-card>.lb-miniavatar{width:42px;height:42px}.lb-card-name{font-size:14px}.lb-entry-card>small{font-size:11px;color:#94a3ad}.lb-card-value{font-size:20px;color:#0a9274}.lb-card-track{width:100%;height:6px;background:#eaf0f3;border-radius:6px;overflow:hidden}.lb-card-track span{height:100%;background:linear-gradient(90deg,#19b396,#8be3ce);display:block;border-radius:6px}.lb-card-spark{align-self:stretch;color:#19a887;height:39px}.lb-card-spark svg{width:100%;height:39px}.lb-no-matches{text-align:center;padding:30px;color:#8797a4;font-size:13px}.lb-privacy-note{display:flex;gap:11px;align-items:start;background:#eef4f7;border:1px solid #dfeaf0;border-radius:13px;padding:16px 18px;color:#617888;font-size:12px}.lb-privacy-note span{font-size:20px;color:#168e76}.lb-privacy-note p{margin:0;line-height:1.55}.lb-privacy-note strong{color:#435b6b}.lb-empty-hero{padding:45px;text-align:center;background:#fff;border:1px dashed #d9e3e9;border-radius:18px;color:#7994a0;font-weight:700}
.lb-profile-modal{display:grid;gap:18px;margin-top:13px}.lb-profile-intro{display:flex;align-items:center;gap:16px}.lb-profile-intro h3{font-size:23px;margin:4px 0}.lb-profile-intro p{font-size:12px;color:#85939e;margin:0}.lb-profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.lb-profile-stats>div{background:#f3f8f7;border:1px solid #dfeee9;border-radius:13px;padding:13px;display:grid;gap:9px}.lb-profile-stats small{color:#7c9691;font-size:9px;font-weight:900;letter-spacing:.4px}.lb-profile-stats strong{font-size:17px;letter-spacing:-.3px;overflow-wrap:anywhere}.lb-profile-delta{display:flex;align-items:center;justify-content:space-between}.lb-profile-modal h4{margin:6px 0 0;font-size:14px}.lb-profile-intervals{display:grid;gap:10px;max-height:260px;overflow:auto}.lb-profile-interval{display:grid;grid-template-columns:60px 1fr 140px;align-items:center;gap:11px;font-size:11px}.lb-profile-interval strong{text-align:right}.lb-profile-intervalbar{height:7px;border-radius:10px;background:#e8f0ed;overflow:hidden}.lb-profile-intervalbar span{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,#15ac8b,#93e5c8)}.lb-modal-disclaimer{font-size:11px;color:#8999a5;line-height:1.55;background:#f6f8fa;padding:12px;border-radius:10px;margin:0}
[hidden][data-lb-row],.lb-no-matches[hidden]{display:none!important}
@keyframes lb-grow{from{width:0}to{width:var(--lb-progress)}}
@media(max-width:1300px){.lb-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.lb-rank-row{grid-template-columns:65px minmax(130px,1.2fr) minmax(70px,.7fr) minmax(125px,.8fr) 12px;gap:8px}.lb-panel{padding:19px}}
@media(max-width:1020px){.lb-analytics{grid-template-columns:1fr}.lb-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lb-podium-stage{gap:9px}.lb-ranking-tools input{width:180px}}
@media(max-width:760px){.lb-shell{gap:14px}.lb-hero{padding:22px;min-height:210px}.lb-hero-emblem{display:none}.lb-hero-content h1{font-size:29px}.lb-filter-panel{padding:13px}.lb-filter-fields{flex:1 1 100%}.lb-filter-fields>.field{flex:1 1 calc(50% - 8px)}.lb-filter-actions{justify-content:flex-end;width:100%}.lb-kpis{gap:9px}.lb-kpi{padding:14px;min-height:104px}.lb-kpi strong{font-size:19px}.lb-section-top{align-items:start;flex-direction:column}.lb-podium-stage{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.lb-podium{padding:23px 6px 12px;min-height:224px}.lb-place-1{min-height:258px}.lb-medal{right:6px;top:7px;font-size:19px}.lb-place-1 .lb-medal{font-size:21px}.lb-avatar{height:47px;width:47px;font-size:16px}.lb-place-1 .lb-avatar{height:57px;width:57px;font-size:20px}.lb-name{font-size:12px}.lb-team{font-size:9px}.lb-score{font-size:13px}.lb-place{font-size:8px;letter-spacing:.5px}.lb-view-profile{font-size:9px}.lb-rankings-head{flex-direction:column;align-items:stretch}.lb-ranking-tools{width:100%}.lb-ranking-tools input{flex:1;min-width:0}.lb-rank-row{grid-template-columns:42px minmax(0,1fr) auto;gap:8px;padding:10px}.lb-ranking{flex-direction:column;align-items:start}.lb-rank-bar,.lb-rank-more{display:none}.lb-rank-amount b{font-size:12px}.lb-rank-amount .lb-diff{font-size:9px}.lb-profile-small strong{max-width:150px}.lb-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lb-profile-stats{grid-template-columns:1fr 1fr}.lb-profile-interval{grid-template-columns:45px 1fr 95px}}
@media(max-width:440px){.lb-hero-kicker{letter-spacing:1px;font-size:9px}.lb-live-badge{font-size:9px}.lb-hero-top{gap:10px}.lb-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.lb-kpi strong{font-size:16px}.lb-podium{min-height:213px}.lb-place-1{min-height:240px}.lb-podium .lb-smalltrend{display:none}.lb-card-grid{grid-template-columns:1fr}.lb-panel,.lb-rankings{padding:16px}.lb-name{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.lb-shell *{animation:none!important;transition:none!important}}

.lb-dates-container{display:flex;flex:1 1 160px;min-width:150px}.lb-dates-container>.field{width:100%}.lb-dates-container>.lb-date-pair{width:100%;flex:1 1 auto}
@media(max-width:760px){.lb-dates-container{flex:1 1 100%;min-width:0}.lb-date-pair{min-width:0;width:100%}.lb-date-pair>.field{min-width:0}.lb-date-pair input[type="date"]{min-width:0;padding:9px 8px}}

/* Sales Lead Intelligence — premium, responsive, fully scoped to Sales permissions. */
.mg-lead-hero{background:linear-gradient(117deg,#102d3e,#12555a 70%,#138774);border-radius:19px;color:white;padding:30px 35px;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;overflow:hidden;position:relative}
.mg-lead-hero::after{content:"";position:absolute;width:250px;height:250px;border-radius:50%;background:rgba(104,249,194,.09);right:-90px;top:-95px}
.mg-lead-hero h2{margin:8px 0 7px;color:white;font-size:31px;line-height:1.2;letter-spacing:-.6px}.mg-lead-hero p{max-width:580px;color:#c1e2df;line-height:1.6;font-size:12px;margin:0}.mg-lead-kicker{font-size:10px;font-weight:900;letter-spacing:2.2px;color:#6ce5c7}.mg-lead-gauge{border:1px solid #ffffff59;position:relative;z-index:1;background:#ffffff12;backdrop-filter:blur(8px);padding:20px 26px;border-radius:17px;min-width:174px;text-align:center;display:grid;gap:8px}.mg-lead-gauge strong{font-size:30px;letter-spacing:-1px}.mg-lead-gauge small{color:#b2e3d7;font-size:10px;letter-spacing:1px;font-weight:850;text-transform:uppercase}
.mg-lead-strip{display:flex;flex-wrap:wrap;align-items:center;gap:13px;background:#eaf6f3;border:1px solid #cce7dd;border-radius:12px;color:#376659;padding:12px 17px;margin-top:15px;font-size:11px}.mg-lead-metricrow{padding:12px 2px;border-bottom:1px solid #edf1f2}.mg-lead-metricrow:last-child{border:0}.mg-lead-metrichead{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px}.mg-lead-metrichead strong{color:#0e9a74}.mg-lead-meter{height:7px;border-radius:10px;background:#e8f1f0;margin:9px 0;overflow:hidden}.mg-lead-meter i{display:block;background:linear-gradient(90deg,#079777,#85dbbb);height:100%;border-radius:10px;transition:width .5s ease}.mg-lead-metricrow small{font-size:10px;color:#7d9198}.mg-lead-filters{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0}.mg-lead-filters input,.mg-lead-filters select{min-height:42px;border:1px solid #dce6e7;border-radius:11px;padding:10px 12px;background:#fff;color:#24475a;max-width:100%;font-size:12px}.mg-lead-filters input{min-width:240px;flex:1}.mg-lead-context{background:#ecf7f3;border:1px solid #cfe9e0;padding:13px 17px;border-radius:12px;display:grid;gap:6px;font-size:12px;color:#285b50}.mg-lead-context strong{font-size:13px}
@media(max-width:700px){.mg-lead-hero{padding:22px;display:block}.mg-lead-hero h2{font-size:25px}.mg-lead-gauge{margin-top:18px;display:inline-grid;min-width:150px}.mg-lead-filters input,.mg-lead-filters select{width:100%;min-width:0}}

.mg-lead-activity{display:grid;gap:5px;margin:12px 0}.mg-lead-activity>div{display:flex;justify-content:space-between;gap:14px;padding:8px 10px;background:#f2f7f6;border-radius:8px;font-size:11px}.mg-lead-activity small{color:#8297a0}

/* Premium v7 request state journey */
.mg-flow{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 20px;padding:12px;border:1px solid #deebe8;background:#f7fbfa;border-radius:14px}
.mg-flow span{font-size:11px;font-weight:700;border-radius:100px;padding:7px 9px;background:#ecf1f4;color:#748693;white-space:nowrap}
.mg-flow span.done{color:#0b6956;background:#d8f3e9;border:1px solid #a9e5d1}


.mg-workflow-examples strong{color:#176953;letter-spacing:.045em;font-size:12px}
@media(max-width:680px){.mg-flow{overflow-x:auto;flex-wrap:nowrap;padding:9px}.mg-flow span{flex-shrink:0}}

/* v8.2 Wire provider forms */
.mg-provider-copy{white-space:pre-wrap;overflow-wrap:anywhere;background:#101e31;color:#eaf3ff;border:1px solid #314358;border-radius:10px;padding:16px;line-height:1.65;font-size:14px;max-height:240px;overflow-y:auto}
#mgWireFields h3{margin:16px 0 10px;font-size:16px}
#mgWireFields .formgrid{margin:12px 0}

/* v8.4: accessible, animated payment-stage notifications. */
.mg-live-notice{position:fixed;z-index:170;right:23px;top:82px;width:min(420px,calc(100vw - 28px));display:flex;align-items:flex-start;gap:14px;padding:21px 46px 20px 18px;background:#fff;border:1px solid #d6e3eb;border-radius:18px;box-shadow:0 18px 68px rgba(19,42,60,.20);animation:mgEnter .52s cubic-bezier(.16,1,.3,1) both;overflow:hidden}
.mg-live-notice:before{content:'';position:absolute;left:0;top:0;bottom:0;width:5px;background:#3782b6}
.mg-live-notice.mg-landed:before{background:#09a383}.mg-live-notice.mg-final:before{background:#c69a31}
.mg-live-graphic{flex:0 0 46px;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;font-size:26px;font-weight:850;color:#277eb3;background:#e6f5ff;animation:mgIcon .7s .08s both}
.mg-landed .mg-live-graphic{background:#dbf8ed;color:#087d60}.mg-final .mg-live-graphic{background:#fff4d4;color:#9c741a;animation:mgIcon .7s .08s both,mgShine 1.6s .8s ease-in-out 2}
.mg-live-body{min-width:0}.mg-live-kicker{display:block;font-size:10px;font-weight:850;letter-spacing:1.2px;color:#6a7c8d;margin:1px 0 6px}.mg-live-body strong{display:block;font-size:17px;letter-spacing:-.3px;color:#19364a}.mg-live-body p{margin:6px 0 0;color:#516578;line-height:1.55;font-size:12px;overflow-wrap:anywhere}
.mg-live-close{position:absolute;right:10px;top:10px;width:28px;height:28px;border:0;background:#f3f6f8;color:#677987;border-radius:9px;font-size:20px;line-height:1;cursor:pointer}
.mg-live-leaving{animation:mgExit .35s ease-in both}
@keyframes mgEnter{0%{transform:translate(50px,-12px) scale(.95);opacity:0}100%{transform:translate(0,0) scale(1);opacity:1}}
@keyframes mgExit{to{opacity:0;transform:translate(35px,-10px) scale(.96)}}
@keyframes mgIcon{0%{transform:scale(.25) rotate(-15deg);opacity:0}75%{transform:scale(1.14)}100%{transform:scale(1);opacity:1}}
@keyframes mgShine{50%{box-shadow:0 0 0 12px rgba(207,167,54,.15)}}
@media(max-width:600px){.mg-live-notice{right:14px;top:16px}}
@media(prefers-reduced-motion:reduce){.mg-live-notice,.mg-live-graphic,.mg-live-leaving{animation:none!important}}

.mg-live-notice.mg-ftd-declined:before{background:#d2584e}.mg-ftd-declined .mg-live-graphic{background:#fceae7;color:#c1433b}
