.sgh-crm{--crm-ink:#17324f;--crm-navy:#102b4c;--crm-blue:#1479b8;--crm-blue-dark:#0e6399;--crm-sky:#eaf5fc;--crm-teal:#168b83;--crm-green:#178455;--crm-green-soft:#eaf7f0;--crm-amber:#a66b12;--crm-amber-soft:#fff6e5;--crm-red:#b54747;--crm-red-soft:#fff0ef;--crm-muted:#667b90;--crm-soft-muted:#8a9bab;--crm-line:#dce7f0;--crm-line-strong:#cbd9e5;--crm-canvas:#f4f8fb;--crm-white:#ffffff;--crm-radius:18px;--crm-shadow:0 10px 28px rgba(20, 58, 91, .055);width:100%;max-width:1280px;margin:0 auto;padding:14px 0 54px;color:var(--crm-ink);font-family:inherit;font-size:14px;line-height:1.55;box-sizing:border-box}.sgh-crm,.sgh-crm *,.sgh-crm *::before,.sgh-crm *::after{box-sizing:border-box}.sgh-crm h2,.sgh-crm h3,.sgh-crm h4,.sgh-crm p{margin-top:0}.sgh-crm h2,.sgh-crm h3,.sgh-crm h4{color:var(--crm-ink);font-family:inherit;line-height:1.25}.sgh-crm h2{margin-bottom:8px;font-size:clamp(25px, 3vw, 34px);font-weight:800;letter-spacing:-.035em}.sgh-crm h3{margin-bottom:15px;font-size:18px;font-weight:800;letter-spacing:-.02em}.sgh-crm h4{margin-bottom:7px;font-size:14px;font-weight:750}.sgh-crm p{color:var(--crm-muted);line-height:1.65}.sgh-crm a{color:var(--crm-blue-dark)}.sgh-crm.sgh-container{padding:14px 0 56px;max-width:1280px}.sgh-crm .sgh-card{position:relative;min-width:0;width:100%;margin:0 0 20px;padding:23px;overflow:visible;border:1px solid var(--crm-line);border-radius:var(--crm-radius);background:var(--crm-white);box-shadow:var(--crm-shadow)}.sgh-crm .sgh-card:last-child{margin-bottom:0}.sgh-crm .sgh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px;min-width:0;margin-bottom:20px}.sgh-crm .sgh-grid>.sgh-card{height:100%;margin:0}.sgh-crm .sgh-crm-header{min-height:158px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:30px 34px;overflow:hidden;border:0;border-radius:22px;background:radial-gradient(circle at 88% 15%,rgb(84 185 224 / .25),transparent 29%),linear-gradient(120deg,#102b4c 0%,#174c78 58%,#167bad 100%);box-shadow:0 18px 38px rgb(16 55 91 / .16);color:#fff}.sgh-crm .sgh-crm-header::after{position:absolute;right:-54px;bottom:-128px;width:280px;height:280px;border:1px solid rgb(255 255 255 / .13);border-radius:50%;content:"";box-shadow:0 0 0 28px rgb(255 255 255 / .035),0 0 0 58px rgb(255 255 255 / .025);pointer-events:none}.sgh-crm .sgh-crm-header h2{position:relative;z-index:1;margin:0 0 8px;color:#fff;font-size:clamp(26px, 3vw, 35px)}.sgh-crm .sgh-crm-header>p{position:relative;z-index:1;max-width:720px;margin:0;color:#d8eaf6;font-size:14px}.sgh-crm .sgh-crm-dashboard-return{margin-top:16px!important}.sgh-crm .sgh-crm-dashboard-return .button{position:relative;z-index:2;min-height:38px;padding:8px 13px;border:1px solid rgb(255 255 255 / .35);border-radius:10px;background:rgb(255 255 255 / .12);color:#fff;text-decoration:none;box-shadow:none}.sgh-crm .sgh-crm-dashboard-return .button:hover{background:rgb(255 255 255 / .2);color:#fff}.sgh-crm .sgh-crm-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 20px}.sgh-crm .sgh-stat-card{min-height:126px;display:flex;flex-direction:column;justify-content:center;padding:19px 22px;border-color:#e0eaf2;background:linear-gradient(145deg,#fff 0%,#f8fbfe 100%);text-align:left}.sgh-crm .sgh-stat-card h3{order:0;margin:0 0 7px;color:var(--crm-muted);font-size:12px;font-weight:750;letter-spacing:.065em;text-transform:uppercase}.sgh-crm .sgh-stat-card>div{color:var(--crm-navy);font-size:clamp(27px, 3vw, 34px);font-weight:850;letter-spacing:-.045em;line-height:1.1;font-variant-numeric:tabular-nums}.sgh-crm .sgh-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:4px}.sgh-crm .sgh-form-grid input:last-child{grid-column:1 / -1}.sgh-crm input[type="text"],.sgh-crm input[type="email"],.sgh-crm input[type="tel"],.sgh-crm input[type="url"],.sgh-crm input[type="search"],.sgh-crm input[type="date"],.sgh-crm select,.sgh-crm textarea{display:block;width:100%;min-width:0;min-height:45px;margin:0;padding:10px 13px;border:1px solid var(--crm-line-strong);border-radius:11px;outline:0;background:#fbfdff;color:var(--crm-ink);font:inherit;font-size:13px;line-height:1.4;box-shadow:none;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.sgh-crm textarea{min-height:112px;resize:vertical}.sgh-crm input::placeholder,.sgh-crm textarea::placeholder{color:#91a1b0;opacity:1}.sgh-crm input:focus,.sgh-crm select:focus,.sgh-crm textarea:focus{border-color:#4a9ac8;outline:0;background:#fff;box-shadow:0 0 0 3px rgb(32 133 190 / .12)}.sgh-crm .sgh-form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:11px;margin-top:15px}.sgh-crm .sgh-crm-map-help{flex:1 1 100%;margin:-2px 0 3px;color:var(--crm-soft-muted);font-size:12px;line-height:1.5}.sgh-crm .button,.sgh-crm button.button,.sgh-crm button:not(.open-lead){display:inline-flex;min-height:42px;align-items:center;justify-content:center;gap:7px;padding:10px 16px;border:1px solid var(--crm-line-strong);border-radius:11px;background:#f7fafc;color:#31516d;font-family:inherit;font-size:13px;font-weight:750;line-height:1.2;text-align:center;text-decoration:none;text-shadow:none;box-shadow:none;cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease,box-shadow .15s ease}.sgh-crm .button:hover,.sgh-crm button.button:hover,.sgh-crm button:not(.open-lead):hover{transform:translateY(-1px);border-color:#a9c5d9;background:#edf5fa;color:var(--crm-navy)}.sgh-crm .button:focus-visible,.sgh-crm button:focus-visible{outline:3px solid rgb(32 133 190 / .24);outline-offset:2px}.sgh-crm .button.button-primary,.sgh-crm button.button-primary,.sgh-crm #add-school-btn,.sgh-crm #save-activity{border-color:#fff0;background:linear-gradient(135deg,#147fba 0%,#1769a3 100%);color:#fff;box-shadow:0 7px 16px rgb(20 121 184 / .16)}.sgh-crm .button.button-primary:hover,.sgh-crm button.button-primary:hover,.sgh-crm #add-school-btn:hover,.sgh-crm #save-activity:hover{background:linear-gradient(135deg,#0f6fa9 0%,#105b91 100%);color:#fff;box-shadow:0 9px 19px rgb(20 121 184 / .22)}.sgh-crm button:disabled,.sgh-crm .button:disabled{transform:none;opacity:.55;cursor:not-allowed}.sgh-crm .sgh-crm-pipeline-card{padding-bottom:20px}.sgh-crm .sgh-crm-section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.sgh-crm .sgh-crm-section-header h3{margin-bottom:5px}.sgh-crm .sgh-crm-section-header p{margin:0;font-size:13px}.sgh-crm .sgh-pipeline-controls{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,240px);gap:11px;margin:0 0 17px}.sgh-crm .sgh-pipeline{display:flex;align-items:stretch;gap:13px;width:100%;min-width:0;padding:3px 2px 12px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-color:#b9cad8 #edf3f7;scrollbar-width:thin}.sgh-crm .sgh-pipeline::-webkit-scrollbar{height:9px}.sgh-crm .sgh-pipeline::-webkit-scrollbar-track{border-radius:99px;background:#edf3f7}.sgh-crm .sgh-pipeline::-webkit-scrollbar-thumb{border:2px solid #edf3f7;border-radius:99px;background:#b9cad8}.sgh-crm .stage{flex:0 0 252px;width:252px;min-width:252px;min-height:265px;padding:12px;border:1px solid #e0e9f0;border-radius:15px;background:#f5f8fb;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.sgh-crm .stage.is-drag-over{border-color:#62a8d0;background:#eaf5fc;box-shadow:inset 0 0 0 2px rgb(20 121 184 / .09)}.sgh-crm .stage-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;padding:2px 1px 11px;border-bottom:1px solid #e0e9f0}.sgh-crm .stage-header h4{margin:0;color:#36546e;font-size:12px;font-weight:850;letter-spacing:.045em;text-transform:uppercase}.sgh-crm .stage-count{display:inline-flex;min-width:25px;height:25px;align-items:center;justify-content:center;padding:0 7px;border:1px solid #d9e6ef;border-radius:999px;background:#fff;color:#48657e;font-size:11px;font-weight:850;font-variant-numeric:tabular-nums}.sgh-crm .stage-items{display:grid;align-content:start;gap:9px;min-height:190px}.sgh-crm .lead-card{position:relative;display:block;min-width:0;margin:0;padding:13px;overflow:hidden;border:1px solid #e0e9f0;border-left:3px solid #83aeca;border-radius:12px;background:#fff;box-shadow:0 3px 10px rgb(24 61 91 / .045);cursor:grab;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease,opacity .15s ease}.sgh-crm .lead-card:hover{transform:translateY(-2px);border-color:#c5d9e7;box-shadow:0 8px 18px rgb(24 61 91 / .09)}.sgh-crm .lead-card.is-overdue{border-left-color:#d97757;background:linear-gradient(110deg,#fffaf8 0%,#fff 38%)}.sgh-crm .lead-card.is-dragging{opacity:.48;cursor:grabbing}.sgh-crm .lead-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.sgh-crm .lead-card h4{min-width:0;margin:0 0 8px;color:#1b3b59;font-size:13px;font-weight:800;line-height:1.4;overflow-wrap:anywhere}.sgh-crm .lead-bonus{display:inline-flex;margin:5px 0 0;padding:3px 7px;border-radius:6px;background:var(--crm-green-soft);color:var(--crm-green);font-size:10px;font-weight:850;white-space:nowrap}.sgh-crm .lead-address{display:-webkit-box;margin:0 0 8px;overflow:hidden;color:#72869a;font-size:11px;line-height:1.45;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.sgh-crm .lead-card>small{display:block;margin:8px 0 10px;color:#75899a;font-size:10px;line-height:1.45}.sgh-crm .lead-card>small.followup-overdue{color:var(--crm-red);font-weight:800}.sgh-crm .open-lead{display:inline-flex;min-height:31px;align-items:center;justify-content:center;margin-top:3px;padding:6px 11px;border:1px solid #d6e7f2;border-radius:8px;background:#f0f7fc;color:#176b9e;font-family:inherit;font-size:11px;font-weight:800;cursor:pointer;transition:background .15s ease,border-color .15s ease}.sgh-crm .open-lead:hover{border-color:#b4d4e7;background:#e4f2fa}.sgh-crm .sgh-grid>.sgh-card:has(#activity-type){display:flex;flex-direction:column;align-items:stretch;gap:11px}.sgh-crm #activity-type,.sgh-crm #contact-person,.sgh-crm #contact-phone,.sgh-crm #contact-email,.sgh-crm #notes,.sgh-crm #follow-up-date{width:100%}.sgh-crm .sgh-grid>.sgh-card:has(#activity-type)>h3{margin-bottom:2px}.sgh-crm .sgh-grid>.sgh-card:has(#activity-type)>label{margin:2px 0 -5px;color:#526b82;font-size:12px;font-weight:750}.sgh-crm #save-activity{align-self:flex-start;min-width:145px;margin-top:2px}.sgh-crm .sgh-activity-timeline{margin-top:9px;padding-top:17px;border-top:1px solid #e7eef4}.sgh-crm .sgh-activity-timeline:empty{display:none}.sgh-crm .sgh-activity-timeline>h3{margin-bottom:15px;color:#34546f;font-size:14px}.sgh-crm .sgh-timeline{position:relative;padding-left:21px;border-left:2px solid #dce8f0}.sgh-crm .timeline-item{position:relative;margin:0 0 14px}.sgh-crm .timeline-dot{position:absolute;top:13px;left:-28px;width:12px;height:12px;border:3px solid #fff;border-radius:50%;background:#2189bd;box-shadow:0 0 0 1px #b8d6e7}.sgh-crm .timeline-content{padding:12px 14px;border:1px solid #e3edf4;border-radius:11px;background:#f9fcfe}.sgh-crm .timeline-content h4{margin:0 0 4px;color:#31536f;font-size:12px}.sgh-crm .timeline-content p{margin:4px 0 0;color:#71869a;font-size:11px}.sgh-crm .sgh-followup-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.sgh-crm #notification-badge{display:inline-flex;min-width:24px;height:24px;align-items:center;justify-content:center;padding:0 7px;border-radius:999px;background:var(--crm-red-soft);color:var(--crm-red);font-size:11px;font-weight:850}.sgh-crm #followup-list{display:grid;gap:9px}.sgh-crm #followup-list>p{margin:0;padding:24px 16px;border:1px dashed #d5e2eb;border-radius:12px;background:#f9fcfe;color:#7b8e9e;text-align:center;font-size:13px}.sgh-crm .followup-item{position:relative;padding:13px 14px;border:1px solid #e0eaf1;border-left:3px solid #74a9c8;border-radius:11px;background:#fbfdff;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease}.sgh-crm .followup-item:hover{transform:translateY(-1px);border-color:#bfd7e7;background:#f2f9fd}.sgh-crm .followup-item strong{display:block;margin-bottom:4px;color:#254968;font-size:13px}.sgh-crm .followup-item small{color:#74899a;font-size:11px}.sgh-crm .followup-item.is-overdue{border-left-color:#d66b57;background:#fff9f7}.sgh-crm .followup-item.is-overdue small{color:var(--crm-red);font-weight:800}.sgh-crm #leaderboard-list{display:grid;gap:9px}.sgh-crm .sgh-card:has(#leaderboard-list)>p{margin:-5px 0 15px;font-size:13px}.sgh-crm #leaderboard-list:empty::before{display:block;padding:20px;border:1px dashed #d7e4ed;border-radius:12px;color:#8293a1;content:"Leaderboard information will appear here.";text-align:center}.sgh-crm .leaderboard-item{display:flex;align-items:center;gap:12px;padding:13px 15px;border:1px solid #e1eaf1;border-radius:12px;background:linear-gradient(100deg,#f9fcfe,#fff);color:#a17a2c;font-size:17px}.sgh-crm .leaderboard-item strong{display:block;color:#254763;font-size:13px;font-weight:800}.sgh-crm .leaderboard-item small{display:block;margin-top:4px;color:#718699;font-size:11px;line-height:1.5}.sgh-crm .sgh-map-school{min-width:190px;max-width:260px;padding:4px 2px;color:#304d67;font-family:inherit;font-size:12px;line-height:1.5}.sgh-crm .sgh-map-school strong{color:#173b5c;font-size:13px}.sgh-crm .sgh-map-school .sgh-map-add-school{min-height:34px;padding:7px 10px;font-size:11px}.sgh-crm .sgh-empty-state,.sgh-crm .sgh-loading-state{padding:22px 16px;border:1px dashed #d7e4ed;border-radius:12px;background:#f9fcfe;color:#7d8f9f;text-align:center}@media (max-width:900px){.sgh-crm.sgh-container{padding-top:8px}.sgh-crm .sgh-card{padding:20px}.sgh-crm .sgh-crm-stats{gap:12px}.sgh-crm .stage{flex-basis:238px;width:238px;min-width:238px}}@media (max-width:640px){.sgh-crm.sgh-container{padding:5px 0 34px}.sgh-crm .sgh-card{margin-bottom:14px;padding:17px;border-radius:15px}.sgh-crm .sgh-crm-header{min-height:0;padding:23px 21px;border-radius:17px}.sgh-crm .sgh-crm-header h2{font-size:27px}.sgh-crm .sgh-crm-header>p{font-size:13px}.sgh-crm .sgh-grid,.sgh-crm .sgh-crm-stats{grid-template-columns:1fr;gap:13px;margin-bottom:14px}.sgh-crm .sgh-grid>.sgh-card{height:auto}.sgh-crm .sgh-stat-card{min-height:98px;padding:16px 18px}.sgh-crm .sgh-form-grid{grid-template-columns:1fr;gap:10px}.sgh-crm .sgh-form-grid input:last-child{grid-column:auto}.sgh-crm .sgh-form-actions{align-items:stretch}.sgh-crm .sgh-form-actions .button{width:100%}.sgh-crm .sgh-pipeline-controls{grid-template-columns:1fr}.sgh-crm .sgh-crm-section-header{flex-direction:column;gap:5px}.sgh-crm .sgh-pipeline{margin-right:-3px;padding-right:3px}.sgh-crm .stage{flex-basis:min(78vw, 270px);width:min(78vw, 270px);min-width:min(78vw, 270px)}.sgh-crm #save-activity{width:100%}.sgh-crm .leaderboard-item{align-items:flex-start}.sgh-crm .leaderboard-item small{line-height:1.65}}@media (prefers-reduced-motion:reduce){.sgh-crm *,.sgh-crm *::before,.sgh-crm *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}