/* Unity Gala sales performance — scoped styles, mobile first */
.ugx-wrap,.ugx-wrap *{box-sizing:border-box}
.ugx-wrap{--ugx-ink:#142a41;--ugx-navy:#173b5b;--ugx-gold:#bf933f;--ugx-cream:#fffaf0;max-width:100%;margin:22px 0 28px;color:var(--ugx-ink);font-family:inherit}
.ugx-title{padding:21px 23px;border-radius:14px;background:linear-gradient(110deg,#152d47,#244f71);border:1px solid #315f83;color:white;margin-bottom:15px}
.ugx-title span{font-size:11px;font-weight:850;letter-spacing:1.6px;color:#f5d99c!important}
.ugx-title h2{font-size:clamp(20px,2.6vw,27px);color:#fff!important;margin:6px 0;line-height:1.3;font-weight:850}
.ugx-title p{color:#e4eef7!important;font-size:14px;margin:0;line-height:1.65}
.ugx-two{display:grid;grid-template-columns:minmax(0,1fr);gap:15px}
.ugx-card{background:#fffdf8;border:1px solid #e4d6b8;border-radius:14px;padding:21px 22px;margin:0 0 15px;box-shadow:0 3px 14px rgba(21,45,71,.055);color:#172e45;min-width:0}
.ugx-header{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:10px;margin-bottom:15px}
.ugx-header h3{font-size:clamp(17px,2vw,22px);line-height:1.3;margin:3px 0 5px;color:#142a41!important;font-weight:850}
.ugx-header p{font-size:13px;color:#526175!important;margin:0;line-height:1.5}
.ugx-header .ugx-kicker{font-size:10px;letter-spacing:1.45px;text-transform:uppercase;font-weight:850;color:#976d23!important}
.ugx-wrap .ugx-link,.ugx-portal-quick .ugx-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 13px;border-radius:8px;background:#f3dda5!important;border:1px solid #d4b368;color:#152a41!important;-webkit-text-fill-color:#152a41!important;font-size:13px;font-weight:850!important;text-decoration:none!important;line-height:1.3}
.ugx-wrap .ugx-link:hover,.ugx-portal-quick .ugx-link:hover{background:#e9cd86!important}
.ugx-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(122px,1fr));gap:10px}
.ugx-metric{background:white;border:1px solid #e6dccc;border-radius:10px;padding:12px 13px;min-width:0}
.ugx-metric span{display:block;color:#506177!important;font-size:12px;font-weight:700;line-height:1.3}
.ugx-metric strong{display:block;color:#132d49!important;font-size:clamp(19px,2.2vw,25px);font-weight:850;line-height:1.25;margin-top:6px;overflow-wrap:anywhere}
.ugx-metric small{display:block;color:#617183!important;font-size:10px;margin-top:4px;line-height:1.3}
.ugx-progress-wrap{margin-top:15px}
.ugx-progress{height:10px;background:#e7ebee;border-radius:999px;overflow:hidden;min-width:80px}
.ugx-progress>div{height:100%;background:linear-gradient(90deg,#ac7a22,#e1be69);border-radius:999px}
.ugx-progress-wrap small,.ugx-table small{display:block;font-size:11px;color:#4f6071!important;margin-top:5px}
.ugx-forecast,.ugx-pacing{margin:15px 0 4px;padding:11px 13px;background:#f8f0da;border-radius:9px;border-left:4px solid #c59a44;color:#284057!important;font-size:13px;line-height:1.5}
.ugx-forecast strong{display:block;color:#18324a!important}
.ugx-forecast span{display:block;color:#32485e!important;margin-top:3px}
.ugx-card h4{font-size:15px;color:#142a41!important;margin:18px 0 8px}
.ugx-badges{display:flex;flex-wrap:wrap;gap:7px}
.ugx-badge{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #d6dce2;border-radius:999px;color:#6a7580!important;background:#f5f6f7;font-size:11px;font-weight:750;white-space:normal;line-height:1.3}
.ugx-badge.is-earned{color:#122e46!important;border-color:#be974e;background:#ffe9ae}
.ugx-badge small{font-size:10px;font-weight:900}
.ugx-muted{display:block;font-size:11px;line-height:1.5;color:#5c6a7b!important;margin-top:10px}
.ugx-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}
.ugx-table{width:100%;border-collapse:collapse;min-width:590px;table-layout:auto;color:#183148;background:white}
.ugx-table th{font-weight:800;font-size:12px;background:#f5eedf;color:#273e55!important;padding:12px 10px;white-space:nowrap;text-align:left}
.ugx-table td{padding:12px 10px;font-size:13px;border-top:1px solid #e8e1d5;vertical-align:middle;color:#263d52!important}
.ugx-table td strong{color:#19324c!important}
.ugx-table tbody tr:nth-child(even){background:#fffaf3}
.ugx-table .ugx-num{font-size:16px;font-weight:850}
.ugx-table .ugx-progress{height:8px;min-width:80px}
.ugx-table .ugx-rank-badge{display:inline-block;border:1px solid #e0c589;border-radius:30px;background:#fff8e9;padding:5px 8px;font-size:11px;color:#5b451d!important}
.ugx-check{display:flex;align-items:flex-start;gap:10px;padding:10px 0;color:#1d364f!important;font-weight:650;font-size:13px;border-bottom:1px solid #e8e3d9;cursor:pointer;line-height:1.55}
.ugx-check input{flex:none;margin:2px 0 0;width:17px;height:17px;accent-color:#24644c}
.ugx-check span{color:#1d364f!important}
.ugx-button{display:inline-flex;min-height:43px;align-items:center;justify-content:center;padding:10px 17px;margin-top:15px;border-radius:9px;background:#183f5c!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #183f5c;font-weight:800;font-size:13px;cursor:pointer}
.ugx-saved{border-left:4px solid #277e58;background:#e8f8ed;color:#18492d!important;border-radius:7px;padding:12px 14px;font-weight:750}
.ugx-portal-quick{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 16px;padding:13px 17px;border-radius:10px;background:#fff8e5;border:1px solid #e4c991}
.ugx-portal-quick strong{color:#17334f!important;font-size:14px}
.ugsc-nav a[href*="ugx_view=performance"]{background:#f5dda6!important;color:#102b44!important;-webkit-text-fill-color:#102b44!important;font-weight:850!important}
/* Focused workspaces: hide only the original CRM detail panels/KPIs.
   Standard My Prospects, QR, Follow-Ups and manager tabs remain untouched. */
body.ugx-focused-workspace .ugsc-app > .ugsc-kpis,
body.ugx-focused-workspace .ugsc-app > .ugsc-progress,
body.ugx-focused-workspace .ugsc-app > .ugsc-panel,
body.ugx-focused-workspace .ugsc-app > .ugsc-reports,
body.ugx-focused-workspace .ugsc-app > .ugsc-report-settings,
body.ugx-focused-workspace .ugsc-app > .ugsc-queue{display:none!important}
body.ugx-focused-workspace .ugsc-app > .ugsc-footer{margin-top:22px}
body.ugx-focused-workspace .ugsc-nav a[aria-current="page"]{outline:2px solid #bd9a5d;outline-offset:-2px}

@media(min-width:1120px){.ugx-two{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:660px){.ugx-wrap{margin:14px 0}.ugx-card{padding:15px 13px}.ugx-title{padding:17px 14px}.ugx-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ugx-metric{padding:11px 9px}.ugx-header{align-items:stretch}.ugx-header .ugx-link{flex:1 1 auto;max-width:100%}.ugx-wrap .ugx-link{overflow-wrap:anywhere}.ugx-badges{gap:6px}.ugx-badge{font-size:10px}.ugx-portal-quick .ugx-link{width:100%}}
