
/* MyCRM + Syntrix Foundation System adapter v1.6.0 */
:root{
  --sx-navy:#0A234E;--sx-navy-2:#061A3A;--sx-orange:#F97316;
  --primary:#0A234E;--primary-2:#061A3A;
}
html[data-theme="dark"]{
  --bg:#061A3A;--surface:#0b2348;--surface-2:#0f2d58;--text:#f8fafc;--muted:#a7b6cd;--line:#1f3f70;--dark:#020617;
}
html[data-theme="dark"] body.app-body{background:radial-gradient(circle at top left,rgba(249,115,22,.08),transparent 28%),#061A3A;color:var(--text)}
html[data-theme="dark"] .sidebar{background:#071d3c;border-right-color:#1f3f70}
html[data-theme="dark"] .topbar{background:rgba(7,29,60,.95);border-bottom-color:#1f3f70;backdrop-filter:blur(14px)}
html[data-theme="dark"] .card,html[data-theme="dark"] .table-card,html[data-theme="dark"] .filter-card,html[data-theme="dark"] .premium-card,html[data-theme="dark"] .business-card{background:#0b2348;border-color:#1f3f70;box-shadow:none}
html[data-theme="dark"] th{background:#0f2d58;color:#d5def0}html[data-theme="dark"] td{border-bottom-color:#1f3f70}html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#071d3c;border-color:#1f3f70;color:#f8fafc}html[data-theme="dark"] .btn-soft{background:#0f2d58;border-color:#2b5285;color:#f8fafc}.btn-primary{background:#0A234E;border-color:#0A234E}.btn-primary:hover{background:#061A3A}.premium-card:before{background:linear-gradient(90deg,#0A234E,#F97316)}.eyebrow{color:#F97316}.sx-icon{width:1.12em;height:1.12em;stroke:currentColor;fill:none;stroke-width:2;vertical-align:-.18em;display:inline-block}.icon-btn .sx-icon,.icon-action .sx-icon{width:18px;height:18px}.side-nav .sx-icon{width:17px;height:17px}.brand-logo{max-width:165px;height:42px}.foundation-table-footer{gap:12px;flex-wrap:wrap}.foundation-table-footer .footer-left,.foundation-table-footer .footer-right{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.foundation-table-footer label{display:flex;align-items:center;gap:8px;font-size:12px;text-transform:none;letter-spacing:0;color:var(--muted)}.foundation-table-footer select{width:auto;min-width:82px;height:36px;padding:6px 8px}.foundation-table-footer .btn{min-height:36px;padding:9px 12px}.foundation-table-footer .btn.disabled{opacity:.45;pointer-events:none}.sx-mobile-records{display:none}.sx-mobile-record-card{border:1px solid var(--line);background:var(--surface);padding:14px;display:grid;gap:12px}.sx-mobile-record-card header{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding-bottom:10px}.sx-mobile-record-card strong{font-size:15px}.sx-mobile-check{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted)}.sx-mobile-check input{width:auto;margin:0}.sx-mobile-record-card dl{display:grid;gap:8px;margin:0}.sx-mobile-record-card dl div{display:grid;grid-template-columns:120px 1fr;gap:8px}.sx-mobile-record-card dt{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:900}.sx-mobile-record-card dd{margin:0;word-break:break-word}.sx-mobile-record-card footer{border-top:1px solid var(--line);padding-top:10px}.sx-mobile-record-card.empty{color:var(--muted);text-align:center}.auth-card{border:1px solid var(--line)}.auth-page .brand-logo{height:48px}.table-card table input[type="checkbox"], .sx-mobile-record-card input[type="checkbox"]{accent-color:#F97316}
@media(max-width:760px){.premium-table .table-scroll{display:none}.sx-mobile-records{display:grid;gap:12px;padding:0 0 14px}.foundation-table-footer{align-items:stretch}.foundation-table-footer .footer-left,.foundation-table-footer .footer-right{width:100%;justify-content:space-between}.foundation-table-footer .btn{flex:1}.page-head .actions{width:100%;justify-content:stretch}.page-head .actions .btn{flex:1}.form-grid.two,.form-card .form-grid.two,.form-grid.four,.form-card .form-grid.four{grid-template-columns:1fr!important}.span-2{grid-column:auto}.advanced-filter form{grid-template-columns:1fr!important}.filter-card form{display:grid}.app-main{padding:20px 14px}.table-footer{padding:12px}.sx-mobile-record-card dl div{grid-template-columns:1fr}.sx-mobile-record-card dt{margin-bottom:-3px}}
