/* MF Coding adaptation of the bundled Edudash template. All assets remain local. */
:root{--primary:#25a194;--ink:#111827;--muted:#6b7280;--line:#ebecef;--bg:#f3f4f6}
body{font-family:'Segoe UI',Arial,sans-serif;background:var(--bg);color:var(--ink);font-size:14px}body::after{display:none}h1,h2,h3{font-family:inherit;color:#111827;line-height:1.4}button,input,select,textarea{font-family:inherit}button{font-weight:500;line-height:1.5}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #99ddd5;outline-offset:3px}.primary{background:#25a194;border-color:#25a194;color:#fff}.primary:hover{background:#1c7f73;border-color:#1c7f73;color:white}button:hover{background:#e6f7f5;color:#1c7f73}a{color:#1c7f73}
aside{width:268px;padding:0 16px 24px;border-right:1px solid #ebecef;z-index:20;background:#fff;overflow-y:auto;transition:width .2s}.brand{height:88px;display:flex;align-items:center;flex-shrink:0;border-bottom:1px solid #ebecef;margin:0 -16px 27px;padding:0 28px;font-size:30px;color:#25a194}.brand span{color:#111827}aside>.eyebrow{padding-left:14px;font-size:11px;letter-spacing:1px;color:#9ca3af;margin-bottom:15px}nav{gap:7px}nav button{padding:13px 15px;font-size:14px;border-radius:8px;color:#4b5563;font-weight:500}nav button.active{background:#25a194;color:white;box-shadow:none}nav i{font-size:21px;margin-right:10px}nav button:hover:not(.active){background:#e6f7f5;color:#1c7f73}.local{margin-top:40px;background:#e6f7f5;border:1px solid #cceee9;padding:16px;color:#145d55}.local small{color:#52877f}.local i{color:#25a194}
main{margin-left:268px;padding:0 28px 40px;transition:margin .2s}.crm-topbar{height:88px;background:white;margin:0 -28px;padding:0 28px;display:flex;align-items:center;gap:18px;box-shadow:0 4px 30px #344d4b08;border-bottom:1px solid #ebecef}.crm-topbar button{padding:7px 10px;border:0;font-size:24px;color:#4b5563;background:transparent}.workspace-label{color:#9ca3af;font-size:12px}.workspace-label b{display:block;color:#374151;font-weight:600;font-size:14px}.topbar-private{margin-left:auto;color:#6b7280;font-size:13px}.topbar-private i{color:#25a194;font-size:18px;vertical-align:middle;margin-right:6px}.profile-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#e6f7f5;color:#1c7f73;font-size:13px;font-weight:700;border:3px solid #f6fbfa}main>header{padding:25px 0 5px;border:0;margin-bottom:24px}main>header>div:first-child{display:flex;flex-direction:column-reverse;gap:4px}h1{font-size:25px;margin:0;font-weight:600}header small{font-size:12px}.header-actions{gap:12px}.local-pill{background:#e6f7f5;color:#1c7f73}#logout{border-color:#d1d5db;padding:8px 15px}
.panel{border:0;border-radius:10px;background:white;padding:24px;box-shadow:0 4px 30px #2e2d7408}.welcome{background:#e6f7f5;border:1px solid #cceee9;border-radius:10px;padding:26px 28px}.welcome h2{font-size:25px;font-weight:600}.welcome p:last-child{color:#52877f}.welcome .eyebrow{color:#1c7f73}.stats{gap:20px}.stat{border-bottom:3px solid #25a194;padding:24px;min-height:145px}.stat span{font-size:12px;max-width:85%;line-height:1.5}.stat strong{font-size:32px;margin-top:18px;color:#111827}.stat i{background:#e6f7f5;color:#25a194;border-radius:50%;font-size:23px;right:20px;top:22px;padding:8px 12px}.stat:nth-child(2){border-color:#487fff}.stat:nth-child(2) i{background:#edf1ff;color:#487fff}.stat:nth-child(3){border-color:#f59e0b}.stat:nth-child(3) i{background:#fff5df;color:#e5a000}.stat:nth-child(4){border-color:#8252e9}.stat:nth-child(4) i{background:#f2ecff;color:#8252e9}.track{background:#eef2f6}.track div{background:#25a194}.dot{background:#25a194}.d7{background:#ef4444}.two-cols{gap:24px}.section-head h2,h2{font-size:18px;font-weight:600}.strategy h3{font-size:15px}.three-cols span{color:#25a194;background:#e6f7f5;padding:5px 9px;border-radius:6px;display:inline-block}.priority i{color:#f59e0b}
.filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 20px;padding-bottom:20px;margin-bottom:16px;border-bottom:1px solid #ebecef}.filter-field{margin:0;min-width:0;font-size:12px;font-weight:600;color:#4b5563}.filters .filter-field input,.filters .filter-field select{min-width:0;width:100%;height:44px;margin-top:7px;font-size:13px;background-color:#fff}.filters select{appearance:auto}input,select,textarea{border-color:#d1d5db;border-radius:8px;padding:10px 13px;background:#fff;color:#374151}input:focus,select:focus,textarea:focus{border-color:#25a194;box-shadow:0 0 0 3px #25a19415}input[readonly]{background:#f8f9fa;color:#6b7280}#filter-count{font-size:13px;display:inline-block;background:#e6f7f5;color:#1c7f73!important;border-radius:6px;padding:7px 11px}
.table-wrap{border-radius:8px;overflow-x:auto}.bordered-table{width:100%;min-width:950px;border:1px solid #ebecef;border-collapse:separate;border-spacing:0;border-radius:8px}.bordered-table thead tr th{background:#eef2f6!important;font-size:12px;font-weight:600;color:#374151!important;padding:14px 16px!important}.bordered-table tbody tr td{padding:17px 16px;font-size:13px;color:#4b5563;border-bottom:1px solid #ebecef;vertical-align:middle}.bordered-table tbody tr:last-child td{border-bottom:0}.bordered-table tbody tr:hover{background:#f7fcfb}.bordered-table td strong{color:#111827;font-weight:600;min-width:155px;max-width:260px}.bordered-table td small{font-size:11px;color:#6b7280}.bordered-table td button{background:#e6f7f5;border:0;color:#1c7f73;font-size:12px;white-space:nowrap}.badge-stage{background:#e6f7f5;color:#1c7f73;border-radius:5px;padding:5px 9px;font-weight:500;font-size:11px}.pagination{display:flex;width:100%;padding-top:20px}.pagination>div{display:flex;gap:8px;align-items:center}.pagination button{border-color:#ebecef;border-radius:6px;padding:7px 12px}.pagination #page{background:#25a194;color:white;border-radius:6px;padding:7px 11px}.warning{color:#bd7b14}.empty i{color:#25a194}.empty{padding:60px 15px}
dialog{background:#fff;border:0;border-radius:12px;width:980px;max-width:95vw;padding:0;color:#374151}dialog::backdrop{background:#11182770}.dialog-top{padding:22px 28px;border-bottom:1px solid #ebecef;background:#fff}.dialog-top h2{font-size:21px;color:#111827}.dialog-top button{border-radius:50%;width:36px;height:36px;padding:0;background:#f3f4f6;border:0}#detail-content{padding:28px}.form-grid{gap:0 24px}label{color:#374151;font-size:13px;margin-bottom:19px}.checkbox{padding-top:22px}.notice{background:#e6f7f5;color:#1c7f73}.timeline article{border-left:2px solid #99ddd5;background:#f8fbfa;border-radius:0 8px 8px 0;padding:12px 18px}.deal-row{padding:14px 0}.service-tags{gap:8px}.login{background:linear-gradient(135deg,#e6f7f5 0%,#f8f9fa 60%,#eef2f6 100%)}.login-card .brand{border-bottom:0;margin:0;padding:0;height:70px}.login-card{border:1px solid #ebecef;padding:36px;box-shadow:0 20px 60px #145d5510}.login-card .eyebrow{color:#25a194}.login-card h1{margin:8px 0 14px}#toast{background:#1c7f73}
body.menu-collapsed aside{width:0;padding-left:0;padding-right:0;overflow:hidden;border:0}body.menu-collapsed main{margin-left:0}
@media(min-width:1550px){.filters{grid-template-columns:minmax(250px,1.8fr) repeat(5,minmax(130px,1fr));gap:14px}}
@media(max-width:1100px){aside{width:230px}main{margin-left:230px;padding:0 22px 28px}.crm-topbar{margin:0 -22px;padding:0 22px}.stats{grid-template-columns:repeat(2,1fr)}.two-cols{grid-template-columns:1fr}.filters{grid-template-columns:repeat(2,minmax(0,1fr))}nav button{font-size:13px;padding:12px 10px}}
@media(max-width:700px){aside{position:static;width:100%;padding:0 14px 14px;overflow:visible}.brand{height:65px;margin:0 0 10px;padding:0 5px;border:0}nav{display:flex;overflow-x:auto;gap:6px}nav button{flex-shrink:0;font-size:12px;padding:10px}nav i{font-size:17px;margin-right:5px}main{margin:0;padding:0 14px 25px}.crm-topbar{height:62px;margin:0 -14px;padding:0 14px}.workspace-label{display:none}main>header{padding:20px 0 0}h1{font-size:22px}.filters{grid-template-columns:1fr}.panel{padding:18px}.stats{gap:12px}.stat{min-height:120px;padding:18px}.stat i{display:none}.stat strong{font-size:27px}.welcome{padding:22px}.welcome h2{font-size:21px}.three-cols{grid-template-columns:1fr}.section-head{gap:12px}.section-head p{font-size:12px}.section-head button{font-size:12px;flex-shrink:0}#detail-content{padding:20px}.form-grid{grid-template-columns:1fr}.dialog-top{padding:18px 20px}.dialog-top h2{font-size:18px}.pagination{font-size:11px}.pagination button{padding:6px 9px}body.menu-collapsed aside{display:none}.login-card .brand{display:flex}}
/* Compact CRM typography: override the template's oversized !important headings. */
:root{--h1:22px;--h2:17px;--h3:15px;--h4:14px;--h5:13px;--h6:13px}
body{font-size:13px;line-height:1.55}
h1,h2,h3,h4,h5,h6{letter-spacing:normal;line-height:1.4}
.welcome h2{font-size:21px!important}.dialog-top h2{font-size:19px!important}.login-card h1{font-size:22px!important}
button,input,select,textarea{font-size:13px;line-height:1.5}
nav button{font-size:13px;padding:11px 13px}nav i{font-size:19px}
.brand{font-size:26px}.workspace-label b{font-size:13px}
main>header{padding-top:20px;margin-bottom:20px}
.panel{padding:20px}.welcome{padding:22px 24px}
.stat{min-height:126px;padding:20px}.stat strong{font-size:27px}.stat i{font-size:20px;padding:7px 10px}.stat span{font-size:12px}
.filters{gap:12px 16px;padding-bottom:16px}.filters .filter-field input,.filters .filter-field select{height:39px;font-size:13px}
label,.filter-field{font-size:12px}label{margin-bottom:15px}
input,select,textarea{padding:8px 11px}
.bordered-table thead tr th{font-size:12px!important;padding:11px 13px!important}
.bordered-table tbody tr td{font-size:13px;padding:12px 13px}
.bordered-table td strong{font-size:13px}.badge-stage{font-size:11px;padding:4px 8px}
#detail-content{padding:22px}.dialog-top{padding:18px 22px}.form-grid{gap:0 20px}
.timeline p,.three-cols p,.priority p{font-size:13px}
@media(max-width:700px){:root{--h1:20px;--h2:16px;--h3:14px}.welcome h2{font-size:19px!important}.dialog-top h2{font-size:17px!important}.panel{padding:16px}#detail-content{padding:18px}.stat strong{font-size:25px}}
/* Supplied original logo; preserve its aspect ratio. */
.brand.brand-image{padding:10px 22px;height:100px;justify-content:center;background:#fff}
.brand-image img{display:block;width:100%;max-width:220px;height:80px;object-fit:contain}
.login-card .brand.brand-image{height:116px;padding:0;margin:0 0 12px;justify-content:flex-start}
.login-card .brand-image img{max-width:270px;height:110px}
@media(max-width:700px){.brand.brand-image{height:80px;padding:0 6px;justify-content:flex-start}.brand-image img{width:190px;height:76px}}
.logo-menu{position:relative}.crm-topbar button.profile-avatar{width:42px;height:42px;padding:0;font-size:13px;background:#e6f7f5;border-radius:50%;color:#1c7f73}#change-logo{position:absolute;right:0;top:50px;z-index:30;width:155px;background:white;border:1px solid #ebecef;box-shadow:0 6px 24px #0002;font-size:13px;padding:12px}#logo-editor{width:690px}.logo-editor-body{padding:24px}#logo-canvas{display:block;width:100%;height:auto;border:1px dashed #9ca3af;border-radius:8px;touch-action:none;cursor:move;background:repeating-conic-gradient(#eee 0% 25%,#fff 0% 50%) 0/16px 16px;margin-bottom:20px}.logo-preview{background:white;border:1px solid #ebecef;padding:12px;min-height:65px;display:flex;align-items:center;justify-content:center}.logo-preview img{height:auto;max-width:100%}.logo-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}#logo-error{color:#b74d4d;margin-top:12px}#logo-editor input[type=range]{padding:0;accent-color:#25a194}
/* Neutral MF Coding logo palette. */
:root{--primary:#353537;--primary-50:#f5f5f5;--primary-100:#ededee;--primary-200:#d4d4d6;--primary-300:#b1b1b5;--primary-400:#85858b;--primary-500:#505055;--primary-600:#353537;--primary-700:#242426;--primary-800:#18181a;--primary-900:#101012;--ink:#242426;--muted:#737378;--bg:#f5f5f6;--line:#e7e7e9}
body{background:#f5f5f6;color:#242426}a{color:#353537}button:hover{background:#ededee;color:#242426}.primary,nav button.active{background:#353537;border-color:#353537;color:#fff}.primary:hover{background:#18181a;border-color:#18181a;color:#fff}nav button:hover:not(.active){background:#f0f0f1;color:#242426}button:focus-visible,a:focus-visible,summary:focus-visible{outline-color:#a1a1a6}input:focus,select:focus,textarea:focus{border-color:#737378;box-shadow:0 0 0 3px #35353712}
.brand{color:#353537}.local{background:#f3f3f4;border-color:#e7e7e9;color:#353537}.local small,.local i,.topbar-private i{color:#737378}.local-pill,.profile-avatar,.crm-topbar button.profile-avatar{background:#eeeeef;color:#353537}.welcome{background:#eeeef0;border-color:#e2e2e5}.welcome p:last-child,.welcome .eyebrow{color:#64646b}.stat:nth-child(n){border-color:#85858b}.stat:nth-child(n) i{background:#f0f0f1;color:#505055}.track{background:#eeeef0}.track div,.dot{background:#737378}.d7{background:#b76b6b}.three-cols span,.badge-stage{background:#eeeef0;color:#505055}.priority i{color:#737378}#filter-count{background:#eeeef0;color:#353537!important}.bordered-table td button{background:#eeeef0;color:#353537}.bordered-table tbody tr:hover{background:#fafafa}.pagination #page{background:#353537;color:#fff}.notice{background:#f0f0f1;color:#505055}.timeline article{border-color:#b1b1b5;background:#f8f8f9}.empty i{color:#85858b}.login{background:linear-gradient(135deg,#e9e9eb,#fafafa 60%,#f0f0f2)}.login-card{box-shadow:0 20px 60px #24242610}.login-card .eyebrow{color:#737378}#toast{background:#353537}#toast.error{background:#b74d4d}#logo-editor input[type=range]{accent-color:#353537}
/* Consistent close controls, independent of font glyph alignment. */
.dialog-top>button{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;min-width:34px;min-height:34px;padding:0!important;margin:0;border:0;border-radius:50%;background:#f3f3f4;color:#353537;font-size:0!important;line-height:1;box-sizing:border-box}
.dialog-top>button::before,.dialog-top>button::after{content:'';position:absolute;left:50%;top:50%;width:14px;height:1.5px;background:currentColor;border-radius:1px;transform:translate(-50%,-50%) rotate(45deg);pointer-events:none}
.dialog-top>button::after{transform:translate(-50%,-50%) rotate(-45deg)}
.dialog-top>button:hover{background:#e7e7e9;color:#18181a}
.dialog-top>h2{min-width:0;overflow-wrap:anywhere;padding-right:16px}
.business-links{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.business-links:empty{display:none}.business-link{display:inline-flex;align-items:center;padding:9px 13px;border:1px solid #d4d4d6;border-radius:8px;color:#353537;background:#f5f5f6;font-size:13px;font-weight:500;text-decoration:none}.business-link:hover{background:#e7e7e9;color:#18181a}
.business-links{margin:0 0 18px;gap:10px}
.business-link{min-height:40px;padding:9px 14px;justify-content:center;border:1px solid #d4d4d6;border-radius:8px;background:#fff;color:#353537;font-size:13px;font-weight:500;line-height:1.5}
.business-link:hover{background:#f3f3f4;color:#18181a}
.business-link.business-link-primary{background:#242426;border-color:#242426;color:#fff}
.business-link.business-link-primary:hover{background:#101012;border-color:#101012;color:#fff}
/* Unified dark button color requested by MF Coding. */
.primary,nav button.active,.business-link.business-link-primary,.pagination #page{background:#323234;border-color:#323234;color:#fff}
.primary:hover,nav button.active:hover,.business-link.business-link-primary:hover{background:#323234;border-color:#323234;color:#fff}
.bordered-table th .name-sort{display:inline-flex;align-items:center;gap:12px;border:0;background:transparent;padding:0;font-size:12px;font-weight:600;color:#323234;white-space:nowrap}.name-sort span{font-size:11px;font-weight:500}.bordered-table th .name-sort:hover{color:#000;text-decoration:underline}
.name-sort .sort-arrows{display:inline-flex;flex-direction:column;gap:1px;margin-left:3px;line-height:1;color:#cdd0d3}.name-sort .sort-arrows span{font-size:9px;line-height:1}.name-sort .sort-arrows.asc .sort-up,.name-sort .sort-arrows.desc .sort-down{color:#696e73}.bordered-table th .name-sort:hover{text-decoration:none}
/* Restore native checkbox behavior suppressed by the template input reset. */
#business-form .checkbox{cursor:pointer;display:flex;align-items:center;gap:10px;min-height:44px}
#business-form .checkbox input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;display:inline-block;flex:0 0 20px;width:20px;height:20px;min-width:20px;padding:0;margin:0;border-radius:3px;accent-color:#323234;cursor:pointer;box-shadow:none}
#business-form .checkbox:has(input:checked){color:#323234;font-weight:700}
#business-form .checkbox input:focus-visible{outline:2px solid #737378;outline-offset:3px}
.mailer-layout{display:grid;grid-template-columns:minmax(300px,1fr) minmax(400px,1.2fr);gap:24px;align-items:start}.mailer-layout>section{min-width:0}.mailer-layout>section:last-child{position:sticky;top:16px}@media(max-width:1100px){.mailer-layout{grid-template-columns:1fr}.mailer-layout>section:last-child{position:static}}
