*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:#f5f7fb;color:#172033}a{color:#1769e0;text-decoration:none}aside{position:fixed;width:230px;height:100vh;background:#101827;color:#cbd5e1;padding:28px 20px}.brand{font-size:25px;font-weight:800;color:#fff}.brand span{color:#5aa2ff}.brand.big{font-size:36px;color:#172033}.small{font-size:11px;margin-top:5px;color:#8090a7}nav{margin-top:38px}nav a{display:block;padding:12px 10px;margin:5px 0;color:#cbd5e1;border-radius:8px}nav a:hover{background:#1d2939;color:white}.account{position:absolute;bottom:25px;font-size:12px;line-height:1.8}.account a{color:#7eb5ff}main{margin-left:230px;padding:34px;max-width:1600px}.full{margin:0}.login{width:390px;margin:10vh auto;background:white;padding:40px;border-radius:16px;box-shadow:0 12px 40px #1e293b18}.top{display:flex;align-items:center;justify-content:space-between}h1{margin:0 0 5px;font-size:30px}h2{font-size:18px}p{color:#667085}.cards{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;margin:28px 0}.card,section{background:white;border:1px solid #e7eaf0;border-radius:12px;padding:20px}.card b{display:block;font-size:25px}.card span{font-size:12px;color:#667085}.grid2{display:grid;grid-template-columns:2fr 1fr;gap:20px}.tabs{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;margin:20px 0}table{width:100%;border-collapse:collapse;background:white}th,td{text-align:left;padding:12px;border-bottom:1px solid #edf0f4;font-size:13px}th{font-size:11px;text-transform:uppercase;color:#667085}label{display:block;font-size:12px;font-weight:600;margin:12px 0 5px}input,select,textarea{width:100%;padding:10px;border:1px solid #d9dee8;border-radius:7px;background:white}textarea{min-height:70px}button,.button{display:inline-block;background:#1769e0;color:white;border:0;border-radius:7px;padding:10px 15px;font-weight:600;cursor:pointer;margin-top:10px}.mini{padding:6px 9px;margin:0;font-size:11px}.row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pill{display:inline-block;background:#edf4ff;color:#175cd3;padding:4px 8px;border-radius:12px;font-size:11px;margin:3px}.item,.timeline{padding:12px 0;border-bottom:1px solid #edf0f4;font-size:13px}.item span{color:#667085}.timeline p{margin:5px 0;color:#344054}.activityform{max-width:700px}.activityform select{width:160px}.kanban{display:flex;gap:12px;overflow-x:auto;padding:20px 0}.column{min-width:245px;width:245px;background:#eef1f6;padding:12px;border-radius:10px}.column h3{font-size:13px}.column h3 span{float:right;background:white;padding:2px 6px;border-radius:10px}.deal{background:white;padding:13px;margin:10px 0;border-radius:8px;box-shadow:0 1px 2px #0001}.deal p{font-size:12px;margin:5px 0}.deal select{font-size:11px;margin-top:10px}.done{opacity:.5;text-decoration:line-through}.flash{padding:12px;border-radius:7px;margin-bottom:15px}.success{background:#e8eef7}.danger{background:#fdecec}details{margin-top:15px}summary{cursor:pointer;color:#1769e0;font-weight:600}.search{display:flex;gap:8px;margin-bottom:15px}.search button{margin:0}@media(max-width:1000px){.cards{grid-template-columns:repeat(2,1fr)}.tabs,.grid2{grid-template-columns:1fr}aside{width:190px}main{margin-left:190px}.kanban{max-width:calc(100vw - 240px)}}

.emailbox{max-width:850px;margin-top:20px}.emailbody{min-height:320px}.muted{font-weight:400;color:#667085}.account span{color:#cbd5e1;word-break:break-all}
.calendar-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;flex-wrap:wrap}.calendar-nav{display:flex;gap:8px;flex-wrap:wrap}.button.secondary{background:white;color:#344054;border:1px solid #d9dee8;margin-top:0}.calendar-legend{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 12px}.legend{font-size:11px;padding:5px 9px;border-radius:14px;background:#eef1f6}.legend.call{border-left:4px solid #1769e0}.legend.email{border-left:4px solid #7a5af8}.legend.follow{border-left:4px solid #f79009}.legend.complete{opacity:.55;text-decoration:line-through}.calendar-wrap{padding:0;overflow:hidden}.calendar-title{padding:18px 20px;margin:0}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr))}.weekdays{background:#f8fafc;border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4}.weekdays div{padding:9px 10px;font-size:11px;font-weight:700;color:#667085;text-transform:uppercase}.calendar-day{min-height:130px;padding:8px;border-right:1px solid #edf0f4;border-bottom:1px solid #edf0f4;background:#fff}.calendar-day:nth-child(7n){border-right:0}.calendar-day.outside{background:#fafbfc;color:#98a2b3}.calendar-day.today .day-number{background:#1769e0;color:#fff}.day-number{width:27px;height:27px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;margin-bottom:5px}.day-events{display:flex;flex-direction:column;gap:4px}.cal-event{display:block;border-left:3px solid #98a2b3;background:#f5f7fa;border-radius:4px;padding:5px 6px;color:#344054;font-size:10px;line-height:1.25;overflow:hidden}.cal-event b,.cal-event span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cal-event.call{border-color:#1769e0}.cal-event.email{border-color:#7a5af8}.cal-event.follow-up{border-color:#f79009}.cal-event.event-done{opacity:.48;text-decoration:line-through}.cal-event:hover{background:#eef4ff}.cal-tip{display:none;position:absolute;z-index:1000;width:310px;background:#101827;color:#fff;padding:13px 14px;border-radius:9px;box-shadow:0 8px 30px #0003;font-size:12px;pointer-events:none}.cal-tip.show{display:block}.cal-tip b,.cal-tip span{display:block}.cal-tip span{color:#b8c3d5;margin-top:3px}.cal-tip p{color:#e5e7eb;white-space:pre-wrap;margin:9px 0;max-height:120px;overflow:hidden}.cal-tip small{color:#9fb2cc}@media(max-width:900px){.calendar-wrap{overflow-x:auto}.calendar-grid{min-width:840px}}
.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:20px 0 12px}.calendar-toolbar .calendar-legend{margin:0}.calendar-views{display:flex;gap:6px;flex-wrap:wrap}.calendar-views .button.active{background:#1769e0;color:#fff;border-color:#1769e0}.day-number{color:inherit}.agenda-grid{display:grid;grid-template-columns:repeat(var(--agenda-cols),minmax(150px,1fr));min-height:480px}.agenda-day{border-right:1px solid #edf0f4;background:#fff;min-width:0}.agenda-day:last-child{border-right:0}.agenda-day.today .agenda-head{background:#eef4ff}.agenda-head{padding:14px;border-bottom:1px solid #edf0f4;background:#f8fafc}.agenda-head a{color:#172033}.agenda-head b,.agenda-head span{display:block}.agenda-head span{font-size:12px;color:#667085;margin-top:3px}.agenda-events{padding:10px;display:flex;flex-direction:column;gap:8px}.agenda-events .cal-event{font-size:12px;padding:9px 10px}.agenda-events .cal-event small{display:block;color:#667085;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.agenda-empty{font-size:12px;color:#98a2b3;text-align:center;padding:30px 5px}.agenda-day.today{box-shadow:inset 0 3px 0 #1769e0}@media(max-width:1100px){.agenda-grid{overflow-x:auto;grid-template-columns:repeat(var(--agenda-cols),minmax(190px,1fr))}.agenda-week,.agenda-workweek{min-width:950px}.agenda-day{min-height:400px}}
.calendar-add-target{cursor:default}.calendar-add-target:hover{background-color:#fbfcfe}.calendar-add-target:after{content:'Double-click to add event';display:block;margin-top:10px;font-size:9px;color:#b0b7c3;opacity:0;transition:opacity .15s}.calendar-add-target:hover:after{opacity:1}.form-grid .full{grid-column:1/-1}@media(max-width:700px){.form-grid .full{grid-column:auto}}
.pagehead{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;flex-wrap:wrap}.muted{color:#718096}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px}.button.secondary{background:#edf2f7;color:#253047}.stats{display:grid;grid-template-columns:repeat(5,minmax(110px,1fr));gap:12px;margin:18px 0}.stats a{background:white;border:1px solid #e3e8ef;border-radius:12px;padding:16px;text-decoration:none;color:inherit}.stats b{display:block;font-size:28px}.stats span{color:#718096}.status-new{background:#e8f0ff;color:#2456a6}.status-open{background:#fff4d6;color:#8a5a00}.status-reopened{background:#f4e8ff;color:#6c36a0}.status-closed{background:#e7edf6;color:#244573}.support-message{border-left-width:4px}.support-message.inbound{border-left-color:#4a6fa5}.support-message.outbound{border-left-color:#2f5385}.support-message.internal{border-left-color:#805ad5;background:#faf7ff}.messagebody{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:850px){.stats{grid-template-columns:repeat(2,1fr)}}


/* ===== PulseCRM redesigned login ===== */
.login-page-body{background:#eef3f4;min-height:100vh;color:#172033}
.login-page-body main.full{margin:0;padding:0;max-width:none;min-height:100vh}
.login-page-body .flash{position:fixed;z-index:50;top:18px;left:50%;transform:translateX(-50%);width:min(520px,calc(100% - 32px));box-shadow:0 10px 30px #0002}
.crm-login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(420px,1.1fr) minmax(430px,.9fr);background:#eef3f4}
.crm-login-hero{position:relative;display:flex;align-items:center;overflow:hidden;padding:64px clamp(40px,6vw,92px);color:#fff;background:
radial-gradient(circle at 20% 18%,rgba(55,177,104,.22),transparent 30%),
linear-gradient(145deg,#122b3d 0%,#17384a 54%,#1c4a50 100%)}
.crm-login-hero:after{content:"";position:absolute;right:-110px;top:-8%;width:210px;height:116%;background:#3565a8;transform:rotate(8deg);opacity:.95}
.crm-login-hero-inner{position:relative;z-index:2;max-width:650px}
.crm-login-kicker{font-size:12px;font-weight:800;letter-spacing:.18em;color:#92b0d9;margin-bottom:22px}
.crm-login-hero h1{font-size:clamp(40px,4.5vw,68px);line-height:1.05;letter-spacing:-.045em;margin:0 0 24px;color:#fff}
.crm-login-hero h1 span{color:#6696d9}
.crm-login-intro{max-width:570px;font-size:17px;line-height:1.7;color:#d4e2e8;margin:0 0 38px}
.crm-login-features{display:grid;gap:18px;max-width:560px}
.crm-login-feature{display:grid;grid-template-columns:48px 1fr;gap:14px;align-items:center}
.crm-feature-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#ffffff12;border:1px solid #ffffff24;color:#73a0df;font-size:10px;font-weight:900;letter-spacing:.05em}
.crm-login-feature b,.crm-login-feature span{display:block}
.crm-login-feature b{font-size:14px;color:#fff;margin-bottom:4px}
.crm-login-feature span{font-size:12px;line-height:1.5;color:#bcd0d9}
.crm-login-quote{margin-top:38px;padding:17px 20px;border-left:3px solid #5486cc;background:#ffffff0c;border-radius:0 10px 10px 0;color:#d7e7ed;font-size:13px;font-style:italic;max-width:570px}
.crm-login-panel{display:flex;align-items:center;justify-content:center;padding:44px clamp(28px,5vw,76px);background:linear-gradient(135deg,#f4f7f7,#e7eeee)}
.crm-login-card{width:min(100%,500px);background:#fff;border:1px solid #e1e7e9;border-radius:24px;padding:46px 48px;box-shadow:0 24px 70px rgba(20,47,61,.16)}
.crm-login-logo-wrap{text-align:center;margin-bottom:26px}
.crm-login-logo-wrap img{display:inline-block;max-width:230px;max-height:92px;width:auto;height:auto;object-fit:contain}
.crm-login-card h2{text-align:center;font-size:28px;letter-spacing:-.02em;margin:0 0 8px;color:#172033}
.crm-login-subtitle{text-align:center;margin:0 0 30px;color:#75818c;font-size:14px}
.crm-login-form label{font-size:12px;color:#344054;margin:14px 0 7px}
.crm-login-input{display:flex;align-items:center;gap:10px;border:1px solid #d7dee2;border-radius:9px;background:#fff;padding:0 12px;transition:border-color .15s,box-shadow .15s}
.crm-login-input:focus-within{border-color:#3565a8;box-shadow:0 0 0 3px rgba(53,168,95,.13)}
.crm-login-input>span{font-size:9px;color:#8c98a2}
.crm-login-input input{border:0;outline:0;padding:12px 0;border-radius:0;min-width:0}
.crm-password-row{display:flex;justify-content:space-between;align-items:end}
.crm-password-toggle{width:auto;background:transparent;color:#4d5963;padding:6px;border:0;margin:0;font-size:11px;font-weight:700}
.crm-login-options{display:flex;justify-content:space-between;align-items:center;margin:16px 0 4px}
.crm-remember{display:flex!important;align-items:center;gap:8px;margin:0!important;font-weight:500!important;color:#5f6b76!important}
.crm-remember input{width:auto;margin:0}
.crm-signin{width:100%;margin-top:18px;padding:13px 18px;border-radius:9px;background:#3464a8;box-shadow:0 8px 18px rgba(52,168,95,.2);font-size:14px}
.crm-signin:hover{background:#2f5b99}
.crm-signin span{float:right;font-size:18px;line-height:15px}
.crm-login-secure{margin-top:26px;padding:15px 16px;border-radius:10px;background:#f0f4fa;border:1px solid #d8e2f0;text-align:center}
.crm-login-secure b,.crm-login-secure span{display:block}
.crm-login-secure b{font-size:12px;color:#244574;margin-bottom:3px}
.crm-login-secure span{font-size:10px;color:#688174}
.crm-login-help{text-align:center;margin-top:22px;color:#8a959e;font-size:10px}
@media(max-width:900px){
 .crm-login-shell{grid-template-columns:1fr}
 .crm-login-hero{min-height:auto;padding:48px 30px}
 .crm-login-hero:after{display:none}
 .crm-login-hero h1{font-size:42px}
 .crm-login-panel{padding:32px 18px 48px}
 .crm-login-card{padding:36px 26px}
}
@media(max-width:520px){
 .crm-login-hero{padding:38px 22px}
 .crm-login-hero h1{font-size:35px}
 .crm-login-intro{font-size:15px}
 .crm-login-feature{grid-template-columns:42px 1fr}
}

/* Time & Attendance */
.attendance-grid{display:grid;grid-template-columns:minmax(360px,1fr) minmax(280px,.7fr);gap:18px}
.attendance-clock{text-align:center}.big-timer{font-size:52px;font-weight:800;letter-spacing:.04em;margin:24px 0 8px;font-variant-numeric:tabular-nums}
.attendance-state{margin-top:12px}.attendance-times{display:flex;justify-content:center;gap:28px;margin:22px 0}.attendance-times span{display:flex;flex-direction:column;gap:4px}
.attendance-actions{display:flex;justify-content:center;gap:12px}.attendance-actions form{margin:0}.attendance-primary{font-size:18px;padding:14px 34px}
@media(max-width:850px){.attendance-grid{grid-template-columns:1fr}.big-timer{font-size:42px}}

/* Persistent sidebar attendance timer */
.sidebar-attendance{margin:18px 10px 12px;padding:14px;border-radius:12px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);color:#fff}
.sidebar-attendance-title{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;opacity:.72;margin-bottom:10px}
.sidebar-attendance-status{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700}
.sidebar-dot{width:8px;height:8px;border-radius:50%;background:#4b84d4;box-shadow:0 0 0 3px rgba(75,212,119,.13)}
.sidebar-dot.break{background:#f2b84b;box-shadow:0 0 0 3px rgba(242,184,75,.13)}
.sidebar-dot.off{background:#89959d;box-shadow:none}
.sidebar-timer{font-size:24px;font-weight:800;letter-spacing:.035em;font-variant-numeric:tabular-nums;margin:10px 0 1px}
.sidebar-timer-label{font-size:9px;opacity:.6;margin-bottom:10px}
.sidebar-attendance-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}
.sidebar-attendance-actions form{margin:0}.sidebar-attendance button{width:100%;padding:8px 6px;font-size:10px;border-radius:7px}
.sidebar-attendance .secondary{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);color:#fff}
.sidebar-clockin{margin-top:11px;background:#366bb5!important}
.sidebar-attendance-link{display:block!important;margin-top:10px!important;padding:0!important;font-size:9px!important;opacity:.68;background:transparent!important}

/* Dedicated Reports sidebar hierarchy */
.sidebar-reports-section{margin:16px 10px 4px;padding-top:12px;border-top:1px solid rgba(255,255,255,.12)}
.sidebar-section-heading{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.1em;opacity:.55;padding:0 7px 8px}
.sidebar-menu-group summary{cursor:pointer;list-style:none;padding:8px 7px;font-size:12px;font-weight:750;color:#fff}
.sidebar-menu-group summary::-webkit-details-marker{display:none}
.sidebar-menu-group summary:before{content:'▾';display:inline-block;width:15px;font-size:9px;opacity:.65}
.sidebar-menu-group:not([open]) summary:before{content:'▸'}
.sidebar-submenu{margin:0 0 5px 15px;border-left:1px solid rgba(255,255,255,.15);padding-left:7px}
.sidebar-submenu a{display:block!important;padding:6px 8px!important;font-size:11px!important;opacity:.78;background:transparent!important;border-radius:6px}
.sidebar-submenu a:hover{opacity:1;background:rgba(255,255,255,.08)!important}

/* Attendance clock position: directly below PulseCRM logo */
.sidebar-attendance{margin-top:10px;margin-bottom:14px}

/* Reports now uses the same sidebar navigation styling as the other sections */
.normal-reports-nav{margin:0;padding:0}
.normal-reports-nav>a{display:block}
.normal-reports-nav .nav-subgroup{margin:1px 0 5px 18px;padding-left:8px;border-left:1px solid rgba(255,255,255,.13)}
.normal-reports-nav .nav-subgroup-title{font-size:10px;font-weight:700;opacity:.62;padding:5px 8px 3px}
.normal-reports-nav .nav-subgroup a{font-size:10px!important;padding:5px 8px!important;opacity:.72}
.normal-reports-nav .nav-subgroup a:hover{opacity:1}

/* Projects */
.project-active-row{display:grid;grid-template-columns:1fr auto 1.2fr;gap:18px;align-items:center}.project-timer{font-size:32px;font-weight:800;font-variant-numeric:tabular-nums}
.sidebar-project-clock{border-top:1px solid rgba(255,255,255,.13);margin-top:12px;padding-top:10px}.sidebar-project-label{font-size:9px;font-weight:800;opacity:.55;letter-spacing:.08em}.sidebar-project-name{font-size:11px;font-weight:700;margin-top:3px}.sidebar-project-timer{font-size:19px;font-weight:800;font-variant-numeric:tabular-nums;margin:5px 0}.sidebar-project-clock form{margin:0}.sidebar-project-clock button{width:100%;font-size:9px;padding:7px}
@media(max-width:850px){.project-active-row{grid-template-columns:1fr}}

/* Horizontal PulseCRM navigation */
body:not(.login-page){padding:0!important;margin:0!important}
aside,.sidebar{display:none!important}
.ez-topbar{height:70px;display:flex;align-items:center;gap:24px;padding:0 24px;background:#102a2b;color:#fff;position:sticky;top:0;z-index:1000;box-shadow:0 2px 10px rgba(0,0,0,.12)}
.ez-topbar-brand{display:flex;align-items:center;flex:0 0 auto}.ez-topbar-brand img{display:block;max-height:42px;max-width:150px;object-fit:contain}
.ez-horizontal-nav{display:flex;align-items:stretch;height:100%;gap:4px;flex:1}
.topnav-group{position:relative;display:flex;align-items:stretch}.topnav-trigger,.topnav-direct{border:0;background:transparent;color:#fff!important;text-decoration:none!important;font:inherit;font-size:13px;font-weight:700;padding:0 15px;display:flex;align-items:center;gap:7px;cursor:pointer;border-radius:0}
.topnav-trigger:hover,.topnav-direct:hover,.topnav-group:focus-within>.topnav-trigger{background:rgba(255,255,255,.08)}
.topnav-menu{display:none;position:absolute;top:60px;left:0;min-width:235px;background:#fff;color:#172b2d;border-radius:10px;padding:8px;box-shadow:0 14px 35px rgba(0,0,0,.2);border:1px solid #e4e8ed}
.topnav-group:hover>.topnav-menu,.topnav-group:focus-within>.topnav-menu{display:block}
.topnav-menu a,.profile-dropdown a{display:block!important;color:#263b3c!important;text-decoration:none!important;padding:9px 11px!important;border-radius:7px;font-size:12px!important;background:transparent!important}
.topnav-menu a:hover,.profile-dropdown a:hover{background:#edf1f6!important;color:#123463!important}
.topnav-subgroup{border-top:1px solid #e4e8ed;border-bottom:1px solid #e4e8ed;margin:5px 0;padding:5px 0}
.topnav-subtitle{padding:6px 11px 3px;font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#80908c}
.ez-topbar-right{margin-left:auto;display:flex;align-items:center;gap:13px;flex:0 0 auto}
.topbar-clock{display:flex;flex-direction:column;align-items:flex-end;line-height:1.1}.topbar-clock-label{font-size:8px;font-weight:800;letter-spacing:.09em;opacity:.62}.topbar-clock strong{font-size:15px;font-variant-numeric:tabular-nums}
.profile-menu{position:relative}.profile-trigger{border:0;background:rgba(255,255,255,.08);color:#fff;display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:9px;cursor:pointer;font-size:11px;font-weight:700}
.profile-avatar{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#3864a1;color:#fff;font-weight:850}
.profile-dropdown{display:none;position:absolute;right:0;top:45px;width:190px;background:#fff;padding:8px;border-radius:10px;box-shadow:0 14px 35px rgba(0,0,0,.2);border:1px solid #e4e8ed}
.profile-menu:hover>.profile-dropdown,.profile-menu:focus-within>.profile-dropdown{display:block}.profile-divider{height:1px;background:#e4e8ed;margin:5px 4px}
.app-main{margin-left:0!important;padding:26px 30px!important;max-width:none!important}
@media(max-width:900px){.ez-topbar{padding:0 12px;gap:8px}.ez-topbar-brand img{max-width:105px}.topnav-trigger,.topnav-direct{padding:0 8px;font-size:11px}.profile-trigger>span:nth-child(2),.topbar-clock-label{display:none}.app-main{padding:18px!important}}

/* Dashboard sections and today's attendance */
.dashboard-section{background:#fff;border:1px solid #e3e7ec;border-radius:13px;padding:20px;margin:0 0 22px;box-shadow:0 2px 8px rgba(17,43,43,.04)}
.dashboard-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:17px}.dashboard-section-head h2{margin:0 0 3px;font-size:18px}
.attendance-horizontal-chart{display:flex;flex-direction:column;gap:11px}.attendance-chart-row{display:grid;grid-template-columns:190px minmax(160px,1fr) 70px;align-items:center;gap:14px}
.attendance-person{display:flex;flex-direction:column;gap:2px;font-size:12px}.attendance-state{font-size:9px;font-weight:750}.attendance-state.working{color:#164382}.attendance-state.break{color:#a4680b}.attendance-state.finished{color:#71817d}
.attendance-bar-track{height:17px;background:#eceff2;border-radius:999px;overflow:hidden}.attendance-bar-fill{height:100%;background:#275493;border-radius:999px;min-width:2px;transition:width .3s ease}.attendance-hours{text-align:right;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}
.empty-dashboard-state{padding:18px;text-align:center;color:#71817d;background:#f7f8f9;border-radius:9px}
.topbar-attendance-controls{display:flex;align-items:center;gap:6px}.topbar-attendance-controls form{margin:0}.topbar-time-btn{border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.08);color:#fff;padding:7px 9px;border-radius:7px;font-size:10px;font-weight:750;cursor:pointer}.topbar-time-btn:hover{background:rgba(255,255,255,.16)}.topbar-time-btn.clockin-btn{background:#27528f;border-color:#27528f}.topbar-time-btn.clockout-btn{border-color:rgba(255,170,170,.45)}
@media(max-width:900px){.attendance-chart-row{grid-template-columns:125px 1fr 55px}.topbar-time-btn{padding:6px;font-size:9px}.topbar-attendance-controls{gap:3px}}

/* Top-bar project clock */
.topbar-project-control{display:flex;align-items:center;gap:6px;border-left:1px solid rgba(255,255,255,.14);padding-left:10px}
.topbar-project-form{display:flex;align-items:center;gap:5px;margin:0}.topbar-project-form select{height:31px;max-width:170px;border:1px solid rgba(255,255,255,.22);border-radius:7px;background:#fff;color:#263b3c;padding:0 7px;font-size:10px}
.topbar-project-btn{height:31px;border:1px solid #3c69a7;border-radius:7px;background:#27528f;color:#fff;padding:0 9px;font-size:9px;font-weight:800;cursor:pointer;white-space:nowrap}.topbar-project-btn:hover{filter:brightness(1.08)}.topbar-project-btn.project-out{background:transparent;border-color:rgba(255,255,255,.3)}
.topbar-project-active{display:flex;flex-direction:column;line-height:1.05;min-width:95px;max-width:150px}.topbar-project-label{font-size:7px;font-weight:850;letter-spacing:.08em;opacity:.55}.topbar-project-name{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-project-timer{font-size:12px;font-weight:850;font-variant-numeric:tabular-nums;margin-top:2px}
@media(max-width:1100px){.topbar-project-form select{max-width:110px}.topbar-project-btn{padding:0 6px}.topbar-project-active{max-width:100px}}

/* Centre the main navigation categories across the top bar */
.ez-horizontal-nav{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  width:auto;
  height:100%;
  display:flex;
  justify-content:center;
  align-items:stretch;
  gap:8px;
}
.ez-topbar{position:sticky}
.ez-topbar-brand{z-index:2}
.ez-topbar-right{z-index:2}
@media(max-width:1100px){
  .ez-horizontal-nav{position:static;transform:none;margin:0 auto;width:auto}
}

/* Persistent clock-in sidebar */
.clock-sidebar{display:block!important;position:fixed;right:0;top:70px;bottom:0;width:235px;background:#f8f9fa;border-left:1px solid #dfe3e8;padding:18px 15px;z-index:850;overflow-y:auto;box-shadow:-3px 0 14px rgba(17,43,43,.05);box-sizing:border-box}
body:not(.login-page) .app-main{margin-right:235px!important}
.clock-sidebar-title{font-size:12px;font-weight:850;color:#203837;margin-bottom:11px}.clock-sidebar-title.small{font-size:10px;margin-bottom:9px}
.clock-sidebar-status{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:800;color:#184380;text-transform:uppercase;letter-spacing:.04em}.clock-sidebar-status.break{color:#a86a0a}.clock-sidebar-status.off{color:#74847f}
.status-dot{width:8px;height:8px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px rgba(39,143,98,.1)}
.clock-sidebar-timer{font-size:29px;font-weight:850;color:#173331;margin-top:12px;font-variant-numeric:tabular-nums;letter-spacing:-.03em}.clock-sidebar-caption{font-size:9px;color:#7a8985;margin:1px 0 13px}
.clock-sidebar-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.clock-sidebar-actions form{margin:0}.clock-side-btn{width:100%;border:1px solid #cad1da;background:#fff;color:#293340;border-radius:8px;padding:9px 7px;font-size:9px;font-weight:800;cursor:pointer}.clock-side-btn.primary{background:#27528f;border-color:#27528f;color:#fff}.clock-side-btn.danger{color:#a63d3d;border-color:#e1bcbc;background:#fff}.clock-side-btn.full{width:100%}
.clock-side-divider{height:1px;background:#dfe3e8;margin:20px 0 15px}.clock-project-name{font-size:11px;font-weight:800;color:#26303d;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clock-project-timer{font-size:21px;font-weight:850;font-variant-numeric:tabular-nums;margin-bottom:10px;color:#173331}
.clock-project-form{display:flex;flex-direction:column;gap:7px}.clock-project-form select{width:100%;height:34px;border:1px solid #cad1db;background:#fff;border-radius:8px;padding:0 8px;font-size:10px;color:#26303d}
.clock-sidebar-link{display:block;margin-top:18px;color:#26497b;text-decoration:none;font-size:9px;font-weight:750}
@media(max-width:1050px){.clock-sidebar{width:200px}.clock-sidebar-timer{font-size:24px}body:not(.login-page) .app-main{margin-right:200px!important}}
@media(max-width:760px){.clock-sidebar{position:static;width:auto;height:auto;border-left:0;border-bottom:1px solid #dfe3e8;box-shadow:none;display:block!important}body:not(.login-page) .app-main{margin-right:0!important}}

/* Refined #1769e0 top navigation */
.ez-topbar{
  background:#27528f!important;
  color:#fff;
}
.topnav-trigger,.topnav-direct{
  font-size:16px!important;
  font-weight:800!important;
  padding:0 20px!important;
  letter-spacing:.01em;
}
.topnav-trigger:hover,.topnav-direct:hover,.topnav-group:focus-within>.topnav-trigger{
  background:rgba(0,0,0,.10)!important;
}
.profile-trigger{
  background:rgba(0,0,0,.10)!important;
  font-size:12px!important;
}
.profile-trigger:hover{background:rgba(0,0,0,.16)!important}
.clock-sidebar{top:70px}
@media(max-width:1100px){
  .topnav-trigger,.topnav-direct{font-size:14px!important;padding:0 12px!important}
}
.message-centre-link{position:relative;color:#fff;text-decoration:none;font-size:12px;font-weight:800;padding:10px}.nav-badge,.bell-badge{position:absolute;min-width:17px;height:17px;border-radius:10px;background:#fff;color:#27528f;font-size:9px;line-height:17px;text-align:center;font-weight:900}.nav-badge{top:0;right:-3px}.notification-bell{position:relative;border:0;background:transparent;color:#fff;font-size:19px;cursor:pointer;padding:8px}.bell-badge{top:0;right:-2px}.notification-overlay{position:fixed;inset:0;background:rgba(10,25,22,.2);opacity:0;pointer-events:none;transition:.2s;z-index:1090}.notification-overlay.open{opacity:1;pointer-events:auto}.notification-drawer{position:fixed;right:-390px;top:0;width:370px;max-width:92vw;height:100vh;background:#fff;z-index:1100;box-shadow:-8px 0 30px rgba(0,0,0,.16);transition:right .24s;display:flex;flex-direction:column}.notification-drawer.open{right:0}.notification-drawer-head{display:flex;justify-content:space-between;align-items:center;padding:22px;border-bottom:1px solid #e3e6eb}.notification-close{border:0;background:none;font-size:28px;cursor:pointer}.notification-list{overflow:auto;flex:1}.notification-item{display:flex;gap:12px;padding:16px 18px;border-bottom:1px solid #edeff2;text-decoration:none;color:#252f3c}.notification-item.unread{background:#f0f4fa}.notification-icon{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;background:#e0e8f3;color:#27528f}.notification-item strong,.notification-item small,.notification-item em{display:block}.notification-item small{margin-top:3px}.notification-item em{font-size:9px;font-style:normal;color:#8b9995;margin-top:6px}.notification-read-form{padding:14px}.notification-read-form button{width:100%;padding:10px;border:0;border-radius:8px;background:#27528f;color:#fff}.message-layout{display:grid;grid-template-columns:340px 1fr;gap:18px}.message-compose form{display:flex;flex-direction:column;gap:8px}.message-compose select,.message-compose textarea{padding:10px;border:1px solid #cad1db;border-radius:8px}.agent-message{display:block;text-decoration:none;color:#252f3c;padding:14px;border-bottom:1px solid #e6e9ee}.agent-message.unread{background:#f0f4fa;border-left:3px solid #27528f}.agent-message-head{display:flex;justify-content:space-between;margin-bottom:5px}.agent-message-head span{font-size:9px;color:#80908b}@media(max-width:800px){.message-layout{grid-template-columns:1fr}}.clock-sidebar{left:0!important;right:auto!important;border-left:0!important;border-right:1px solid #dfe3e8!important;box-shadow:3px 0 14px rgba(17,43,43,.05)!important}body:not(.login-page) .app-main{margin-left:235px!important;margin-right:0!important}.attendance-dashboard-section{width:100%!important;max-width:none!important;box-sizing:border-box;margin-top:28px!important}.admin-notification-card{max-width:720px}.admin-notification-form{display:flex;flex-direction:column;gap:9px}.admin-notification-form input,.admin-notification-form select,.admin-notification-form textarea{width:100%;box-sizing:border-box;border:1px solid #cad1db;border-radius:8px;padding:10px;font:inherit}@media(max-width:1050px){body:not(.login-page) .app-main{margin-left:200px!important;margin-right:0!important}}@media(max-width:760px){.clock-sidebar{position:static!important;width:auto!important;border-right:0!important;border-bottom:1px solid #dfe3e8!important;box-shadow:none!important}body:not(.login-page) .app-main{margin-left:0!important;margin-right:0!important}}
/* Admin work schedules */
.schedule-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.schedule-list-row,.assignment-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e6e9ee}.schedule-list-row small{display:block;color:#7b8b87;margin-top:3px}.schedule-actions{display:flex;gap:6px}.schedule-actions form{margin:0}.schedule-assign-form{display:flex;flex-direction:column;gap:8px;margin-bottom:22px}.schedule-assign-form select,.schedule-settings input,.schedule-settings select,.schedule-table input,.schedule-table select{border:1px solid #cad1db;border-radius:7px;padding:8px;background:#fff}.schedule-settings{display:grid;grid-template-columns:1fr 260px;gap:18px;margin-bottom:18px}.schedule-settings>div{display:flex;flex-direction:column;gap:6px}.schedule-table-wrap{overflow-x:auto}.schedule-table{width:100%;border-collapse:collapse}.schedule-table th,.schedule-table td{padding:10px 8px;border-bottom:1px solid #e4e8ed;text-align:left;white-space:nowrap}.schedule-table th{font-size:10px;text-transform:uppercase;color:#71827d}.day-toggle{font-weight:750}.schedule-save{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}@media(max-width:900px){.schedule-grid,.schedule-settings{grid-template-columns:1fr}}
.schedule-day-card{margin-bottom:14px}.schedule-day-head{display:flex;justify-content:space-between;align-items:center;gap:18px}.day-hours{display:flex;gap:12px}.day-hours label{display:flex;align-items:center;gap:6px}.breaks-title{display:flex;justify-content:space-between;align-items:center;margin-top:15px;padding-top:12px;border-top:1px solid #e4e8ed;font-weight:850}.break-list{display:flex;flex-direction:column;gap:8px;margin-top:9px}.break-row{display:grid;grid-template-columns:minmax(120px,1fr) auto auto auto 125px 34px;gap:9px;align-items:center;background:#f7f8fa;border:1px solid #e2e6eb;border-radius:9px;padding:9px}.break-row label{display:flex;align-items:center;gap:5px;font-size:10px}.break-row input{border:1px solid #cad1db;border-radius:7px;padding:7px;background:#fff}.break-behaviour{font-size:9px;font-weight:800;color:#657872}.remove-break{border:0;background:#fff;color:#a64242;border-radius:7px;font-size:20px;cursor:pointer}.sidebar-break-form{display:flex;flex-direction:column;gap:5px}.sidebar-break-select{width:100%;border:1px solid #cad1db;border-radius:7px;padding:6px;font-size:9px;background:#fff}@media(max-width:950px){.break-row{grid-template-columns:1fr 1fr}.schedule-day-head{align-items:flex-start;flex-direction:column}}
/* 24-hour attendance timeline */
.timeline-legend{display:flex;flex-wrap:wrap;gap:16px;margin:8px 0 16px;font-size:10px;font-weight:750;color:#61736e}.timeline-legend span{display:flex;align-items:center;gap:5px}.timeline-legend i{width:18px;height:6px;border-radius:5px;display:inline-block}.legend-schedule{background:#c9d0da}.legend-worked{background:#2d568f}.legend-project{background:#4d6880}.legend-unpaid{background:#fff;border:1px dashed #9ca9a5}.attendance-day-chart{width:100%;overflow-x:auto}.timeline-axis,.timeline-row{display:grid;grid-template-columns:minmax(145px,190px) minmax(650px,1fr) 100px;gap:12px;align-items:center}.timeline-axis{margin-bottom:7px}.timeline-axis-track{height:22px;position:relative;border-bottom:1px solid #cdd3dc}.timeline-axis-track span{position:absolute;transform:translateX(-50%);font-size:8px;color:#71827d;bottom:4px}.timeline-axis-track span:first-child{transform:none}.timeline-axis-track span:last-child{transform:translateX(-100%)}.timeline-row{padding:8px 0;border-bottom:1px solid #edeff2}.timeline-person strong,.timeline-person small,.timeline-summary b,.timeline-summary small{display:block}.timeline-person small,.timeline-summary small{font-size:9px;color:#71827d;margin-top:2px}.timeline-track{height:42px;position:relative;background:#f5f6f8;border:1px solid #e0e4ea;border-radius:7px;overflow:hidden}.timeline-gridline{position:absolute;top:0;bottom:0;width:1px;background:rgba(100,120,114,.09)}.timeline-segment{position:absolute;border-radius:4px}.timeline-segment.schedule{top:4px;height:8px;background:#c9d0da;z-index:1}.timeline-segment.unpaid{top:3px;height:10px;background:#fff;border:1px dashed #8f9d98;z-index:2}.timeline-segment.worked{top:16px;height:18px;background:#2d568f;z-index:3}.timeline-segment.project{top:26px;height:8px;background:#4d6880;z-index:4;opacity:.9}.timeline-summary{text-align:right}.variance-positive{font-weight:800;color:#234676}.variance-negative{font-weight:800;color:#a24c45}@media(max-width:900px){.timeline-axis,.timeline-row{grid-template-columns:130px 650px 85px}}
.org-form{display:flex;flex-direction:column;gap:8px}.org-form input,.org-form select,.org-inline input{border:1px solid #cad1db;border-radius:8px;padding:9px;background:#fff}.org-form select[multiple]{min-height:115px}.org-sub{display:block;color:#71827d;margin-top:2px}.org-hint{font-size:9px}.org-edit-card{max-width:720px}.org-check{display:flex!important;flex-direction:row!important;align-items:center;gap:7px}.org-inline{display:flex;gap:8px;margin-bottom:12px}.org-inline input{flex:1}.org-item{display:flex;justify-content:space-between;align-items:center;padding:9px 0;border-bottom:1px solid #e4e8ed}.org-item form{margin:0}.org-user-grid section:first-child{overflow-x:auto}
.org-readonly{padding:12px;border:1px solid #e2e6eb;border-radius:9px;background:#f7f8fa}.org-readonly label{font-weight:800}.org-readonly p{margin:3px 0 10px}.org-readonly small{color:#71827d}

/* Modern premium top navigation — 2026 refresh */
.ez-topbar{
  min-height:72px!important;height:72px!important;
  padding:0 22px!important;
  background:
    radial-gradient(circle at 12% -70%,rgba(255,255,255,.24),transparent 35%),
    linear-gradient(112deg,#12243c 0%,#173763 42%,#214b87 72%,#12305b 100%)!important;
  border-bottom:1px solid rgba(255,255,255,.16)!important;
  box-shadow:0 10px 30px rgba(12,49,40,.18)!important;
  position:sticky!important;top:0!important;z-index:1000!important;
  backdrop-filter:blur(16px);
}
.ez-topbar:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,transparent,rgba(145,255,202,.75),transparent);pointer-events:none}
.ez-topbar-brand{display:flex!important;align-items:center!important;gap:10px!important;text-decoration:none!important;min-width:190px}
.brand-logo-shell{height:43px;width:43px;border-radius:13px;background:rgba(255,255,255,.96);display:flex;align-items:center;justify-content:center;box-shadow:0 7px 18px rgba(0,0,0,.13),inset 0 0 0 1px rgba(255,255,255,.55);overflow:hidden}
.brand-logo-shell img{max-width:38px!important;max-height:38px!important;object-fit:contain!important}
.brand-copy{display:flex;flex-direction:column;line-height:1.05;color:white}
.brand-copy strong{font-size:17px;letter-spacing:.2px;font-weight:850}
.brand-copy small{font-size:8px;text-transform:uppercase;letter-spacing:1.35px;color:rgba(229,255,242,.7);margin-top:5px;font-weight:750}
.ez-horizontal-nav{height:100%;display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important}
.topnav-group{height:100%;display:flex!important;align-items:center!important;position:relative}
.topnav-trigger{border:0!important;background:transparent!important;color:rgba(255,255,255,.88)!important;padding:10px 13px!important;border-radius:10px!important;font-size:13px!important;font-weight:750!important;letter-spacing:.1px!important;transition:background .18s ease,transform .18s ease,color .18s ease!important}
.topnav-trigger:hover,.topnav-group:hover>.topnav-trigger{background:rgba(255,255,255,.13)!important;color:#fff!important;transform:translateY(-1px)}
.topnav-trigger span{font-size:9px!important;opacity:.65;margin-left:4px}
.topnav-menu,.profile-dropdown{border:1px solid rgba(18,72,57,.12)!important;border-radius:13px!important;background:rgba(255,255,255,.98)!important;box-shadow:0 18px 45px rgba(12,45,36,.18)!important;padding:7px!important;min-width:205px!important;backdrop-filter:blur(18px)}
.topnav-menu a,.profile-dropdown a{border-radius:8px!important;padding:9px 11px!important;font-size:11px!important;font-weight:650!important;transition:background .15s ease,padding-left .15s ease!important}
.topnav-menu a:hover,.profile-dropdown a:hover{background:#edf1f7!important;padding-left:14px!important;color:#173764!important}
.topnav-subtitle{font-size:8px!important;text-transform:uppercase!important;letter-spacing:1.1px!important;color:#789087!important;font-weight:850!important;padding:8px 10px 5px!important}
.ez-topbar-right{display:flex!important;align-items:center!important;gap:8px!important;min-width:260px!important;justify-content:flex-end!important}
.message-centre-link{height:37px!important;display:flex!important;align-items:center!important;gap:7px!important;padding:0 11px!important;border-radius:10px!important;color:rgba(255,255,255,.9)!important;text-decoration:none!important;font-size:11px!important;font-weight:750!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.08)!important}
.message-centre-link:hover{background:rgba(255,255,255,.15)!important;color:#fff!important}
.message-icon{font-size:14px;line-height:1}
.notification-bell{height:37px!important;width:37px!important;border-radius:10px!important;border:1px solid rgba(255,255,255,.09)!important;background:rgba(255,255,255,.09)!important;position:relative!important}
.notification-bell:hover{background:rgba(255,255,255,.16)!important}
.bell-glyph{display:block;width:13px;height:15px;border:2px solid rgba(255,255,255,.92);border-radius:8px 8px 5px 5px;margin:auto;position:relative;font-size:0}
.bell-glyph:after{content:"";position:absolute;width:4px;height:2px;border-radius:50%;background:white;bottom:-5px;left:2.5px}
.nav-badge,.bell-badge{background:#e1edfd!important;color:#12305a!important;border:2px solid #1b4176!important;font-size:8px!important;font-weight:900!important;min-width:17px!important;height:17px!important;line-height:13px!important}
.profile-trigger{height:42px!important;padding:3px 8px 3px 4px!important;border-radius:12px!important;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.1)!important;color:#fff!important;display:flex!important;align-items:center!important;gap:7px!important;font-size:11px!important;font-weight:750!important}
.profile-trigger:hover{background:rgba(255,255,255,.17)!important}
.profile-avatar{height:32px!important;width:32px!important;border-radius:10px!important;background:linear-gradient(145deg,#fff,#d9e6f8)!important;color:#173763!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:12px!important;font-weight:900!important;box-shadow:0 3px 9px rgba(0,0,0,.12)!important}
.profile-divider{border-color:#e4e8ed!important}
@media(max-width:1100px){
 .ez-topbar{padding:0 12px!important}.brand-copy{display:none}.ez-topbar-brand{min-width:50px!important}
 .topnav-trigger{font-size:11px!important;padding:9px 8px!important}.ez-topbar-right{min-width:auto!important}
 .message-centre-link>span:nth-child(2){display:none}.message-centre-link{padding:0 9px!important}
}
@media(max-width:760px){
 .ez-topbar{height:auto!important;min-height:64px!important;flex-wrap:wrap!important;padding:9px 10px!important}
 .ez-horizontal-nav{order:3!important;width:100%!important;height:auto!important;overflow-x:auto!important;justify-content:flex-start!important;padding-top:6px!important}
 .topnav-group{height:auto!important}.ez-topbar-right{margin-left:auto!important}
}

.employee-profile-hero{display:flex;align-items:center;gap:18px;padding:20px 22px;margin-bottom:18px;border-radius:18px;background:linear-gradient(120deg,#12243d,#214a84);color:white;box-shadow:0 14px 34px rgba(18,72,56,.15)}.employee-profile-hero h1{margin:0 0 5px}.employee-profile-hero p{margin:0;color:rgba(255,255,255,.75)}.employee-photo{width:76px;height:76px;border-radius:18px;background:#e7eef7;display:flex;align-items:center;justify-content:center;color:#173763;font-size:28px;font-weight:900;overflow:hidden;border:3px solid rgba(255,255,255,.8)}.employee-photo img,.mini-user-photo img{width:100%;height:100%;object-fit:cover}.employee-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.employee-files-card{margin-top:18px;overflow-x:auto}.employee-file-upload{display:grid;grid-template-columns:1.1fr 1.4fr auto;gap:9px;align-items:center;margin-bottom:15px}.employee-file-upload input{padding:9px;border:1px solid #cad1db;border-radius:8px}.inline-form{display:inline}.user-list-person{display:flex;align-items:center;gap:9px}.mini-user-photo{width:34px;height:34px;border-radius:10px;background:#e4ebf5;color:#173763;display:flex;align-items:center;justify-content:center;font-weight:900;overflow:hidden;flex:none}.org-form textarea{border:1px solid #cad1db;border-radius:8px;padding:9px;resize:vertical}@media(max-width:760px){.employee-profile-grid{grid-template-columns:1fr}.employee-file-upload{grid-template-columns:1fr}}

.payment-summary{display:grid;grid-template-columns:repeat(2,minmax(180px,280px));gap:14px;margin:16px 0}.payment-stat small{display:block;color:#6e817a;font-weight:700}.payment-stat strong{display:block;font-size:27px;margin-top:6px;color:#173763}.payment-table{overflow-x:auto}

/* T&A Planner */
.planner-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding:20px 23px;border-radius:18px;background:linear-gradient(120deg,#12243d,#214a84);color:#fff;box-shadow:0 14px 34px rgba(18,72,56,.14)}.planner-head h1{margin:2px 0 4px;font-size:29px}.planner-head p{margin:0;color:rgba(255,255,255,.76)}.planner-kicker{font-size:9px;font-weight:900;letter-spacing:1.5px;color:#bfd6f5}.planner-stats{display:flex;gap:12px;margin-bottom:16px}.planner-stat{min-width:180px}.planner-stat small{display:block;color:#71827d;font-weight:750}.planner-stat strong{display:block;font-size:25px;color:#173763;margin-top:4px}.planner-calendar-card{overflow-x:auto}.planner-calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.planner-calendar-head h2{margin:0}.planner-calendar-head p{margin:2px 0 0}.planner-month-nav{display:flex;gap:6px}.planner-calendar{min-width:760px;border:1px solid #dce1e8;border-radius:12px;overflow:hidden}.planner-weekdays,.planner-week{display:grid;grid-template-columns:repeat(7,1fr)}.planner-weekdays div{padding:8px;background:#f1f3f7;font-size:10px;font-weight:850;color:#516075;text-align:center}.planner-day{min-height:105px;padding:7px;border-top:1px solid #e3e7ec;border-right:1px solid #e3e7ec;background:#fff}.planner-day:last-child{border-right:0}.planner-day.other-month{background:#f8f9fa;color:#a4b1ad}.planner-date{font-size:11px;font-weight:850;margin-bottom:5px}.absence-chip{background:#e1e9f5;color:#15335e;border-left:3px solid #234c86;border-radius:5px;padding:4px 5px;margin:3px 0;font-size:9px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.absence-chip span{display:block;font-size:7px;font-weight:650;opacity:.72}.more-absence{font-size:8px;color:#667b74}.planner-lower{margin-top:16px}.planner-request{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #e6e9ee}.planner-request>div{flex:1}.planner-request small{display:block;color:#71827d;margin-top:3px}.status-pending{background:#fff4d8!important;color:#8b6500!important}.status-approved{background:#e0e9f6!important;color:#173763!important}.status-declined,.status-cancelled{background:#fbe6e6!important;color:#9b3434!important}.planner-approval{margin-top:16px;overflow-x:auto}.planner-decision{display:flex;gap:5px}.planner-decision button{white-space:nowrap}@media(max-width:760px){.planner-head{align-items:flex-start;gap:14px;flex-direction:column}.planner-stats{display:grid;grid-template-columns:1fr;width:100%}.planner-stat{min-width:0}.planner-calendar-head{align-items:flex-start;gap:10px;flex-direction:column}}

.planner-day{cursor:pointer;transition:background .15s ease,box-shadow .15s ease}.planner-day:hover{background:#f1f5fa;box-shadow:inset 0 0 0 1px #8daad2}.planner-day.other-month:hover{background:#f3f5f7}.planner-request-highlight{animation:plannerRequestPulse 1.4s ease}@keyframes plannerRequestPulse{0%,100%{box-shadow:0 0 0 0 rgba(39,143,98,0)}35%{box-shadow:0 0 0 5px rgba(39,143,98,.18)}}

.report-filter-form{display:flex;flex-direction:column;gap:13px}.report-date-row{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.report-date-row label{display:flex;flex-direction:column;gap:5px;font-weight:750}.report-date-row input,.report-date-row select{padding:8px;border:1px solid #cad1db;border-radius:8px;background:#fff}.report-check-filters{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.report-check-filters fieldset{border:1px solid #dce1e8;border-radius:11px;padding:9px 10px;min-width:0}.report-check-filters legend{font-size:11px;font-weight:850;padding:0 5px;color:#25354c}.report-check-filters label{display:block;font-size:10px;padding:4px 2px;cursor:pointer}.report-check-filters .check-all{font-weight:850;border-bottom:1px solid #e7eaef;margin-bottom:3px}.check-scroll{max-height:145px;overflow:auto}.report-check-filters input[type=checkbox]{accent-color:#27528f;margin-right:4px}@media(max-width:800px){.report-check-filters{grid-template-columns:1fr}}

/* Unified modern page headers */
.modern-page-header,.planner-head,.employee-profile-hero{
  position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:18px;
  margin:0 0 16px;padding:19px 21px;border-radius:17px;
  background:linear-gradient(112deg,#10294c 0%,#173a6a 52%,#214a83 100%)!important;
  color:#fff!important;box-shadow:0 12px 28px rgba(15,69,53,.13);
}
.modern-page-header:after,.planner-head:after,.employee-profile-hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-90px;top:-150px;background:rgba(255,255,255,.055);pointer-events:none}
.modern-page-header>div,.planner-head>div,.employee-profile-hero>div{position:relative;z-index:1}
.modern-page-header h1,.planner-head h1,.employee-profile-hero h1{margin:2px 0 4px!important;color:#fff!important;font-size:27px!important;line-height:1.08!important;font-weight:850!important;letter-spacing:-.35px}
.modern-page-header h2{color:rgba(255,255,255,.86)!important;margin:3px 0!important}
.modern-page-header p,.planner-head p,.employee-profile-hero p{margin:0!important;color:rgba(238,255,247,.79)!important;font-size:12px!important}
.modern-page-header .muted{color:rgba(238,255,247,.79)!important}
.modern-page-kicker,.planner-kicker{display:block;font-size:8px!important;font-weight:900!important;letter-spacing:1.35px!important;text-transform:uppercase;color:#bdd3f1!important;margin-bottom:4px}
.modern-page-header .actions,.modern-page-header>a,.planner-head>a{position:relative;z-index:2;flex:none}
.modern-page-header .btn,.modern-page-header .button,.planner-head .btn{border-color:rgba(255,255,255,.28)!important;background:rgba(255,255,255,.13)!important;color:#fff!important;box-shadow:none!important}
.modern-page-header .btn:hover,.modern-page-header .button:hover,.planner-head .btn:hover{background:rgba(255,255,255,.22)!important}
@media(max-width:720px){.modern-page-header,.planner-head,.employee-profile-hero{align-items:flex-start;flex-direction:column;padding:17px}.modern-page-header h1,.planner-head h1,.employee-profile-hero h1{font-size:23px!important}}

/* Dedicated Settings workspace */
.settings-shell{display:grid;grid-template-columns:225px minmax(0,1fr);gap:18px;align-items:start}
.settings-sidebar{position:sticky;top:88px;background:#fff;border:1px solid #dfe3e9;border-radius:16px;overflow:hidden;box-shadow:0 10px 26px rgba(25,68,55,.07)}
.settings-sidebar-head{display:flex;align-items:center;gap:10px;padding:16px;background:linear-gradient(125deg,#12243e,#1f4376);color:#fff}
.settings-sidebar-head strong{display:block;font-size:14px}.settings-sidebar-head small{display:block;margin-top:2px;font-size:8px;color:rgba(255,255,255,.68);text-transform:uppercase;letter-spacing:.8px}
.settings-sidebar-icon{display:flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:10px;background:rgba(255,255,255,.13);font-size:18px}
.settings-nav{padding:8px}.settings-nav-category{padding:11px 9px 5px;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:1.15px;color:#82948e}
.settings-nav a{display:flex;align-items:center;gap:9px;padding:9px 10px;margin:2px 0;border-radius:9px;text-decoration:none;color:#343e4d;font-size:10px;font-weight:750;transition:.15s ease}
.settings-nav a span{width:18px;text-align:center;color:#27528f;font-size:13px}.settings-nav a:hover{background:#eef2f8;color:#173763}.settings-nav a.active{background:#dfe7f3;color:#14325b;box-shadow:inset 3px 0 0 #27528f}
.settings-content{min-width:0}.settings-category-title{margin:22px 2px 10px}.settings-category-title:first-of-type{margin-top:4px}.settings-category-title h2{margin:0;font-size:15px;color:#17273e}.settings-category-title p{margin:3px 0 0;font-size:10px;color:#71827d}
.settings-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.settings-option-card{display:grid;grid-template-columns:43px 1fr auto;gap:12px;align-items:center;padding:15px;background:#fff;border:1px solid #dfe3e9;border-radius:13px;text-decoration:none;color:inherit;box-shadow:0 5px 16px rgba(25,68,55,.045);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.settings-option-card:hover{transform:translateY(-2px);border-color:#9bb0cd;box-shadow:0 10px 24px rgba(25,68,55,.09)}.settings-card-icon{display:flex;width:43px;height:43px;align-items:center;justify-content:center;border-radius:12px;background:#e4ebf5;color:#173763;font-size:20px}.settings-option-card h3{margin:0 0 3px;font-size:12px;color:#17273e}.settings-option-card p{margin:0;font-size:9px;line-height:1.45;color:#71827d}.settings-option-card>b{font-size:22px;color:#91a79f}
@media(max-width:900px){.settings-shell{grid-template-columns:1fr}.settings-sidebar{position:static}.settings-nav{display:grid;grid-template-columns:repeat(2,1fr)}.settings-nav-category{grid-column:1/-1}.settings-card-grid{grid-template-columns:1fr}}
@media(max-width:520px){.settings-nav{grid-template-columns:1fr}}

/* Settings landing cleanup */
.settings-content{width:100%;max-width:none!important}
.settings-section{background:#fff;border:1px solid #dfe3e9;border-radius:15px;margin:0 0 15px;overflow:hidden;box-shadow:0 5px 16px rgba(25,68,55,.045)}
.settings-section-heading{display:flex;align-items:center;gap:11px;padding:14px 16px 12px;border-bottom:1px solid #e7eaef;background:linear-gradient(90deg,#f8f9fb,#fff)}
.settings-section-mark{display:flex;align-items:center;justify-content:center;width:31px;height:31px;border-radius:9px;background:#e2eaf4;color:#173763;font-size:14px;flex:none}
.settings-section-heading h2{margin:0!important;font-size:14px!important;color:#17273e!important}
.settings-section-heading p{margin:2px 0 0!important;font-size:9px!important;color:#71827d!important}
.settings-option-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:7px}
.settings-option-row{display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:11px;padding:13px 14px;border-radius:10px;text-decoration:none;color:inherit;min-width:0;transition:background .15s ease}
.settings-option-row:hover{background:#f0f3f8}
.settings-option-row+.settings-option-row{border-left:1px solid #e7eaef}
.settings-option-row .settings-card-icon{width:40px;height:40px;border-radius:11px;font-size:17px}
.settings-option-row h3{margin:0 0 3px!important;font-size:11px!important;line-height:1.2;color:#17273e!important}
.settings-option-row p{margin:0!important;font-size:9px!important;line-height:1.4!important;color:#71827d!important;max-width:430px}
.settings-option-row>b{font-size:21px;color:#91a79f;text-align:right}
@media(max-width:1050px){.settings-option-list{grid-template-columns:1fr}.settings-option-row+.settings-option-row{border-left:0;border-top:1px solid #e7eaef}}
@media(max-width:520px){.settings-section-heading{padding:12px}.settings-option-row{padding:11px 9px;grid-template-columns:38px minmax(0,1fr) 14px}.settings-option-row .settings-card-icon{width:36px;height:36px}}

/* ===== Complete Settings Centre redesign ===== */
.settings-shell{display:grid!important;grid-template-columns:255px minmax(0,1fr)!important;gap:20px!important;align-items:start!important}
.settings-content{min-width:0!important;width:100%!important}
.settings-sidebar{position:sticky!important;top:88px!important;background:#fff!important;border:1px solid #dce1e8!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 12px 32px rgba(20,65,52,.08)!important}
.settings-brand{display:flex!important;align-items:center!important;gap:11px!important;padding:18px 16px!important;background:linear-gradient(135deg,#10243f,#1c4072)!important;color:#fff!important}
.settings-brand-icon{display:flex!important;width:39px!important;height:39px!important;align-items:center!important;justify-content:center!important;border-radius:11px!important;background:rgba(255,255,255,.13)!important;font-size:19px!important}
.settings-brand strong{display:block!important;font-size:12px!important}.settings-brand small{display:block!important;margin-top:3px!important;font-size:7px!important;text-transform:uppercase!important;letter-spacing:1px!important;color:rgba(255,255,255,.65)!important}
.settings-nav{padding:9px!important;display:block!important}
.settings-nav-category{padding:14px 10px 5px!important;font-size:7px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:1.3px!important;color:#93a49e!important}
.settings-nav a{display:flex!important;align-items:center!important;gap:10px!important;padding:9px 10px!important;margin:2px 0!important;border-radius:10px!important;text-decoration:none!important;color:#384250!important;transition:.16s ease!important}
.settings-nav a>span{display:flex!important;align-items:center!important;justify-content:center!important;width:27px!important;height:27px!important;border-radius:8px!important;background:#f0f3f7!important;color:#234a80!important;font-size:13px!important;flex:none!important}
.settings-nav a>div{font-size:9px!important;font-weight:800!important;line-height:1.15!important}.settings-nav a small{display:block!important;font-size:7px!important;font-weight:550!important;color:#8a9b95!important;margin-top:3px!important}
.settings-nav a:hover{background:#f1f4f8!important}.settings-nav a.active{background:#e2e9f3!important;color:#15335d!important;box-shadow:inset 3px 0 0 #27528f!important}.settings-nav a.active>span{background:#fff!important}
.settings-sidebar-foot{border-top:1px solid #e8ebef!important;padding:12px 15px!important;background:#fafbfc!important}.settings-sidebar-foot span{display:block!important;font-size:8px!important;font-weight:850!important;color:#4d5c70!important}.settings-sidebar-foot small{font-size:8px!important;color:#8a9b95!important}
.settings-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 25px;margin-bottom:14px;border-radius:18px;background:linear-gradient(115deg,#102747 0%,#173a6a 56%,#214a83 100%);color:#fff;box-shadow:0 14px 32px rgba(15,69,53,.13)}
.settings-hero:after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;right:-100px;top:-185px;background:rgba(255,255,255,.06)}
.settings-eyebrow{display:block;font-size:8px;font-weight:900;letter-spacing:1.45px;color:#bfd4f2;margin-bottom:4px}.settings-hero h1{font-size:29px!important;margin:0 0 5px!important;color:#fff!important}.settings-hero p{font-size:11px!important;margin:0!important;color:rgba(239,255,247,.78)!important}
.settings-hero-badge{position:relative;z-index:1;display:grid;grid-template-columns:34px auto;grid-template-rows:auto auto;column-gap:9px;align-items:center;padding:10px 14px;border:1px solid rgba(255,255,255,.17);border-radius:12px;background:rgba(255,255,255,.09);min-width:145px}.settings-hero-badge>span{grid-row:1/3;display:flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:9px;background:rgba(255,255,255,.13);font-size:16px}.settings-hero-badge small{font-size:7px;color:#bcd0eb;text-transform:uppercase;letter-spacing:.8px}.settings-hero-badge strong{font-size:9px}
.settings-overview-strip{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid #dfe3e9;border-radius:14px;margin-bottom:17px;overflow:hidden;box-shadow:0 5px 15px rgba(20,65,52,.04)}.settings-overview-strip>div{display:flex;align-items:center;gap:9px;padding:11px 13px;border-right:1px solid #e8ebef}.settings-overview-strip>div:last-child{border:0}.overview-icon{display:flex;width:29px;height:29px;align-items:center;justify-content:center;border-radius:8px;background:#e6ecf5;color:#183d70;font-size:12px}.settings-overview-strip p{margin:0!important}.settings-overview-strip strong{display:block;font-size:9px;color:#293648}.settings-overview-strip small{display:block;margin-top:2px;font-size:7px;color:#8a9b95}
.settings-group{margin:0 0 17px}.settings-group-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:0 2px 8px}.settings-group-head>div{display:flex;align-items:center;gap:8px}.group-number{display:flex;width:25px;height:25px;align-items:center;justify-content:center;border-radius:7px;background:#dfe7f2;color:#173763;font-size:8px;font-weight:900}.settings-group-head h2{margin:0!important;font-size:13px!important;color:#18283f!important}.settings-group-head>p{margin:0!important;max-width:470px;text-align:right;font-size:8px!important;color:#82948e!important}
.settings-tile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.settings-tile{display:grid;grid-template-columns:48px minmax(0,1fr);gap:13px;padding:16px;background:#fff;border:1px solid #dce1e8;border-radius:14px;text-decoration:none;color:inherit;box-shadow:0 5px 16px rgba(20,65,52,.04);transition:.17s ease;min-height:125px}.settings-tile[href]:hover{transform:translateY(-2px);border-color:#9bb0cd;box-shadow:0 10px 25px rgba(20,65,52,.09)}.tile-icon{display:flex;width:46px;height:46px;align-items:center;justify-content:center;border-radius:13px;background:linear-gradient(145deg,#e8eef7,#d9e3f1);color:#173a6c;font-size:19px}.tile-label{display:block;font-size:7px;font-weight:900;letter-spacing:1.05px;color:#5e789c;margin:1px 0 3px}.tile-body h3{font-size:12px!important;margin:0 0 5px!important;color:#17273e!important}.tile-body p{font-size:8px!important;line-height:1.5!important;color:#71827d!important;margin:0 0 10px!important;max-width:470px}.tile-link{font-size:8px;font-weight:850;color:#1d4379;text-decoration:none}.tile-link b{font-size:12px;margin-left:3px}.settings-tile-info{background:#f9fafb}.tile-note{display:inline-block;font-size:7px;font-weight:750;color:#82948e;background:#edf0f3;padding:5px 7px;border-radius:6px}
.settings-help{display:flex;align-items:center;gap:11px;padding:12px 14px;border:1px solid #d9dfe8;border-radius:12px;background:#f4f6fa;margin-top:3px}.settings-help>span{display:flex;width:31px;height:31px;align-items:center;justify-content:center;border-radius:50%;background:#27528f;color:#fff;font-weight:900}.settings-help strong{font-size:9px;color:#213148}.settings-help p{font-size:8px!important;color:#71827d!important;margin:2px 0 0!important}
@media(max-width:1100px){.settings-overview-strip{grid-template-columns:repeat(2,1fr)}.settings-overview-strip>div:nth-child(2){border-right:0}.settings-overview-strip>div:nth-child(-n+2){border-bottom:1px solid #e8ebef}}
@media(max-width:900px){.settings-shell{grid-template-columns:1fr!important}.settings-sidebar{position:static!important}.settings-nav{display:grid!important;grid-template-columns:repeat(2,1fr)!important}.settings-nav-category{grid-column:1/-1}.settings-sidebar-foot{display:none}.settings-tile-grid{grid-template-columns:1fr}.settings-group-head{align-items:flex-start;flex-direction:column;gap:3px}.settings-group-head>p{text-align:left}}
@media(max-width:600px){.settings-hero{align-items:flex-start;flex-direction:column;padding:18px}.settings-hero-badge{display:none}.settings-overview-strip{grid-template-columns:1fr}.settings-overview-strip>div{border-right:0!important;border-bottom:1px solid #e8ebef!important}.settings-overview-strip>div:last-child{border-bottom:0!important}.settings-nav{grid-template-columns:1fr!important}.settings-tile{grid-template-columns:40px minmax(0,1fr);padding:13px}.tile-icon{width:39px;height:39px}}

/* Settings: full-width workspace, no settings sidebar */
.settings-fullwidth{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;min-width:0!important}
.settings-fullwidth .settings-hero{width:100%!important;box-sizing:border-box!important}
.settings-fullwidth .settings-overview-strip{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.settings-fullwidth .settings-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.settings-fullwidth .settings-tile{min-height:118px!important}
.settings-fullwidth .settings-group-head>p{max-width:650px!important}
@media(min-width:1450px){
 .settings-fullwidth .settings-tile-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .settings-fullwidth .settings-group:has(.settings-tile-grid>.settings-tile:nth-child(2):last-child) .settings-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:850px){
 .settings-fullwidth .settings-overview-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .settings-fullwidth .settings-tile-grid{grid-template-columns:1fr!important}
}
@media(max-width:520px){.settings-fullwidth .settings-overview-strip{grid-template-columns:1fr!important}}

/* Settings Import / Export */
.ie-notice{display:flex;align-items:flex-start;gap:11px;padding:12px 14px;margin-bottom:15px;border:1px solid #cfd8e5;border-radius:12px;background:#f3f6fa}.ie-notice>span{display:flex;width:27px;height:27px;align-items:center;justify-content:center;border-radius:50%;background:#27528f;color:#fff;font-weight:900;flex:none}.ie-notice strong{font-size:10px;color:#213148}.ie-notice p{margin:2px 0 0!important;font-size:9px!important;color:#71827d!important}.ie-section{background:#fff;border:1px solid #dce1e8;border-radius:16px;margin-bottom:16px;overflow:hidden;box-shadow:0 6px 18px rgba(20,65,52,.045)}.ie-section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 18px;border-bottom:1px solid #e4e7ec;background:linear-gradient(90deg,#f8f9fb,#fff)}.ie-section-head>div{display:flex;align-items:center;gap:12px}.ie-icon{display:flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:12px;background:#e1e9f4;color:#173a6a;font-size:18px}.ie-kicker{display:block;font-size:7px;font-weight:900;letter-spacing:1.15px;color:#5d769a}.ie-section h2{margin:2px 0 3px!important;font-size:14px!important;color:#17273e!important}.ie-section-head p{margin:0!important;font-size:9px!important;color:#71827d!important}.ie-count{padding:6px 9px;border-radius:8px;background:#edf0f5;color:#4d5b6e;font-size:8px;font-weight:800;white-space:nowrap}.ie-actions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.ie-action{padding:18px;border-right:1px solid #e6e9ee;min-width:0}.ie-action:last-child{border-right:0}.ie-step{display:inline-flex;padding:4px 6px;border-radius:5px;background:#e4ebf4;color:#173763;font-size:7px;font-weight:900;letter-spacing:.7px}.ie-action h3{margin:9px 0 5px!important;font-size:11px!important;color:#17273e!important}.ie-action p{min-height:40px;margin:0 0 12px!important;font-size:8px!important;line-height:1.5!important;color:#71827d!important}.ie-action form{display:flex;flex-direction:column;gap:8px}.ie-action input[type=file]{width:100%;box-sizing:border-box;padding:7px;border:1px dashed #b8c1ce;border-radius:8px;background:#fafbfc;font-size:8px}.ie-footnote{padding:10px 18px;border-top:1px solid #e6e9ee;background:#fafbfc;font-size:8px;color:#71827d}@media(max-width:900px){.ie-actions-grid{grid-template-columns:1fr}.ie-action{border-right:0;border-bottom:1px solid #e6e9ee}.ie-action:last-child{border-bottom:0}.ie-action p{min-height:0}}
/* Disaster Recovery */
.dr-status{display:flex;gap:11px;align-items:center;padding:12px 15px;margin-bottom:14px;border:1px solid #cdd7e6;border-radius:13px;background:#f2f5fa}.dr-status>span{display:flex;width:31px;height:31px;align-items:center;justify-content:center;border-radius:50%;background:#27528f;color:#fff;font-weight:900}.dr-status strong{font-size:10px;color:#203148}.dr-status p{margin:2px 0 0!important;font-size:9px!important;color:#71827d!important}.dr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dr-card{background:#fff;border:1px solid #dce1e8;border-radius:16px;padding:20px;box-shadow:0 7px 20px rgba(20,65,52,.05)}.dr-card-icon{display:flex;width:45px;height:45px;align-items:center;justify-content:center;border-radius:13px;background:#e2eaf4;color:#173a6a;font-size:21px;margin-bottom:12px}.dr-label{font-size:7px;font-weight:900;letter-spacing:1.2px;color:#5b759a}.dr-card h2{margin:4px 0 7px!important;font-size:15px!important;color:#17273e!important}.dr-card>p{font-size:9px!important;line-height:1.55!important;color:#71827d!important;min-height:57px}.dr-detail{display:flex;justify-content:space-between;padding:9px 10px;margin:12px 0;border-radius:8px;background:#f5f6f8;font-size:8px;color:#5c726b}.dr-button{display:block;width:100%;box-sizing:border-box;text-align:center;margin:10px 0 7px}.dr-card small{display:block;font-size:7px;color:#879892}.dr-card form{display:flex;flex-direction:column;gap:9px}.dr-card form label{font-size:8px;font-weight:800;color:#4d5c70}.dr-card form input{display:block;width:100%;box-sizing:border-box;margin-top:4px;padding:9px;border:1px solid #cad1db;border-radius:8px;background:#fafbfc}.dr-restore{border-color:#ead7d1}.dr-restore .dr-card-icon{background:#f9ece8;color:#a94c35}.dr-warning{margin-top:14px;padding:12px 14px;border-radius:11px;background:#fff8e8;border:1px solid #eddcae;font-size:8px;line-height:1.5;color:#725e28}@media(max-width:850px){.dr-grid{grid-template-columns:1fr}.dr-card>p{min-height:0}}
/* Licensing */
.license-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:15px}.license-summary>div{background:#fff;border:1px solid #dce1e8;border-radius:13px;padding:14px 16px}.license-summary span{display:block;font-size:7px;font-weight:900;letter-spacing:1px;color:#779087}.license-summary strong{display:block;font-size:24px;color:#172d4c;margin:3px 0}.license-summary small{font-size:8px;color:#82948e}.license-panel{background:#fff;border:1px solid #dce1e8;border-radius:16px;margin-bottom:14px;overflow:hidden;box-shadow:0 6px 18px rgba(20,65,52,.045)}.license-panel-head{padding:15px 17px;border-bottom:1px solid #e5e9ee;background:#f9fafb}.license-panel-head>div{display:flex;align-items:center;gap:11px}.license-icon{display:flex;width:37px;height:37px;align-items:center;justify-content:center;border-radius:10px;background:#e2eaf4;color:#173763;font-size:14px}.license-panel h2{margin:0!important;font-size:13px!important;color:#17273e!important}.license-panel-head p{margin:2px 0 0!important;font-size:8px!important;color:#71827d!important}.license-module-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;padding:12px}.license-module-card{display:grid;grid-template-columns:44px 1fr auto;gap:11px;align-items:center;padding:14px;border:1px solid #e0e4e9;border-radius:12px;cursor:pointer;background:#fff}.license-module-card:hover{background:#f7f9fb}.license-module-icon{display:flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:11px;background:#e4ebf5;color:#173763;font-size:9px;font-weight:900}.license-module-card h3{margin:0 0 3px!important;font-size:11px!important;color:#17273e!important}.license-module-card p{margin:0 0 5px!important;font-size:8px!important;color:#71827d!important}.module-state{font-size:7px;font-weight:850;color:#27528f}.switch input{display:none}.switch i{display:block;width:38px;height:21px;border-radius:20px;background:#c6cdd7;position:relative;transition:.2s}.switch i:after{content:"";position:absolute;width:15px;height:15px;border-radius:50%;background:#fff;top:3px;left:3px;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:.2s}.switch input:checked+i{background:#27528f}.switch input:checked+i:after{left:20px}.seat-editor{display:grid;grid-template-columns:minmax(220px,340px) 1fr;gap:25px;padding:17px}.seat-editor label{display:flex;flex-direction:column;gap:5px;font-size:9px;font-weight:850;color:#384250}.seat-editor input{max-width:150px;padding:9px;border:1px solid #cad1db;border-radius:8px}.seat-editor p{font-size:8px!important;color:#71827d!important}.seat-meter{align-self:center}.seat-meter-label{display:flex;justify-content:space-between;font-size:8px;color:#61786f;margin-bottom:6px}.seat-track{height:9px;background:#e7eaef;border-radius:10px;overflow:hidden}.seat-track i{display:block;height:100%;background:#27528f;border-radius:10px}.license-save{display:flex;justify-content:flex-end;margin-bottom:20px}@media(max-width:800px){.license-module-grid,.license-summary{grid-template-columns:1fr}.seat-editor{grid-template-columns:1fr}}

/* Notification drawer reliability fix: override legacy global aside positioning */
.notification-overlay{
  position:fixed!important;inset:0!important;width:auto!important;height:auto!important;
  padding:0!important;background:rgba(8,24,19,.34)!important;
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  z-index:2147483000!important;transition:opacity .2s ease,visibility .2s ease!important;
}
.notification-overlay.open{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
.notification-drawer{
  position:fixed!important;top:0!important;right:0!important;left:auto!important;bottom:0!important;
  width:390px!important;max-width:94vw!important;height:100dvh!important;
  margin:0!important;padding:0!important;background:#fff!important;color:#252f3c!important;
  z-index:2147483001!important;box-shadow:-14px 0 40px rgba(5,28,21,.22)!important;
  display:flex!important;flex-direction:column!important;
  transform:translateX(105%)!important;visibility:hidden!important;
  transition:transform .24s ease,visibility .24s ease!important;
}
.notification-drawer.open{transform:translateX(0)!important;visibility:visible!important}
.notification-drawer-head{flex:0 0 auto!important;background:linear-gradient(115deg,#102747,#214a83)!important;color:#fff!important;padding:19px 20px!important}
.notification-drawer-head strong{color:#fff!important;font-size:16px!important}.notification-subtitle{color:rgba(255,255,255,.72)!important;font-size:10px!important;margin-top:2px!important}
.notification-close{color:#fff!important;width:34px!important;height:34px!important;margin:0!important;border-radius:9px!important;background:rgba(255,255,255,.12)!important;line-height:1!important}
.notification-list{min-height:0!important;overflow-y:auto!important;background:#fff!important}.notification-empty{padding:30px 20px!important;text-align:center!important;color:#7c8f88!important;font-size:11px!important}
body.notification-open{overflow:hidden!important}

/* ===== PulseCRM Analytics / BI ===== */
.bi-page{width:100%;min-width:0}.bi-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 23px;margin-bottom:12px;border-radius:17px;background:linear-gradient(115deg,#0d223f,#173a6a 55%,#214a83);color:#fff;box-shadow:0 12px 28px rgba(15,69,53,.13)}.bi-eyebrow{font-size:7px;font-weight:900;letter-spacing:1.45px;color:#bfd4f2}.bi-hero h1{margin:3px 0 4px!important;font-size:28px!important;color:#fff!important}.bi-hero p{margin:0!important;font-size:10px!important;color:rgba(239,255,247,.78)!important}.bi-live{display:grid;grid-template-columns:9px auto;align-items:center;gap:2px 7px;padding:9px 12px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:rgba(255,255,255,.08)}.bi-live i{grid-row:1/3;width:8px;height:8px;border-radius:50%;background:#6fa5f0;box-shadow:0 0 0 4px rgba(111,240,168,.12)}.bi-live span{font-size:8px;font-weight:900;letter-spacing:.8px}.bi-live small{font-size:7px;color:rgba(255,255,255,.65)}
.bi-filterbar{display:flex;align-items:end;gap:9px;padding:10px 12px;margin-bottom:11px;background:#fff;border:1px solid #dce1e8;border-radius:12px;box-shadow:0 4px 13px rgba(20,65,52,.04);flex-wrap:wrap}.bi-filter-title{display:flex;align-items:center;gap:8px;margin-right:auto}.bi-filter-title>span{display:flex;width:30px;height:30px;align-items:center;justify-content:center;border-radius:8px;background:#e5ecf5;color:#173a6a}.bi-filter-title strong{display:block;font-size:9px;color:#293648}.bi-filter-title small{display:block;font-size:7px;color:#899b95}.bi-filterbar label{display:flex;flex-direction:column;gap:3px;font-size:7px;font-weight:850;color:#637a72}.bi-filterbar select{min-width:135px;padding:7px 9px;border:1px solid #ccd3dc;border-radius:8px;background:#fff;font-size:9px}.bi-filter-note{width:100%;text-align:right;font-size:7px;color:#98a8a2}
.bi-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-bottom:11px}.bi-kpi{display:flex;align-items:center;gap:10px;padding:13px;background:#fff;border:1px solid #dce1e8;border-radius:12px;box-shadow:0 4px 13px rgba(20,65,52,.04);min-width:0}.kpi-icon{display:flex;width:35px;height:35px;align-items:center;justify-content:center;flex:none;border-radius:10px;background:#e4ebf5;color:#173a6a;font-size:13px;font-weight:900}.bi-kpi small{display:block;font-size:6.5px;font-weight:900;letter-spacing:.7px;color:#81938d}.bi-kpi strong{display:block;margin:2px 0;font-size:17px;color:#17273e;white-space:nowrap}.bi-kpi em{display:block;font-style:normal;font-size:7px;color:#93a29d}
.bi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:11px}.bi-grid-main{grid-template-columns:2fr 1fr}.bi-span-2{min-width:0}.bi-card{background:#fff;border:1px solid #dce1e8;border-radius:14px;padding:14px;box-shadow:0 5px 16px rgba(20,65,52,.045);min-width:0}.bi-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.bi-card-head span{display:block;font-size:6.5px;font-weight:900;letter-spacing:1px;color:#5f789c}.bi-card-head h2{margin:2px 0 0!important;font-size:12px!important;color:#17273e!important}.bi-card-head>small{font-size:7px;color:#91a19c}
.bi-stage-chart{display:flex;flex-direction:column;gap:7px}.bi-stage-row{display:grid;grid-template-columns:88px minmax(60px,1fr) 24px 75px;gap:8px;align-items:center;font-size:8px}.stage-name{color:#4d5b6f;font-weight:750}.stage-track,.owner-track{height:7px;border-radius:8px;background:#edf0f3;overflow:hidden}.stage-track i,.owner-track i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#1b4073,#3564a7)}.bi-stage-row strong{font-size:8px;color:#293648;text-align:right}.bi-stage-row em{font-style:normal;text-align:right;color:#7d8f89;font-size:7px}
.bi-donut-wrap{display:flex;justify-content:center;padding:4px}.bi-donut{--p:calc(var(--win)*1%);width:125px;height:125px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#27528f var(--p),#e7eaef 0);position:relative}.bi-donut:after{content:"";position:absolute;inset:18px;background:#fff;border-radius:50%}.bi-donut>div{position:relative;z-index:1;text-align:center}.bi-donut strong{display:block;font-size:22px;color:#17273e}.bi-donut small{font-size:6px;font-weight:900;color:#82948e;letter-spacing:.8px}.bi-mini-stats{display:grid;grid-template-columns:1fr 1fr;margin-top:10px;border-top:1px solid #edeff2}.bi-mini-stats>div{text-align:center;padding:9px}.bi-mini-stats>div+div{border-left:1px solid #edeff2}.bi-mini-stats strong{display:block;font-size:13px;color:#17273e}.bi-mini-stats span{font-size:7px;color:#8a9a95}
.bi-owner-list{display:flex;flex-direction:column;gap:9px}.bi-owner{display:grid;grid-template-columns:minmax(120px,1fr) 80px;gap:3px 10px;align-items:center}.bi-owner-name{display:flex;align-items:center;gap:8px}.bi-owner-name>span{display:flex;width:28px;height:28px;align-items:center;justify-content:center;border-radius:8px;background:#e5ecf5;color:#173a6a;font-size:10px;font-weight:900}.bi-owner-name strong,.bi-owner-value strong{display:block;font-size:8px;color:#293648}.bi-owner-name small,.bi-owner-value small{display:block;font-size:6.5px;color:#91a19c}.bi-owner-value{text-align:right}.bi-owner .owner-track{grid-column:1/3;height:5px}.bi-snapshot{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.bi-snapshot>div{display:flex;align-items:center;gap:8px;padding:12px;border-radius:10px;background:#f6f8fa;border:1px solid #e8ebef}.bi-snapshot>div>span{display:flex;width:28px;height:28px;align-items:center;justify-content:center;border-radius:8px;background:#e3eaf3;color:#173a6a;font-weight:900}.bi-snapshot p{margin:0!important}.bi-snapshot strong{display:block;font-size:14px;color:#17273e}.bi-snapshot small{font-size:7px;color:#899a94}.bi-empty{padding:25px;text-align:center;color:#91a19c;font-size:9px}
.bi-column-chart{height:180px;display:flex;align-items:flex-end;gap:12px;padding:12px 8px 0;border-bottom:1px solid #dce1e7}.bi-col{flex:1;height:100%;display:grid;grid-template-rows:18px 1fr 20px;text-align:center;min-width:25px}.bi-col-value{font-size:7px;color:#71857d}.bi-col-track{position:relative;height:100%;display:flex;align-items:flex-end;justify-content:center;background:linear-gradient(to top,rgba(226,239,233,.35),transparent);border-radius:5px 5px 0 0}.bi-col-track i{display:block;width:min(38px,65%);min-height:2px;border-radius:6px 6px 0 0;background:linear-gradient(#3564a7,#173a6a)}.bi-col>span{padding-top:5px;font-size:7px;font-weight:750;color:#71857d}.bi-footnote{font-size:7px;color:#8c9c96;padding:4px 2px 14px}.bi-nav-link{text-decoration:none!important;display:inline-flex!important;align-items:center!important}
@media(max-width:1200px){.bi-kpis{grid-template-columns:repeat(3,1fr)}}@media(max-width:850px){.bi-kpis{grid-template-columns:repeat(2,1fr)}.bi-grid,.bi-grid-main{grid-template-columns:1fr}.bi-hero{align-items:flex-start;flex-direction:column}.bi-stage-row{grid-template-columns:75px 1fr 20px 60px}}@media(max-width:520px){.bi-kpis{grid-template-columns:1fr}.bi-filterbar{align-items:stretch;flex-direction:column}.bi-filterbar select{width:100%}.bi-live{display:none}}

/* ===== Planner settings & leave entitlement ===== */
.planner-head-actions{display:flex;gap:8px;align-items:center}.planner-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.planner-settings-card{border:1px solid #dce1e8!important}.planner-settings-title{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #e8ebef}.planner-settings-title>div{display:flex;align-items:center;gap:9px}.planner-settings-title>div>span{display:flex;width:27px;height:27px;align-items:center;justify-content:center;border-radius:8px;background:#e5ecf5;color:#173a6a;font-size:8px;font-weight:900}.planner-settings-title h2{margin:0!important;font-size:14px!important;color:#17273e!important}.planner-settings-title p{max-width:330px;margin:0!important;font-size:9px!important;color:#82948e!important}.planner-settings-form{display:flex;flex-direction:column;gap:12px}.planner-settings-form>label:not(.planner-toggle){display:flex;flex-direction:column;gap:5px;font-size:9px;font-weight:850;color:#384250}.planner-settings-form input[type=text],.planner-settings-form input[type=number],.planner-settings-form input:not([type]),.planner-settings-form select{padding:9px;border:1px solid #cad1db;border-radius:8px;background:#fff}.planner-settings-form label small{font-size:8px;font-weight:500;color:#82948e}.planner-toggle{display:flex;align-items:flex-start;gap:9px;padding:10px;border:1px solid #e2e6eb;border-radius:9px;background:#f9fafb}.planner-toggle input{margin-top:3px}.planner-toggle strong,.planner-toggle small{display:block}.planner-toggle strong{font-size:9px;color:#384250}.planner-toggle small{margin-top:2px}.leave-type-list{display:flex;flex-direction:column;gap:7px}.leave-type-row{display:grid;grid-template-columns:minmax(180px,1fr) 100px 145px 90px 65px;gap:10px;align-items:center;padding:10px 12px;border:1px solid #e2e6eb;border-radius:10px;background:#fbfcfd}.leave-type-name strong{display:block;font-size:10px;color:#293648}.leave-type-name small{display:block;font-size:7px;color:#8a9b95;margin-top:2px}.leave-type-row label{font-size:8px;color:#4d5c70;white-space:nowrap}.leave-profile-panel{grid-column:1/-1;margin:8px 0;padding:14px;border:1px solid #cfd8e5;border-radius:12px;background:#f5f8fb}.leave-profile-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.leave-profile-head span{font-size:7px;font-weight:900;letter-spacing:1px;color:#5b7394}.leave-profile-head h3{margin:2px 0 0!important;font-size:14px!important;color:#17273e!important}.leave-remaining{text-align:right}.leave-remaining small{display:block;font-size:7px;color:#82948e}.leave-remaining strong{font-size:14px;color:#173a6a}.leave-profile-grid{display:grid;grid-template-columns:1fr 1fr 100px 100px;gap:10px;align-items:end}.leave-profile-grid label{display:flex;flex-direction:column;gap:4px}.leave-profile-stat{padding:9px;border-radius:8px;background:#fff;border:1px solid #dce1e8}.leave-profile-stat small,.leave-profile-stat strong{display:block}.leave-profile-stat small{font-size:7px;color:#82948e}.leave-profile-stat strong{font-size:14px;color:#17273e}.planner-stat.planner-balance strong em{font-size:9px;font-style:normal;font-weight:650;color:#82948e}.planner-stat.remaining{border-color:#bfcde1!important;background:#f3f6fb!important}@media(max-width:900px){.planner-settings-grid{grid-template-columns:1fr}.leave-type-row{grid-template-columns:1fr 1fr}.leave-type-name{grid-column:1/-1}.leave-profile-grid{grid-template-columns:1fr 1fr}.planner-head-actions{flex-wrap:wrap}}

/* Planner leave-type payment / balance badges */
.leave-type-badges{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-top:5px}.leave-badge{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.04em;border:1px solid #d8dee8;background:#f6f8fb;color:#344054}.leave-badge.paid{background:#ecf3fd;border-color:#abc7ef;color:#073575}.leave-badge.unpaid{background:#fff4ed;border-color:#ffd6ae;color:#b93815}.leave-badge.deduct{background:#eff4ff;border-color:#c7d7fe;color:#3538cd}.leave-badge.no-deduct{background:#f2f4f7;border-color:#d0d5dd;color:#475467}.leave-request-type strong{display:block}.leave-type-row select{min-width:150px}
.leave-badge.pay-factor{background:#eef2ff;color:#3730a3;border:1px solid #c7d2fe}.leave-type-row label small{display:block;margin-top:4px;color:#6b7280;font-size:11px}

/* Planner Settings compact Leave Types table - 2026-09-14 */
.leave-types-card{padding:18px!important}.leave-types-table-wrap{width:100%;overflow-x:auto}.leave-types-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;border:1px solid #e2e6eb;border-radius:10px;overflow:hidden;background:#fff}.leave-types-table th{padding:10px 12px;background:#f5f6f8;border-bottom:1px solid #dfe3e8;text-align:left;font-size:9px;font-weight:900;color:#384250}.leave-types-table td{padding:10px 12px;border-bottom:1px solid #e9ebef;vertical-align:middle;font-size:9px}.leave-types-table tr:last-child td{border-bottom:0}.leave-types-table th:nth-child(1){width:20%}.leave-types-table th:nth-child(2){width:14%}.leave-types-table th:nth-child(3){width:15%}.leave-types-table th:nth-child(4){width:23%}.leave-types-table th:nth-child(5){width:14%}.leave-types-table th:nth-child(6){width:14%}.leave-types-table select,.leave-types-table input[type=number]{width:100%;box-sizing:border-box;padding:8px 9px;border:1px solid #cad1db;border-radius:7px;background:#fff;font-size:9px;color:#293648}.leave-types-table .leave-badge{margin-top:5px;font-size:8px;padding:3px 6px}.pay-factor-cell{display:grid;grid-template-columns:minmax(70px,1fr) auto;gap:6px;align-items:center}.pay-factor-cell .leave-badge{margin-top:0;white-space:nowrap}.leave-active-toggle{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:999px;background:#ecf3fd;border:1px solid #abc7ef;color:#073575;font-size:9px;font-weight:800;white-space:nowrap}.leave-active-toggle input{margin:0}.leave-save-btn{width:100%;min-width:70px;padding:8px 12px!important}.leave-types-table .leave-type-name strong{font-size:10px}.leave-types-table .leave-type-name small{font-size:8px}.leave-types-table td:nth-child(2) .leave-badge,.leave-types-table td:nth-child(4) .leave-badge{display:inline-flex}@media(max-width:1100px){.leave-types-table{min-width:950px}}

/* Employee leave entitlement & mini report */
.leave-entitlement-panel{margin:22px 0;padding:20px;border:1px solid #dfe7ee;border-radius:14px;background:#fbfdfd}
.leave-year-picker{display:flex;align-items:center;gap:8px}.leave-year-picker label{font-size:12px;color:#64748b}.leave-year-picker select{min-width:100px;padding:8px 10px}
.leave-summary-strip{display:grid;grid-template-columns:repeat(7,minmax(100px,1fr));gap:10px;margin:16px 0}
.leave-summary-strip>div{padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:white}.leave-summary-strip small{display:block;color:#64748b;font-size:11px;margin-bottom:5px}.leave-summary-strip strong{font-size:18px;color:#0f172a}.leave-summary-strip .leave-summary-remaining{background:#eef3fb;border-color:#b7ccea}.leave-summary-strip .leave-summary-remaining strong{color:#08377a}
.leave-entitlement-edit{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;padding:14px;background:#f5f8fb;border-radius:10px;margin:12px 0}.leave-entitlement-edit label{font-size:12px;font-weight:600}.leave-entitlement-edit input{width:100%;margin-top:6px}.leave-entitlement-edit small{display:block;margin-top:4px;color:#64748b;font-weight:400}
.leave-history-head{display:flex;justify-content:space-between;align-items:center;margin:22px 0 8px}.leave-history-head h4{margin:0}.leave-history-head span{font-size:12px;color:#64748b}.leave-history-table-wrap{overflow-x:auto}.leave-history-table{width:100%;border-collapse:collapse}.leave-history-table th{font-size:11px;text-transform:uppercase;letter-spacing:.03em;color:#64748b;background:#f1f5f9}.leave-history-table th,.leave-history-table td{padding:11px 10px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:middle}.leave-history-table td{font-size:13px}.leave-history-table td small{color:#64748b}.leave-history-empty{text-align:center!important;color:#64748b;padding:24px!important}
.leave-badge{display:inline-block;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:700;white-space:nowrap}.leave-badge.paid,.leave-badge.status-approved{background:#dce9fc;color:#154280}.leave-badge.unpaid,.leave-badge.status-rejected{background:#fee2e2;color:#b91c1c}.leave-badge.deduct{background:#dbeafe;color:#1d4ed8}.leave-badge.neutral{background:#f1f5f9;color:#475569}.leave-badge.status-pending{background:#fef3c7;color:#92400e}
@media(max-width:1100px){.leave-summary-strip{grid-template-columns:repeat(4,1fr)}.leave-entitlement-edit{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.leave-summary-strip,.leave-entitlement-edit{grid-template-columns:1fr 1fr}.leave-profile-head{align-items:flex-start;gap:12px;flex-wrap:wrap}}

/* Manage User full-width layout refresh - 2026-09-14 */
.user-manage-card{max-width:none!important;width:100%;box-sizing:border-box;padding:18px!important}.user-manage-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.user-manage-section{min-width:0;padding:16px;border:1px solid #e0e4ea;border-radius:12px;background:#fff}.user-manage-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid #edeff2}.user-manage-section-head h2{margin:0!important;font-size:14px!important;color:#17273e}.user-manage-section-head p{margin:2px 0 0!important;font-size:9px!important;color:#81928c}.user-manage-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}.user-manage-fields.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}.user-manage-fields label{display:flex;flex-direction:column;gap:5px;font-size:9px;font-weight:850;color:#384250;min-width:0}.user-manage-fields label small{font-size:8px;font-weight:500;color:#81928c}.user-manage-fields input,.user-manage-fields select,.user-manage-fields textarea{width:100%;box-sizing:border-box;border:1px solid #cad1db;border-radius:8px;padding:9px;background:#fff;color:#26303f}.user-manage-fields select[multiple]{min-height:112px}.user-manage-fields textarea{resize:vertical}.user-manage-fields .span-two{grid-column:1/-1}.user-active-field{justify-content:flex-end}.user-active-pill{min-height:34px;display:flex;align-items:center;gap:8px;padding:0 10px;border:1px solid #bdcee5;border-radius:8px;background:#f1f5fb;color:#143e7a;font-size:10px;font-weight:800}.user-active-pill input{width:auto!important;margin:0}.user-manage-form>.leave-entitlement-panel{grid-column:1/-1;margin:0!important}.user-manage-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;padding-top:2px}.employee-profile-grid{grid-template-columns:minmax(280px,.8fr) minmax(360px,1.2fr)}.employee-profile-grid>.card{margin:0;min-height:0}.employee-profile-grid input[type=file]{width:100%;box-sizing:border-box}.employee-files-card{max-width:none!important}.org-edit-card{max-width:none!important}
@media(max-width:1000px){.user-manage-form{grid-template-columns:1fr}.user-manage-form>.leave-entitlement-panel,.user-manage-actions{grid-column:1}.employee-profile-grid{grid-template-columns:1fr 1fr}.leave-summary-strip{grid-template-columns:repeat(4,1fr)}}
@media(max-width:700px){.employee-profile-grid,.user-manage-fields,.user-manage-fields.two-col{grid-template-columns:1fr}.user-manage-fields .span-two{grid-column:1}.leave-summary-strip{grid-template-columns:repeat(2,1fr)}.user-manage-actions{justify-content:stretch}.user-manage-actions .btn{flex:1;text-align:center}}
/* 2026-09-14 global settings refresh: compact top navigation */
.ez-topbar{min-height:56px!important;height:56px!important;padding:0 18px!important;gap:14px!important;box-shadow:0 1px 8px rgba(0,0,0,.10)!important}
.ez-topbar-brand{min-width:150px!important}.ez-topbar-brand img{max-height:34px!important;max-width:125px!important}
.topnav-trigger,.topnav-direct{padding:7px 9px!important}.ez-topbar-right{gap:6px!important;min-width:auto!important}.profile-trigger{padding:5px 8px!important}
@media(max-width:760px){.ez-topbar{height:auto!important;min-height:54px!important;padding:7px 9px!important}}

/* UI usability refresh — current time, navigation visibility, settings readability */
.clock-current-time{margin:0 0 15px;padding:12px 12px 11px;border:1px solid #d5dce5;border-radius:12px;background:#fff;box-shadow:0 4px 12px rgba(20,65,52,.04)}
.clock-current-time-label{font-size:9px;font-weight:900;letter-spacing:1.15px;color:#6f8880;margin-bottom:3px}
.clock-current-time-value{font-size:25px;line-height:1.08;font-weight:900;letter-spacing:-.02em;color:#17273e;font-variant-numeric:tabular-nums}
.clock-current-date{font-size:11px;font-weight:700;color:#4d5c70;margin-top:4px}
.clock-current-zone{font-size:9px;color:#83948f;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Keep the top-level categories vertically centred and every dropdown inside the viewport. */
.ez-horizontal-nav{align-self:stretch!important;align-items:center!important;top:0!important}
.topnav-group{align-items:center!important}
.topnav-menu{top:calc(100% - 5px)!important;z-index:1200!important;max-height:calc(100vh - 68px)!important;overflow-y:auto!important;overscroll-behavior:contain}
.profile-dropdown{top:calc(100% + 5px)!important;z-index:1200!important;max-height:calc(100vh - 68px)!important;overflow-y:auto!important}

/* Settings should be comfortably readable without returning to oversized cards. */
.settings-page .app-main{font-size:14px!important}
.settings-page .modern-page-header h1,.settings-page .settings-hero h1{font-size:30px!important}
.settings-page .modern-page-header p,.settings-page .muted{font-size:13px!important;line-height:1.5!important}
.settings-page label{font-size:13px!important;line-height:1.35!important}
.settings-page input,.settings-page select,.settings-page textarea,.settings-page button{font-size:13px!important}
.settings-page small{font-size:11px!important;line-height:1.4!important}
.settings-page .settings-eyebrow{font-size:10px!important}
.settings-page .settings-hero p{font-size:13px!important}
.settings-page .settings-hero-badge small{font-size:9px!important}.settings-page .settings-hero-badge strong{font-size:11px!important}
.settings-page .settings-overview-strip strong{font-size:12px!important}.settings-page .settings-overview-strip small{font-size:10px!important}
.settings-page .group-number{font-size:10px!important}.settings-page .settings-group-head h2{font-size:16px!important}.settings-page .settings-group-head>p{font-size:11px!important;line-height:1.45!important}
.settings-page .tile-label{font-size:9px!important}.settings-page .tile-body h3{font-size:15px!important}.settings-page .tile-body p{font-size:11px!important;line-height:1.5!important}.settings-page .tile-link{font-size:11px!important}
.settings-page .settings-help strong{font-size:12px!important}.settings-page .settings-help p{font-size:11px!important}
.settings-page .planner-settings-title h2{font-size:16px!important}.settings-page .planner-settings-title p{font-size:11px!important}
.settings-page .planner-settings-form>label:not(.planner-toggle){font-size:12px!important}.settings-page .planner-settings-form label small{font-size:10px!important}
.settings-page .planner-toggle strong{font-size:12px!important}.settings-page .planner-toggle small{font-size:10px!important}
.settings-page .leave-type-name strong{font-size:12px!important}.settings-page .leave-type-name small{font-size:10px!important}.settings-page .leave-type-row label{font-size:11px!important}
.settings-page .org-hint{font-size:11px!important}
@media(max-width:760px){.topnav-menu{position:fixed!important;top:112px!important;left:10px!important;right:10px!important;max-height:calc(100vh - 125px)!important}}


/* 2026-09-14 header containment + Dashboard navigation fix */
.ez-topbar{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;overflow:visible!important}
.ez-horizontal-nav{position:static!important;left:auto!important;top:auto!important;transform:none!important;margin:0 auto!important;width:auto!important;height:100%!important;align-self:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;overflow:visible!important}
.topnav-group{height:100%!important;display:flex!important;align-items:center!important;position:relative!important}
.topnav-trigger{height:100%!important;display:flex!important;align-items:center!important;color:#fff!important}
.topnav-menu{top:calc(100% - 1px)!important}
@media(max-width:1100px){.ez-horizontal-nav{margin:0 auto!important;gap:1px!important}.topnav-trigger{padding:0 8px!important;font-size:11px!important}}
@media(max-width:760px){.ez-topbar{flex-wrap:wrap!important}.ez-horizontal-nav{order:3!important;width:100%!important;height:auto!important;justify-content:flex-start!important;overflow-x:auto!important;overflow-y:visible!important;margin:0!important}.topnav-group{height:38px!important}.topnav-trigger{height:38px!important}.topnav-menu{position:fixed!important;top:112px!important}}

/* Header action alignment refinement — 2026-09-14 */
.ez-topbar-right{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
  height:100%!important;
}
.message-centre-link,
.notification-bell,
.profile-trigger{
  height:40px!important;
  min-height:40px!important;
  box-sizing:border-box!important;
  border:1px solid rgba(255,255,255,.12)!important;
  background:rgba(255,255,255,.09)!important;
  border-radius:10px!important;
  margin:0!important;
  vertical-align:middle!important;
  box-shadow:none!important;
}
.message-centre-link{
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  line-height:1!important;
}
.notification-bell{
  width:40px!important;
  min-width:40px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.bell-glyph{margin:0!important;box-sizing:border-box!important}
.profile-trigger{
  padding:0 9px 0 5px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  line-height:1!important;
}
.profile-avatar{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  border-radius:8px!important;
  box-shadow:none!important;
}
.message-centre-link:hover,.notification-bell:hover,.profile-trigger:hover{background:rgba(255,255,255,.16)!important}
@media(max-width:1100px){
  .message-centre-link,.notification-bell,.profile-trigger{height:38px!important;min-height:38px!important}
  .notification-bell{width:38px!important;min-width:38px!important}
  .profile-avatar{width:28px!important;height:28px!important;min-width:28px!important}
}

/* Geo-location / geofence */
.geo-profile-section{border-top:1px solid #dbe0e6}.geo-map-btn{padding:6px 10px!important;font-size:12px!important;white-space:nowrap}.geo-profile-section input[type=number],.geo-profile-section select{min-height:42px}

/* Manage User save reliability / GPS actions */
.geo-save-actions{display:flex;justify-content:flex-end;margin-top:12px;padding-top:12px;border-top:1px solid #edeff2}.geo-save-actions .btn{min-width:150px}.leave-year-picker{display:flex;align-items:center;gap:8px}.leave-year-picker label{margin:0}.leave-year-picker select{min-width:90px}

/* Daily T&A configurable report columns */
.daily-column-picker{margin-top:18px;border:1px solid #d7dce4;border-radius:14px;padding:16px 18px;background:#f8f9fb}.daily-column-picker legend{font-weight:800;font-size:15px;padding:0 7px}.daily-column-picker p{margin:2px 0 12px}.daily-column-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px 16px}.daily-column-grid label{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:650;padding:7px 9px;border-radius:8px;background:#fff;border:1px solid #e3e7ec}.daily-column-grid input{width:16px;height:16px}.column-picker-actions{display:flex;gap:8px;margin-top:12px}.column-picker-actions .btn{padding:7px 12px}.daily-report-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.column-count{white-space:nowrap;background:#e8edf4;color:#123260;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}.table-scroll{overflow-x:auto}.daily-timesheet-table{min-width:900px}.daily-timesheet-table .event-cell{min-width:240px;white-space:normal;line-height:1.6}.daily-timesheet-table th{white-space:nowrap}
/* Reports overhaul */
.report-hero{margin-bottom:12px}.report-view-tabs{display:flex;gap:7px;margin:0 0 14px;padding:5px;background:#edf0f4;border:1px solid #dbe0e8;border-radius:12px;width:max-content}.report-view-tabs a{padding:9px 16px;border-radius:9px;text-decoration:none;color:#31435c;font-weight:800;font-size:13px}.report-view-tabs a.active{background:#fff;color:#173763;box-shadow:0 1px 5px rgba(20,70,52,.12)}
.report-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:12px;margin-bottom:14px}.report-kpi{background:#fff;border:1px solid #dfe3e9;border-radius:13px;padding:14px 16px;box-shadow:0 2px 7px rgba(25,70,55,.04)}.report-kpi span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:850;color:#71837d}.report-kpi strong{display:block;font-size:24px;line-height:1.15;margin:6px 0 3px;color:#16273f}.report-kpi small{color:#74847f;font-size:11px}.report-control-card{padding:14px 16px}.report-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap}.report-toolbar-actions{display:flex;gap:8px;align-items:center}.quick-range{display:flex;gap:5px;align-items:end}.quick-range button{border:1px solid #ccd3dc;background:#fff;color:#283c58;border-radius:8px;padding:8px 10px;font-weight:750;cursor:pointer}.quick-range button:hover{background:#eef2f7}.report-filter-drawer{border-top:1px solid #e3e6eb;margin-top:13px;padding-top:4px}.report-filter-drawer summary{cursor:pointer;padding:10px 2px;font-weight:850;color:#283c58;display:flex;justify-content:space-between}.report-filter-drawer summary span{font-weight:600;color:#84928e;font-size:12px}.report-filter-drawer .report-check-filters,.report-filter-drawer .daily-column-grid{margin-top:7px;margin-bottom:8px}.column-drawer{margin-top:3px}.report-table-card{padding:0;overflow:hidden}.report-section-head{display:flex;justify-content:space-between;align-items:flex-start;padding:17px 18px 12px;border-bottom:1px solid #e4e7ec}.report-section-head h2{margin:0 0 3px;font-size:18px}.report-section-head p{margin:0}.report-modern-table{width:100%;border-collapse:separate;border-spacing:0}.report-modern-table thead th{position:sticky;top:0;background:#f2f4f7;color:#37475d;font-size:11px;text-transform:uppercase;letter-spacing:.035em;padding:11px 12px;border-bottom:1px solid #dce1e7}.report-modern-table tbody td{padding:11px 12px;border-bottom:1px solid #edeff2;vertical-align:top}.report-modern-table tbody tr:hover{background:#f8f9fb}.table-subtext{display:block;color:#8a9894;font-size:10px;margin-top:2px}.variance-pill{display:inline-block;border-radius:999px;padding:4px 8px;background:#edf0f3;font-size:11px;font-weight:850}.variance-pill.positive{background:#e7edf6;color:#133b73}.variance-pill.negative{background:#fff0ef;color:#a23d35}.event-chip{display:inline-block;margin:1px 3px 2px 0;padding:3px 6px;border-radius:6px;background:#edf0f5;color:#31445f;font-size:10px;font-weight:750;white-space:nowrap}.geo-status{display:block;margin-top:5px;font-size:9px;font-weight:900;color:#284772}.geo-status.outside{color:#b43e34}.report-row-muted{opacity:.56}.empty-report{text-align:center;padding:30px!important;color:#82908c}.daily-timesheet-table .event-cell{min-width:260px}.geo-map-btn{padding:5px 8px;font-size:10px}
@media(max-width:1100px){.report-kpi-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:720px){.report-kpi-grid{grid-template-columns:1fr 1fr}.report-toolbar{align-items:stretch}.report-toolbar-actions{width:100%}.quick-range{width:100%;flex-wrap:wrap}.report-view-tabs{width:100%}.report-view-tabs a{flex:1;text-align:center}}@media(max-width:460px){.report-kpi-grid{grid-template-columns:1fr}}

/* System-wide readability & spacing overhaul — 2026-09-14 */
:root{--ez-body-font:15px;--ez-small-font:13px;--ez-control-font:15px;--ez-table-font:14px;--ez-label-font:14px}
html{font-size:16px}body{font-size:var(--ez-body-font);line-height:1.55}
p,.muted{font-size:14px;line-height:1.55}h1{font-size:32px;line-height:1.2}h2{font-size:21px;line-height:1.3}h3{font-size:17px;line-height:1.35}
main{padding:38px}.card,section{padding:22px}.small,small{font-size:12px!important;line-height:1.45}.card span{font-size:13px}
label{font-size:var(--ez-label-font);line-height:1.35;margin:14px 0 7px}input,select,textarea{font-size:var(--ez-control-font);min-height:44px;padding:11px 12px;line-height:1.35}textarea{min-height:90px}input[type=checkbox],input[type=radio]{min-height:0;width:18px;height:18px}
button,.button,.btn{font-size:14px;line-height:1.2;padding:10px 15px;min-height:40px}.mini{font-size:13px;padding:7px 10px;min-height:34px}
th,td{font-size:var(--ez-table-font);line-height:1.45;padding:13px 14px}th{font-size:12px;letter-spacing:.025em}.item,.timeline{font-size:14px;padding:14px 0}.pill{font-size:12px;padding:5px 9px}
/* Header / navigation */
.topnav-trigger{font-size:14px!important;padding-left:13px!important;padding-right:13px!important}.topnav-menu a{font-size:14px!important;line-height:1.35!important;padding-top:10px!important;padding-bottom:10px!important}.nav-subgroup-title{font-size:12px!important}.message-centre-link,.profile-trigger{font-size:13px!important}
/* Sidebar and T&A */
.sidebar-attendance-title,.sidebar-section-heading{font-size:12px!important}.sidebar-attendance-status{font-size:14px!important}.sidebar-timer-label{font-size:11px!important}.sidebar-attendance button{font-size:13px!important;padding:9px 7px!important}.sidebar-attendance-link{font-size:12px!important}.sidebar-menu-group summary{font-size:14px!important;padding:9px 7px}.sidebar-submenu a{font-size:13px!important;padding:8px!important}.normal-reports-nav .nav-subgroup-title{font-size:12px!important}.normal-reports-nav .nav-subgroup a{font-size:13px!important;padding:7px 8px!important}
/* Calendar */
.legend{font-size:12px;padding:6px 10px}.weekdays div{font-size:12px;padding:10px}.day-number{font-size:13px}.cal-event{font-size:12px;line-height:1.4;padding:7px 8px}.calendar-add-target:after{font-size:11px}.agenda-head span,.agenda-events .cal-event,.agenda-empty{font-size:13px}.cal-tip{font-size:13px}
/* Reports */
.report-view-tabs a{font-size:14px;padding:10px 18px}.report-kpi{padding:17px 18px}.report-kpi span{font-size:12px}.report-kpi strong{font-size:27px}.report-kpi small{font-size:12px}.report-control-card{padding:18px}.report-filter-drawer summary{font-size:15px;padding:13px 3px}.report-filter-drawer summary span{font-size:13px}.daily-column-picker legend{font-size:17px}.daily-column-grid{gap:10px 16px}.daily-column-grid label{font-size:14px;padding:9px 10px}.column-count{font-size:13px}.report-section-head{padding:20px}.report-section-head h2{font-size:21px}.report-modern-table thead th{font-size:12px;padding:13px 14px}.report-modern-table tbody td{font-size:14px;padding:13px 14px}.table-subtext{font-size:12px}.variance-pill{font-size:12px;padding:5px 9px}.event-chip{font-size:12px;padding:5px 8px;margin:2px 4px 3px 0}.geo-status{font-size:11px}.geo-map-btn{font-size:12px!important;padding:7px 10px!important}.quick-range button{font-size:13px;padding:9px 12px}
/* Forms / settings / profile readability */
.form-grid,.row{gap:14px}.settings-card,.profile-card{line-height:1.5}details{margin-top:18px}summary{font-size:15px}.filters{gap:10px;margin:15px 0 21px}.search{gap:10px}.stats{gap:14px}.stats span{font-size:13px}
/* Login */
.crm-login-form label{font-size:14px}.crm-login-subtitle{font-size:15px}.crm-login-feature span{font-size:13px}.crm-login-feature b{font-size:15px}.crm-login-help{font-size:12px}.crm-login-secure b{font-size:13px}.crm-login-secure span{font-size:12px}.crm-password-toggle{font-size:13px}
/* Avoid cramped layouts on medium screens */
@media(max-width:1100px){main{padding:28px}.topnav-trigger{font-size:13px!important;padding-left:9px!important;padding-right:9px!important}}
@media(max-width:760px){main{padding:20px}.card,section{padding:18px}h1{font-size:27px}h2{font-size:20px}input,select,textarea{font-size:16px}.topnav-trigger{font-size:13px!important}}

/* Reports: compact dropdown option controls */
.report-option-row{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:12px;margin-top:14px;align-items:start}
.report-option-dropdown{position:relative;min-width:0}
.report-option-dropdown>summary{list-style:none;cursor:pointer;min-height:52px;padding:9px 13px;border:1px solid #cad1db;border-radius:10px;background:#fff;display:flex;flex-direction:column;justify-content:center;gap:2px;box-sizing:border-box;box-shadow:0 1px 2px rgba(20,65,50,.04)}
.report-option-dropdown>summary::-webkit-details-marker{display:none}
.report-option-dropdown>summary:after{content:'▾';position:absolute;right:13px;top:17px;font-size:15px;color:#425167}
.report-option-dropdown[open]>summary{border-color:#6a85ab;box-shadow:0 0 0 3px rgba(39,143,98,.10)}
.report-option-dropdown[open]>summary:after{content:'▴'}
.report-option-dropdown>summary span{font-size:14px;font-weight:850;color:#23344d;padding-right:22px}
.report-option-dropdown>summary b{font-size:12px;font-weight:650;color:#758781;padding-right:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.report-option-menu{position:absolute;z-index:40;left:0;right:0;top:calc(100% + 6px);min-width:240px;background:#fff;border:1px solid #d3d8e0;border-radius:11px;padding:9px;box-shadow:0 12px 30px rgba(25,60,50,.15)}
.report-option-menu label{display:flex;align-items:center;gap:8px;padding:8px 7px;border-radius:7px;font-size:14px;font-weight:650;cursor:pointer;line-height:1.25}
.report-option-menu label:hover{background:#f0f3f7}
.report-option-menu input[type=checkbox]{width:17px;height:17px;accent-color:#27528f;flex:0 0 auto}
.report-option-menu .check-all{font-weight:850;border-bottom:1px solid #e5e9ee;border-radius:0;margin-bottom:4px;padding-bottom:9px}
.report-option-menu .check-scroll{max-height:260px;overflow:auto}
.columns-option .report-option-menu{min-width:310px;right:0;left:auto}
.columns-menu .column-picker-actions{border-top:1px solid #e5e9ee;padding-top:9px;margin-top:5px;display:flex;gap:7px}
@media(max-width:1000px){.report-option-row{grid-template-columns:repeat(2,minmax(180px,1fr))}}
@media(max-width:620px){.report-option-row{grid-template-columns:1fr}.report-option-menu,.columns-option .report-option-menu{position:static;min-width:0;margin-top:6px}}
/* Support template system */
.template-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.template-tab{background:#fff;color:#24323d;border:1px solid #d7dee3}.template-tab.active{background:#1f457a;color:#fff;border-color:#1f457a}.template-panel{display:none}.template-panel.active{display:block}.template-library-item{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:15px 0;border-bottom:1px solid #e5e9ec}.template-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.template-actions form{margin:0}.reply-preview{white-space:pre-wrap;margin-top:8px;max-width:650px}.signature-preview{min-height:180px;padding:18px;border:1px solid #d8e0e5;border-radius:10px;background:#fff;white-space:pre-wrap}.reply-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.inline-check{display:flex;gap:8px;align-items:center;margin:10px 0}.inline-check input{min-height:auto}.case-document-templates{margin-top:14px}.case-template-links{display:grid;gap:7px;padding-top:10px}.case-template-links a{display:flex;justify-content:space-between;padding:9px 11px;border:1px solid #dde4e8;border-radius:8px;text-decoration:none;background:#fff}.case-template-links span{font-size:12px;font-weight:700;color:#65727c}
/* Support QuickText */
.quicktext-shortcut{display:inline-flex;margin-left:6px;padding:3px 7px;border-radius:7px;background:#e8eef6;color:#173a6b;font:800 12px/1.2 monospace}.quicktext-shortcut-input{display:flex;align-items:center;border:1px solid #c9d0da;border-radius:8px;background:#fff;overflow:hidden}.quicktext-shortcut-input span{padding:0 0 0 12px;font-weight:900;color:#193d70}.quicktext-shortcut-input input{border:0!important;box-shadow:none!important;margin:0!important}.quicktext-reply-tool{position:relative;display:flex;align-items:center;gap:9px;margin:10px 0}.quicktext-menu{position:absolute;z-index:50;top:44px;left:0;width:min(560px,95vw);padding:10px;border:1px solid #cfd5dd;border-radius:12px;background:#fff;box-shadow:0 14px 36px rgba(18,56,45,.18)}.quicktext-menu input{width:100%;margin:0 0 8px}.quicktext-menu #quicktext-results{max-height:310px;overflow:auto;display:grid;gap:5px}.quicktext-choice{display:grid!important;grid-template-columns:110px 1fr auto;gap:10px;align-items:center;width:100%;text-align:left!important;background:#fff!important;color:#26303f!important;border:1px solid #e0e4ea!important;border-radius:8px!important;padding:9px 10px!important}.quicktext-choice:hover{background:#f0f3f8!important;border-color:#afc0d7!important}.quicktext-choice strong{font-family:monospace;color:#143a70}.quicktext-choice span{font-weight:750}.quicktext-choice small{color:#7b8c86}.quicktext-choice[hidden]{display:none!important}@media(max-width:650px){.quicktext-choice{grid-template-columns:1fr}.quicktext-choice small{display:none}}

/* Support rich reply editor */
.rich-reply-editor{border:1px solid #cfd7df;border-radius:10px;overflow:visible;background:#fff;margin:10px 0 12px}.rich-reply-toolbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:9px 10px;background:#f6f8fa;border-bottom:1px solid #dfe5ea}.rich-reply-toolbar select{width:auto;min-width:110px;min-height:36px;margin:0}.rich-reply-toolbar .editor-tool{min-height:36px;padding:6px 10px;margin:0;background:#fff;color:#263746;border:1px solid #cbd5df}.rich-reply-toolbar .editor-tool:hover{background:#eaf2f8}.case-reply-editor{min-height:320px;max-height:650px;overflow:auto;padding:18px;font-size:16px;line-height:1.55;outline:none;white-space:normal}.case-reply-editor:empty:before{content:attr(data-placeholder);color:#8996a3;pointer-events:none}.case-reply-editor img{max-width:100%;height:auto;border-radius:4px}.case-reply-editor a{color:#1267a5;text-decoration:underline}.reply-heading{align-items:center}.quicktext-menu{z-index:50}
@media(max-width:700px){.case-reply-editor{min-height:260px}.rich-reply-toolbar{gap:4px}.rich-reply-toolbar .editor-tool{padding:6px 8px}}
/* Support Command Centre overhaul */
.support-hero{align-items:flex-end}.support-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.support-actions form{margin:0}.support-kpis{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:12px;margin:18px 0}.support-kpis a{display:flex;flex-direction:column;padding:18px 20px;background:#fff;border:1px solid #dee2e8;border-radius:14px;text-decoration:none;box-shadow:0 3px 12px rgba(20,50,40,.05)}.support-kpis b{font-size:28px;line-height:1}.support-kpis span{margin-top:8px;color:#60706a;font-weight:700}.support-kpis .danger-kpi{border-left:5px solid #c43d3d}.support-control-card,.support-table-card{background:#fff;border:1px solid #dee2e8;border-radius:14px;padding:18px;box-shadow:0 3px 12px rgba(20,50,40,.05)}.support-filter-grid{display:grid;grid-template-columns:2fr repeat(4,1fr) auto;gap:12px;align-items:end}.support-filter-grid label{font-weight:800}.support-filter-grid input,.support-filter-grid select{width:100%}.filter-run{display:flex;gap:8px}.support-queue-heading{display:flex;justify-content:space-between;align-items:center;margin:24px 0 10px}.support-queue-heading h2{display:inline;margin-right:10px}.queue-legend{font-size:13px;color:#667}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin:0 5px 0 12px}.dot.urgent{background:#c43d3d}.dot.stale{background:#d99a20}.support-table-card{padding:0;overflow:auto}.support-table{margin:0;min-width:950px}.support-table th{position:sticky;top:0;background:#f5f6f8;z-index:1}.support-table td{vertical-align:top}.support-table small{display:block;margin-top:5px;color:#718079}.case-ref,.case-subject{font-weight:800}.case-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.case-tags span{background:#eef0f4;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:700}.priority-pill{display:inline-block;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900;text-transform:uppercase}.priority-low{background:#eef1f3}.priority-normal{background:#e8f1ff}.priority-high{background:#fff0d8;color:#875400}.priority-urgent{background:#ffe3e3;color:#9c2020}.row-urgent td:first-child{border-left:4px solid #c43d3d}.row-stale td:first-child{border-left:4px solid #d99a20}.stale-label{color:#9a6500!important;font-weight:800}.empty-support{text-align:center;padding:40px!important}.case-metadata-form{margin-top:16px;padding-top:14px;border-top:1px solid #e2e5ea}.case-health{display:grid;grid-template-columns:1fr;gap:8px;margin-top:16px}.case-health div{background:#f5f6f8;border-radius:9px;padding:10px}.case-health span{display:block;font-size:11px;text-transform:uppercase;color:#718079;font-weight:800}.case-health b{font-size:13px}.support-message.internal{border-left:5px solid #d99a20;background:#fffaf0}.support-message.inbound{border-left:5px solid #3c78d8}.support-message.outbound{border-left:5px solid #2b538a}@media(max-width:1100px){.support-kpis{grid-template-columns:repeat(2,1fr)}.support-filter-grid{grid-template-columns:repeat(2,1fr)}.support-search{grid-column:1/-1}}@media(max-width:650px){.support-kpis,.support-filter-grid{grid-template-columns:1fr}.support-actions{align-items:stretch}.support-actions>*{width:100%}}
/* PulseCRM Platform Intelligence layer */
.topbar-search{min-width:260px;max-width:390px;flex:1;margin:0 18px}.topbar-search form{display:flex;align-items:center;background:#fff;border:1px solid #d8e0e7;border-radius:10px;padding:0 10px;height:40px}.topbar-search input{border:0!important;box-shadow:none!important;outline:0;width:100%;height:36px;padding:0 8px;background:transparent}.topbar-search kbd{font-size:10px;color:#65727e;background:#eef2f5;border:1px solid #d5dde4;border-radius:5px;padding:3px 5px;white-space:nowrap}.platform-hero{padding:28px 32px;border-radius:18px;background:linear-gradient(135deg,#122331,#23465b);color:white;margin-bottom:22px}.platform-hero span{font-size:12px;letter-spacing:.13em;font-weight:800;opacity:.75}.platform-hero h1{font-size:34px;margin:7px 0}.platform-hero p{margin:0;opacity:.85;max-width:800px}.global-search-page{display:flex;gap:10px;margin:0 0 20px}.global-search-page input{flex:1;font-size:18px;padding:14px 16px}.platform-list,.platform-card{background:#fff;border:1px solid #dde5eb;border-radius:15px;padding:18px;box-shadow:0 3px 14px rgba(20,45,60,.05)}.platform-row{display:flex;align-items:center;gap:14px;padding:14px;border-bottom:1px solid #edf1f4;text-decoration:none;color:inherit}.platform-row:last-child{border:0}.platform-row:hover{background:#f6fafc}.platform-row span:nth-child(2){flex:1}.platform-row strong,.platform-row small{display:block}.platform-row small,.flow-card small,.work-item span{color:#6c7882;margin-top:4px}.kind-badge{display:inline-flex;background:#eaf2f7;color:#23465b;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.work-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.work-kpis div{background:#fff;border:1px solid #dde5eb;border-radius:14px;padding:18px}.work-kpis b{font-size:30px;display:block}.work-kpis span{color:#6d7982}.platform-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:20px}.platform-grid.two{grid-template-columns:minmax(300px,.8fr) minmax(420px,1.2fr)}.platform-card h2{margin-top:0}.work-item{display:block;padding:12px 10px;border-bottom:1px solid #edf1f4;text-decoration:none;color:inherit}.work-item b,.work-item span{display:block}.danger-edge{border-left:4px solid #c83d3d}.flow-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #edf1f4}.flow-card>div:first-child strong,.flow-card>div:first-child small{display:block}.flow-card>div:last-child{display:flex;gap:6px}.flow-card form{margin:0}.timeline-universal{position:relative;margin-left:12px}.timeline-event{position:relative;border-left:2px solid #dce6ec;padding:0 0 24px 28px}.timeline-dot{position:absolute;width:13px;height:13px;border-radius:50%;background:#315b72;left:-7px;top:6px;border:3px solid white;box-shadow:0 0 0 1px #b8c8d2}.timeline-event strong{display:block;margin:7px 0 3px}.timeline-event p{margin:0 0 4px}.timeline-event small{color:#78848d}.approval-card{padding:15px;border:1px solid #e1e7eb;border-radius:12px;margin-bottom:12px}.approval-card strong,.approval-card small{display:block}.approval-card form{display:flex;gap:7px;flex-wrap:wrap}.approval-card input{flex:1;min-width:180px}.pulse-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:20px}.pulse-signal{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #dde5eb;border-radius:14px;padding:18px;text-decoration:none;color:inherit}.pulse-signal i{width:12px;height:42px;border-radius:8px;background:#4c819c}.pulse-signal div{flex:1}.pulse-signal strong,.pulse-signal span{display:block}.pulse-signal span{color:#6e7a83;margin-top:3px}.pulse-red i{background:#c83d3d}.pulse-orange i{background:#d68626}.pulse-green i{background:#1769e0}.pulse-blue i{background:#367aa2}.big-metric{font-size:38px;font-weight:800}.big-metric span{font-size:13px;font-weight:400;display:block;color:#6d7982}.custom-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.custom-fields-grid label{font-weight:700}.custom-fields-grid input,.custom-fields-grid select,.custom-fields-grid textarea{display:block;width:100%;margin-top:5px}.empty-state{padding:30px;text-align:center;color:#71808a}@media(max-width:1000px){.topbar-search{display:none}.platform-grid,.platform-grid.two,.pulse-grid,.work-kpis{grid-template-columns:1fr}.custom-fields-grid{grid-template-columns:1fr}}

/* ===== PulseCRM independent brand system ===== */
:root{--pulse-navy:#071b31;--pulse-navy-2:#0b2a4a;--pulse-blue:#2196f3;--pulse-blue-2:#55b6ff;--pulse-cyan:#42d2e8;--pulse-soft:#eef7ff}
.ez-topbar{background:linear-gradient(100deg,var(--pulse-navy),var(--pulse-navy-2))!important;border-bottom:1px solid rgba(85,182,255,.2)!important}
.topnav-trigger:hover,.topnav-direct:hover,.topnav-group:focus-within>.topnav-trigger{background:rgba(33,150,243,.18)!important}
.profile-trigger{background:rgba(33,150,243,.15)!important}.profile-trigger:hover{background:rgba(33,150,243,.24)!important}
.brand-logo-shell{background:rgba(255,255,255,.04)!important;box-shadow:none!important;border:1px solid rgba(85,182,255,.18)!important}
.brand-logo-shell img{max-width:40px!important;max-height:40px!important}
.brand-copy small{color:rgba(198,226,255,.72)!important}
.nav-badge,.bell-badge{color:var(--pulse-navy)!important}
.crm-login-hero{background:radial-gradient(circle at 20% 18%,rgba(33,150,243,.25),transparent 32%),linear-gradient(145deg,#06172a 0%,#0a2948 58%,#0c3657 100%)!important}
.crm-login-hero:after{background:linear-gradient(180deg,#2196f3,#42d2e8)!important;opacity:.86!important}
.crm-login-kicker{color:#70c5ff!important}.crm-login-hero h1 span{color:#55b6ff!important}
.crm-feature-icon{color:#70c5ff!important;border-color:rgba(85,182,255,.28)!important}.crm-login-quote{border-left-color:#2196f3!important}
.crm-login-input:focus-within{border-color:#2196f3!important;box-shadow:0 0 0 3px rgba(33,150,243,.13)!important}
.crm-signin{background:linear-gradient(90deg,#1688e8,#2aa7ff)!important;box-shadow:0 8px 18px rgba(33,150,243,.24)!important}.crm-signin:hover{background:#117bd1!important}
.crm-login-secure{background:#f1f8ff!important;border-color:#d7ebff!important}.crm-login-secure b{color:#126eb8!important}
.platform-hero{background:linear-gradient(120deg,#071b31,#0b2a4a)!important}

/* ===== PulseCRM top-left signed-in brand ===== */
.ez-topbar-brand.pulsecrm-header-brand{min-width:210px!important;height:64px!important;display:flex!important;align-items:center!important;padding:0 4px!important;overflow:visible!important}
.pulsecrm-header-logo{display:block!important;width:190px!important;max-width:190px!important;height:50px!important;max-height:50px!important;object-fit:contain!important;object-position:left center!important}
@media(max-width:1100px){.ez-topbar-brand.pulsecrm-header-brand{min-width:160px!important}.pulsecrm-header-logo{width:150px!important;max-width:150px!important}}
@media(max-width:760px){.ez-topbar-brand.pulsecrm-header-brand{min-width:116px!important}.pulsecrm-header-logo{width:112px!important;max-width:112px!important;height:42px!important}}
/* PulseCRM Platform Customer Management */
.platform-csm{max-width:1500px;margin:0 auto}.page-header-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.16em;color:#2878ff;margin-bottom:5px}.csm-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.csm-kpis .card{padding:18px}.csm-kpis span{display:block;color:#718096;font-size:12px;font-weight:700;text-transform:uppercase}.csm-kpis strong{display:block;font-size:30px;margin-top:6px}.status-pill{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800;background:#eef2f7}.status-pill.active{background:#e8eff8;color:#163e76}.status-pill.trial{background:#eaf2ff;color:#2463c5}.status-pill.suspended{background:#fff3df;color:#9b6211}.status-pill.cancelled{background:#f2f2f2;color:#666}.csm-foundation-note{display:flex;gap:12px;align-items:center;margin-top:14px;padding:13px 16px;border:1px solid #dbe7ff;background:#f6f9ff;border-radius:12px;font-size:13px}.csm-form{padding:24px}.form-section{padding:4px 0 24px;border-bottom:1px solid #edf0f4;margin-bottom:24px}.form-section h2{font-size:16px;margin:0 0 15px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.form-grid label,.form-section>label{font-size:12px;font-weight:700}.form-grid input,.form-grid select,.form-grid textarea,.form-section>textarea{display:block;width:100%;margin-top:6px}.span-2{grid-column:1/-1}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.module-check{display:flex;gap:10px;align-items:center;padding:14px;border:1px solid #e4e9f0;border-radius:12px;background:#fff}.module-check strong,.module-check small{display:block}.module-check small{color:#7a8797;margin-top:2px}.form-actions{display:flex;justify-content:flex-end}@media(max-width:900px){.csm-kpis,.module-grid{grid-template-columns:repeat(2,1fr)}.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}}@media(max-width:600px){.csm-kpis,.module-grid{grid-template-columns:1fr}.page-header-row{flex-direction:column}}

/* ===== PulseCRM Day / Night appearance ===== */
:root{color-scheme:light;--theme-bg:#f5f8fc;--theme-surface:#ffffff;--theme-surface-2:#f7faff;--theme-text:#17283b;--theme-muted:#687789;--theme-border:#dce5ee;--theme-input:#ffffff;--theme-shadow:0 3px 14px rgba(20,45,60,.06)}
html[data-theme="night"]{color-scheme:dark;--theme-bg:#071321;--theme-surface:#0d2135;--theme-surface-2:#102a43;--theme-text:#eaf4ff;--theme-muted:#9db1c5;--theme-border:#25445f;--theme-input:#0a1c2e;--theme-shadow:0 4px 18px rgba(0,0,0,.24)}
.theme-toggle{display:inline-flex;align-items:center;gap:6px;height:38px;min-height:38px;padding:6px 10px;border:1px solid rgba(120,190,255,.28);border-radius:999px;background:rgba(33,150,243,.12);color:#fff;cursor:pointer;font-size:12px;font-weight:700;white-space:nowrap}.theme-toggle:hover{background:rgba(33,150,243,.23)}.theme-sun,.theme-moon{font-size:15px;line-height:1}.theme-moon{opacity:.45}html[data-theme="night"] .theme-sun{opacity:.45}html[data-theme="night"] .theme-moon{opacity:1}.theme-label{min-width:30px;text-align:left}
body{background:var(--theme-bg);color:var(--theme-text);transition:background-color .2s ease,color .2s ease}
html[data-theme="night"] main,html[data-theme="night"] .main-content{color:var(--theme-text)}
html[data-theme="night"] .card,html[data-theme="night"] section,html[data-theme="night"] .platform-list,html[data-theme="night"] .platform-card,html[data-theme="night"] .work-kpis div,html[data-theme="night"] .pulse-signal,html[data-theme="night"] .module-check,html[data-theme="night"] .report-control-card,html[data-theme="night"] .report-kpi{background:var(--theme-surface)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important;box-shadow:var(--theme-shadow)}
html[data-theme="night"] input,html[data-theme="night"] select,html[data-theme="night"] textarea{background:var(--theme-input)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}html[data-theme="night"] input::placeholder,html[data-theme="night"] textarea::placeholder{color:#7890a7}
html[data-theme="night"] table,html[data-theme="night"] th,html[data-theme="night"] td{color:var(--theme-text);border-color:var(--theme-border)!important}html[data-theme="night"] th{background:#102a43!important}html[data-theme="night"] tbody tr:hover{background:#10283e!important}
html[data-theme="night"] .muted,html[data-theme="night"] small,html[data-theme="night"] .platform-row small,html[data-theme="night"] .flow-card small,html[data-theme="night"] .work-item span,html[data-theme="night"] .pulse-signal span,html[data-theme="night"] .big-metric span{color:var(--theme-muted)!important}
html[data-theme="night"] .platform-row,html[data-theme="night"] .work-item,html[data-theme="night"] .flow-card{border-color:var(--theme-border)!important;color:var(--theme-text)!important}html[data-theme="night"] .platform-row:hover{background:#102a43!important}
html[data-theme="night"] .topbar-search form{background:#0a1c2e;border-color:#31516d}html[data-theme="night"] .topbar-search input{background:transparent!important;color:#eaf4ff!important}html[data-theme="night"] .topbar-search kbd{background:#16324b;color:#b8cee2;border-color:#31516d}
html[data-theme="night"] .topnav-menu,html[data-theme="night"] .profile-dropdown{background:#0d2135!important;border-color:#31516d!important;box-shadow:0 12px 30px rgba(0,0,0,.35)!important}html[data-theme="night"] .topnav-menu a,html[data-theme="night"] .profile-dropdown a{color:#eaf4ff!important}html[data-theme="night"] .topnav-menu a:hover,html[data-theme="night"] .profile-dropdown a:hover{background:#16324b!important}
html[data-theme="night"] .clock-sidebar{background:#091b2d!important;color:#eaf4ff!important;border-color:#25445f!important}html[data-theme="night"] .clock-sidebar *{border-color:#25445f}
html[data-theme="night"] .status-pill{background:#18334d;color:#cde6ff}html[data-theme="night"] .status-pill.active{background:#153b60;color:#8dcbff}html[data-theme="night"] .status-pill.trial{background:#183a66;color:#9bcaff}html[data-theme="night"] .status-pill.suspended{background:#49351a;color:#ffd18a}html[data-theme="night"] .status-pill.cancelled{background:#303943;color:#c5ced8}
html[data-theme="night"] .csm-foundation-note{background:#102a43;border-color:#254f75;color:#d9ebfb}
html[data-theme="night"] .timeline-event{border-color:#31516d}html[data-theme="night"] .timeline-dot{border-color:#0d2135}
html[data-theme="night"] .crm-login-panel,html[data-theme="night"] .crm-login-form-card{background:#0d2135!important;color:#eaf4ff!important}html[data-theme="night"] .crm-login-secure{background:#102a43!important;border-color:#254f75!important;color:#cde6ff!important}
@media(max-width:900px){.theme-label{display:none}.theme-toggle{padding:6px 8px}}

/* 2026-09-14 Day/Night header visibility fix */
.ez-topbar-right .theme-toggle.theme-toggle-header{display:inline-flex!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:20!important;align-items:center!important;justify-content:center!important;gap:5px!important;height:40px!important;min-height:40px!important;min-width:82px!important;padding:0 10px!important;margin:0!important;box-sizing:border-box!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:10px!important;background:rgba(33,150,243,.22)!important;color:#fff!important;flex:0 0 auto!important}
.ez-topbar-right .theme-toggle.theme-toggle-header:hover{background:rgba(33,150,243,.38)!important}
html[data-theme="night"] .ez-topbar-right .theme-toggle.theme-toggle-header{background:#1769e0!important;border-color:#55b6ff!important}
@media(max-width:1150px){.ez-topbar-right .theme-toggle.theme-toggle-header{min-width:40px!important;width:40px!important;padding:0!important}.ez-topbar-right .theme-toggle.theme-toggle-header .theme-label{display:none!important}.ez-topbar-right .theme-toggle.theme-toggle-header .theme-moon{display:none!important}html[data-theme="night"] .ez-topbar-right .theme-toggle.theme-toggle-header .theme-sun{display:none!important}html[data-theme="night"] .ez-topbar-right .theme-toggle.theme-toggle-header .theme-moon{display:inline!important}}

/* Cloud Foundation v1 */
.tenant-foundation-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border:1px solid rgba(33,150,243,.28);border-radius:14px;background:rgba(33,150,243,.07)}.tenant-foundation-card strong,.tenant-foundation-card small{display:block}.tenant-foundation-card small{margin-top:5px;color:var(--muted,#64748b)}.tenant-ready{font-weight:800;color:#2196f3;white-space:nowrap}

.schedule-type-showcase,.schedule-type-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:16px 0}.schedule-type-card{border:1px solid #d8e2ef;border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:5px;cursor:pointer}.schedule-type-card:has(input:checked){border:2px solid #2878d0;background:#eef6ff}.schedule-day-dialog{border:0;border-radius:16px;padding:24px;min-width:420px}.schedule-day-dialog::backdrop{background:#0b1e38aa}.schedule-day-dialog label{display:block;margin:14px 0}.schedule-day-dialog select{width:100%}@media(max-width:800px){.schedule-type-showcase,.schedule-type-picker{grid-template-columns:1fr}}

/* v4.1 Planner colour coding */
.schedule-name-colour{display:grid;grid-template-columns:minmax(240px,2fr) minmax(180px,1fr);gap:16px;align-items:end}.planner-colour-dot{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:8px;vertical-align:middle}.planner-colour-input{width:54px;min-width:54px;height:38px;padding:3px;border-radius:8px}.absence-chip,.schedule-chip{background:color-mix(in srgb,var(--event-colour) 16%,white);color:#172033;border-left:4px solid var(--event-colour);border-radius:5px;padding:4px 5px;margin:3px 0;font-size:9px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.absence-chip span,.schedule-chip span{display:block;font-size:7px;font-weight:650;opacity:.75}.schedule-chip{border-left-width:4px}.more-schedule{font-size:8px;color:#667b74}.planner-legend{display:flex;gap:22px;flex-wrap:wrap;margin-bottom:12px;padding:12px 15px}.planner-legend-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.planner-legend-group>strong{font-size:11px;color:#42536b;margin-right:2px}.planner-legend-group>span{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#59697e}.planner-legend-group i{width:11px;height:11px;border-radius:3px;display:inline-block}.planner-day{min-height:125px}@media(max-width:760px){.schedule-name-colour{grid-template-columns:1fr}.planner-legend{display:block}.planner-legend-group{margin:7px 0}}
/* v4.2 Workforce Planner + Schedule UX overhaul */
.workforce-shell{max-width:1500px;margin:0 auto;padding:8px 0 36px}.workforce-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:24px 28px;margin-bottom:18px;border:1px solid var(--border,#dbe3ee);border-radius:18px;background:linear-gradient(135deg,rgba(37,99,235,.08),rgba(37,99,235,.02))}.workforce-hero h1{margin:4px 0 6px;font-size:30px}.workforce-hero p{margin:0;color:var(--muted,#64748b);max-width:760px}.workforce-kicker{font-size:11px;font-weight:800;letter-spacing:.13em;color:#2563eb}.workforce-actionbar,.planner-tool-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin-bottom:18px}.workforce-action,.planner-tool-links a{display:flex;flex-direction:column;gap:3px;padding:14px 16px;border:1px solid var(--border,#dbe3ee);border-radius:12px;background:var(--card,#fff);text-decoration:none;color:inherit;transition:.15s}.workforce-action:hover,.planner-tool-links a:hover{transform:translateY(-1px);border-color:#93b4f5}.workforce-action.active{border-color:#2563eb;box-shadow:inset 0 0 0 1px #2563eb}.workforce-action span,.planner-tool-links span{font-size:12px;color:var(--muted,#64748b)}.schedule-summary-row,.absence-balance-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:18px}.schedule-summary-row>div,.absence-balance-strip>div{padding:14px 16px;background:var(--card,#fff);border:1px solid var(--border,#dbe3ee);border-radius:12px}.schedule-summary-row strong,.absence-balance-strip strong{display:block;font-size:22px}.schedule-summary-row span,.absence-balance-strip small{color:var(--muted,#64748b);font-size:12px}.absence-balance-strip{grid-template-columns:repeat(4,1fr)}.workforce-panel,.planner-focus-card{background:var(--card,#fff);border:1px solid var(--border,#dbe3ee);border-radius:16px;padding:20px;margin-bottom:18px}.workforce-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.workforce-panel-head h2{margin:0 0 4px}.workforce-panel-head p{margin:0;color:var(--muted,#64748b)}.schedule-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}.schedule-library-card{position:relative;overflow:hidden;border:1px solid var(--border,#dbe3ee);border-radius:14px;background:var(--card,#fff)}.schedule-colour-strip{height:5px}.schedule-card-body{padding:16px}.schedule-card-top{display:flex;justify-content:space-between}.schedule-type-pill{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;padding:4px 8px;border-radius:999px;background:rgba(37,99,235,.09);color:#2563eb}.schedule-colour-dot{width:15px;height:15px;border-radius:50%}.schedule-library-card h3{margin:14px 0 5px}.schedule-library-card p{min-height:38px;margin:0;color:var(--muted,#64748b)}.schedule-card-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.schedule-card-meta span{font-size:11px;padding:5px 7px;background:rgba(100,116,139,.09);border-radius:6px}.schedule-card-actions{display:flex;gap:8px;padding:12px 16px;border-top:1px solid var(--border,#dbe3ee)}.schedule-card-actions form{margin-left:auto}.workforce-empty{grid-column:1/-1;text-align:center;padding:50px}.assignment-quick-form{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:end}.assignment-list{display:flex;flex-direction:column}.assignment-row{display:grid;grid-template-columns:44px minmax(180px,1fr) minmax(220px,1fr) auto;gap:14px;align-items:center;padding:13px 4px;border-top:1px solid var(--border,#e5e7eb)}.assignment-row:first-child{border-top:0}.assignment-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:rgba(37,99,235,.12);font-weight:800;color:#2563eb}.assignment-person,.assignment-schedule{display:flex;flex-direction:column}.assignment-person small,.assignment-schedule small{color:var(--muted,#64748b)}.assignment-schedule{flex-direction:row;align-items:center;gap:9px}.assignment-schedule i,.legend-inline i{width:11px;height:11px;border-radius:50%;display:inline-block}.planner-primary-actions{display:flex;gap:8px}.planner-calendar-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.planner-calendar-toolbar h2{margin:2px 0 0;font-size:25px}.planner-legend-clean{border:1px solid var(--border,#dbe3ee);border-radius:12px;margin:12px 0;background:rgba(100,116,139,.035)}.planner-legend-clean summary{cursor:pointer;padding:11px 14px;font-weight:800}.planner-legend-clean summary span{font-weight:400;color:var(--muted,#64748b);margin-left:6px}.planner-legend-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:0 14px 13px}.legend-items{display:flex;gap:7px;flex-wrap:wrap;margin-top:7px}.legend-items span{display:flex;align-items:center;gap:6px;font-size:12px;padding:5px 8px;border:1px solid var(--border,#dbe3ee);border-radius:999px}.legend-items i{width:9px;height:9px;border-radius:50%}.planner-hint{font-size:12px;color:var(--muted,#64748b);padding:7px 2px 12px}.clean-calendar .planner-day{min-height:130px;padding:8px}.clean-calendar .absence-chip,.clean-calendar .schedule-chip{display:flex;flex-direction:column;align-items:flex-start;gap:0;padding:5px 7px;margin-top:4px;border-left:4px solid var(--event-colour);background:color-mix(in srgb,var(--event-colour) 12%,transparent);border-radius:6px;font-size:11px}.clean-calendar .absence-chip span,.clean-calendar .schedule-chip span{opacity:.8}.schedule-day-dialog .dialog-head{display:flex;justify-content:space-between;gap:16px}.dialog-close{border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer}.settings-narrow{max-width:720px}.absence-type-create{display:grid;grid-template-columns:2fr 110px 1fr 120px 1.5fr auto;gap:12px;align-items:end}.absence-type-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:12px}.absence-type-card{border:1px solid var(--border,#dbe3ee);border-radius:12px;padding:14px}.absence-type-card-head{display:flex;align-items:center;gap:10px;margin-bottom:13px}.absence-type-card-head i{width:18px;height:42px;border-radius:6px}.absence-type-card-head div{display:flex;flex-direction:column}.absence-type-card-head small{color:var(--muted,#64748b)}.absence-type-fields{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-bottom:12px}.compact-check{display:flex!important;flex-direction:row!important;align-items:center;gap:7px}.compact-check input{width:auto}.legend-inline{display:inline-flex;align-items:center;gap:7px}.table-scroll{overflow:auto}
@media(max-width:900px){.workforce-hero{align-items:flex-start;flex-direction:column}.schedule-summary-row,.absence-balance-strip{grid-template-columns:repeat(2,1fr)}.assignment-quick-form{grid-template-columns:1fr}.assignment-row{grid-template-columns:40px 1fr}.assignment-schedule,.assignment-row>.btn{grid-column:2}.planner-legend-columns{grid-template-columns:1fr}.absence-type-create{grid-template-columns:1fr 1fr}.planner-calendar-toolbar{align-items:flex-start;flex-direction:column;gap:10px}}@media(max-width:600px){.schedule-summary-row,.absence-balance-strip{grid-template-columns:1fr}.absence-type-create,.absence-type-fields{grid-template-columns:1fr}.workforce-panel,.planner-focus-card{padding:12px}.clean-calendar .planner-day{min-height:95px}}

/* v4.3 Planner filters + multi-view */
.planner-filter-card{background:var(--card,#fff);border:1px solid var(--border,#dbe3ee);border-radius:16px;padding:18px 20px;margin-bottom:18px}.planner-filter-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.planner-filter-head h2{margin:2px 0 0}.planner-filter-grid{display:grid;grid-template-columns:180px minmax(260px,1fr) auto;gap:14px;align-items:end}.planner-filter-grid label{margin:0}.planner-filter-grid label small{display:block;color:var(--muted,#64748b);font-weight:400;margin:2px 0 5px}.planner-filter-grid select[multiple]{min-height:94px}.filter-target{display:none;flex-direction:column}.company-filter-note{min-height:70px;justify-content:center;padding:10px 14px;border:1px dashed var(--border,#dbe3ee);border-radius:10px}.company-filter-note span{color:var(--muted,#64748b);font-size:12px}.planner-view-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.planner-view-switch{display:flex;padding:3px;border:1px solid var(--border,#dbe3ee);border-radius:10px;background:rgba(100,116,139,.05)}.planner-view-switch a{padding:7px 11px;border-radius:7px;text-decoration:none;color:inherit;font-size:12px;font-weight:700}.planner-view-switch a.active{background:#2563eb;color:#fff}.planner-calendar .planner-weekdays,.planner-calendar .planner-week{grid-template-columns:repeat(var(--planner-columns,7),minmax(0,1fr))}.planner-calendar.view-day .planner-day{min-height:420px}.planner-calendar.view-week .planner-day,.planner-calendar.view-workweek .planner-day{min-height:300px}.planner-date{display:flex;gap:5px;align-items:baseline}.planner-date span{font-size:11px;color:var(--muted,#64748b)}.assign-target{display:none;flex-direction:column}.company-assign-note{padding:10px 12px;border:1px dashed var(--border,#dbe3ee);border-radius:8px;color:var(--muted,#64748b);font-size:12px}@media(max-width:900px){.planner-filter-grid{grid-template-columns:1fr}.planner-view-actions{align-items:flex-start}.planner-calendar{overflow-x:auto}.planner-calendar .planner-weekdays,.planner-calendar .planner-week{min-width:760px}}

/* v4.6 Planner checkbox filters */
.planner-check-filter{flex-direction:column!important;align-items:stretch!important;gap:8px}.planner-check-title{display:flex;flex-direction:column;gap:2px}.planner-check-title small{opacity:.72}.planner-check-all{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px;padding:8px 10px;border:1px solid var(--line,#d8dee8);border-radius:9px;font-weight:700}.planner-check-list{max-height:190px;overflow:auto;border:1px solid var(--line,#d8dee8);border-radius:10px;padding:6px;background:var(--card,#fff)}.planner-check-list label{display:flex!important;flex-direction:row!important;align-items:center!important;gap:9px;padding:7px 8px;margin:0;border-radius:7px;cursor:pointer}.planner-check-list label:hover{background:rgba(37,99,235,.08)}.planner-check-list input,.planner-check-all input{width:17px;height:17px;margin:0;flex:0 0 auto}


/* v4.8 Work Schedule library view switcher */
.schedule-library-head-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.schedule-view-switcher{display:inline-flex;gap:3px;padding:4px;border:1px solid var(--border,#d9e1ea);border-radius:10px;background:var(--panel-soft,#f5f7fa)}
.schedule-view-btn{border:0;background:transparent;padding:7px 10px;border-radius:7px;cursor:pointer;font:inherit;color:inherit}
.schedule-view-btn:hover,.schedule-view-btn.active{background:var(--panel,#fff);box-shadow:0 1px 4px rgba(15,23,42,.12);font-weight:700}
.schedule-card-grid.schedule-view-large{grid-template-columns:repeat(auto-fit,minmax(330px,1fr))}
.schedule-card-grid.schedule-view-medium{grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:12px}
.schedule-view-medium .schedule-library-card{min-height:0}
.schedule-view-medium .schedule-card-body{padding:14px}
.schedule-view-medium .schedule-card-body h3{font-size:1rem;margin:7px 0}
.schedule-view-medium .schedule-card-actions{padding:10px 14px}
.schedule-card-grid.schedule-view-list,.schedule-card-grid.schedule-view-details{display:flex;flex-direction:column;gap:8px}
.schedule-view-list .schedule-library-card,.schedule-view-details .schedule-library-card{display:grid;grid-template-columns:6px minmax(0,1fr) auto;align-items:center;min-height:0}
.schedule-view-list .schedule-colour-strip,.schedule-view-details .schedule-colour-strip{height:100%;width:6px}
.schedule-view-list .schedule-card-body,.schedule-view-details .schedule-card-body{padding:10px 14px}
.schedule-view-list .schedule-card-top{float:right;margin-left:12px}
.schedule-view-list .schedule-card-body h3{margin:0 0 2px;font-size:1rem}
.schedule-view-list .schedule-card-body p{margin:0;font-size:.85rem}
.schedule-view-list .schedule-card-meta{display:none}
.schedule-view-list .schedule-card-actions,.schedule-view-details .schedule-card-actions{padding:8px 12px;border-top:0;display:flex;gap:6px;align-items:center}
.schedule-view-details .schedule-card-body{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(180px,1fr) minmax(220px,1fr);gap:12px;align-items:center}
.schedule-view-details .schedule-card-top{grid-column:1;grid-row:1}
.schedule-view-details .schedule-card-body h3{grid-column:1;grid-row:2;margin:0}
.schedule-view-details .schedule-card-body p{grid-column:2;grid-row:1 / span 2;margin:0}
.schedule-view-details .schedule-card-meta{grid-column:3;grid-row:1 / span 2;display:flex;gap:14px;flex-wrap:wrap}
@media(max-width:850px){.schedule-library-head-actions{justify-content:flex-start}.schedule-view-details .schedule-card-body{display:block}.schedule-view-list .schedule-library-card,.schedule-view-details .schedule-library-card{grid-template-columns:6px minmax(0,1fr)}.schedule-view-list .schedule-card-actions,.schedule-view-details .schedule-card-actions{grid-column:2}}
\n\n/* PulseCRM v5 UX overhaul — calm, consistent, task-first interface */
:root{--v5-bg:#f4f7fb;--v5-surface:#fff;--v5-text:#172033;--v5-muted:#64748b;--v5-line:#e2e8f0;--v5-blue:#2563eb;--v5-blue-soft:#eff6ff;--v5-shadow:0 1px 2px rgba(15,23,42,.04),0 8px 24px rgba(15,23,42,.05)}
html[data-theme="night"]{--v5-bg:#0b1220;--v5-surface:#111b2d;--v5-text:#e8eef8;--v5-muted:#9fb0c7;--v5-line:#24324a;--v5-blue-soft:#14264a;--v5-shadow:0 8px 28px rgba(0,0,0,.22)}
body{background:var(--v5-bg);color:var(--v5-text);font-size:14px;line-height:1.5}.ez-topbar{height:68px;padding:0 22px;background:var(--v5-surface);border-bottom:1px solid var(--v5-line);box-shadow:none}.pulsecrm-header-logo{max-height:42px}.ez-horizontal-nav{gap:4px}.topnav-trigger,.topnav-direct{border:0;background:transparent;color:var(--v5-text);font-weight:650;padding:10px 12px;border-radius:9px;text-decoration:none;white-space:nowrap}.topnav-trigger:hover,.topnav-direct:hover{background:var(--v5-blue-soft);color:var(--v5-blue)}.topnav-menu,.profile-dropdown{border:1px solid var(--v5-line);border-radius:12px;box-shadow:var(--v5-shadow);padding:7px;background:var(--v5-surface)}.topnav-menu a,.profile-dropdown a{border-radius:8px;padding:9px 11px}.topnav-menu a:hover,.profile-dropdown a:hover{background:var(--v5-blue-soft);color:var(--v5-blue)}.topnav-subtitle{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--v5-muted);padding:10px 11px 4px}.topbar-search form{border:1px solid var(--v5-line);background:var(--v5-bg);border-radius:10px}.topbar-search input{background:transparent}.profile-avatar{background:var(--v5-blue);color:white}.clock-sidebar{background:var(--v5-surface);border-right:1px solid var(--v5-line);box-shadow:none}.modern-page-header{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}.modern-page-header h1{font-size:28px;letter-spacing:-.025em;margin:2px 0}.modern-page-header p,.muted{color:var(--v5-muted)}.modern-page-kicker{color:var(--v5-blue);font-size:10px;font-weight:800;letter-spacing:.12em}.page-quick-actions{display:flex;gap:8px;flex-wrap:wrap}.cards{gap:12px}.card,section,.workforce-panel,.planner-focus-card,.planner-filter-card{background:var(--v5-surface);border:1px solid var(--v5-line);border-radius:14px;box-shadow:none}.card{padding:17px}.card b{font-size:24px;letter-spacing:-.02em}.card span{color:var(--v5-muted);font-size:12px}.btn,button,input,select,textarea{border-radius:9px}.btn.primary,.primary{background:var(--v5-blue);color:#fff}.btn.secondary{background:var(--v5-surface);border:1px solid var(--v5-line);color:var(--v5-text)}table{border-collapse:separate;border-spacing:0;width:100%}th{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--v5-muted);background:var(--v5-bg)}th,td{border-bottom:1px solid var(--v5-line);padding:11px 12px}tr:last-child td{border-bottom:0}input,select,textarea{border:1px solid var(--v5-line);background:var(--v5-surface);color:var(--v5-text);padding:9px 10px}input:focus,select:focus,textarea:focus{outline:2px solid rgba(37,99,235,.18);border-color:var(--v5-blue)}.schedule-view-switcher,.planner-view-switch{background:var(--v5-bg);border-color:var(--v5-line)}.schedule-view-btn.active,.planner-view-switch a.active{background:var(--v5-blue);color:#fff;box-shadow:none}.schedule-library-card{border-color:var(--v5-line)!important;box-shadow:none!important}.notification-panel{border-left:1px solid var(--v5-line);box-shadow:-12px 0 30px rgba(15,23,42,.08)}
@media(max-width:1180px){.topbar-search{display:none}.ez-topbar{padding:0 12px}.topnav-trigger,.topnav-direct{padding:9px 8px}.topbar-text-label{display:none}}
@media(max-width:800px){.modern-page-header{align-items:flex-start;flex-direction:column}.page-quick-actions{width:100%}.page-quick-actions .btn{flex:1;text-align:center}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* v5.0.4 Surface/frame restoration — consistent visual grouping */
.card,section,.workforce-panel,.planner-focus-card,.planner-filter-card,.report-control-card,.report-table-card,.schedule-library-card,.settings-card,.form-card{border:1px solid var(--v5-line,#e2e8f0)!important;background:var(--v5-surface,#fff);border-radius:14px;box-shadow:0 1px 2px rgba(15,23,42,.03)}
.support-case-main>section,.support-case-details>section{border:1px solid var(--v5-line,#e2e8f0)!important;background:var(--v5-surface,#fff);border-radius:14px;padding:20px;overflow:hidden}
.support-case-details{border:0!important;background:transparent!important;border-radius:0!important;padding:0!important}
.support-case-details form{padding:12px 0;border-bottom:1px solid var(--v5-line,#e2e8f0)}
.support-case-details form:last-of-type{border-bottom:0}.support-case-details label{font-weight:700;margin-top:6px}.support-case-details input,.support-case-details select{width:100%;box-sizing:border-box;margin:5px 0 9px}
.support-case-details button{margin-top:5px}.case-health{border-top:1px solid var(--v5-line,#e2e8f0);padding-top:14px;margin-top:8px}
.report-kpi,.report-option-dropdown,.planner-check-all,.planner-check-list,.company-filter-note,.company-assign-note{border-color:var(--v5-line,#e2e8f0)!important}
html[data-theme="night"] .card,html[data-theme="night"] section,html[data-theme="night"] .support-case-main>section,html[data-theme="night"] .support-case-details>section{background:var(--v5-surface,#111b2d)}

/* v5.0.5 Explicit inner field frames — form controls must read as controls */
.support-case-details select,
.support-case-details input[type="text"],
.support-case-details input:not([type]),
.support-case-details .case-metadata-form input{
  display:block!important;width:100%!important;min-height:48px!important;box-sizing:border-box!important;
  border:1px solid #cbd5e1!important;border-radius:9px!important;background:var(--v5-surface,#fff)!important;
  padding:11px 13px!important;color:var(--v5-text,#172033)!important;box-shadow:inset 0 0 0 1px rgba(15,23,42,.015)!important;
}
.support-case-details select:hover,.support-case-details input:hover{border-color:#94a3b8!important}
.support-case-details select:focus,.support-case-details input:focus{border-color:var(--v5-blue,#2563eb)!important;box-shadow:0 0 0 3px rgba(37,99,235,.12)!important;outline:none!important}
.support-case-details label{display:block!important;margin:10px 0 5px!important}
html[data-theme="night"] .support-case-details select,html[data-theme="night"] .support-case-details input{border-color:#475569!important;background:#111b2d!important;color:#e8eef8!important}

/* v5 form-control consistency: restore visible inner boxes throughout the product */
.gridform input,.gridform select,.gridform textarea,.settings-card input,.settings-card select,.settings-card textarea,
.form-card input,.form-card select,.form-card textarea,.report-control-card input,.report-control-card select,
.support-control-card input,.support-control-card select,.planner-filter-card input[type="text"],.planner-filter-card select{
  border:1px solid #cbd5e1!important;background:var(--v5-surface,#fff)!important;box-shadow:none!important;
}
html[data-theme="night"] .gridform input,html[data-theme="night"] .gridform select,html[data-theme="night"] .gridform textarea,
html[data-theme="night"] .settings-card input,html[data-theme="night"] .settings-card select,html[data-theme="night"] .settings-card textarea,
html[data-theme="night"] .form-card input,html[data-theme="night"] .form-card select,html[data-theme="night"] .form-card textarea,
html[data-theme="night"] .report-control-card input,html[data-theme="night"] .report-control-card select,
html[data-theme="night"] .support-control-card input,html[data-theme="night"] .support-control-card select{border-color:#475569!important}

/* v5.0.6 — top banner alignment polish */
.ez-horizontal-nav .topnav-direct,
.ez-horizontal-nav .topnav-trigger{
  margin:0!important;
  min-height:40px!important;
  height:40px!important;
  align-self:center!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  box-sizing:border-box!important;
}
.ez-horizontal-nav .topnav-direct{
  padding:10px 13px!important;
  border-radius:10px!important;
  font-size:13px!important;
  font-weight:750!important;
  letter-spacing:.1px!important;
  color:rgba(255,255,255,.88)!important;
  background:transparent!important;
}
.ez-horizontal-nav .topnav-direct:hover{background:rgba(255,255,255,.13)!important;color:#fff!important}
@media(max-width:1100px){
 .ez-horizontal-nav .topnav-direct,.ez-horizontal-nav .topnav-trigger{height:38px!important;min-height:38px!important;font-size:11px!important;padding:9px 8px!important}
}

/* v5.0.7 — Electric Green Night Accent */
html[data-theme="night"]{
  --night-accent:#39ff88;
  --night-accent-strong:#20e978;
  --night-accent-soft:rgba(57,255,136,.12);
  --night-accent-border:rgba(57,255,136,.48);
}
html[data-theme="night"] a:not(.btn):not(.topnav-direct):not(.topnav-menu a):not(.profile-dropdown a){color:var(--night-accent)}
html[data-theme="night"] input:focus,html[data-theme="night"] select:focus,html[data-theme="night"] textarea:focus{border-color:var(--night-accent)!important;box-shadow:0 0 0 3px rgba(57,255,136,.14)!important;outline:none!important}
html[data-theme="night"] .ez-horizontal-nav .topnav-direct:hover,html[data-theme="night"] .ez-horizontal-nav .topnav-trigger:hover{background:var(--night-accent-soft)!important;color:var(--night-accent)!important}
html[data-theme="night"] .topnav-menu a:hover,html[data-theme="night"] .profile-dropdown a:hover{background:var(--night-accent-soft)!important;color:var(--night-accent)!important}
html[data-theme="night"] .theme-toggle.theme-toggle-header{background:rgba(57,255,136,.12)!important;border-color:var(--night-accent-border)!important;color:var(--night-accent)!important}
html[data-theme="night"] .theme-toggle.theme-toggle-header:hover{background:rgba(57,255,136,.22)!important;border-color:var(--night-accent)!important}
html[data-theme="night"] input[type="checkbox"],html[data-theme="night"] input[type="radio"]{accent-color:var(--night-accent)}
html[data-theme="night"] .tab.active,html[data-theme="night"] .active-tab,html[data-theme="night"] .view-btn.active,html[data-theme="night"] .planner-view-btn.active{border-color:var(--night-accent)!important;color:var(--night-accent)!important;background:var(--night-accent-soft)!important}
html[data-theme="night"] .btn.primary:not(.danger),html[data-theme="night"] button.primary:not(.danger){background:var(--night-accent-strong)!important;border-color:var(--night-accent-strong)!important;color:#04150c!important}
html[data-theme="night"] .btn.primary:not(.danger):hover,html[data-theme="night"] button.primary:not(.danger):hover{background:var(--night-accent)!important;border-color:var(--night-accent)!important}
html[data-theme="night"] ::selection{background:rgba(57,255,136,.35);color:#fff}
/* v5.0.8 — simplified static schedule lines */
.static-pattern-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.static-pattern-head h2{margin-bottom:4px}.static-schedule-line{display:grid;grid-template-columns:minmax(420px,1fr) auto auto;gap:14px;align-items:end;padding:18px;border:1px solid var(--border,#d8dee8);border-radius:14px;background:var(--surface,#fff);margin-bottom:14px}.static-line-days{display:flex;gap:7px;flex-wrap:wrap}.static-day-check{cursor:pointer}.static-day-check input{position:absolute;opacity:0;pointer-events:none}.static-day-check span{display:flex;align-items:center;justify-content:center;min-width:48px;height:42px;padding:0 10px;border:1px solid #cbd5e1;border-radius:10px;font-weight:750;background:#fff;transition:.15s}.static-day-check input:checked+span{background:#2563eb;border-color:#2563eb;color:#fff;box-shadow:0 0 0 3px rgba(37,99,235,.12)}.static-line-times{display:flex;gap:10px}.static-line-times label{font-size:12px;font-weight:700}.static-line-times input{display:block;margin-top:5px;min-width:125px}.static-line-breaks{grid-column:1/-1;padding-top:12px;border-top:1px solid var(--border,#e2e8f0)}html[data-theme="dark"] .static-schedule-line{background:#111827;border-color:#334155}html[data-theme="dark"] .static-day-check span{background:#0f172a;border-color:#475569;color:#e5e7eb}html[data-theme="dark"] .static-day-check input:checked+span{background:#39FF88;border-color:#39FF88;color:#052e1b;box-shadow:0 0 0 3px rgba(57,255,136,.16)}@media(max-width:900px){.static-pattern-head{display:block}.static-pattern-head .btn{margin-top:12px}.static-schedule-line{grid-template-columns:1fr}.static-line-times{flex-wrap:wrap}.static-line-breaks{grid-column:1}.static-day-check span{min-width:44px}}

/* v5.0.9 — horizontal Flexible schedule targets + multi-rule breaks */
.flex-pattern-head,.flex-break-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px}.flex-week-total{border:1px solid #cbd5e1;border-radius:12px;padding:10px 14px;white-space:nowrap}.flex-week-total strong{font-size:22px;margin-left:8px}.flex-days-horizontal{display:grid;grid-template-columns:repeat(7,minmax(100px,1fr));gap:10px;margin:14px 0 18px}.flex-day-box{border:1px solid #cbd5e1;border-radius:12px;padding:12px;background:var(--v5-surface,#fff);font-weight:750}.flex-day-box>span{display:block;margin-bottom:9px}.flex-day-box .flex-day-hours{width:100%;box-sizing:border-box}.flex-day-hours:disabled{opacity:.45}.flex-window{margin-top:10px}.flex-break-head{margin-top:24px}.flex-break-line{display:grid;grid-template-columns:minmax(130px,1fr) 150px minmax(340px,2fr) auto;gap:10px;align-items:center;border:1px solid #cbd5e1;border-radius:12px;padding:12px;margin:10px 0}.fixed-break-fields,.conditional-break-fields{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.fixed-break-fields label{font-size:12px}.conditional-break-fields input{width:80px!important}.paid-check{white-space:nowrap}html[data-theme="night"] .flex-day-box,html[data-theme="night"] .flex-break-line,html[data-theme="night"] .flex-week-total{border-color:#475569;background:#111b2d}html[data-theme="night"] .flex-day-box:has(.flex-day-enabled:checked){border-color:var(--night-accent,#39ff88);box-shadow:0 0 0 2px rgba(57,255,136,.10)}@media(max-width:1000px){.flex-days-horizontal{grid-template-columns:repeat(4,1fr)}.flex-break-line{grid-template-columns:1fr 140px}.fixed-break-fields,.conditional-break-fields{grid-column:1/-1}}@media(max-width:650px){.flex-days-horizontal{grid-template-columns:repeat(2,1fr)}.flex-pattern-head,.flex-break-head{display:block}.flex-week-total,.flex-break-head .btn{margin-top:10px}.flex-break-line{grid-template-columns:1fr}}

/* v5.0.10 — Work Schedule action visibility / responsive containment */
body:not(.login-page) .app-main{min-width:0!important;max-width:calc(100vw - 235px)!important;box-sizing:border-box!important;overflow-x:hidden!important}
.settings-fullwidth,.workforce-shell,.workforce-panel,.workforce-hero,.static-only,.static-schedule-line{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
.static-schedule-line{grid-template-columns:minmax(0,1fr) minmax(250px,auto) auto!important}
.static-line-days{min-width:0!important}.static-line-times{min-width:0!important;flex-wrap:wrap!important}.static-line-times label{min-width:110px;flex:1 1 110px}.static-line-times input{min-width:0!important;width:100%!important}
.static-line-breaks{min-width:0!important;overflow-x:auto!important}.static-line-breaks .break-row{min-width:0!important;flex-wrap:wrap!important}
.schedule-save{position:sticky!important;bottom:0!important;z-index:40!important;display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding:14px 0 6px!important;background:linear-gradient(to bottom,transparent 0,var(--v5-bg,#f4f7fb) 24px)!important}
.schedule-save .btn,.schedule-save button{flex:0 0 auto!important;visibility:visible!important;opacity:1!important}
.workforce-hero{flex-wrap:wrap!important}.workforce-hero>div{min-width:0;flex:1 1 420px}.workforce-hero>.btn{flex:0 0 auto!important;margin-left:auto!important}
.workforce-panel-head{flex-wrap:wrap!important}.schedule-library-head-actions{max-width:100%!important;margin-left:auto!important}.schedule-library-head-actions>.btn{flex:0 0 auto!important}
@media(max-width:1050px){body:not(.login-page) .app-main{max-width:calc(100vw - 200px)!important}.static-schedule-line{grid-template-columns:1fr!important}.static-line-breaks{grid-column:1!important}.static-remove-line{justify-self:start!important}}
@media(max-width:760px){body:not(.login-page) .app-main{max-width:100vw!important}.workforce-hero>.btn,.schedule-library-head-actions{margin-left:0!important}.schedule-save{padding-bottom:12px!important}}
html[data-theme="night"] .schedule-save{background:linear-gradient(to bottom,transparent 0,var(--v5-bg,#0b1220) 24px)!important}

/* v5.0.11 — prominent Work Schedule primary actions */
.schedule-create-primary,
.schedule-save-primary{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:44px!important;padding:11px 20px!important;border:1px solid #2563eb!important;
  border-radius:10px!important;background:#2563eb!important;color:#fff!important;
  font-weight:800!important;text-decoration:none!important;opacity:1!important;visibility:visible!important;
  box-shadow:0 6px 16px rgba(37,99,235,.20)!important;cursor:pointer!important;
}
.schedule-create-primary:hover,.schedule-save-primary:hover{background:#1d4ed8!important;border-color:#1d4ed8!important;color:#fff!important;transform:translateY(-1px)}
.schedule-create-primary:focus-visible,.schedule-save-primary:focus-visible{outline:3px solid rgba(37,99,235,.25)!important;outline-offset:2px!important}
.schedule-create-primary{white-space:nowrap!important}
.schedule-save-primary{min-width:142px!important}
html[data-theme="night"] .schedule-create-primary,html[data-theme="night"] .schedule-save-primary{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important}
html[data-theme="night"] .schedule-create-primary:hover,html[data-theme="night"] .schedule-save-primary:hover{background:#1d4ed8!important;border-color:#1d4ed8!important;color:#fff!important}


/* v5.0.12 — Time & Attendance slide-out drawer + full-width workspace */
body:not(.login-page) .app-main{margin-left:0!important;margin-right:0!important;width:auto!important;max-width:none!important}
.ez-topbar-brand.pulsecrm-header-brand{min-width:0!important;margin-right:2px!important}
.ta-clock-trigger{position:relative;flex:0 0 38px;width:38px;height:38px;margin-left:0;margin-right:6px;padding:0!important;border:1px solid rgba(255,255,255,.20)!important;border-radius:10px!important;background:rgba(255,255,255,.08)!important;color:#fff!important;display:grid!important;place-items:center!important;cursor:pointer;box-shadow:none!important;transition:background .18s,border-color .18s,transform .18s}
.ta-clock-trigger:hover{background:rgba(37,99,235,.65)!important;border-color:rgba(255,255,255,.45)!important;transform:translateY(-1px)}
.ta-clock-trigger:focus-visible{outline:2px solid #60a5fa!important;outline-offset:2px}
.ta-analog-clock{position:relative;width:20px;height:20px;border:2px solid currentColor;border-radius:50%;display:block;box-sizing:border-box}
.ta-clock-hand{position:absolute;left:50%;bottom:50%;width:1.5px;background:currentColor;border-radius:2px;transform-origin:50% 100%}
.ta-clock-hand.hour{height:5px;transform:translateX(-50%) rotate(35deg)}
.ta-clock-hand.minute{height:7px;transform:translateX(-50%) rotate(125deg)}
.ta-clock-centre{position:absolute;left:50%;top:50%;width:3px;height:3px;background:currentColor;border-radius:50%;transform:translate(-50%,-50%)}
.ta-trigger-status{position:absolute;right:4px;bottom:4px;width:8px;height:8px;border-radius:50%;border:2px solid #0b2848;background:#94a3b8;box-sizing:content-box}
.ta-clock-trigger.clocked-in .ta-trigger-status{background:#39ff88}.ta-clock-trigger.on-break .ta-trigger-status{background:#f59e0b}.ta-clock-trigger.clocked-out .ta-trigger-status{background:#94a3b8}
.ta-drawer-overlay{position:fixed;inset:0;background:rgba(15,23,42,.28);opacity:0;pointer-events:none;transition:opacity .22s ease;z-index:1190}
.ta-drawer-overlay.open{opacity:1;pointer-events:auto}
.clock-sidebar.ta-drawer{display:flex!important;position:fixed!important;left:0!important;right:auto!important;top:0!important;bottom:0!important;width:360px!important;max-width:92vw!important;height:100vh!important;padding:0!important;background:var(--v5-surface,#fff)!important;border:0!important;border-right:1px solid var(--v5-line,#dfe3e8)!important;box-shadow:12px 0 34px rgba(15,23,42,.18)!important;z-index:1200!important;overflow:hidden!important;flex-direction:column!important;transform:translateX(-104%)!important;visibility:hidden!important;transition:transform .24s ease,visibility .24s!important}
.clock-sidebar.ta-drawer.open{transform:translateX(0)!important;visibility:visible!important}
.ta-drawer-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:19px 20px;background:linear-gradient(115deg,#0b2848,#174d7f);color:#fff;border-bottom:1px solid rgba(255,255,255,.12)}
.ta-drawer-head strong{font-size:16px;color:#fff}.ta-drawer-subtitle{font-size:10px;color:rgba(255,255,255,.72);margin-top:2px}.ta-drawer-close{width:36px;height:36px;padding:0!important;border:0!important;border-radius:9px!important;background:rgba(255,255,255,.10)!important;color:#fff!important;font-size:26px!important;line-height:1!important;cursor:pointer}.ta-drawer-close:hover{background:rgba(255,255,255,.18)!important}
.ta-drawer-body{flex:1;overflow-y:auto;padding:20px 18px 26px;color:var(--v5-text,#0f172a)}
.ta-drawer .clock-current-time,.ta-drawer .clock-project-form select{background:var(--v5-surface,#fff)}
.ta-drawer .clock-sidebar-link{font-size:12px!important;font-weight:750!important;margin-top:20px!important;color:var(--v5-blue,#2563eb)!important}
@media(max-width:1100px){.ez-topbar-brand.pulsecrm-header-brand{min-width:0!important}.ta-clock-trigger{margin-right:2px}}
@media(max-width:760px){.clock-sidebar.ta-drawer{width:min(360px,94vw)!important;position:fixed!important}.ta-clock-trigger{flex-basis:36px;width:36px;height:36px}.ta-drawer-body{padding:17px 15px 22px}}
html[data-theme="night"] .clock-sidebar.ta-drawer{background:#0f1b2b!important;border-right-color:rgba(57,255,136,.18)!important}.ta-drawer .clock-current-time-value,.ta-drawer .clock-sidebar-timer,.ta-drawer .clock-project-timer{color:var(--v5-text,#0f172a)}
html[data-theme="night"] .ta-drawer .clock-current-time-value,html[data-theme="night"] .ta-drawer .clock-sidebar-timer,html[data-theme="night"] .ta-drawer .clock-project-timer,html[data-theme="night"] .ta-drawer .clock-sidebar-title{color:#f8fafc!important}


/* v5.0.14 — reclaim workspace after T&A drawer migration */
html body:not(.login-page) main.app-main{
  margin-left:0!important;
  margin-right:0!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  padding:26px clamp(18px,2vw,32px)!important;
  box-sizing:border-box!important;
  overflow-x:hidden!important;
}
html body:not(.login-page) main.app-main > *{max-width:100%;box-sizing:border-box}
@media(max-width:900px){html body:not(.login-page) main.app-main{width:100%!important;max-width:100%!important;margin:0!important;padding:18px!important}}
@media(max-width:760px){html body:not(.login-page) main.app-main{width:100%!important;max-width:100%!important;margin:0!important;padding:14px!important}}

/* v5.0.19 dashboard attendance detail */
.timeline-segment.worked{border:0;cursor:pointer;padding:0}.timeline-segment.worked:hover{filter:brightness(1.15);box-shadow:0 0 0 2px rgba(37,99,235,.22)}.attendance-detail-dialog{width:min(520px,calc(100% - 32px));border:0;border-radius:16px;padding:22px;box-shadow:0 22px 60px rgba(15,23,42,.28)}.attendance-detail-dialog::backdrop{background:rgba(15,23,42,.42)}.attendance-detail-head{display:flex;justify-content:space-between;gap:16px}.attendance-detail-head h3{margin:0}.attendance-detail-head p{margin:4px 0 14px;color:#64748b}.attendance-detail-close{border:0;background:transparent;font-size:28px;cursor:pointer}.attendance-detail-schedule{display:grid;grid-template-columns:12px auto 1fr;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid #e2e8f0}.attendance-detail-schedule i{width:12px;height:12px;border-radius:50%}.attendance-detail-schedule strong{text-align:right}.attendance-detail-events{margin:10px 0 16px}.attendance-detail-events>div{display:grid;grid-template-columns:100px 60px 1fr;gap:8px;padding:8px 0;border-bottom:1px solid #eef2f7}.attendance-detail-events small{color:#64748b}.attendance-detail-events small+small{grid-column:3}.timesheet-edit-btn{background:#dc2626!important;border-color:#dc2626!important;color:#fff!important;font-weight:800!important}.timesheet-edit-btn:hover{background:#b91c1c!important;border-color:#b91c1c!important;color:#fff!important}

/* v5.0.20 layered attendance timeline */
.timeline-track{height:46px!important;background:#f7f9fc!important}
.timeline-segment.schedule{top:2px!important;bottom:2px!important;height:auto!important;opacity:.25!important;border-radius:6px!important;z-index:1!important}
.timeline-segment.unpaid{top:2px!important;bottom:2px!important;height:auto!important;background:repeating-linear-gradient(135deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 4px,rgba(100,116,139,.12) 4px,rgba(100,116,139,.12) 8px)!important;border:1px dashed rgba(71,85,105,.65)!important;z-index:2!important}
.timeline-segment.worked{top:14px!important;height:18px!important;background:#24558f!important;border-radius:5px!important;z-index:4!important;box-shadow:0 2px 5px rgba(15,23,42,.18)!important}
.timeline-segment.project{top:34px!important;height:6px!important;z-index:5!important;border-radius:4px!important}
.btn.primary,button.btn.primary,input.btn.primary{background:#1769e8!important;color:#fff!important;border:1px solid #1769e8!important;opacity:1!important;visibility:visible!important;font-weight:750!important}
.btn.primary:hover,button.btn.primary:hover{background:#1257c7!important;border-color:#1257c7!important;color:#fff!important}
.user-manage-actions{display:flex!important;gap:10px!important;align-items:center!important;justify-content:flex-end!important;overflow:visible!important}

/* v5.0.21 compact report, schedule and timesheet correction */
.report-export-button{min-width:88px!important}.report-export-dialog{width:min(420px,calc(100% - 32px));border:0;border-radius:16px;padding:20px;box-shadow:0 24px 70px rgba(15,23,42,.30)}.report-export-dialog::backdrop{background:rgba(15,23,42,.45)}.report-export-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.report-export-head h3{margin:0 0 4px}.report-export-head p{margin:0 0 18px;color:#64748b}.report-export-close{border:0!important;background:transparent!important;color:inherit!important;font-size:26px!important;padding:0!important;min-width:28px!important}.report-export-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.report-export-choices .btn{min-height:44px}.report-export-cancel{width:100%;margin-top:10px}
.report-all-filters-one-line{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.report-all-filters-one-line .report-date-row{display:flex;gap:8px;align-items:end}.report-all-filters-one-line label{margin:0}.compact-report-options{display:flex!important;grid-template-columns:none!important;gap:8px!important;margin-top:8px!important;flex-wrap:wrap!important}.compact-report-options .report-option-dropdown{width:180px;min-width:150px}.report-control-card{padding:10px 12px!important}.report-toolbar-actions{margin-left:auto}.payment-summary{display:flex!important;grid-template-columns:none!important;gap:8px!important;margin:8px 0 12px!important;flex-wrap:wrap}.payment-summary .payment-stat{min-width:150px!important;flex:0 1 190px!important;padding:9px 12px!important}.payment-summary .payment-stat strong{font-size:20px!important}.payment-summary .payment-stat small{font-size:10px!important}.report-section-head{padding:12px 16px!important}.report-section-head h2{font-size:18px!important}
.compact-day-section{margin-bottom:8px!important}.compact-day-section .report-section-head{padding:10px 16px 8px!important}.compact-day-section .report-section-head h2{font-size:17px!important}.compact-day-section .report-section-head p{font-size:11px!important}.compact-day-section .report-modern-table thead th{padding:7px 12px!important;font-size:10px!important}.compact-day-section .report-modern-table tbody td{padding:7px 12px!important;font-size:12px!important}.compact-day-section input,.compact-day-section select{min-height:32px!important;padding:5px 9px!important}.compact-day-section .btn{min-height:32px!important;padding:5px 10px!important;font-size:11px!important}.compact-day-section .day-add-grid{padding:8px 16px 10px!important;gap:9px!important}.compact-day-section .day-add-grid label{font-size:10px!important}.compact-day-section .empty-report{padding:12px!important}.day-add-event.compact-day-section,.day-project-editor.compact-day-section,.day-editor-card.compact-day-section{padding-bottom:0!important}
\n/* v5.0.22 modern navigation + coherent night theme */\n.nav-icon{font-size:17px!important;line-height:1;opacity:.95;margin-right:3px}.topnav-trigger,.topnav-direct{border-radius:10px!important;gap:7px!important;transition:background .18s,color .18s,box-shadow .18s!important}.topnav-trigger:hover,.topnav-direct:hover{background:rgba(57,255,136,.10)!important;box-shadow:inset 0 -2px 0 #39FF88}.report-all-filters-one-line{display:flex!important;align-items:end!important;gap:8px!important;flex-wrap:nowrap!important}.report-toolbar-actions{margin-left:auto!important}.report-control-card{padding:12px!important}.payment-summary{display:flex!important;gap:10px!important;flex-wrap:nowrap!important}.payment-stat{padding:10px 14px!important;min-width:150px!important}.report-export-button{background:#1769e8!important;color:#fff!important;border-color:#1769e8!important}\nhtml[data-theme="night"] body{background:#071523!important;color:#eef6ff!important}html[data-theme="night"] .card,html[data-theme="night"] section,html[data-theme="night"] .workforce-panel,html[data-theme="night"] .report-control-card,html[data-theme="night"] .report-table-card{background:#0d2134!important;color:#eef6ff!important;border-color:#24415a!important}html[data-theme="night"] h1,html[data-theme="night"] h2,html[data-theme="night"] h3,html[data-theme="night"] strong,html[data-theme="night"] label,html[data-theme="night"] th{color:#f7fbff!important}html[data-theme="night"] .muted,html[data-theme="night"] p,html[data-theme="night"] small{color:#a9bfd1!important}html[data-theme="night"] input,html[data-theme="night"] select,html[data-theme="night"] textarea,html[data-theme="night"] .report-option-dropdown summary{background:#102a40!important;color:#eef6ff!important;border-color:#35516a!important}html[data-theme="night"] .report-option-menu,html[data-theme="night"] .topnav-menu,html[data-theme="night"] .profile-dropdown,html[data-theme="night"] dialog{background:#10263a!important;color:#eef6ff!important;border-color:#35516a!important}html[data-theme="night"] .topnav-menu a,html[data-theme="night"] .profile-dropdown a{color:#eef6ff!important}html[data-theme="night"] .topnav-menu a:hover,html[data-theme="night"] .profile-dropdown a:hover{background:#17344c!important;color:#39FF88!important}html[data-theme="night"] .daily-totals-row td{background:#173047!important;color:#f4fbff!important;border-color:#35516a!important}html[data-theme="night"] table td{color:#e5eef7!important;border-color:#29455d!important}html[data-theme="night"] .schedule-compact-row{border-color:#29455d!important}html[data-theme="night"] .schedule-compact-summary,html[data-theme="night"] .schedule-compact-type{color:#aec1d1!important}@media(max-width:1250px){.report-all-filters-one-line{flex-wrap:wrap!important}.payment-summary{flex-wrap:wrap!important}}\n
/* v5.0.23 navigation sizing + T&A header alignment */
.nav-icon{font-size:22px!important;min-width:22px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;margin-right:5px!important}
.ez-topbar{align-items:center!important}
.ez-topbar-brand.pulsecrm-header-brand{align-self:center!important}
.ta-clock-trigger{align-self:center!important;top:0!important;margin-top:0!important;margin-bottom:0!important;vertical-align:middle!important}
@media(min-width:761px){.ta-clock-trigger{width:36px!important;height:36px!important;flex-basis:36px!important}.ta-analog-clock{width:21px!important;height:21px!important}}


/* v5.0.24 schedule library full-width rows + large navigation symbols */
.nav-icon{font-size:44px!important;min-width:44px!important;width:44px!important;height:44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;margin-right:7px!important;transform:none!important}
.topnav-trigger,.topnav-direct{display:inline-flex!important;align-items:center!important;min-height:52px!important}
.schedule-library-head-actions{display:flex!important;align-items:end!important;gap:10px!important;margin-left:auto!important}
.schedule-search-wrap{display:grid!important;gap:3px!important;margin:0!important;min-width:300px!important}
.schedule-search-wrap span{font-size:10px!important;font-weight:750!important;color:var(--muted,#64748b)!important}
.schedule-search-wrap input{min-height:34px!important;padding:5px 9px!important}
.schedule-compact-list{display:grid!important;gap:0!important;width:100%!important}
.schedule-compact-row{display:grid!important;grid-template-columns:22px minmax(240px,1.35fr) 115px minmax(360px,3fr) auto!important;align-items:center!important;column-gap:18px!important;width:100%!important;min-height:42px!important;padding:5px 8px!important;border-bottom:1px solid var(--v5-line,#e2e8f0)!important;background:transparent!important;font-size:12px!important}
.schedule-compact-name{font-size:12px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.schedule-compact-type{font-size:11px!important;font-weight:800!important;text-transform:uppercase!important;color:var(--muted,#64748b)!important;white-space:nowrap!important}
.schedule-compact-summary{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:var(--muted,#64748b)!important}
.schedule-colour-dot{width:15px!important;height:15px!important;border-radius:4px!important;box-shadow:0 0 0 1px rgba(15,23,42,.15)!important}
.schedule-compact-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;white-space:nowrap!important}
.schedule-compact-actions form{margin:0!important;display:inline-flex!important}
.schedule-compact-actions .btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:26px!important;height:26px!important;padding:2px 9px!important;font-size:11px!important;font-weight:750!important;line-height:20px!important;border-radius:6px!important;margin:0!important}
.schedule-compact-actions a.btn{background:#1769e8!important;color:#fff!important;border:1px solid #1769e8!important;text-decoration:none!important}
.schedule-compact-actions a.btn:hover{background:#1259c8!important;border-color:#1259c8!important}
.schedule-compact-actions .danger{background:#dc2626!important;color:#fff!important;border:1px solid #dc2626!important;opacity:1!important}
.schedule-compact-actions .danger:hover{background:#b91c1c!important;border-color:#b91c1c!important}
.schedule-compact-row[hidden]{display:none!important}
@media(max-width:1100px){.nav-icon{font-size:36px!important;min-width:36px!important;width:36px!important;height:36px!important}.schedule-compact-row{grid-template-columns:18px minmax(180px,1.2fr) 90px minmax(220px,2fr) auto!important;column-gap:9px!important}.schedule-library-head-actions{flex-wrap:wrap!important}.schedule-search-wrap{min-width:220px!important;flex:1!important}}


/* v5.0.25 approved large line-icon navigation + compact planner filters */
.ez-topbar{min-height:82px!important;height:82px!important;padding:0 22px!important}
.pulsecrm-header-logo{max-height:52px!important;width:auto!important}
.ez-horizontal-nav{height:100%!important;align-items:stretch!important;gap:8px!important}
.topnav-group{height:100%!important;display:flex!important;align-items:center!important}
.topnav-trigger,.topnav-direct{display:flex!important;align-items:center!important;gap:10px!important;min-height:62px!important;padding:8px 12px!important;font-size:15px!important;font-weight:800!important}
.nav-icon-svg{width:43px!important;height:43px!important;min-width:43px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;color:#f8fafc!important}
.topnav-trigger:hover .nav-icon-svg,.topnav-direct:hover .nav-icon-svg{color:#39FF88!important}
.ta-clock-trigger{align-self:center!important}
.schedule-compact-actions .btn:not(.danger){background:#1769e8!important;color:#fff!important;border:1px solid #1769e8!important;font-weight:750!important}
.schedule-compact-actions .btn:not(.danger):hover{background:#1257c7!important;border-color:#1257c7!important}

.planner-filter-compact{padding:10px 14px!important;margin-bottom:12px!important;overflow:visible!important}
.planner-filter-toolbar{display:flex!important;align-items:end!important;gap:10px!important;min-height:58px!important;overflow:visible!important}
.planner-filter-title{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:185px!important;padding-bottom:4px!important}
.planner-filter-title strong{font-size:16px!important;line-height:1.15!important}
.planner-level-compact{display:grid!important;gap:3px!important;margin:0!important;min-width:160px!important}
.planner-level-compact>span{font-size:10px!important;font-weight:800!important;color:var(--v5-muted,#64748b)!important}
.planner-level-compact select{height:40px!important;min-height:40px!important;padding:6px 30px 6px 10px!important}
.planner-target-wrap{position:relative!important;min-width:240px!important;overflow:visible!important}
.planner-filter-dropdown{position:relative!important;width:240px!important}
.planner-filter-dropdown>summary{list-style:none!important;height:40px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;border:1px solid var(--v5-line,#dbe3ee)!important;border-radius:9px!important;background:var(--v5-surface,#fff)!important;padding:5px 10px!important;cursor:pointer!important}
.planner-filter-dropdown>summary::-webkit-details-marker{display:none!important}
.planner-filter-dropdown>summary span:first-child{display:flex!important;flex-direction:column!important;line-height:1.05!important}
.planner-filter-dropdown>summary b{font-size:12px!important}.planner-filter-dropdown>summary small{font-size:10px!important;color:var(--v5-muted,#64748b)!important;margin-top:3px!important}
.planner-chevron{font-size:11px!important;transition:transform .15s!important}.planner-filter-dropdown[open] .planner-chevron{transform:rotate(180deg)!important}
.planner-filter-popover{position:absolute!important;z-index:80!important;left:0!important;top:45px!important;width:320px!important;max-width:min(420px,calc(100vw - 40px))!important;background:var(--v5-surface,#fff)!important;border:1px solid var(--v5-line,#dbe3ee)!important;border-radius:12px!important;padding:8px!important;box-shadow:0 16px 40px rgba(15,23,42,.16)!important}
.planner-filter-popover .planner-check-list{max-height:240px!important}
.planner-company-compact{height:40px!important;width:240px!important;border:1px solid var(--v5-line,#dbe3ee)!important;border-radius:9px!important;padding:5px 10px!important;background:var(--v5-surface,#fff)!important;line-height:1.05!important}
.planner-company-compact b,.planner-company-compact small{display:block!important}.planner-company-compact b{font-size:12px!important}.planner-company-compact small{font-size:10px!important;color:var(--v5-muted,#64748b)!important;margin-top:4px!important}
.planner-clear-link{margin-left:auto!important;align-self:center!important;color:#1769e8!important;text-decoration:none!important;font-weight:700!important;font-size:12px!important;padding:8px 6px!important}
.planner-calendar-toolbar{padding:12px 16px!important;align-items:center!important}.planner-view-actions{flex-direction:row!important;align-items:center!important;gap:8px!important}.planner-month-nav{display:flex!important;gap:5px!important}.planner-month-nav .btn{min-height:34px!important;padding:6px 9px!important;font-size:11px!important}.planner-view-switch a{padding:7px 10px!important}
@media(max-width:1200px){.nav-icon-svg{width:36px!important;height:36px!important;min-width:36px!important}.topnav-trigger,.topnav-direct{gap:7px!important;padding-left:8px!important;padding-right:8px!important}.planner-filter-toolbar{flex-wrap:wrap!important}.planner-clear-link{margin-left:0!important}}
@media(max-width:760px){.ez-topbar{height:auto!important;min-height:68px!important}.nav-icon-svg{width:30px!important;height:30px!important;min-width:30px!important}.planner-filter-title{width:100%!important}.planner-level-compact,.planner-target-wrap,.planner-filter-dropdown,.planner-company-compact{width:100%!important;min-width:0!important}.planner-filter-popover{width:100%!important}.planner-view-actions{flex-wrap:wrap!important;align-items:flex-start!important}}

/* v5.0.26 header, static creator, employee profile and attendance refinements */
.ez-topbar{gap:10px!important}.topbar-search{order:3!important;flex:0 1 50%!important;width:50%!important;max-width:none!important;min-width:280px!important;margin:0 8px!important}.ez-horizontal-nav{order:4!important;margin:0!important;flex:0 0 auto!important}.ez-topbar-right{order:5!important;margin-left:auto!important}.ez-topbar-brand{order:1!important}.ta-clock-trigger{order:2!important}
.legend-worked{background:#39FF88!important}.legend-unpaid{background:#f97316!important;border:0!important}.legend-paid{background:#fdba74!important}.timeline-segment.worked{background:#39FF88!important;box-shadow:0 2px 5px rgba(16,185,129,.25)!important}.timeline-segment.actual-break{top:14px!important;height:18px!important;z-index:6!important;border-radius:5px!important}.timeline-segment.actual-break.unpaid{background:#f97316!important;border:0!important}.timeline-segment.actual-break.paid{background:#fdba74!important;border:0!important}.timeline-segment.scheduled-break{opacity:.35!important}.timeline-segment.paid.scheduled-break{top:2px!important;bottom:2px!important;height:auto!important;background:#fdba74!important;z-index:2!important}
.static-creator-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.72fr);gap:16px;align-items:start}.static-creator-main{display:grid;gap:14px}.static-work-card,.static-break-card,.static-summary-card{margin:0!important}.static-summary-card{position:sticky;top:96px}.static-schedule-line{display:grid!important;grid-template-columns:minmax(360px,1fr) minmax(280px,.7fr) auto!important;gap:12px!important;align-items:end!important;padding:12px 0!important;border-bottom:1px solid var(--v5-line,#e2e8f0)}.static-schedule-line:last-child{border-bottom:0}.static-break-line{display:grid;grid-template-columns:minmax(340px,1.25fr) minmax(120px,.45fr) 130px 130px 90px auto;gap:10px;align-items:end;padding:12px 0;border-bottom:1px solid var(--v5-line,#e2e8f0)}.static-break-line:last-child{border-bottom:0}.static-break-line>input{height:40px}.static-line-days{display:flex!important;gap:6px!important;flex-wrap:nowrap!important}.static-day-check span{min-width:38px!important;text-align:center!important}.static-line-times{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.static-pattern-head{margin-bottom:8px!important}.static-summary-head{padding-bottom:10px;border-bottom:1px solid var(--v5-line,#e2e8f0)}.summary-block{padding:12px 0;border-bottom:1px solid var(--v5-line,#e2e8f0)}.summary-block h3,.summary-totals h3{font-size:13px;margin:0 0 8px}.summary-block.work h3{color:#059669}.summary-block.breaks h3{color:#f97316}.summary-block>div,.summary-totals>div{display:grid;grid-template-columns:70px 1fr auto;gap:8px;padding:5px 0;align-items:center}.summary-block>div b,.summary-block>div span,.summary-block>div small{font-size:11px}.summary-off{opacity:.55}.summary-totals{padding-top:12px}.summary-totals>div{grid-template-columns:1fr auto}.summary-totals .paid-total{margin-top:7px;padding-top:9px;border-top:1px solid var(--v5-line,#e2e8f0);color:#059669;font-weight:800}
.user-manage-form{grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr)!important}.org-multi-field{display:flex;flex-direction:column;gap:5px;font-size:9px;font-weight:850}.org-multi-dropdown{position:relative}.org-multi-dropdown summary{list-style:none;min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;border:1px solid #cad1db;border-radius:8px;cursor:pointer}.org-multi-dropdown summary::-webkit-details-marker{display:none}.org-multi-dropdown summary b,.org-multi-dropdown summary small{display:block}.org-multi-dropdown summary small{font-size:8px;color:#81928c;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.org-multi-popover{position:absolute;z-index:50;top:48px;left:0;right:0;background:var(--v5-surface,#fff);border:1px solid var(--v5-line,#dbe3ee);border-radius:10px;padding:8px;box-shadow:0 14px 35px rgba(15,23,42,.16);max-height:220px;overflow:auto}.org-multi-popover label{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;padding:7px!important;font-size:11px!important}.org-multi-popover input{width:auto!important}
@media(max-width:1400px){.topbar-search{flex-basis:38%!important;width:38%!important}.nav-icon-svg{width:30px!important;height:30px!important;min-width:30px!important}.topnav-trigger,.topnav-direct{font-size:10px!important}.static-break-line{grid-template-columns:1fr 120px 120px 90px auto}.static-break-line .static-line-days{grid-column:1/-1}}
@media(max-width:1050px){.static-creator-grid{grid-template-columns:1fr}.static-summary-card{position:static}.user-manage-form{grid-template-columns:1fr!important}.topbar-search{display:none!important}}

/* v5.0.27 Static Schedule Summary visibility + compact spacing */
.static-creator-grid{grid-template-columns:minmax(0,2fr) minmax(340px,.78fr)!important;gap:18px!important}
.static-summary-card{display:block!important;visibility:visible!important;opacity:1!important;align-self:start!important;min-width:0!important;padding:16px!important}
.static-work-card,.static-break-card{padding:16px!important}
.static-schedule-line{padding:8px 0!important;margin:0!important;border:0!important;border-bottom:1px solid var(--v5-line,#e2e8f0)!important;border-radius:0!important;background:transparent!important}
.static-break-line{padding:8px 0!important}
.static-pattern-head{align-items:center!important;margin-bottom:6px!important}
.static-pattern-head h2{margin:0 0 2px!important}.static-pattern-head p{margin:0!important}
.static-day-check span{height:36px!important;min-width:40px!important;padding:0 8px!important;border-radius:8px!important}
.static-line-times input,.static-break-line input,.static-break-line select{min-height:36px!important;height:36px!important}
.static-remove-line,.static-break-remove{min-height:36px!important;padding:6px 10px!important}
@media(max-width:1100px){.static-creator-grid{grid-template-columns:1fr!important}.static-summary-card{position:static!important}}

/* v5.1.0 separate Platform Administration control plane */
.platform-admin-body,.platform-login-body{margin:0;background:#071523;color:#eaf2f8;min-height:100vh}.platform-admin-header{height:72px;background:#081a2a;border-bottom:1px solid #17344c;display:flex;align-items:center;justify-content:space-between;padding:0 28px}.platform-admin-brand{display:flex;align-items:center;gap:14px;color:#fff;text-decoration:none;font-weight:800}.platform-admin-brand img,.platform-login-brand img{height:42px;width:auto}.platform-admin-header nav{display:flex;gap:10px}.platform-admin-header nav a{color:#dce8f2;text-decoration:none;padding:10px 14px;border-radius:8px}.platform-admin-header nav a:hover{background:#102b42}.platform-admin-main{max-width:1500px;margin:0 auto;padding:28px}.platform-login-body{display:grid;place-items:center}.platform-login-shell{width:min(460px,calc(100% - 36px))}.platform-login-brand{display:flex;align-items:center;justify-content:center;gap:14px;font-size:18px;font-weight:800;margin-bottom:20px}.platform-login-card{background:#0d2134;border:1px solid #1c3c56;border-radius:18px;padding:30px;box-shadow:0 24px 60px #0006}.platform-login-card h1{margin:6px 0 8px}.platform-login-card p{color:#a9bfd0}.platform-login-card form{display:grid;gap:16px;margin-top:24px}.platform-login-card label{display:grid;gap:7px;font-weight:700}.platform-login-card input{background:#102a40;color:#fff;border:1px solid #31516a;border-radius:9px;padding:12px}.platform-security-note{margin-top:18px;padding-top:16px;border-top:1px solid #24445c;color:#8faabd;font-size:13px;text-align:center}.platform-wordmark{font-size:24px;letter-spacing:.02em;color:#fff}

/* v5.1.1 Platform Administration control plane */
.platform-admin-body{font-family:Inter,Segoe UI,Arial,sans-serif;background:#071523!important;color:#eaf2f8!important;min-height:100vh}.platform-admin-body *{box-sizing:border-box}.platform-admin-header{position:sticky;top:0;z-index:50;height:78px;background:#081a2a!important;border-bottom:1px solid #17344c;box-shadow:0 8px 30px #0003}.platform-admin-brand span{display:flex;flex-direction:column}.platform-admin-brand b{font-size:19px}.platform-admin-brand small{font-size:11px;color:#8faabd;font-weight:600;letter-spacing:.04em}.platform-brand-mark{width:42px;height:42px;border-radius:11px;display:grid!important;place-items:center;background:#2878ff;color:#fff;font-weight:900;font-size:15px}.platform-admin-header nav a{border:1px solid transparent}.platform-admin-header nav a:hover{border-color:#24465f}.platform-signout{color:#ffb4b4!important}.platform-admin-main{max-width:1540px}.platform-admin-body h1,.platform-admin-body h2,.platform-admin-body h3{color:#fff}.platform-admin-body .muted{color:#9fb5c6}.platform-admin-body .card{background:#0d2134!important;border:1px solid #1d3b53!important;color:#eaf2f8!important;box-shadow:0 12px 32px #0002}.platform-admin-body .csm-kpis .card{border-radius:14px}.platform-admin-body .csm-kpis span{color:#8faabd}.platform-admin-body .csm-kpis strong{color:#fff}.platform-admin-body table{width:100%;border-collapse:collapse;background:transparent;color:#eaf2f8}.platform-admin-body th{color:#8faabd;text-transform:uppercase;font-size:11px;letter-spacing:.06em;text-align:left;padding:13px 14px;border-bottom:1px solid #24445c}.platform-admin-body td{padding:15px 14px;border-bottom:1px solid #18354b;vertical-align:middle}.platform-admin-body tbody tr:hover{background:#10283d}.platform-admin-body code{color:#8fc7ff;background:#071a2a;padding:4px 7px;border-radius:6px}.platform-admin-body .btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid #31516a;background:#102a40;color:#eaf2f8!important;border-radius:8px;padding:9px 13px;font-weight:700;cursor:pointer}.platform-admin-body .btn:hover{background:#173851}.platform-admin-body .btn.primary{background:#2878ff!important;border-color:#2878ff!important;color:#fff!important}.platform-admin-body .status-pill{background:#18334d;color:#cde6ff}.platform-admin-body .status-pill.active{background:#123d2b;color:#72f0ad}.platform-admin-body .status-pill.trial{background:#173b66;color:#9bcaff}.platform-admin-body .status-pill.inactive,.platform-admin-body .status-pill.revoked,.platform-admin-body .status-pill.delete_pending{background:#49302f;color:#ffb6b0}.platform-admin-body .csm-foundation-note{border-color:#1e4965;background:#0b263b;color:#b7ccda}.platform-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.8fr);gap:18px;margin-bottom:18px}.platform-panel{padding:0!important;overflow:hidden;border-radius:14px}.platform-panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:20px 22px;border-bottom:1px solid #1d3b53}.platform-panel-head h2{font-size:17px;margin:0 0 4px}.platform-panel-head p{font-size:12px;color:#8faabd;margin:0}.module-usage{padding:8px 20px 18px}.module-usage>div{display:flex;justify-content:space-between;align-items:center;padding:14px 2px;border-bottom:1px solid #18354b}.module-usage>div:last-child{border-bottom:0}.module-usage span{color:#b7ccda}.module-usage strong{font-size:20px;color:#fff}.platform-admin-body input,.platform-admin-body select,.platform-admin-body textarea{background:#0a1d2d!important;color:#fff!important;border:1px solid #31516a!important;border-radius:8px;padding:10px}.platform-admin-body .module-check{background:#0a1d2d!important;border-color:#24445c!important}.platform-admin-body .module-check small{color:#8faabd}.platform-admin-body .form-section{border-color:#1d3b53}.platform-admin-body .tenant-foundation-card{background:#0a1d2d;border-color:#24445c}.platform-admin-body .eyebrow{color:#54a0ff}.platform-admin-body .page-header-row h1{font-size:30px;margin:4px 0 7px}@media(max-width:900px){.platform-dashboard-grid{grid-template-columns:1fr}.platform-admin-header{height:auto;min-height:72px;padding:12px 18px;gap:12px;flex-wrap:wrap}.platform-admin-main{padding:20px}.platform-admin-header nav{flex-wrap:wrap}}

/* v5.2.0 Roles & Permissions */
.permission-scope-row{max-width:520px;margin:0 0 18px}.permission-scope-row label{display:grid;gap:6px}.permission-grid{border:1px solid #d9e2ec;border-radius:12px;overflow:hidden;background:#fff}.permission-grid-head,.permission-row{display:grid;grid-template-columns:minmax(220px,1fr) repeat(5,minmax(74px,90px));align-items:center;gap:8px;padding:10px 14px}.permission-grid-head{background:#eef4fa;color:#173f70;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.permission-grid-head span{text-align:center}.permission-row{border-top:1px solid #e7edf3}.permission-row label{display:flex;align-items:center;justify-content:center;margin:0}.permission-row label span{display:none}.permission-row input{width:18px;height:18px}.permissions-section small{display:block}.night .permission-grid{background:#0d2134;border-color:#29445c}.night .permission-grid-head{background:#102a40;color:#dcecff}.night .permission-row{border-color:#29445c}@media(max-width:850px){.permission-grid{overflow-x:auto}.permission-grid-head,.permission-row{min-width:680px}}

/* v5.2.3 Help Centre */
.header-help-link{display:inline-flex;align-items:center;gap:.3rem;text-decoration:none;font-weight:700;padding:.45rem .65rem;border-radius:8px;white-space:nowrap}.help-shell,.help-article{max-width:1180px;margin:0 auto;padding:24px}.help-hero{display:flex;gap:24px;align-items:end;justify-content:space-between;margin-bottom:18px}.help-hero h1,.help-article h1{margin:.2rem 0}.help-search{display:flex;gap:8px;min-width:420px}.help-search input{flex:1;min-width:0}.help-categories{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}.help-chip{padding:7px 12px;border:1px solid var(--border,#d8dee6);border-radius:999px;text-decoration:none}.help-chip.active{font-weight:700;border-width:2px}.help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.help-card{display:block;padding:18px;border:1px solid var(--border,#d8dee6);border-radius:12px;text-decoration:none;background:var(--surface,#fff);color:inherit}.help-card:hover{transform:translateY(-1px);box-shadow:0 5px 18px rgba(0,0,0,.08)}.help-card small,.help-article>small{font-weight:800;text-transform:uppercase;letter-spacing:.04em;opacity:.7}.help-card h3{margin:7px 0}.help-card p{min-height:3em;opacity:.82}.help-card span{font-weight:700}.help-article{max-width:850px}.help-back{display:inline-block;margin-bottom:22px}.help-lead{font-size:1.15rem;opacity:.82}.help-copy{font-size:1.05rem;line-height:1.7;margin:20px 0}.help-next{padding:18px 0}@media(max-width:900px){.help-grid{grid-template-columns:1fr 1fr}.help-hero{align-items:stretch;flex-direction:column}.help-search{min-width:0}}@media(max-width:600px){.help-grid{grid-template-columns:1fr}.help-shell,.help-article{padding:16px}.header-help-link{display:none}}

/* v5.3.0 CRM 360 */
.crm-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0}.crm-kpis>div{background:var(--card,#fff);border:1px solid #dbe4ee;border-radius:12px;padding:14px}.crm-kpis small,.crm-activity small,.crm-deal-row small,.crm-contact small,.crm-task small{display:block;color:#64748b}.crm-kpis b{font-size:1.45rem}.crm-360-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:18px;align-items:start}.crm-side{display:grid;gap:14px}.crm-header-actions{display:flex;gap:8px;flex-wrap:wrap}.crm-composer{border:1px solid #cbd5e1;border-radius:12px;padding:12px;margin-bottom:16px;background:rgba(148,163,184,.06)}.crm-compose-types{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.crm-compose-footer,.crm-section-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.crm-activity{border-left:3px solid #94a3b8;padding:10px 12px;margin:9px 0;background:rgba(148,163,184,.05);border-radius:0 10px 10px 0}.crm-activity.pinned{border-left-color:#2563eb;background:rgba(37,99,235,.07)}.crm-activity p{white-space:pre-wrap;margin:7px 0}.crm-inline-actions{display:flex;gap:8px;align-items:center}.crm-inline-actions form{margin:0}.crm-deal-row,.crm-contact,.crm-task,.crm-file{padding:10px 0;border-bottom:1px solid #e2e8f0}.crm-contact span{display:block}.crm-details{display:grid;gap:8px}.crm-next{margin:12px 0}.crm-signal{display:flex;justify-content:space-between;border-left:4px solid #f59e0b;padding:9px 12px;margin:6px 0;background:rgba(245,158,11,.08)}.crm-signal.red{border-left-color:#ef4444}.crm-signal.green{border-left-color:#22c55e}@media(max-width:900px){.crm-360-grid{grid-template-columns:1fr}.crm-kpis{grid-template-columns:repeat(2,1fr)}.crm-compose-types{grid-template-columns:1fr}}

.stack-form{display:grid;gap:8px;min-width:280px;padding:12px}.stack-form textarea{min-height:90px}.table-wrap{overflow-x:auto}.filter-bar,.inline-form{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.filter-bar input,.filter-bar select{min-width:160px}

/* v5.6.1 Prospecting click-to-call */
.prospect-phone-link{display:inline-flex;align-items:center;gap:7px;font-weight:700;font-size:1.02rem;text-decoration:none;white-space:nowrap}.prospect-phone-link:hover{text-decoration:underline}.prospect-phone-icon{font-size:1.05rem}.prospect-no-phone{font-weight:600;opacity:.68;white-space:nowrap}

/* v5.6.2 Prospecting row clarity + row-scoped call logger */
.prospect-table{border-collapse:separate!important;border-spacing:0!important}
.prospect-table thead th{border-bottom:2px solid #cbd5e1!important;background:#f8fafc}
.prospect-table tbody .prospect-row>td{vertical-align:top!important;border-bottom:1px solid #cbd5e1!important;padding-top:16px!important;padding-bottom:16px!important}
.prospect-table tbody .prospect-row:nth-child(even)>td{background:rgba(148,163,184,.035)}
.prospect-table tbody .prospect-row:hover>td{background:rgba(37,99,235,.045)}
.prospect-call-cell{min-width:300px}
.prospect-call-details{margin-top:0!important}
.prospect-call-details>summary{display:inline-flex;align-items:center;list-style:none;font-size:13px!important}
.prospect-call-details>summary::-webkit-details-marker{display:none}
.prospect-call-details[open]{border:1px solid #bfdbfe;border-radius:10px;background:#eff6ff;padding:10px}
.prospect-call-details[open]>summary{margin-bottom:8px}
.prospect-call-panel{min-width:280px}
.prospect-call-title{display:block;padding:3px 12px 0;font-size:12px;color:#1e3a8a}
.prospect-call-panel .stack-form{padding-top:8px}
html[data-theme="night"] .prospect-table thead th{background:#10263a;border-bottom-color:#475569!important}
html[data-theme="night"] .prospect-table tbody .prospect-row>td{border-bottom-color:#334155!important}
html[data-theme="night"] .prospect-call-details[open]{background:#102a40;border-color:#2563eb}
html[data-theme="night"] .prospect-call-title{color:#bfdbfe}

/* v5.6.4 Prospecting top-of-page layout refresh */
.prospecting-shell{display:grid;gap:18px}.prospecting-hero{display:flex;align-items:center;gap:18px;padding:2px 4px 16px;border-bottom:1px solid #dbe5f0}.prospecting-hero h1{margin:0 0 6px;font-size:2rem;line-height:1.15}.prospecting-hero p{margin:0}.prospecting-title-icon{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;flex:none;background:#e8f1ff;color:#1769e0;font-size:24px;font-weight:800}.prospecting-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.prospecting-kpi{display:flex;align-items:center;gap:14px;min-height:96px;padding:18px;border:1px solid #d8e4f2;border-radius:13px;background:#f7faff}.prospecting-kpi-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;flex:none;background:#e5efff;color:#1769e0;font-size:23px;font-weight:900}.prospecting-kpi b{display:block;font-size:1.75rem;line-height:1;color:#135ec8;margin-bottom:8px}.prospecting-kpi span:not(.prospecting-kpi-icon){display:block;color:#243b5a}.prospecting-kpi.new{background:#f3fbf6;border-color:#d2eedc}.prospecting-kpi.new .prospecting-kpi-icon,.prospecting-kpi.new b{color:#0a8a3a}.prospecting-kpi.new .prospecting-kpi-icon{background:#dcf6e5}.prospecting-kpi.callbacks{background:#fff8f1;border-color:#f7dec5}.prospecting-kpi.callbacks .prospecting-kpi-icon,.prospecting-kpi.callbacks b{color:#df6500}.prospecting-kpi.callbacks .prospecting-kpi-icon{background:#ffead6}.prospecting-kpi.qualified{background:#faf7ff;border-color:#e6daf8}.prospecting-kpi.qualified .prospecting-kpi-icon,.prospecting-kpi.qualified b{color:#6524cf}.prospecting-kpi.qualified .prospecting-kpi-icon{background:#eee3ff}.prospecting-kpi.converted{background:#f3fbfb;border-color:#d1eeee}.prospecting-kpi.converted .prospecting-kpi-icon,.prospecting-kpi.converted b{color:#078284}.prospecting-kpi.converted .prospecting-kpi-icon{background:#ddf5f5}.prospecting-import-card,.prospecting-tools-card{padding:22px!important}.prospecting-import-card h2,.prospecting-tools-head h2{margin:0;font-size:1.25rem}.prospecting-import-form{display:grid;grid-template-columns:minmax(280px,1fr) minmax(320px,1.3fr) auto;gap:28px;align-items:end;margin-top:22px}.prospecting-import-form label,.prospecting-filter-grid label{display:grid;gap:8px;font-weight:700}.prospecting-import-form input,.prospecting-filter-grid input,.prospecting-filter-grid select{width:100%;box-sizing:border-box;border:1px solid #b9c8da!important;border-radius:8px!important;min-height:44px;padding:10px 12px;background:var(--surface,#fff)}.prospecting-import-form input[type=file]{padding:7px 9px}.prospecting-import-btn{min-height:44px;padding-left:22px!important;padding-right:22px!important}.prospecting-import-help{margin:20px 0 0;padding-top:15px;border-top:1px solid #e2e8f0}.prospecting-tools-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:17px;border-bottom:1px solid #e2e8f0}.prospecting-filter-grid{display:grid;grid-template-columns:minmax(170px,.9fr) minmax(170px,.9fr) minmax(220px,1.1fr) minmax(260px,1.3fr) auto;gap:0;margin-top:18px;align-items:end}.prospecting-filter-grid label{padding:0 20px;border-right:1px solid #d8e2ed}.prospecting-filter-grid label:first-child{padding-left:0}.prospecting-filter-btn{margin-left:20px;min-height:44px;min-width:130px}html[data-theme="night"] .prospecting-hero{border-color:#29445c}html[data-theme="night"] .prospecting-kpi{background:#0d2134;border-color:#29445c}html[data-theme="night"] .prospecting-kpi span:not(.prospecting-kpi-icon){color:#dbe8f4}html[data-theme="night"] .prospecting-import-help,html[data-theme="night"] .prospecting-tools-head,html[data-theme="night"] .prospecting-filter-grid label{border-color:#29445c}@media(max-width:1200px){.prospecting-kpis{grid-template-columns:repeat(3,1fr)}.prospecting-filter-grid{grid-template-columns:1fr 1fr}.prospecting-filter-grid label{border-right:0;padding:8px}.prospecting-filter-grid label:first-child{padding-left:8px}.prospecting-filter-btn{margin:8px}}@media(max-width:850px){.prospecting-import-form{grid-template-columns:1fr}.prospecting-kpis{grid-template-columns:1fr 1fr}.prospecting-tools-head{align-items:flex-start;flex-direction:column}.prospecting-filter-grid{grid-template-columns:1fr}}@media(max-width:520px){.prospecting-kpis{grid-template-columns:1fr}.prospecting-hero{align-items:flex-start}.prospecting-title-icon{width:44px;height:44px}.prospecting-hero h1{font-size:1.55rem}}

/* v5.6.5 campaign management */
.prospecting-campaign-card{padding:22px!important}.campaign-create-form{display:grid;grid-template-columns:minmax(280px,1fr) auto;gap:18px;align-items:end;margin-top:18px}.campaign-create-form label{display:grid;gap:8px;font-weight:700}.campaign-create-form input,.prospecting-import-form select,.prospect-bulk-card select{min-height:44px;border:1px solid #b9c8da!important;border-radius:8px!important;padding:9px 12px;background:var(--surface,#fff)}.prospect-bulk-card{padding:14px 18px!important}.prospect-bulk-card form{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.prospect-bulk-card select{min-width:260px}.campaign-pill{display:inline-block;padding:5px 9px;border-radius:999px;background:#e8f1ff;color:#135ec8;font-weight:700;font-size:.82rem;white-space:nowrap}.prospect-table th:first-child,.prospect-table td:first-child{width:42px;text-align:center}@media(max-width:850px){.campaign-create-form{grid-template-columns:1fr}.prospect-bulk-card form{align-items:stretch;flex-direction:column}.prospect-bulk-card select{width:100%}}

/* v5.6.7 Prospecting campaign-context table + reliable bulk selection */
.prospecting-current-view{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border:1px solid #cfe0f5;border-radius:12px;background:#f7faff}.prospecting-current-view>div{display:flex;align-items:baseline;gap:10px}.prospecting-current-view strong{font-size:1.05rem;color:#174f91}.prospecting-view-count{padding:5px 10px;border-radius:999px;background:#e8f1ff;color:#135ec8;font-weight:750;font-size:.82rem}.bulk-selection-summary{display:grid;gap:2px;margin-right:4px}.bulk-selection-summary span{font-size:.82rem;color:#64748b}.bulk-select-all{display:inline-flex!important;align-items:center;gap:7px;font-weight:700;white-space:nowrap}.bulk-select-all input{width:18px;height:18px}.prospect-bulk-card form{display:grid!important;grid-template-columns:auto auto minmax(220px,360px) auto;gap:12px!important;align-items:center!important}.prospect-bulk-card select{min-width:0!important;width:100%}.prospect-bulk-card button:disabled{opacity:.45!important;cursor:not-allowed}.campaign-pill-under-company{margin-top:6px;font-size:.72rem;padding:3px 7px;max-width:220px;overflow:hidden;text-overflow:ellipsis}.prospect-table th:nth-child(2),.prospect-table td:nth-child(2){min-width:140px}.prospect-table th:nth-child(3),.prospect-table td:nth-child(3){min-width:145px}.prospect-table th:nth-child(4),.prospect-table td:nth-child(4){min-width:190px;max-width:260px;overflow-wrap:anywhere}.prospect-call-cell{min-width:92px!important;width:92px}.prospect-call-details[open]{min-width:280px;position:relative;z-index:3}.prospect-table td:last-child{min-width:110px}.prospect-table-wrap{overflow-x:auto!important}.prospect-select,#select-all-prospects{width:18px;height:18px;cursor:pointer}html[data-theme="night"] .prospecting-current-view{background:#0d2134;border-color:#29445c}html[data-theme="night"] .prospecting-current-view strong{color:#bfdbfe}@media(max-width:1000px){.prospect-bulk-card form{grid-template-columns:1fr 1fr}.prospecting-current-view{align-items:flex-start}}@media(max-width:650px){.prospect-bulk-card form{grid-template-columns:1fr}.prospecting-current-view{flex-direction:column}.prospecting-current-view>div{display:grid;gap:3px}}

/* v5.6.8 Prospect call persistence and history */
.prospect-latest-call{margin:10px 0 14px;padding:10px 12px;border:1px solid #cbd8e8;border-radius:8px;background:rgba(255,255,255,.55);display:grid;gap:4px}.prospect-latest-call span,.prospect-latest-call small{font-size:12px;color:var(--muted,#667085)}.prospect-latest-call p,.prospect-history-item p{margin:3px 0 0;white-space:pre-wrap}.prospect-history{margin-top:12px;border-top:1px solid #d9e2ef;padding-top:10px}.prospect-history>summary{cursor:pointer;font-weight:600}.prospect-history-list{display:grid;gap:8px;margin-top:8px}.prospect-history-item{padding:8px 10px;border-radius:7px;background:rgba(255,255,255,.45);font-size:13px}.prospect-history-item span{display:block;font-size:11px;color:var(--muted,#667085)}

/* v5.7.0 Microsoft 365 email-only workspace */
.email-connection-card,.email-connect-empty,.email-inbox-shell{margin-top:18px}.email-connection-head,.email-inbox-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.email-message-list{display:flex;flex-direction:column;margin-top:14px}.email-message-row{display:grid;grid-template-columns:minmax(150px,220px) 1fr 150px;gap:16px;align-items:start;padding:14px 10px;border-top:1px solid var(--border,#dbe2ea);text-decoration:none;color:inherit}.email-message-row.unread{font-weight:600}.email-message-main p{margin:4px 0 0;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:850px}.email-message-row time{text-align:right;font-size:.85rem;opacity:.7}.pill.connected{font-weight:700}@media(max-width:800px){.email-message-row{grid-template-columns:1fr}.email-message-row time{text-align:left}.email-connection-head{flex-direction:column}}

/* v5.7.1 Microsoft 365 admin setup */
.m365-admin-card{max-width:900px}.m365-admin-card .stack-form{display:grid;gap:14px;max-width:760px}.m365-admin-card label{display:grid;gap:6px;font-weight:700}.m365-admin-card input{width:100%}.m365-uri{padding:14px 16px;border:1px solid var(--border,#d7e0ea);border-radius:10px;background:rgba(127,127,127,.08);overflow:auto}.m365-uri code{white-space:nowrap}.info-banner{padding:12px 14px;margin-bottom:16px;border-radius:10px;background:rgba(37,99,235,.10)}.checkbox-row{display:flex!important;align-items:center;gap:8px!important;font-weight:500!important}.checkbox-row input{width:auto!important}

/* v5.7.2 per-schedule automatic unpaid breaks */
.auto-break-toggle{display:flex;gap:14px;align-items:flex-start;padding:16px;border:1px solid var(--border,#d9e1ea);border-radius:12px;background:var(--card,#fff)}
.auto-break-toggle input{margin-top:4px;transform:scale(1.2)}
.auto-break-toggle span{display:flex;flex-direction:column;gap:5px}.auto-break-toggle small{max-width:900px;line-height:1.45;color:var(--muted,#667085)}


/* v5.7.9 Pay Templates visual cleanup */
.pay-template-card{padding:24px!important;margin-bottom:18px!important;border:1px solid #d6e0ec!important;border-radius:14px!important;background:var(--card,#fff)!important;box-shadow:0 2px 8px rgba(15,42,68,.05)}
.pay-template-card h1,.pay-template-card h2{margin-top:0}.pay-template-grid,.pay-rule-grid{display:grid!important;gap:16px!important;align-items:end}.pay-template-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}.pay-rule-grid{grid-template-columns:repeat(3,minmax(190px,1fr));margin-top:18px}.pay-template-card label{display:flex!important;flex-direction:column;gap:7px;font-weight:700;font-size:.9rem;min-width:0}.pay-template-card input:not([type=checkbox]),.pay-template-card select,.pay-template-card textarea{box-sizing:border-box;width:100%!important;min-height:42px!important;padding:9px 11px!important;border:1px solid #b9c8da!important;border-radius:8px!important;background:var(--surface,#fff)!important;color:inherit!important;box-shadow:inset 0 1px 2px rgba(15,42,68,.03)}.pay-template-card input:focus,.pay-template-card select:focus{outline:2px solid rgba(37,99,235,.18)!important;border-color:#4f83c2!important}.pay-rule-heading{padding-bottom:14px;border-bottom:1px solid #e2e8f0}.pay-rule-heading p{margin:5px 0 0;max-width:850px}.pay-rule-checkbox{flex-direction:row!important;align-items:center!important;align-self:center;padding:11px 12px;border:1px solid #d6e0ec;border-radius:8px;background:rgba(127,127,127,.035);font-weight:600!important}.pay-rule-checkbox input{width:18px;height:18px;margin:0}.pay-rule-actions{display:flex;align-items:end}.pay-rule-actions .btn{min-height:42px;padding:9px 18px}.pay-template-card table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #d6e0ec;border-radius:10px;overflow:hidden}.pay-template-card th{background:rgba(127,127,127,.07);font-weight:750}.pay-template-card th,.pay-template-card td{padding:11px 12px;border-bottom:1px solid #e1e7ef;text-align:left}.pay-template-card tbody tr:last-child td{border-bottom:0}html[data-theme="night"] .pay-template-card{border-color:#29445c!important}html[data-theme="night"] .pay-template-card input:not([type=checkbox]),html[data-theme="night"] .pay-template-card select{border-color:#3b536b!important}html[data-theme="night"] .pay-rule-heading,html[data-theme="night"] .pay-template-card th,html[data-theme="night"] .pay-template-card td{border-color:#29445c}@media(max-width:1050px){.pay-rule-grid{grid-template-columns:repeat(2,minmax(190px,1fr))}}@media(max-width:700px){.pay-template-grid,.pay-rule-grid{grid-template-columns:1fr}.pay-template-card{padding:18px!important}}

/* v5.8.0 pay rules workflow */
.pay-builder-head{display:flex;justify-content:space-between;align-items:flex-start;padding:22px!important;border:1px solid #d6e0ec!important;border-radius:14px!important;margin-bottom:12px}.pay-builder-head h1{margin:3px 0}.pay-builder-head p{margin:0;color:#667085}.pay-kicker{font-size:.7rem;letter-spacing:.12em;font-weight:800;color:#3f6f9f}.pay-step-tabs{display:flex;align-items:center;gap:10px;width:max-content;padding:8px 12px;margin-bottom:14px;border:1px solid #d6e0ec;border-radius:10px;background:var(--card,#fff);font-weight:750}.pay-step-tabs span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#164f88;color:#fff}.pay-step-tabs b{color:#93a4b5}.pay-rule-builder{border-top:4px solid #2b6cb0!important}.pay-rule-grid{grid-template-columns:repeat(3,minmax(190px,1fr))!important}.conditional{display:none}.pay-template-card table tbody tr:hover{background:rgba(43,108,176,.035)}.pay-template-card table td:nth-child(5){font-weight:750;color:#164f88}@media(max-width:900px){.pay-rule-grid{grid-template-columns:repeat(2,1fr)!important}}@media(max-width:650px){.pay-builder-head{flex-direction:column;gap:12px}.pay-rule-grid{grid-template-columns:1fr!important}}

/* v5.8.1 Pay Templates guided UX */
.pay-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:4px 0 18px;padding:4px 2px}.pay-page-head h1{margin:4px 0 5px;font-size:2rem}.pay-page-head p{margin:0;color:#667085;max-width:850px}.pay-back{display:block;margin-bottom:12px;color:#356a9d;text-decoration:none;font-weight:700}.pay-list-card{padding:0!important;overflow:visible!important;border:1px solid #cbd8e8!important;border-radius:14px!important}.pay-section-head{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 22px;border-bottom:1px solid #d7e1ed}.pay-section-head h2{margin:0 0 4px}.pay-section-head p{margin:0;color:#667085}.pay-template-list,.pay-rules-list{display:grid}.pay-template-row{display:grid;grid-template-columns:48px minmax(260px,1.5fr) minmax(100px,.45fr) minmax(180px,.7fr) 28px;align-items:center;gap:18px;padding:18px 22px;border-bottom:1px solid #e0e7ef;color:inherit;text-decoration:none}.pay-template-row:last-child{border-bottom:0}.pay-template-row:hover{background:#f7faff}.pay-template-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:#e8f1ff;color:#155da8;font-weight:900;font-size:1.1rem}.pay-template-main,.pay-template-stat{display:flex;flex-direction:column;gap:3px}.pay-template-main strong{font-size:1rem}.pay-template-main span,.pay-template-stat span{font-size:.8rem;color:#667085}.pay-template-stat b{font-size:.92rem}.pay-row-arrow{font-size:1.8rem;color:#6b87a3}.pay-empty{text-align:center;padding:48px 24px}.pay-empty p{color:#667085}.pay-empty-icon{width:46px;height:46px;margin:0 auto 12px;display:grid;place-items:center;border:1px solid #a9c2df;border-radius:50%;color:#2367ad;font-size:1.5rem}.pay-summary-strip{display:grid;grid-template-columns:120px minmax(180px,1fr) 150px;max-width:700px;margin:0 0 18px;border:1px solid #cbd8e8;border-radius:12px;background:#fff;overflow:hidden}.pay-summary-strip>div{padding:12px 16px;border-right:1px solid #dbe4ee;display:flex;flex-direction:column;gap:2px}.pay-summary-strip>div:last-child{border-right:0}.pay-summary-strip span{font-size:.72rem;color:#667085;text-transform:uppercase;font-weight:800;letter-spacing:.04em}.pay-summary-strip strong{font-size:.92rem}.pay-rule-line{display:grid;grid-template-columns:34px minmax(240px,1fr) 42px minmax(230px,1fr) 46px;align-items:center;gap:14px;padding:17px 20px;border-bottom:1px solid #dce5ef}.pay-rule-line:last-child{border-bottom:0}.pay-rule-line:hover{background:#fafcff}.pay-rule-order{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#edf4fc;color:#215f9e;font-weight:800}.pay-rule-condition,.pay-rule-result{display:flex;flex-direction:column;gap:3px}.pay-rule-condition>span,.pay-rule-result>span{font-size:.67rem;font-weight:850;letter-spacing:.08em;color:#73859a}.pay-rule-condition strong,.pay-rule-result strong{font-size:.95rem}.pay-rule-condition small,.pay-rule-result small{color:#667085}.pay-rule-chevron{font-size:1.4rem;color:#7994b0;text-align:center}.pay-rule-more{position:relative}.pay-rule-more summary{list-style:none;cursor:pointer;border:1px solid #c7d5e5;border-radius:8px;padding:7px;text-align:center;font-weight:800}.pay-rule-more summary::-webkit-details-marker{display:none}.pay-rule-more>div{position:absolute;right:0;top:40px;z-index:20;width:240px;padding:14px;border:1px solid #c7d5e5;border-radius:10px;background:#fff;box-shadow:0 12px 30px #0f2a4420;display:grid;gap:8px}.pay-rule-more span{font-size:.8rem;color:#667085}.pay-dialog{width:min(680px,calc(100vw - 32px));max-height:90vh;padding:0;border:1px solid #b8c9dc;border-radius:16px;background:#fff;color:#152235;box-shadow:0 28px 80px #0f2a4445}.pay-rule-dialog{width:min(760px,calc(100vw - 32px))}.pay-dialog::backdrop{background:rgba(7,23,39,.45);backdrop-filter:blur(2px)}.pay-dialog form{margin:0}.pay-dialog-head{display:flex;justify-content:space-between;gap:20px;padding:22px 24px 18px;border-bottom:1px solid #d7e1ed}.pay-dialog-head h2{margin:3px 0}.pay-dialog-head p{margin:5px 0 0;color:#667085}.pay-dialog-close{border:1px solid #c6d4e3;background:#fff;border-radius:8px;width:36px;height:36px;font-size:1.5rem;cursor:pointer}.pay-dialog-body{padding:22px 24px;display:grid;gap:18px;overflow:auto}.pay-dialog-body label{display:flex;flex-direction:column;gap:7px;font-weight:750}.pay-dialog-body label small{font-weight:500;color:#667085}.pay-dialog-body input:not([type=checkbox]),.pay-dialog-body select,.pay-dialog-body textarea{width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;border:2px solid #aebfd2!important;border-radius:9px!important;background:#fff!important;color:#152235!important;box-shadow:0 1px 2px #0f2a4408}.pay-dialog-body textarea{min-height:78px}.pay-dialog-body input:focus,.pay-dialog-body select:focus,.pay-dialog-body textarea:focus{outline:3px solid #2f76bd24!important;border-color:#2f76bd!important}.pay-dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid #d7e1ed;background:#f8fafc}.pay-help{margin:0;padding:10px 12px;background:#f5f8fc;border:1px solid #d6e1ec;border-radius:8px;color:#5f7082;font-size:.84rem}.pay-question{padding:16px;border:1px solid #cbd8e8;border-radius:11px;background:#fbfdff;display:grid;gap:14px}.pay-question>label+label{margin-top:2px}.pay-condition-explainer{padding:10px 12px;border-left:3px solid #3d7dbd;background:#eef5fc;color:#40556b;font-size:.84rem;line-height:1.45}.pay-advanced{border:1px solid #cbd8e8;border-radius:10px;background:#fff}.pay-advanced summary{cursor:pointer;padding:13px 15px;font-weight:800}.pay-advanced summary span{float:right;color:#74869a;font-weight:600;font-size:.8rem}.pay-advanced-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:4px 15px 16px;border-top:1px solid #e0e7ef}.pay-check{flex-direction:row!important;align-items:center!important;grid-column:1/-1;padding:10px;border:1px solid #d4deea;border-radius:8px}.pay-check input{width:18px;height:18px}.btn.danger{border-color:#e2a8a8!important;color:#a61b1b!important;background:#fff5f5!important}html[data-theme="night"] .pay-list-card,html[data-theme="night"] .pay-summary-strip,html[data-theme="night"] .pay-dialog,html[data-theme="night"] .pay-rule-more>div,html[data-theme="night"] .pay-question,html[data-theme="night"] .pay-advanced{background:#0d2134!important;color:#eaf2f8!important;border-color:#35516b!important}html[data-theme="night"] .pay-template-row:hover,html[data-theme="night"] .pay-rule-line:hover{background:#10283d}html[data-theme="night"] .pay-dialog-body input:not([type=checkbox]),html[data-theme="night"] .pay-dialog-body select,html[data-theme="night"] .pay-dialog-body textarea{background:#102a40!important;color:#fff!important;border-color:#54708a!important}html[data-theme="night"] .pay-dialog-actions{background:#0a1c2d;border-color:#35516b}@media(max-width:850px){.pay-template-row{grid-template-columns:42px 1fr 28px}.pay-template-stat{display:none}.pay-rule-line{grid-template-columns:32px 1fr 40px}.pay-rule-chevron{display:none}.pay-rule-result{grid-column:2}.pay-rule-more{grid-column:3;grid-row:1/3}.pay-summary-strip{grid-template-columns:1fr}.pay-summary-strip>div{border-right:0;border-bottom:1px solid #dbe4ee}.pay-summary-strip>div:last-child{border-bottom:0}}@media(max-width:650px){.pay-page-head,.pay-section-head{flex-direction:column;align-items:stretch}.pay-advanced-grid{grid-template-columns:1fr}.pay-dialog-head,.pay-dialog-body,.pay-dialog-actions{padding-left:16px;padding-right:16px}}

/* v5.8.2 Prospecting clarity + configurable columns */
.prospecting-action-bar{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.prospect-table{width:100%;border-collapse:collapse!important;border:2px solid #94a3b8!important;background:var(--surface,#fff)}.prospect-table th,.prospect-table td{border:1px solid #a8b6c8!important;padding:12px 13px!important;vertical-align:top!important}.prospect-table thead th{position:sticky;top:0;z-index:2;background:#eaf1f8!important;color:#17263a;font-weight:800;border-bottom:2px solid #71839a!important;white-space:nowrap}.prospect-table tbody tr:nth-child(even)>td{background:#f8fafc}.prospect-table tbody tr:hover>td{background:#eaf3ff!important}.prospect-table tbody tr:hover{outline:2px solid #7aa7e8;outline-offset:-2px}.prospect-table td[data-col="company"]{min-width:180px}.prospect-table td[data-col="contact"]{min-width:150px}.prospect-table td[data-col="phone"]{min-width:150px}.prospect-table td[data-col="email"],.prospect-table td[data-col="website"]{min-width:190px;max-width:280px;overflow-wrap:anywhere}.prospect-table td[data-col="next_action"]{min-width:170px}.prospect-table td[data-col="call_outcome"]{min-width:150px}.prospect-table td[data-col="actions"]{min-width:140px}.prospect-col-hidden{display:none!important}.prospect-status-badge{display:inline-block;padding:5px 9px;border:1px solid #9eb1c8;border-radius:7px;background:#f2f6fb;font-size:.78rem;font-weight:800;letter-spacing:.02em}.last-outcome{font-weight:700;margin-bottom:8px}.prospect-modal{display:none;position:fixed;inset:0;z-index:10000;background:rgba(15,23,42,.55);padding:28px;overflow:auto;align-items:flex-start;justify-content:center}.prospect-modal.open{display:flex}.prospect-modal-card{width:min(680px,100%);margin-top:7vh;background:var(--surface,#fff);border:2px solid #8092a8;border-radius:14px;box-shadow:0 24px 70px rgba(15,23,42,.28);padding:22px}.prospect-modal-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding-bottom:15px;margin-bottom:18px;border-bottom:2px solid #d5dee9}.prospect-modal-head h2{margin:0 0 4px}.prospect-modal-head p{margin:0;color:#64748b}.modal-x{border:1px solid #9aaabd;background:transparent;border-radius:8px;width:38px;height:38px;font-size:24px;cursor:pointer}.add-prospect-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.add-prospect-form label{display:grid;gap:7px;font-weight:750}.add-prospect-form label>span{color:#b42318}.add-prospect-form input{width:100%;box-sizing:border-box;min-height:44px;padding:10px 11px;border:2px solid #9baabd!important;border-radius:8px!important;background:var(--surface,#fff)}.add-prospect-form input:focus{border-color:#1769e0!important;box-shadow:0 0 0 3px rgba(23,105,224,.14);outline:0}.add-prospect-form .wide{grid-column:1/-1}.modal-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:16px;margin-top:4px;border-top:1px solid #d5dee9}.columns-card{width:min(600px,100%)}.column-picker{display:grid;grid-template-columns:1fr 1fr;gap:9px}.column-option{display:flex;align-items:center;gap:11px;border:2px solid #c1ccd9;border-radius:9px;padding:11px 12px;background:#fff;cursor:pointer}.column-option:hover{border-color:#7fa7d8;background:#f6faff}.column-option.required{background:#eef4fa;border-color:#9baec4;cursor:default}.column-option input{width:18px;height:18px}.column-option span{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%}.column-option small{color:#64748b;font-size:.72rem;text-transform:uppercase;font-weight:800}.column-option.required small{color:#315d8e}.prospect-table-wrap{border:0!important;padding:0!important;max-height:70vh;overflow:auto!important}html[data-theme="night"] .prospect-table{border-color:#64748b!important}html[data-theme="night"] .prospect-table th,html[data-theme="night"] .prospect-table td{border-color:#475569!important}html[data-theme="night"] .prospect-table thead th{background:#183149!important;color:#e5edf5}html[data-theme="night"] .prospect-table tbody tr:nth-child(even)>td{background:#0e2133}html[data-theme="night"] .prospect-table tbody tr:hover>td{background:#163451!important}html[data-theme="night"] .prospect-modal-card,html[data-theme="night"] .column-option{background:#10263a;border-color:#60758b}html[data-theme="night"] .column-option.required{background:#17324a}html[data-theme="night"] .add-prospect-form input{background:#0c1d2d!important;border-color:#60758b!important}@media(max-width:700px){.add-prospect-form,.column-picker{grid-template-columns:1fr}.add-prospect-form .wide{grid-column:auto}.prospect-modal{padding:12px}.prospect-modal-card{margin-top:2vh}.modal-actions{flex-wrap:wrap}}

/* v5.8.3 Company Notes visibility */
.company-section-nav{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 18px;padding:10px;background:#fff;border:2px solid #c9d6e5;border-radius:12px}.company-section-nav a{padding:8px 12px;border:1px solid #b8c9dd;border-radius:8px;text-decoration:none;font-weight:700;background:#f8fbff}.company-section-nav a:hover{background:#eef5ff;border-color:#6b98cc}.company-notes-card{border:2px solid #c9d6e5!important}.company-note-composer{border:2px solid #b8c9dd;border-radius:12px;padding:14px;background:#f8fbff;margin:12px 0 16px}.company-note-composer label{display:block;font-weight:700;margin-bottom:10px}.company-note-composer input[type=text],.company-note-composer input:not([type]),.company-note-composer textarea{width:100%;box-sizing:border-box;border:2px solid #9fb4ca;border-radius:8px;padding:10px;background:#fff;margin-top:5px}.company-note-item{border:2px solid #c7d3df;border-radius:10px;padding:14px;margin:10px 0;background:#fff}.company-note-item.pinned{border-width:3px}.company-note-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.company-note-head small{display:block;margin-top:4px;color:#667}.company-note-item p{white-space:pre-wrap;margin:10px 0}.legacy-note{background:#fbfcfe}

/* v5.8.4 Company Workspace */
.company-back{display:inline-block;margin:0 0 8px;font-weight:700}.company-workspace-header{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:22px 26px;margin-bottom:16px;border:1px solid #254f7d;border-radius:15px;background:linear-gradient(115deg,#0d2b4a 0%,#173f6c 52%,#24598f 100%);color:#fff;box-shadow:0 6px 18px rgba(13,43,74,.12)}.company-workspace-header h1{margin:4px 0 3px;font-size:1.75rem;color:#fff}.company-workspace-header p{margin:0;color:#dce9f6}.company-workspace-header .modern-page-kicker{color:#bcd8f4}.company-workspace-header .button{border-color:#668ab0}.company-kpis{grid-template-columns:repeat(5,1fr)!important;gap:10px!important}.company-kpis>div{border:2px solid #cfdae7!important;border-radius:11px!important;padding:13px 15px!important}.company-section-nav{margin:12px 0 16px!important}.company-workspace-grid{display:grid;grid-template-columns:minmax(260px,.92fr) minmax(430px,1.45fr) minmax(280px,.95fr);gap:16px;align-items:start;width:100%}.company-workspace-column{display:grid;gap:16px;min-width:0}.workspace-card,.workspace-full-card{border:2px solid #c6d4e3!important;border-radius:13px!important;box-shadow:0 2px 7px rgba(15,42,68,.045);padding:17px!important;margin:0!important}.workspace-full-card{margin-top:16px!important}.workspace-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:12px;margin-bottom:12px;border-bottom:2px solid #e0e7ef}.workspace-card-head h2{margin:2px 0 0;font-size:1.08rem}.workspace-eyebrow{display:block;font-size:.66rem;letter-spacing:.1em;font-weight:900;color:#4976a5}.workspace-status,.workspace-count{padding:5px 8px;border:1px solid #aac0d8;border-radius:7px;background:#edf5fd;color:#285b8e;font-size:.72rem;font-weight:800}.workspace-form{display:grid;gap:11px}.workspace-form label{display:grid;gap:5px;font-size:.78rem;font-weight:800;color:#34495e}.workspace-form input:not([type=checkbox]),.workspace-form select,.workspace-form textarea{width:100%;box-sizing:border-box;padding:9px 10px;border:2px solid #aebfd2!important;border-radius:8px!important;background:var(--surface,#fff);color:inherit;min-height:39px}.workspace-form input:focus,.workspace-form select:focus,.workspace-form textarea:focus{outline:3px solid rgba(37,99,235,.13);border-color:#4a82bc!important}.workspace-form-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.workspace-checks{display:flex;gap:14px;flex-wrap:wrap}.workspace-checks label{display:flex;grid-auto-flow:column;align-items:center}.workspace-contact,.workspace-event{display:flex;gap:11px;padding:11px 0;border-bottom:1px solid #dce5ef}.workspace-contact:last-of-type,.workspace-event:last-of-type{border-bottom:0}.workspace-contact>div:last-child,.workspace-event>div:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}.workspace-contact small,.workspace-contact span,.workspace-contact a,.workspace-event small{font-size:.78rem;overflow-wrap:anywhere}.contact-avatar{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border:1px solid #a9bdd2;border-radius:9px;background:#edf5fd;color:#245b92;font-weight:900}.workspace-add{margin-top:11px;border:1px solid #b9cadb;border-radius:9px;background:#f8fbff}.workspace-add summary{cursor:pointer;padding:10px 12px;font-weight:800;color:#1e64ad}.workspace-add[open] summary{border-bottom:1px solid #d7e1eb}.workspace-add form{padding:12px}.workspace-note{padding:12px 13px;margin:9px 0;border:1px solid #c8d5e3;border-left:4px solid #4b7fb4;border-radius:8px;background:#fbfdff}.workspace-note.pinned{border-left-color:#d29a28}.workspace-note strong,.workspace-note small{display:block}.workspace-note small{margin-top:3px;color:#6a7a8c;font-size:.73rem}.workspace-note p{margin:8px 0 0;white-space:pre-wrap;line-height:1.45}.workspace-text-link{display:inline-block;margin-top:8px;font-weight:800}.workspace-activity{position:relative;display:grid;grid-template-columns:14px 1fr;gap:9px;padding:0 0 14px}.workspace-activity:not(:last-child):before{content:"";position:absolute;left:5px;top:11px;bottom:0;border-left:2px solid #d8e3ee}.activity-dot{width:11px;height:11px;margin-top:4px;border:2px solid #3f78b2;border-radius:50%;background:#fff;z-index:1}.workspace-activity b,.workspace-activity small{display:block}.workspace-activity small{color:#718096;font-size:.72rem;margin-top:2px}.workspace-activity p{margin:4px 0 0;font-size:.82rem;color:#506173}.workspace-opportunity{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #dce5ef}.workspace-opportunity div{display:flex;flex-direction:column}.workspace-opportunity small{color:#6b7c8e}.workspace-task{padding:10px 11px;margin:8px 0;border:1px solid #c9d7e5;border-radius:8px;background:#fbfdff}.workspace-task b,.workspace-task small{display:block}.workspace-task small{margin-top:3px;color:#697b8d}.event-date{width:44px;height:48px;flex:0 0 44px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #a9bfd7;border-radius:8px;background:#edf5fd;color:#245b92}.event-date b{font-size:1.05rem}.event-date span{font-size:.66rem;text-transform:uppercase;font-weight:900}.support-mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:10px}.support-mini-stats>div{text-align:center;padding:9px 5px;border:1px solid #c6d5e4;border-radius:8px;background:#f8fbff}.support-mini-stats b,.support-mini-stats span{display:block}.support-mini-stats b{font-size:1.05rem}.support-mini-stats span{font-size:.67rem;color:#6d7f91;text-transform:uppercase;font-weight:800}.workspace-case{padding:9px 0;border-bottom:1px solid #dce5ef}.workspace-case a,.workspace-case small{display:block}.workspace-case small{color:#6b7d90;margin-top:2px}.workspace-card-actions{margin-top:12px}.compact{padding:7px 10px!important;font-size:.78rem!important}.workspace-empty{padding:10px 0;color:#718096;font-size:.84rem}.workspace-dialog{width:min(620px,calc(100vw - 30px));padding:0;border:2px solid #9fb4ca;border-radius:14px;box-shadow:0 25px 70px rgba(8,28,48,.28);background:#fff;color:#17263a}.workspace-dialog::backdrop{background:rgba(8,28,48,.5)}.workspace-dialog-head{display:flex;justify-content:space-between;padding:18px 20px;border-bottom:2px solid #dce5ef}.workspace-dialog-head h2{margin:2px 0}.workspace-dialog-head button{width:34px;height:34px;border:1px solid #aebfd2;border-radius:8px;background:#fff;font-size:1.3rem}.workspace-dialog-body{padding:18px 20px}.workspace-dialog-actions{display:flex;justify-content:flex-end;gap:8px;padding:13px 20px;border-top:1px solid #dce5ef;background:#f8fafc}.workspace-inline-check{display:flex!important;grid-auto-flow:column;justify-content:start;align-items:center}.company-section-nav a{color:#2d6399!important}.company-section-nav a:first-child{background:#e9f3ff!important;border-color:#79a2ce!important}html[data-theme="night"] .workspace-card,html[data-theme="night"] .workspace-full-card,html[data-theme="night"] .workspace-dialog{background:#0d2134!important;border-color:#36526d!important;color:#eaf2f8}html[data-theme="night"] .workspace-add,html[data-theme="night"] .workspace-note,html[data-theme="night"] .workspace-task,html[data-theme="night"] .support-mini-stats>div{background:#102a40!important;border-color:#3d5872!important}html[data-theme="night"] .workspace-form input:not([type=checkbox]),html[data-theme="night"] .workspace-form select,html[data-theme="night"] .workspace-form textarea{background:#0a1c2d!important;color:#fff!important;border-color:#506c87!important}@media(max-width:1250px){.company-workspace-grid{grid-template-columns:1fr 1fr}.company-workspace-main{grid-row:1/span 2;grid-column:1}.company-kpis{grid-template-columns:repeat(3,1fr)!important}}@media(max-width:850px){.company-workspace-grid{grid-template-columns:1fr}.company-workspace-main{grid-row:auto;grid-column:auto}.company-kpis{grid-template-columns:1fr 1fr!important}.company-workspace-header{align-items:flex-start;flex-direction:column}.workspace-form-2{grid-template-columns:1fr}}@media(max-width:520px){.company-kpis{grid-template-columns:1fr!important}}

/* v5.8.5 Company Workspace layout hotfix: workspace columns deliberately use neutral divs,
   not the application's legacy global main/aside selectors. */
.company-workspace-grid>.company-workspace-column{position:static!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;max-width:none!important;background:transparent!important;color:inherit!important;overflow:visible!important}
.company-workspace-grid>.company-workspace-main{position:static!important;width:auto!important;margin:0!important;padding:0!important;max-width:none!important}

/* v5.8.6 Company Workspace structural overhaul */
.company-workspace-header{background:linear-gradient(110deg,#0b2947 0%,#123a63 58%,#1c4f7f 100%)!important;overflow:hidden}
.crm-header-actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:8px!important}
.company-section-nav{position:sticky;top:74px;z-index:20;display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:10px!important;border:2px solid #c5d4e4!important;border-radius:12px!important;background:var(--surface,#fff)!important}
.company-section-nav a{display:inline-flex!important;align-items:center!important;min-height:38px!important;padding:8px 13px!important;border:1px solid #9fb9d5!important;border-radius:8px!important;background:#f7fbff!important;font-weight:800!important;text-decoration:none!important}
.company-workspace-grid{display:grid!important;grid-template-columns:minmax(300px,1fr) minmax(420px,1.35fr) minmax(300px,1fr)!important;gap:18px!important;align-items:start!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.company-workspace-grid>.company-workspace-column{display:flex!important;flex-direction:column!important;gap:18px!important;min-width:0!important;width:100%!important;max-width:none!important;float:none!important;position:static!important}
.workspace-card{width:100%!important;box-sizing:border-box!important;background:var(--surface,#fff)!important}
.workspace-card h2{line-height:1.2}.workspace-note p,.workspace-activity p{overflow-wrap:anywhere}.workspace-focus{outline:4px solid rgba(37,99,235,.18)!important;outline-offset:3px!important}
#overview,#notes,#contacts,#opportunities,#followups,#support,#files,#company-calendar{scroll-margin-top:145px}
@media(max-width:1350px){.company-workspace-grid{grid-template-columns:1fr 1fr!important}.company-workspace-grid>.company-workspace-column:nth-child(2){grid-column:span 1}.company-workspace-grid>.company-workspace-column:nth-child(3){grid-column:span 2;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:900px){.company-workspace-grid{grid-template-columns:1fr!important}.company-workspace-grid>.company-workspace-column:nth-child(3){grid-column:auto;display:flex!important}.company-section-nav{position:static}.crm-header-actions{justify-content:flex-start!important}}

/* v5.8.7 Company section navigation: active green scroll indicator */
.company-section-nav a.company-nav-active{background:#059669!important;border-color:#059669!important;color:#fff!important;box-shadow:0 0 0 3px rgba(5,150,105,.14)!important}
.company-section-nav a.company-nav-active:hover{background:#047857!important;border-color:#047857!important;color:#fff!important}
.company-section-nav a:first-child:not(.company-nav-active){background:#f7fbff!important;border-color:#9fb9d5!important;color:#2d6399!important}
.workspace-section-active{border-color:#059669!important;box-shadow:0 0 0 3px rgba(5,150,105,.10),0 2px 7px rgba(15,42,68,.045)!important}
.workspace-section-active>.workspace-card-head{border-bottom-color:rgba(5,150,105,.35)!important}
.workspace-section-active .workspace-eyebrow{color:#059669!important}
html[data-theme="night"] .company-section-nav a.company-nav-active{background:#059669!important;border-color:#34d399!important;color:#fff!important}
html[data-theme="night"] .workspace-section-active{border-color:#34d399!important;box-shadow:0 0 0 3px rgba(52,211,153,.12)!important}

/* v5.9 Company Intelligence */
.support-intel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:8px 0 12px}.support-intel-grid>div{padding:9px 6px;text-align:center;border:2px solid #c8d6e4;border-radius:9px;background:#f8fbff}.support-intel-grid b,.support-intel-grid span{display:block}.support-intel-grid b{font-size:1.02rem;color:#163f68}.support-intel-grid span{font-size:.63rem;font-weight:800;color:#6c7d8e;text-transform:uppercase}.company-intelligence{scroll-margin-top:140px}.intelligence-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:18px}.intelligence-layout>div,.intelligence-lower>div{border:2px solid #c8d6e4;border-radius:11px;padding:14px;background:#fbfdff}.intelligence-layout h3,.intelligence-lower h3{margin:0 0 10px;font-size:.92rem}.support-trend-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.support-trend-summary>strong{font-size:1.35rem}.trend-chip{padding:4px 7px;border-radius:999px;font-size:.72rem;font-weight:900}.trend-good{background:#dcfce7;color:#166534}.trend-warn{background:#fef3c7;color:#92400e}.support-bars{height:165px;display:flex;align-items:flex-end;gap:6px;border-bottom:2px solid #9fb3c7;padding:6px 4px 0}.support-bar-wrap{height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;min-width:0}.support-bar{width:min(28px,80%);min-height:3px;background:#2d6da8;border-radius:5px 5px 0 0;position:relative;display:flex;justify-content:center}.support-bar span{position:absolute;top:-17px;font-size:.65rem;font-weight:800}.support-bar-wrap small{font-size:.61rem;margin:5px 0;color:#64748b}.intel-indicators{display:grid;gap:8px}.intel-indicator{border:2px solid;border-radius:9px;padding:10px 11px}.intel-indicator b,.intel-indicator span{display:block}.intel-indicator span{font-size:.76rem;margin-top:3px}.intel-green{border-color:#86d3b5;background:#ecfdf5;color:#166534}.intel-amber{border-color:#e7c66e;background:#fffbeb;color:#854d0e}.intelligence-lower{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.category-row{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #dbe4ed}.response-detail{display:grid;grid-template-columns:1fr 1fr;gap:8px}.response-detail span{display:flex;justify-content:space-between;padding:9px;border:1px solid #c7d5e3;border-radius:8px;background:#fff;font-size:.78rem}.response-detail b{font-size:.9rem}@media(max-width:900px){.intelligence-layout,.intelligence-lower{grid-template-columns:1fr}.support-intel-grid{grid-template-columns:repeat(2,1fr)}}

/* v5.9.1 intelligence dashboards */
.ci-page{max-width:1800px;margin:0 auto;padding:22px}.ci-hero{background:linear-gradient(110deg,#0b2947,#123a63 60%,#1c4f7f);color:#fff;border:2px solid #0b2947;border-radius:14px;padding:24px 28px;margin-bottom:18px}.ci-hero span{font-size:11px;font-weight:800;letter-spacing:.12em;color:#9ed0ff}.ci-hero h1{margin:4px 0 5px;font-size:30px}.ci-hero p{margin:0;color:#d9e8f6}.ci-filters,.ci-form{display:flex;gap:10px;flex-wrap:wrap;background:#fff;border:2px solid #cbd5e1;border-radius:12px;padding:14px;margin-bottom:16px}.ci-filters select,.ci-form input,.ci-form select{border:2px solid #aebdca;border-radius:7px;padding:9px 10px;background:#fff}.ci-filters button,.ci-form button{background:#123a63;color:#fff;border:0;border-radius:7px;padding:9px 16px;font-weight:800}.ci-kpis{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:12px;margin-bottom:16px}.ci-kpis>div,.ci-card{background:#fff;border:2px solid #cbd5e1;border-radius:12px;padding:16px}.ci-kpis small{display:block;color:#64748b;font-weight:800;font-size:11px}.ci-kpis strong{font-size:26px;color:#0b2947}.ci-card{margin-bottom:16px}.ci-card h2{margin-top:0;color:#0b2947}.ci-table-wrap{overflow:auto}.ci-table{width:100%;border-collapse:collapse}.ci-table th,.ci-table td{border:1px solid #b9c6d2;padding:10px;text-align:left;white-space:nowrap}.ci-table th{background:#edf4f9;color:#0b2947}.ci-table tbody tr:nth-child(even){background:#f8fafc}.ci-company{font-weight:800;color:#123a63}.ci-alert{background:#fff1f2;color:#b42318;padding:3px 8px;border-radius:999px;font-weight:800}.ci-grid{display:grid;grid-template-columns:2fr 1fr;gap:16px}.ci-rank{display:flex;justify-content:space-between;border-bottom:1px solid #d8e1e8;padding:9px 2px}.ci-period{display:flex;gap:8px;margin:0 0 16px}.ci-period a{border:2px solid #b9c6d2;border-radius:999px;padding:7px 13px;text-decoration:none;color:#123a63;font-weight:800}.ci-period a.active{background:#22a06b;color:#fff;border-color:#178653}.ci-bars{height:230px;display:flex;align-items:flex-end;gap:2px;border-bottom:2px solid #9fb0be;padding-top:15px}.ci-bar{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;min-width:3px}.ci-bar i{display:block;width:75%;background:#22a06b;min-height:2px;border-radius:3px 3px 0 0}.ci-bar small{font-size:9px;white-space:nowrap;transform:rotate(-45deg);transform-origin:center;margin-top:12px}.ci-form label{display:flex;flex-direction:column;gap:5px;font-weight:700}.ci-form .ci-check{flex-direction:row;align-items:center}.ci-note{color:#64748b}.ci-empty{text-align:center;color:#64748b;padding:30px!important}@media(max-width:1000px){.ci-kpis{grid-template-columns:repeat(2,1fr)}.ci-grid{grid-template-columns:1fr}}

/* V6 command-centre refinements */
.v6-hero{border:2px solid rgba(65,190,120,.35)!important}.v6-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}.v6-kpis div{border:2px solid #d8e2e8}.v6-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:2px solid #e4ebef;margin:-2px -2px 8px;padding:0 2px 12px}.v6-card-head h2{margin:0}.v6-card-head a{font-weight:800;text-decoration:none}.v6-subhead{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:#667580;border-top:2px solid #e4ebef;padding-top:14px;margin-top:16px}.attention-edge{border-left:4px solid #d68626}.platform-card{border-width:2px}.work-item{border-bottom-width:1px}.work-item:hover{background:#f3f8f5}.work-item:focus{outline:2px solid #2a9b62;outline-offset:-2px}@media(max-width:1250px){.v6-kpis{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.v6-kpis{grid-template-columns:repeat(2,1fr)}}

/* v6.0.2 Prospecting compact grid + campaign management */
.prospect-table tbody .prospect-row>td{padding:8px 12px!important;vertical-align:middle!important;line-height:1.28!important}
.prospect-table thead th{padding:9px 12px!important}
.prospect-table .campaign-pill-under-company{display:none!important}
.prospect-table td[data-col="campaign"]{min-width:160px;max-width:240px;overflow-wrap:anywhere}
.prospect-table .last-outcome{margin-bottom:4px!important}
.prospect-table .prospect-status-badge{padding:4px 8px!important}
.rename-campaign-card{width:min(520px,100%)}
.rename-campaign-form label{display:grid;gap:8px;font-weight:750}
.rename-campaign-form input{width:100%;box-sizing:border-box;min-height:42px;padding:9px 11px;border:2px solid #9baabd!important;border-radius:8px!important;background:var(--surface,#fff)}
html[data-theme="night"] .rename-campaign-form input{background:#0c1d2d!important;border-color:#60758b!important;color:#e5edf5}

/* v6.0.3 Prospecting workspace density */
.prospecting-shell{gap:10px!important}
.prospecting-shell>.card{margin-top:10px!important;margin-bottom:0!important}
.prospecting-campaign-card,.prospecting-import-card,.prospecting-tools-card{padding:14px 16px!important}
.prospecting-tools-head{margin:0!important;padding:0 0 9px!important;min-height:0!important}
.prospecting-tools-head h2,.prospecting-import-card h2{margin:0!important}
.prospecting-tools-head p{margin:3px 0 0!important}
.campaign-create-form{margin-top:9px!important;gap:12px!important}
.campaign-create-form label{gap:5px!important}
.campaign-create-form input,.prospecting-import-form select,.prospect-bulk-card select{min-height:38px!important;padding:7px 10px!important}
.prospecting-import-form{margin-top:9px!important;gap:12px!important;align-items:end!important}
.prospecting-import-form label{gap:5px!important}
.prospecting-import-form input[type="file"]{min-height:38px!important;padding:6px 8px!important}
.prospecting-import-help{margin:9px 0 0!important;padding-top:9px!important}
.prospecting-tools-card .prospecting-tools-head{padding-bottom:9px!important;margin-bottom:9px!important}
.prospecting-filter-grid{margin-top:0!important;gap:0!important}
.prospecting-filter-grid label{padding-top:7px!important;padding-bottom:7px!important}
.prospecting-filter-grid select,.prospecting-filter-grid input{min-height:38px!important}
.prospecting-filter-btn{min-height:38px!important}
.prospecting-current-view{margin-top:10px!important;padding:9px 14px!important;min-height:0!important}
.prospect-bulk-card{margin-top:10px!important;padding:10px 14px!important}
.prospecting-kpis{margin-bottom:4px!important}
@media(max-width:850px){.prospecting-campaign-card,.prospecting-import-card,.prospecting-tools-card{padding:12px!important}}

/* v6.0.5 Prospecting command workspace */
.prospecting-workbar{display:flex;align-items:flex-end;gap:18px;padding:14px 16px;margin-bottom:12px}.prospecting-campaign-switcher{min-width:320px;max-width:390px;flex:0 0 360px}.prospecting-campaign-switcher label{margin:0}.prospecting-work-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.prospecting-work-actions .btn{min-height:38px}.prospecting-more{position:relative}.prospecting-more>summary{list-style:none;cursor:pointer}.prospecting-more>summary::-webkit-details-marker{display:none}.prospecting-more-menu{position:absolute;z-index:50;top:46px;right:0;min-width:210px;background:var(--card,#fff);border:2px solid #cbd8e8;border-radius:10px;box-shadow:0 16px 35px rgba(9,35,64,.16);padding:7px}.prospecting-more-menu button{width:100%;border:0;background:transparent;text-align:left;padding:10px 12px;border-radius:7px;font-weight:700;color:inherit;cursor:pointer}.prospecting-more-menu button:hover{background:#eef5ff}.prospecting-filterbar{padding:12px 16px;margin-bottom:12px}.prospecting-filter-grid.compact{display:grid;grid-template-columns:minmax(210px,.8fr) minmax(260px,1fr) minmax(360px,2fr) auto auto;gap:12px;align-items:end}.prospecting-filter-grid.compact label{margin:0}.prospecting-filter-grid.compact input,.prospecting-filter-grid.compact select{min-height:38px}.prospecting-filter-grid.compact .btn{min-height:38px;display:flex;align-items:center;justify-content:center}.compact-action-modal{max-width:520px}.import-prospects-modal-card{max-width:650px}.export-prospects-card{max-width:620px}.export-choice-list{display:grid;gap:12px;margin:8px 0 18px}.export-choice{display:grid;grid-template-columns:52px 1fr 20px;align-items:center;gap:14px;padding:16px;border:2px solid #d5dfec;border-radius:10px;color:inherit;text-decoration:none;background:#fff}.export-choice:hover{border-color:#2b75df;background:#f7fbff}.export-choice span:nth-child(2){display:grid;gap:4px}.export-choice small{color:#617188}.export-file-icon{width:44px;height:44px;border-radius:8px;background:#17833c;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:20px}.export-file-icon.csv{background:#1675d1;font-size:12px}.prospecting-current-view,.prospecting-campaign-card,.prospecting-import-card,.prospecting-tools-card{display:none!important}@media(max-width:1050px){.prospecting-workbar{align-items:stretch;flex-direction:column}.prospecting-campaign-switcher{max-width:none;min-width:0;flex:auto;width:100%}.prospecting-filter-grid.compact{grid-template-columns:1fr 1fr}.prospecting-search-field{grid-column:1/-1}}
/* V6.0.5 keeps the working screen focused: campaign count replaces the old KPI strip. */
.prospecting-shell>.prospecting-kpis{display:none!important}

/* ===== EZ-BMS v6.0.6 Visual Theme System ===== */
:root{
  --ez-green:#059669;--ez-green-hover:#047857;--ez-green-soft:#ecfdf5;--ez-green-ring:rgba(5,150,105,.18);
  --theme-bg:#f5f7fa;--theme-surface:#fff;--theme-surface-2:#f8fafc;--theme-surface-3:#f1f5f9;
  --theme-text:#17283b;--theme-muted:#64748b;--theme-border:#d8e2ec;--theme-input:#fff;
  --card:#fff;--panel:#fff;--surface:#fff;--panel-soft:#f8fafc;--border:#d8e2ec;--line:#d8e2ec;--muted:#64748b;
  color-scheme:light;
}
html[data-theme="night"]{
  --theme-bg:#07131f;--theme-surface:#0d1f31;--theme-surface-2:#11283d;--theme-surface-3:#173149;
  --theme-text:#e8f1f8;--theme-muted:#9db0c1;--theme-border:#29455e;--theme-input:#0a1a2a;
  --card:#0d1f31;--panel:#0d1f31;--surface:#0d1f31;--panel-soft:#11283d;--border:#29455e;--line:#29455e;--muted:#9db0c1;
  color-scheme:dark;
}
html,body{background:var(--theme-bg)!important;color:var(--theme-text)!important}
body{transition:none!important}
main,.main-content{color:var(--theme-text)}

/* Green is the EZ-BMS action colour. Keep destructive and neutral controls distinct. */
main .button:not(.secondary):not(.danger),main .btn.primary,main button[type="submit"]:not(.danger):not(.secondary),
main button.primary,dialog .button:not(.secondary):not(.danger),dialog .btn.primary,dialog button[type="submit"]:not(.danger):not(.secondary),
.clock-edit-save,.prospect-command-primary,.prospect-filter-button{
  background:var(--ez-green)!important;border-color:var(--ez-green)!important;color:#fff!important;
}
main .button:not(.secondary):not(.danger):hover,main .btn.primary:hover,main button[type="submit"]:not(.danger):not(.secondary):hover,
main button.primary:hover,dialog .button:not(.secondary):not(.danger):hover,dialog .btn.primary:hover,dialog button[type="submit"]:not(.danger):not(.secondary):hover,
.clock-edit-save:hover,.prospect-command-primary:hover,.prospect-filter-button:hover{
  background:var(--ez-green-hover)!important;border-color:var(--ez-green-hover)!important;color:#fff!important;
}
main .button:focus-visible,main button:focus-visible,dialog .button:focus-visible,dialog button:focus-visible{outline:3px solid var(--ez-green-ring)!important;outline-offset:2px}
.ez-topbar-right .theme-toggle.theme-toggle-header,html[data-theme="night"] .ez-topbar-right .theme-toggle.theme-toggle-header{background:rgba(5,150,105,.22)!important;border-color:rgba(52,211,153,.48)!important}
.ez-topbar-right .theme-toggle.theme-toggle-header:hover{background:rgba(5,150,105,.38)!important}

/* Day theme: one consistent neutral canvas. */
html[data-theme="day"] .card,html[data-theme="day"] section,html[data-theme="day"] .platform-list,html[data-theme="day"] .platform-card,
html[data-theme="day"] .work-kpis>div,html[data-theme="day"] .pulse-signal,html[data-theme="day"] .module-check,
html[data-theme="day"] .report-control-card,html[data-theme="day"] .report-kpi{background:var(--theme-surface);border-color:var(--theme-border);color:var(--theme-text)}

/* Night theme is deliberately explicit to prevent white flashes / mixed surfaces. */
html[data-theme="night"] .card,html[data-theme="night"] section,html[data-theme="night"] .platform-list,html[data-theme="night"] .platform-card,
html[data-theme="night"] .work-kpis>div,html[data-theme="night"] .pulse-signal,html[data-theme="night"] .module-check,
html[data-theme="night"] .report-control-card,html[data-theme="night"] .report-kpi,html[data-theme="night"] .planner-filter-card,
html[data-theme="night"] .workforce-panel,html[data-theme="night"] .planner-focus-card,html[data-theme="night"] .employee-calendar-panel,
html[data-theme="night"] .absence-type-card,html[data-theme="night"] .schedule-type-card,html[data-theme="night"] .schedule-card,
html[data-theme="night"] .prospect-command-bar,html[data-theme="night"] .prospect-filter-bar,html[data-theme="night"] .prospect-table-wrap,
html[data-theme="night"] .help-card,html[data-theme="night"] .help-chip,html[data-theme="night"] .workspace-card,
html[data-theme="night"] .workspace-full-card,html[data-theme="night"] .workspace-dialog,html[data-theme="night"] dialog{
  background:var(--theme-surface)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important;box-shadow:0 4px 18px rgba(0,0,0,.22)
}
html[data-theme="night"] table{background:var(--theme-surface)!important;color:var(--theme-text)!important}
html[data-theme="night"] thead th{background:var(--theme-surface-3)!important;color:#eaf2f8!important;border-color:var(--theme-border)!important}
html[data-theme="night"] tbody td{background:var(--theme-surface)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}
html[data-theme="night"] tbody tr:nth-child(even)>td{background:#0f2437!important}
html[data-theme="night"] tbody tr:hover>td{background:#173149!important}
html[data-theme="night"] input,html[data-theme="night"] select,html[data-theme="night"] textarea{
  background:var(--theme-input)!important;color:var(--theme-text)!important;border-color:#3a5871!important;color-scheme:dark
}
html[data-theme="night"] input::placeholder,html[data-theme="night"] textarea::placeholder{color:#7890a5!important}
html[data-theme="night"] option{background:#0a1a2a;color:#e8f1f8}
html[data-theme="night"] .button.secondary,html[data-theme="night"] .btn.secondary,html[data-theme="night"] button.secondary{
  background:#142b40!important;border:1px solid #3a5871!important;color:#e8f1f8!important
}
html[data-theme="night"] .button.secondary:hover,html[data-theme="night"] .btn.secondary:hover,html[data-theme="night"] button.secondary:hover{background:#1a3852!important}
html[data-theme="night"] .flash.success{background:#0d382e!important;color:#a7f3d0!important;border:1px solid #166b55}
html[data-theme="night"] .flash.danger{background:#3a1c24!important;color:#fecdd3!important;border:1px solid #7f1d2d}
html[data-theme="night"] p,html[data-theme="night"] .muted,html[data-theme="night"] small{color:var(--theme-muted)}
html[data-theme="night"] hr{border-color:var(--theme-border)}
html[data-theme="night"] dialog::backdrop{background:rgba(2,8,16,.72)}
html[data-theme="night"] .prospect-modal-card,html[data-theme="night"] .column-option{background:var(--theme-surface-2)!important;border-color:#3a5871!important;color:var(--theme-text)!important}
html[data-theme="night"] .column-option.required{background:#173149!important}
html[data-theme="night"] .workspace-dialog-actions,html[data-theme="night"] .prospect-modal-actions{background:#0a1a2a!important;border-color:var(--theme-border)!important}
html[data-theme="night"] .calendar-day,html[data-theme="night"] .agenda-day{background:var(--theme-surface)!important;border-color:var(--theme-border)!important}
html[data-theme="night"] .calendar-day.outside,html[data-theme="night"] .agenda-head,html[data-theme="night"] .weekdays{background:var(--theme-surface-2)!important;border-color:var(--theme-border)!important}
html[data-theme="night"] .cal-event{background:#142b40!important;color:#e8f1f8!important}
html[data-theme="night"] .cal-event:hover{background:#1a3852!important}
html[data-theme="night"] .planner-check-list,html[data-theme="night"] .planner-view-switch,html[data-theme="night"] .schedule-view-switcher{background:var(--theme-surface-2)!important;border-color:var(--theme-border)!important}
html[data-theme="night"] .planner-check-list label:hover{background:rgba(5,150,105,.14)!important}

/* Replace blue active/action treatments with the established EZ-BMS green. */
.calendar-views .button.active,.planner-view-switch a.active,.company-section-nav a.company-nav-active,
html[data-theme="night"] .company-section-nav a.company-nav-active{background:var(--ez-green)!important;border-color:var(--ez-green)!important;color:#fff!important}
.company-section-nav a.company-nav-active,.workspace-section-active{border-color:var(--ez-green)!important}
.workspace-section-active{box-shadow:0 0 0 3px var(--ez-green-ring)!important}

/* ===== EZ-BMS v6.0.7 Night Theme Legacy Component Audit ===== */
html[data-theme="night"] .timeline-track{background:#0a1a2a!important;border-color:#36536c!important}
html[data-theme="night"] .timeline-gridline{background:rgba(157,176,193,.14)!important}
html[data-theme="night"] .timeline-axis-track{border-color:#36536c!important}
html[data-theme="night"] .timeline-segment.schedule{background:#587086!important}
html[data-theme="night"] .timeline-segment.unpaid{background:#132a3e!important;border-color:#d99a20!important}

html[data-theme="night"] .settings-overview-strip,html[data-theme="night"] .settings-tile,html[data-theme="night"] .settings-section,
html[data-theme="night"] .settings-sidebar,html[data-theme="night"] .settings-help,html[data-theme="night"] .settings-tile-info{
 background:var(--theme-surface)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important;box-shadow:none!important}
html[data-theme="night"] .settings-overview-strip>div,html[data-theme="night"] .settings-sidebar-foot,html[data-theme="night"] .settings-option-row+ .settings-option-row{border-color:var(--theme-border)!important}
html[data-theme="night"] .settings-sidebar-foot,html[data-theme="night"] .settings-section-heading{background:var(--theme-surface-2)!important;border-color:var(--theme-border)!important}
html[data-theme="night"] .settings-tile h3,html[data-theme="night"] .settings-group-head h2,html[data-theme="night"] .settings-overview-strip strong,
html[data-theme="night"] .settings-help strong,html[data-theme="night"] .settings-section-heading h2,html[data-theme="night"] .settings-option-row h3{color:var(--theme-text)!important}
html[data-theme="night"] .settings-tile p,html[data-theme="night"] .settings-group-head>p,html[data-theme="night"] .settings-overview-strip small,
html[data-theme="night"] .settings-help p,html[data-theme="night"] .settings-option-row p{color:var(--theme-muted)!important}
html[data-theme="night"] .settings-nav a{color:var(--theme-text)!important}html[data-theme="night"] .settings-nav a:hover{background:#173149!important}
html[data-theme="night"] .settings-nav a.active{background:rgba(5,150,105,.18)!important;color:#a7f3d0!important;box-shadow:inset 3px 0 0 var(--ez-green)!important}
html[data-theme="night"] .settings-nav a>span,html[data-theme="night"] .tile-icon,html[data-theme="night"] .overview-icon{background:#173149!important;color:#a7f3d0!important}

html[data-theme="night"] .report-view-tabs{background:var(--theme-surface-2)!important;border-color:var(--theme-border)!important}
html[data-theme="night"] .report-view-tabs a{color:var(--theme-muted)!important}
html[data-theme="night"] .report-view-tabs a.active{background:var(--ez-green)!important;color:#fff!important;box-shadow:none!important}

html[data-theme="night"] .planner-calendar{border-color:var(--theme-border)!important}
html[data-theme="night"] .planner-weekdays div{background:var(--theme-surface-3)!important;color:#dce8f2!important}
html[data-theme="night"] .planner-day{background:var(--theme-surface)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}
html[data-theme="night"] .planner-day.other-month{background:#091a29!important;color:#668096!important}
html[data-theme="night"] .planner-date{color:#cfe0ee!important}
html[data-theme="night"] .clean-calendar .schedule-chip,html[data-theme="night"] .clean-calendar .absence-chip{background:color-mix(in srgb,var(--event-colour) 18%,#0d1f31)!important;color:#eaf4ff!important}
html[data-theme="night"] .clean-calendar .schedule-chip button,html[data-theme="night"] .clean-calendar .absence-chip button{color:#eaf4ff!important;border-color:#537089!important;background:#173149!important}

html[data-theme="night"] .support-kpis a,html[data-theme="night"] .support-control-card,html[data-theme="night"] .support-table-card{
 background:var(--theme-surface)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important;box-shadow:none!important}
html[data-theme="night"] .support-kpis span{color:var(--theme-muted)!important}

html[data-theme="night"] .kanban .column{background:var(--theme-surface-2)!important;border:1px solid var(--theme-border)!important;color:var(--theme-text)!important}
html[data-theme="night"] .kanban .column h3{color:var(--theme-text)!important}
html[data-theme="night"] .kanban .column h3 span{background:#173149!important;color:#a7f3d0!important}
html[data-theme="night"] .kanban .deal{background:var(--theme-surface)!important;border:1px solid var(--theme-border)!important;color:var(--theme-text)!important;box-shadow:none!important}
html[data-theme="night"] .kanban::-webkit-scrollbar-track{background:#0a1a2a}html[data-theme="night"] .kanban::-webkit-scrollbar-thumb{background:#36536c;border-radius:8px}

html[data-theme="night"] .ci-filters,html[data-theme="night"] .ci-form,html[data-theme="night"] .ci-kpis>div,html[data-theme="night"] .ci-card{
 background:var(--theme-surface)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important}
html[data-theme="night"] .ci-kpis small,html[data-theme="night"] .ci-note{color:var(--theme-muted)!important}
html[data-theme="night"] .ci-kpis strong,html[data-theme="night"] .ci-card h2{color:var(--theme-text)!important}
html[data-theme="night"] .ci-table th{background:var(--theme-surface-3)!important;color:#eaf4ff!important;border-color:var(--theme-border)!important}
html[data-theme="night"] .ci-table td{background:var(--theme-surface)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}
html[data-theme="night"] .ci-table tbody tr:nth-child(even) td{background:#0f2437!important}
html[data-theme="night"] .ci-period a{border-color:#60758b!important;color:#a7f3d0!important}
html[data-theme="night"] .ci-period a.active{background:var(--ez-green)!important;border-color:var(--ez-green)!important;color:#fff!important}
html[data-theme="night"] .ci-bars{border-color:#4a647a!important}
html[data-theme="night"] .ci-bar[title]{color:var(--theme-text)}

/* Remaining positive/action controls use EZ-BMS green; neutral and destructive controls are intentionally excluded. */
main .support-actions button:not(.secondary):not(.danger),main .support-actions .button:not(.secondary):not(.danger),
main .filter-run button[type="submit"],main .ci-filters button,main .ci-form button,
main a.button:not(.secondary):not(.danger),main a.btn.primary{background:var(--ez-green)!important;border-color:var(--ez-green)!important;color:#fff!important}
main .support-actions button:not(.secondary):not(.danger):hover,main .filter-run button[type="submit"]:hover,main .ci-filters button:hover,main .ci-form button:hover,
main a.button:not(.secondary):not(.danger):hover,main a.btn.primary:hover{background:var(--ez-green-hover)!important;border-color:var(--ez-green-hover)!important}


/* ===== EZ-BMS v6.1 Customer Success ===== */
.cs-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.cs-kpis>div{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#cbd5e1);border-radius:12px;padding:14px 16px}.cs-kpis small{display:block;color:var(--theme-muted,#64748b);font-weight:700;text-transform:uppercase;font-size:11px;letter-spacing:.05em}.cs-kpis b{display:block;font-size:24px;margin-top:5px}.cs-table-card{overflow:hidden}.cs-table{width:100%;border-collapse:collapse;min-width:1050px}.cs-table th,.cs-table td{border:1px solid var(--theme-border,#cbd5e1);padding:10px 12px;text-align:left;vertical-align:top}.cs-table th{background:var(--theme-surface-2,#f1f5f9);font-size:12px}.cs-table td small{display:block;margin-top:3px}.cs-health{display:inline-block;padding:4px 9px;border-radius:999px;font-weight:800;font-size:12px}.cs-health.healthy{background:#dcfce7;color:#166534}.cs-health.watch{background:#fef3c7;color:#92400e}.cs-health.at-risk{background:#fee2e2;color:#991b1b}.cs-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}.cs-grid>.platform-card{padding:18px}.cs-signal{display:flex;justify-content:space-between;gap:18px;border:1px solid var(--theme-border,#cbd5e1);border-radius:9px;padding:10px 12px;margin:8px 0}.cs-signal.good{border-left:4px solid var(--ez-green,#059669)}.cs-plan,.cs-renewal{border:1px solid var(--theme-border,#cbd5e1);border-radius:10px;padding:12px;margin:10px 0}.cs-plan small,.cs-renewal small{display:block;margin:3px 0}.cs-progress{height:8px;border-radius:999px;background:var(--theme-surface-3,#e2e8f0);overflow:hidden;margin:9px 0}.cs-progress span{display:block;height:100%;background:var(--ez-green,#059669)}.cs-inline{display:flex;gap:8px;align-items:center}.cs-inline input,.cs-inline select{max-width:150px}.cs-renewal-focus{display:grid;gap:5px}.cs-renewal-focus strong{font-size:26px}.table-scroll{overflow:auto}@media(max-width:900px){.cs-kpis,.cs-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.cs-kpis,.cs-grid{grid-template-columns:1fr}}
html[data-theme="night"] .cs-kpis>div,html[data-theme="night"] .cs-grid>.platform-card,html[data-theme="night"] .cs-plan,html[data-theme="night"] .cs-renewal,html[data-theme="night"] .cs-signal{background:var(--theme-surface)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important}html[data-theme="night"] .cs-table th{background:var(--theme-surface-3)!important;color:var(--theme-text)!important}html[data-theme="night"] .cs-table td{background:var(--theme-surface)!important;color:var(--theme-text)!important}html[data-theme="night"] .cs-health.healthy{background:#123b2b;color:#a7f3d0}html[data-theme="night"] .cs-health.watch{background:#3b2d10;color:#fde68a}html[data-theme="night"] .cs-health.at-risk{background:#421d24;color:#fecdd3}

/* V6.1.2 Login & Session context switching */
.login-context-switch{margin-top:18px;padding-top:16px;border-top:1px solid var(--border,#d7e0e8);font-size:13px;text-align:center;color:var(--muted,#667788)}
.login-context-switch a{font-weight:800;text-decoration:none;color:#16844b}
.login-context-switch a:hover{text-decoration:underline}
.platform-context-switch{border-top-color:#24445c;color:#8faabd}
.platform-context-switch a{color:#65d895}

/* V6.1.3 Help Centre user guides */
.help-guide-copy{padding:28px 32px;line-height:1.65}.help-guide-copy h2{margin:26px 0 8px;font-size:1.15rem;border-bottom:1px solid var(--border,#d8dee8);padding-bottom:7px}.help-guide-copy h2:first-child{margin-top:0}.help-guide-copy p{margin:0 0 14px}.help-steps{margin:8px 0 18px 24px;padding-left:16px}.help-steps li{margin:7px 0;padding-left:4px}.help-card p{min-height:2.7em}@media(max-width:700px){.help-guide-copy{padding:20px}}

/* V6.1.4 attendance intelligence */
.attendance-dashboard-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:12px 0;padding:12px;border:1px solid var(--border,#d8e0ea);border-radius:10px}.attendance-dashboard-filters label{min-width:150px;font-size:12px;font-weight:700}.attendance-dashboard-filters select{display:block;width:100%;margin-top:4px}.attendance-live-totals{display:flex;gap:8px;margin-left:auto}.attendance-live-totals span{padding:7px 10px;border:1px solid var(--border,#d8e0ea);border-radius:8px}.report-filter-bar{display:flex;gap:10px;flex-wrap:wrap;align-items:end}.report-filter-bar label{min-width:145px}

/* V6.1.5 Platform Users & Permissions */
.platform-role-guide{padding:18px 20px;margin:18px 0}.platform-role-guide>strong{display:block;margin-bottom:12px}.platform-role-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.platform-role-grid span{display:grid;gap:4px;padding:12px;background:#0a1d2d;border:1px solid #24445c;border-radius:9px}.platform-role-grid small,.platform-user-form small{color:#8faabd}.platform-you{display:inline-block;margin-left:8px;padding:2px 7px;border-radius:10px;background:#123d2b;color:#72f0ad}.platform-user-form{max-width:980px;padding:22px}.platform-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.platform-user-form label{display:grid;gap:7px;font-weight:700}.platform-permission-explain{margin-top:14px;padding:12px 14px;border:1px solid #24445c;background:#0a1d2d;border-radius:9px}.platform-permission-explain p{margin:7px 0;color:#b7ccda}.platform-active-check{display:flex!important;align-items:center;gap:9px!important;margin-top:15px}.platform-active-check input{width:auto}.platform-form-actions{display:flex;gap:10px;margin-top:18px}@media(max-width:900px){.platform-role-grid,.platform-form-grid{grid-template-columns:1fr}}
/* V6.2 Notification Centre + Platform Operations */
.notification-tabs{display:flex;gap:6px;padding:10px 14px;border-bottom:1px solid var(--border,#d8dee9)}.notification-tabs button{border:1px solid var(--border,#d8dee9);background:transparent;border-radius:999px;padding:6px 10px}.notification-tabs button.active{font-weight:700}.notification-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.notification-meta{text-transform:uppercase;letter-spacing:.06em;font-size:10px}.notification-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.notification-actions form{margin:0}.notification-actions button{font-size:11px;padding:4px 7px;border:1px solid var(--border,#d8dee9);border-radius:6px;background:transparent}.notification-settings-card{padding:24px;max-width:900px}.profile-password-block{border:1px solid var(--border,#d8dee9);border-radius:10px;padding:16px;margin:16px 0}

/* V6.2.1 Notification Centre user-settings visibility hotfix */
.notification-head-actions{display:flex;align-items:center;gap:10px}.notification-settings-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:7px 10px!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:8px!important;color:#fff!important;background:rgba(255,255,255,.08)!important;text-decoration:none!important;font-size:11px!important;font-weight:800!important}.notification-settings-link:hover{background:rgba(255,255,255,.16)!important}.notification-close{color:#fff!important;background:rgba(255,255,255,.12)!important;border-radius:9px!important;width:38px!important;height:38px!important;font-size:18px!important}.notification-tabs button{color:#17324f!important;background:#fff!important;border-color:#d6e0ec!important;font-weight:700!important}.notification-tabs button.active{color:#17324f!important;background:#eef5ff!important;border-color:#b8cde6!important}.notification-drawer-footer{flex:0 0 auto;padding:12px 14px;border-top:1px solid #dfe7f0;background:#f7f9fc;display:grid;gap:7px}.notification-drawer-footer a{display:block;padding:9px 11px;border:1px solid #cfdbea;border-radius:8px;background:#fff;color:#17324f!important;text-decoration:none;font-size:12px;font-weight:800}.notification-drawer-footer a:hover{background:#eef5ff}.notification-empty{color:#6f827e!important;text-align:center;padding:34px 18px!important}

/* V6.2.2 Inline Notification Config */
.notification-config-button{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border:1px solid rgba(255,255,255,.35);border-radius:8px;color:#fff;background:rgba(255,255,255,.08);font-size:11px;font-weight:800;cursor:pointer}.notification-config-button:hover{background:rgba(255,255,255,.16)}
.notification-panel{display:none;min-height:0;flex:1;flex-direction:column}.notification-panel.active{display:flex}.notification-config-panel{overflow-y:auto;background:#f7f9fc}.notification-config-form{padding:14px;display:flex;flex-direction:column;gap:10px}.notification-config-intro{font-size:12px;color:#53677d;padding:4px 2px 8px}.notification-config-form details{border:1px solid #d7e1ed;border-radius:10px;background:#fff;overflow:hidden}.notification-config-form summary{cursor:pointer;padding:12px 13px;font-size:12px;font-weight:900;color:#17324f;list-style:none}.notification-config-form summary::-webkit-details-marker{display:none}.notification-config-form summary:after{content:'+';float:right}.notification-config-form details[open] summary:after{content:'−'}.notification-config-options{border-top:1px solid #e5ebf2;padding:4px 12px}.notification-config-options label{display:flex;align-items:center;gap:10px;padding:9px 2px;border-bottom:1px solid #edf1f5;font-size:12px;color:#243c54}.notification-config-options label:last-child{border-bottom:0}.notification-config-options input[type=checkbox]{width:17px;height:17px;accent-color:#0aa47a}.notification-config-options small{display:block;color:#7a8998;font-size:9px;margin-top:2px}.notification-config-options .required-notification{opacity:.8}.notification-config-actions{position:sticky;bottom:-14px;background:#f7f9fc;padding:10px 0 4px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.notification-config-actions .btn{margin:0;width:100%;font-size:11px;padding:9px 8px}
body.night-mode .notification-config-panel,body.dark-mode .notification-config-panel{background:#071725}.night-mode .notification-config-form details,.dark-mode .notification-config-form details{background:#0d2438;border-color:#28445d}.night-mode .notification-config-form summary,.dark-mode .notification-config-form summary,.night-mode .notification-config-options label,.dark-mode .notification-config-options label{color:#eaf4ff}.night-mode .notification-config-options,.dark-mode .notification-config-options{border-color:#28445d}.night-mode .notification-config-options label,.dark-mode .notification-config-options label{border-color:#1e3a51}.night-mode .notification-config-intro,.dark-mode .notification-config-intro{color:#a9bdd0}.night-mode .notification-config-actions,.dark-mode .notification-config-actions{background:#071725}
/* V6.2.5 Company workspace, lifecycle and notification contrast */
.notification-item{background:#fff!important;border:1px solid #cbd8e6!important}.notification-copy strong{color:#102a43!important}.notification-copy>small:not(.notification-meta),.notification-copy em{color:#4d6278!important}.notification-meta{color:#47627d!important;font-weight:800}.notification-actions button{background:#fff!important;color:#17324f!important;border:1px solid #9fb3c8!important;font-weight:800!important}.notification-actions form:first-child button{background:#0b7a5c!important;color:#fff!important;border-color:#0b7a5c!important}.notification-actions button:hover{filter:brightness(.96)}
.night-mode .notification-item,.dark-mode .notification-item{background:#0d2438!important;border-color:#35516a!important}.night-mode .notification-copy strong,.dark-mode .notification-copy strong{color:#f1f7ff!important}.night-mode .notification-copy>small:not(.notification-meta),.dark-mode .notification-copy>small:not(.notification-meta),.night-mode .notification-copy em,.dark-mode .notification-copy em{color:#b8c9d9!important}.night-mode .notification-meta,.dark-mode .notification-meta{color:#9ec5e8!important}.night-mode .notification-actions button,.dark-mode .notification-actions button{background:#17324a!important;color:#eef7ff!important;border-color:#48647c!important}.night-mode .notification-actions form:first-child button,.dark-mode .notification-actions form:first-child button{background:#0b8d68!important;color:#fff!important}
.company-info-head-actions{display:flex;align-items:center;gap:8px}.company-locked-form input:disabled,.company-locked-form select:disabled,.company-locked-form textarea:disabled{opacity:1!important;color:#243c54!important;background:#f6f8fb!important;border-color:#d7e0ea!important;cursor:default}.company-edit-actions{display:flex;gap:8px}.company-edit-actions[hidden]{display:none!important}.note-edit{margin-top:8px;border-top:1px solid #e1e8f0;padding-top:7px}.note-edit summary{cursor:pointer;font-size:11px;font-weight:800;color:#315f88}.note-edited{display:block;color:#6d7e8f;font-style:italic;margin-top:4px}.lifecycle-track{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 16px}.lifecycle-step{padding:7px 10px;border:1px solid #ccd9e6;border-radius:999px;background:#f6f8fb;color:#52687d;font-size:11px;font-weight:800}.lifecycle-step.current{background:#0b7a5c;color:#fff;border-color:#0b7a5c}.lifecycle-step.milestone{border-width:2px}.lifecycle-move{display:flex;gap:10px;align-items:end}.lifecycle-move label{flex:1}.lifecycle-admin-list{display:grid;gap:8px;margin:14px 0}.lifecycle-admin-row{display:grid;grid-template-columns:36px minmax(180px,1.4fr) minmax(130px,.7fr) auto auto auto;gap:10px;align-items:center;padding:10px;border:1px solid #d7e1ed;border-radius:9px}.lifecycle-admin-row label{font-size:11px;white-space:nowrap}.stage-order{font-weight:900;text-align:center}.night-mode .company-locked-form input:disabled,.night-mode .company-locked-form select:disabled,.night-mode .company-locked-form textarea:disabled,.dark-mode .company-locked-form input:disabled,.dark-mode .company-locked-form select:disabled,.dark-mode .company-locked-form textarea:disabled{background:#10283c!important;color:#eaf4ff!important;border-color:#35516a!important}.night-mode .lifecycle-step,.dark-mode .lifecycle-step{background:#10283c;color:#c5d5e5;border-color:#35516a}.night-mode .lifecycle-step.current,.dark-mode .lifecycle-step.current{background:#0b8d68;color:#fff}.night-mode .lifecycle-admin-row,.dark-mode .lifecycle-admin-row{border-color:#35516a}
@media(max-width:900px){.lifecycle-admin-row{grid-template-columns:32px 1fr}.lifecycle-admin-row>*{min-width:0}.lifecycle-move{align-items:stretch;flex-direction:column}}

/* V6.2.6 Company lifecycle placement + collapsed timeline */
.lifecycle-card-compact{overflow:hidden}.lifecycle-current,.lifecycle-next{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border:1px solid #d7e1ed;border-radius:9px;background:#f7f9fc;margin-top:9px}.lifecycle-current strong,.lifecycle-next strong{font-size:15px;color:#173653}.lifecycle-current small,.lifecycle-next small{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:#668099}.lifecycle-current span{font-size:11px;color:#6d7e8f}.lifecycle-next{margin-top:7px}.lifecycle-next-form{margin-top:8px}.lifecycle-next-form button{width:100%}.lifecycle-change,.lifecycle-journey{margin-top:8px;border:1px solid #cbd9e7;border-radius:9px;background:#fff}.lifecycle-change>summary,.lifecycle-journey>summary{cursor:pointer;list-style:none;padding:10px 12px;font-size:12px;font-weight:900;color:#175d9c;display:flex;justify-content:space-between;align-items:center}.lifecycle-change>summary::-webkit-details-marker,.lifecycle-journey>summary::-webkit-details-marker{display:none}.lifecycle-change>summary:after,.lifecycle-journey>summary:after{content:'⌄';font-size:16px}.lifecycle-change[open]>summary:after,.lifecycle-journey[open]>summary:after{transform:rotate(180deg)}.lifecycle-change .workspace-form,.lifecycle-journey .lifecycle-track,.lifecycle-journey .workspace-legacy-label{margin:0 10px 10px}.lifecycle-card-compact .lifecycle-track{gap:5px}.lifecycle-card-compact .lifecycle-step{font-size:10px;padding:6px 8px}.timeline-collapsible{padding:0!important;overflow:hidden}.timeline-collapsible>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;padding:15px 17px}.timeline-collapsible>summary::-webkit-details-marker{display:none}.timeline-collapsible>summary h2{margin:2px 0 0}.timeline-chevron{font-size:24px;font-weight:800;color:#315f88;line-height:1;transition:transform .15s ease}.timeline-collapsible[open] .timeline-chevron{transform:rotate(180deg)}.timeline-collapsible-body{padding:0 17px 15px;border-top:1px solid #dbe4ed}.night-mode .lifecycle-current,.night-mode .lifecycle-next,.dark-mode .lifecycle-current,.dark-mode .lifecycle-next,.night-mode .lifecycle-change,.night-mode .lifecycle-journey,.dark-mode .lifecycle-change,.dark-mode .lifecycle-journey{background:#10283c;border-color:#35516a}.night-mode .lifecycle-current strong,.night-mode .lifecycle-next strong,.dark-mode .lifecycle-current strong,.dark-mode .lifecycle-next strong{color:#eaf4ff}.night-mode .lifecycle-change>summary,.night-mode .lifecycle-journey>summary,.dark-mode .lifecycle-change>summary,.dark-mode .lifecycle-journey>summary{color:#8dc8ff}.night-mode .timeline-collapsible-body,.dark-mode .timeline-collapsible-body{border-color:#35516a}

/* V6.2.7 Schedule automation + Sales Management Centre */
.auto-clockout-settings{border-left:4px solid #0b8d68}.sales-team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px;margin:14px 0}.sales-agent-card{text-decoration:none;color:inherit;padding:16px}.sales-agent-card h3{margin:3px 0 12px}.sales-agent-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.sales-agent-kpis span{border:1px solid var(--theme-border,#d7e1ed);border-radius:8px;padding:8px;font-size:10px;color:var(--theme-muted,#64748b)}.sales-agent-kpis b{display:block;font-size:18px;color:var(--theme-text,#17324f)}.sales-management-head{display:flex;justify-content:space-between;gap:14px;align-items:start}.sales-exception-links{display:flex;gap:7px;flex-wrap:wrap}.sales-management-table{width:100%;border-collapse:collapse;min-width:1100px;margin-top:14px}.sales-management-table th,.sales-management-table td{border:1px solid var(--theme-border,#ccd8e5);padding:9px 10px;text-align:left;vertical-align:top}.sales-management-table th{background:var(--theme-surface-2,#f1f5f9);font-size:11px}.sales-management-table td small{display:block;margin-top:3px}.sales-assign{display:flex;gap:6px}.sales-assign select{min-width:140px}.sales-overdue{font-weight:900;color:#b42318}.night-mode .sales-agent-card,.dark-mode .sales-agent-card,.night-mode .sales-management>section,.dark-mode .sales-management>section{background:var(--theme-surface)!important;color:var(--theme-text)!important}.night-mode .sales-management-table th,.dark-mode .sales-management-table th{background:var(--theme-surface-3)!important}.night-mode .sales-management-table td,.dark-mode .sales-management-table td{background:var(--theme-surface)!important}@media(max-width:760px){.sales-management-head{flex-direction:column}.sales-agent-kpis{grid-template-columns:repeat(2,1fr)}}
/* V6.3.0 Message Centre V2 */
.msg-v2-head{display:flex;justify-content:space-between;align-items:end}.msg-quick-create{display:none;margin:0 0 14px;padding:12px;border:1px solid #cbd9e8;border-radius:12px;background:#fff}.msg-quick-create.open{display:block}.msg-quick-create form{display:flex;gap:10px;align-items:center}.msg-quick-create input{padding:9px;border:1px solid #bfd0e3;border-radius:8px}.teams-shell{display:grid;grid-template-columns:285px minmax(0,1fr);height:calc(100vh - 205px);min-height:590px;border:1px solid #cbd9e8;border-radius:14px;overflow:hidden;background:#fff}.teams-rail{background:#f5f7fb;border-right:1px solid #d6e0eb;overflow:auto;padding:12px}.teams-rail-title{text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:900;color:#55708f;padding:8px}.teams-title-space{margin-top:14px}.teams-person{display:flex;gap:10px;align-items:center;padding:9px;border-radius:9px;text-decoration:none;color:#102a43}.teams-person:hover,.teams-person.active,.channel-link.active{background:#e3efff}.teams-person span:last-child{display:flex;flex-direction:column}.teams-person small,.rail-empty{color:#71849a;font-size:11px}.avatar-dot{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#dbeafe;color:#174ea6;font-weight:900;flex:0 0 32px}.team-block{margin:4px 0 12px}.team-name{font-weight:900;padding:7px 8px;display:flex;justify-content:space-between}.team-name small{font-size:9px;color:#7a8795}.channel-link{display:block;padding:7px 12px;margin:2px 0;border-radius:7px;text-decoration:none;color:#334e68}.team-admin{margin:5px 8px}.team-admin summary{font-size:10px;color:#60758a;cursor:pointer}.team-admin form{display:flex;margin-top:5px}.team-admin input,.team-admin select{min-width:0;flex:1;padding:5px;border:1px solid #cad8e6;border-radius:6px}.team-admin button{padding:4px 8px}.teams-conversation{display:flex;flex-direction:column;min-width:0;background:#fff}.conversation-head{padding:16px 20px;border-bottom:1px solid #dbe4ee;display:flex;justify-content:space-between;align-items:center}.conversation-head h2{margin:0}.conversation-head p{margin:3px 0 0;color:#6b7f93}.team-pill{background:#e8f0fe;color:#174ea6;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:800}.conversation-feed{flex:1;overflow:auto;padding:18px 24px}.channel-post{display:flex;gap:11px;padding:12px 4px;border-bottom:1px solid #edf1f5}.post-main{min-width:0;flex:1}.post-meta{display:flex;gap:8px;align-items:baseline}.post-meta time,.post-meta small{font-size:10px;color:#7d8b99}.post-body{white-space:pre-wrap;margin:5px 0 7px;line-height:1.45}.post-actions{display:flex;gap:5px}.post-actions form{margin:0}.post-actions button{border:0;background:transparent;color:#42658a;padding:3px 7px;cursor:pointer;font-size:11px}.thread-reply{margin:8px 0 4px 18px;padding:8px 10px;border-left:3px solid #d5e2f0;background:#f8fafc;border-radius:0 8px 8px 0}.thread-reply small{color:#7b8b9b}.inline-reply{display:none;gap:6px;margin:7px 0}.inline-reply.open{display:flex}.inline-reply input{flex:1;padding:8px;border:1px solid #cbd9e8;border-radius:7px}.teams-composer{padding:14px 20px;border-top:1px solid #dbe4ee;background:#fafcff}.teams-composer textarea{width:100%;box-sizing:border-box;border:1px solid #aebfd2;border-radius:10px;padding:11px;resize:vertical;font:inherit}.teams-composer>div{display:flex;justify-content:space-between;align-items:center;margin-top:7px;color:#708397;font-size:10px}.teams-composer button,.msg-quick-create button{background:#0f9d58;color:#fff;border:0;border-radius:8px;padding:9px 16px;font-weight:800}.direct-bubble{max-width:70%;margin:8px 0;padding:10px 12px;border-radius:12px;background:#f0f4f8}.direct-bubble.mine{margin-left:auto;background:#e8f0fe}.direct-bubble small{display:block;margin-top:4px;color:#718096}.conversation-empty,.message-welcome{margin:auto;text-align:center;color:#61758a}.message-welcome{padding:40px}.message-welcome h2{color:#102a43}.welcome-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:22px}.welcome-grid div{border:1px solid #d8e2ec;border-radius:12px;padding:18px}.welcome-grid b,.welcome-grid span{display:block}.welcome-grid b{color:#174ea6;margin-bottom:6px}
body.night-mode .teams-shell,body.night-mode .teams-conversation,body.night-mode .msg-quick-create{background:#10263b;border-color:#35506b;color:#eaf2fa}body.night-mode .teams-rail{background:#0b1d2e;border-color:#35506b}body.night-mode .teams-person,body.night-mode .channel-link{color:#dce9f5}body.night-mode .teams-person:hover,body.night-mode .teams-person.active,body.night-mode .channel-link.active{background:#173b5e}body.night-mode .conversation-head,body.night-mode .teams-composer,body.night-mode .channel-post{border-color:#35506b}body.night-mode .teams-composer{background:#0d2135}body.night-mode .teams-composer textarea,body.night-mode .inline-reply input{background:#102b44;color:#fff;border-color:#46627d}body.night-mode .thread-reply{background:#132f49;border-color:#4d76a2}body.night-mode .direct-bubble{background:#17334e}body.night-mode .direct-bubble.mine{background:#174a7c}body.night-mode .message-welcome h2{color:#fff}
@media(max-width:850px){.teams-shell{grid-template-columns:220px 1fr}.welcome-grid{grid-template-columns:1fr}}@media(max-width:650px){.teams-shell{display:block;height:auto}.teams-rail{max-height:300px;border-right:0;border-bottom:1px solid #d6e0eb}.teams-conversation{min-height:560px}}

/* V6.3.1 Read-only sales stage indicator */
.company-section-nav-with-stage{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important}.company-nav-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.sales-stage-indicator{margin-left:auto;flex:0 0 auto;min-width:132px;padding:6px 14px;border:1px solid rgba(0,0,0,.13);border-radius:8px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;line-height:1.05;box-shadow:0 1px 2px rgba(15,35,55,.08);cursor:default}.sales-stage-indicator span{font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.07em;opacity:.78}.sales-stage-indicator strong{font-size:13px;margin-top:3px}.sales-stage-blue{background:#d2e3fc;color:#174ea6;border-color:#aecbfa}.sales-stage-yellow{background:#fef7e0;color:#8a4b00;border-color:#fdd663}.sales-stage-green{background:#ceead6;color:#0d652d;border-color:#81c995}.sales-stage-red{background:#fce8e6;color:#a50e0e;border-color:#f6aea9}.sales-stage-grey{background:#e8eaed;color:#3c4043;border-color:#bdc1c6}html[data-theme="night"] .sales-stage-blue,.night-mode .sales-stage-blue,.dark-mode .sales-stage-blue{background:#174ea6;color:#e8f0fe;border-color:#669df6}html[data-theme="night"] .sales-stage-yellow,.night-mode .sales-stage-yellow,.dark-mode .sales-stage-yellow{background:#7a4d00;color:#fff3c4;border-color:#f9ab00}html[data-theme="night"] .sales-stage-green,.night-mode .sales-stage-green,.dark-mode .sales-stage-green{background:#0d652d;color:#e6f4ea;border-color:#34a853}html[data-theme="night"] .sales-stage-red,.night-mode .sales-stage-red,.dark-mode .sales-stage-red{background:#8c1d18;color:#fce8e6;border-color:#ea4335}html[data-theme="night"] .sales-stage-grey,.night-mode .sales-stage-grey,.dark-mode .sales-stage-grey{background:#3c4043;color:#f1f3f4;border-color:#5f6368}@media(max-width:1100px){.company-section-nav-with-stage{align-items:flex-start!important;flex-wrap:wrap!important}.sales-stage-indicator{margin-left:0;margin-top:2px}}
/* V6.3.2 Managers & Admin campaign/lead separation */
.manager-view-tabs{display:flex;gap:10px;margin:0 0 16px;flex-wrap:wrap}.company-sales-history{border:1px solid var(--border,#d7dee8);border-radius:10px;padding:10px 12px;margin-top:10px;background:rgba(127,127,127,.06)}.company-sales-history>div{margin-top:4px}.sales-management-table td small{display:block;margin-top:3px}.manager-view-tabs .btn.primary{font-weight:700}

/* V6.3.3 Message Centre welcome actions */
.welcome-grid .welcome-action{appearance:none;width:100%;font:inherit;text-align:center;border:1px solid #c7d7e8;border-radius:12px;padding:18px;background:#fff;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease}.welcome-grid .welcome-action:hover,.welcome-grid .welcome-action:focus-visible{border-color:#174ea6;box-shadow:0 5px 16px rgba(23,78,166,.14);transform:translateY(-1px);outline:none}.welcome-grid .welcome-action b,.welcome-grid .welcome-action span{display:block}.welcome-grid .welcome-action b{color:#174ea6;margin-bottom:6px}.welcome-grid .welcome-action span{color:#61758a;line-height:1.45}.welcome-action-hint{min-height:20px;margin-top:14px;font-size:12px;color:#49647f;font-weight:700}body.night-mode .welcome-grid .welcome-action{background:#102b44;border-color:#35506b}body.night-mode .welcome-grid .welcome-action:hover,body.night-mode .welcome-grid .welcome-action:focus-visible{border-color:#6ea8ff;box-shadow:0 5px 16px rgba(0,0,0,.28)}body.night-mode .welcome-grid .welcome-action b{color:#8bb8ff}body.night-mode .welcome-grid .welcome-action span,body.night-mode .welcome-action-hint{color:#c3d4e5}

/* V6.3.5 Message Centre layout + company file upload hotfix */
.teams-shell>.teams-rail{position:static!important;display:block!important;width:auto!important;height:auto!important;margin:0!important;box-sizing:border-box!important;padding:12px!important}
.teams-shell>.teams-conversation{position:static!important;display:flex!important;width:auto!important;height:auto!important;margin:0!important;max-width:none!important;padding:0!important;box-sizing:border-box!important}
@media(max-width:650px){.teams-shell>.teams-rail{width:100%!important}.teams-shell>.teams-conversation{width:100%!important}}

/* V6.3.7 EZ-BMS brand and sign-in refresh */
.ezcrm-header-logo{width:350px!important;max-width:min(350px,22vw)!important;height:58px!important;object-fit:contain;object-position:left center}.ezcrm-header-brand{min-width:235px}
.login-page-body{margin:0!important;background:#eef4f8!important}.login-page-body>.container,.login-page-body>main{max-width:none!important;margin:0!important;padding:0!important}
.ez-auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(520px,1.15fr) minmax(440px,.85fr);font-family:inherit}.ez-auth-story{display:flex;align-items:center;position:relative;overflow:hidden;padding:64px clamp(44px,6vw,100px);color:#fff;background:radial-gradient(circle at 15% 12%,rgba(30,154,255,.30),transparent 31%),linear-gradient(145deg,#06182b 0%,#0a2b4e 58%,#0c3c65 100%)}.ez-auth-story:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-190px;bottom:-190px;border:70px solid rgba(53,168,255,.08)}.ez-auth-story-inner{position:relative;z-index:1;max-width:720px}.ez-auth-lockup{display:flex;align-items:center;gap:16px}.ez-auth-mark{width:66px;height:66px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#12b8ff,#1761f2);font-size:31px;font-weight:900;color:#fff;box-shadow:0 12px 30px rgba(0,125,255,.24)}.ez-auth-name{font-size:35px;line-height:1;font-weight:900;letter-spacing:-.04em;color:#fff}.ez-auth-name span{color:#35a8ff}.ez-auth-product{font-size:13px;color:#d2e3f0;margin-top:6px}.ez-auth-straphline{display:flex;align-items:center;gap:13px;margin:32px 0 40px;font-size:11px;font-weight:800;letter-spacing:.18em;color:#cce2f2}.ez-auth-straphline i{display:inline-block;width:1px;height:14px;background:#35a8ff}.ez-auth-story h1{font-size:clamp(44px,5vw,72px);line-height:1.02;letter-spacing:-.05em;margin:0 0 24px;color:#fff}.ez-auth-story h1 span{color:#55b7ff}.ez-auth-story p{font-size:18px;line-height:1.7;color:#c8dceb;max-width:640px}.ez-auth-capabilities{display:flex;flex-wrap:wrap;gap:10px;margin-top:34px}.ez-auth-capabilities span{padding:9px 12px;border:1px solid rgba(130,196,242,.22);background:rgba(255,255,255,.055);border-radius:8px;font-size:12px;color:#e5f2fb}.ez-auth-panel{display:flex;align-items:center;justify-content:center;padding:44px;background:linear-gradient(145deg,#f7fafc,#e8f0f5)}.ez-auth-card{width:min(100%,490px);background:#fff;border:1px solid #dbe5ec;border-radius:22px;padding:44px 46px;box-shadow:0 25px 70px rgba(13,43,67,.14)}.ez-auth-mobile-brand{display:none}.ez-auth-eyebrow{font-size:11px;letter-spacing:.16em;font-weight:900;color:#1776c8;margin-bottom:9px}.ez-auth-card h2{font-size:31px;margin:0 0 8px;color:#10263b}.ez-auth-subtitle{color:#687b8b;margin:0 0 28px}.ez-auth-form{display:grid;gap:8px}.ez-auth-form label{font-size:13px;font-weight:750;color:#294052;margin-top:9px}.ez-auth-form input:not([type=checkbox]){width:100%;box-sizing:border-box;border:1px solid #cddae4;border-radius:9px;padding:13px 14px;background:#fff;color:#142b3d;font-size:14px;outline:none}.ez-auth-form input:focus{border-color:#188fe8;box-shadow:0 0 0 3px rgba(24,143,232,.12)}.ez-auth-password{position:relative}.ez-auth-password input{padding-right:64px!important}.ez-auth-show{position:absolute;right:7px;top:6px;border:0;background:#edf6fd;color:#176fab;border-radius:6px;padding:7px 9px;font-weight:700;cursor:pointer}.ez-auth-remember{display:flex!important;align-items:center;gap:7px;font-weight:500!important;margin:7px 0!important}.ez-auth-submit{margin-top:10px;border:0;border-radius:9px;padding:14px 17px;background:#079b6b;color:#fff;font-weight:800;font-size:14px;display:flex;justify-content:space-between;cursor:pointer}.ez-auth-submit:hover{filter:brightness(.96)}.ez-auth-secure{margin-top:24px;padding:14px;border:1px solid #d7e9f7;background:#f3f9fe;border-radius:9px}.ez-auth-secure strong,.ez-auth-secure span{display:block}.ez-auth-secure strong{font-size:12px;color:#166cae}.ez-auth-secure span{font-size:11px;color:#657d8f;margin-top:3px}.ez-auth-help{text-align:center;color:#7d8d99;font-size:11px;margin-top:20px}
.ez-platform-auth-body{margin:0;min-height:100vh;background:#061522;color:#eaf4fb;font-family:Arial,sans-serif;display:grid;place-items:center}.ez-platform-auth-shell{width:min(1100px,calc(100% - 48px));display:grid;grid-template-columns:1.05fr .95fr;border:1px solid #1a3c58;border-radius:24px;overflow:hidden;box-shadow:0 35px 90px #0008}.ez-platform-auth-brand{padding:62px;background:radial-gradient(circle at 10% 5%,rgba(31,151,255,.25),transparent 35%),linear-gradient(145deg,#082039,#0a3154);display:flex;flex-direction:column;justify-content:center}.ez-platform-divider{width:54px;height:2px;background:#36a9ff;margin:34px 0}.ez-platform-label{font-size:13px;letter-spacing:.18em;color:#8bb4d2;line-height:1.7}.ez-platform-label strong{font-size:25px;letter-spacing:.06em;color:#fff}.ez-platform-auth-brand>p{max-width:480px;color:#afc8da;line-height:1.65}.ez-platform-pill{align-self:flex-start;margin-top:18px;border:1px solid #315775;border-radius:999px;padding:8px 12px;color:#9fc5df;font-size:11px}.ez-platform-auth-card{background:#0c2235;padding:62px}.ez-platform-auth-card h1{font-size:32px;margin:4px 0 8px;color:#fff}.ez-platform-auth-card>p{color:#9eb7ca;margin-bottom:28px}.ez-platform-auth-card form{display:grid;gap:9px}.ez-platform-auth-card label{font-size:12px;font-weight:800;color:#d8e8f3;margin-top:9px}.ez-platform-auth-card input{box-sizing:border-box;width:100%;background:#102b42;color:#fff;border:1px solid #31516a;border-radius:9px;padding:13px 14px;outline:none}.ez-platform-auth-card input:focus{border-color:#35a8ff;box-shadow:0 0 0 3px rgba(53,168,255,.12)}.ez-platform-auth-card button{margin-top:13px;border:0;border-radius:9px;padding:14px 16px;background:#087cbd;color:#fff;font-weight:800;display:flex;justify-content:space-between;cursor:pointer}.ez-platform-security{margin-top:22px;padding-top:18px;border-top:1px solid #24445c;color:#8faabd;font-size:12px}.ez-platform-auth-card .platform-context-switch{margin-top:16px;color:#90aabd}.ez-platform-auth-card .platform-context-switch a{color:#68c3ff}
@media(max-width:1000px){.ez-auth-shell,.ez-platform-auth-shell{grid-template-columns:1fr}.ez-auth-story{padding:42px 34px}.ez-auth-story h1{font-size:44px}.ez-auth-panel{padding:30px 18px}.ez-platform-auth-brand,.ez-platform-auth-card{padding:38px}.ezcrm-header-logo{max-width:220px!important}}
@media(max-width:620px){.ez-auth-story{display:none}.ez-auth-mobile-brand{display:block;margin-bottom:28px}.ez-auth-mobile-brand img{width:100%;max-width:320px;background:#0a2948;border-radius:10px;padding:8px;box-sizing:border-box}.ez-auth-card{padding:32px 24px}.ez-platform-auth-shell{width:calc(100% - 24px)}.ez-platform-auth-brand,.ez-platform-auth-card{padding:28px}.ez-platform-auth-brand .ez-auth-mark{width:52px;height:52px;font-size:25px}.ez-platform-auth-brand .ez-auth-name{font-size:28px}}

/* V6.3.8 Company contact editing + Account Owner Change Log */
.contact-summary{min-width:0;flex:1}.contact-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.contact-edit{position:relative;margin-left:auto}.contact-edit>summary{list-style:none;cursor:pointer;color:#1769aa;font-size:12px;font-weight:800;padding:4px 9px;border:1px solid #bfd1e3;border-radius:7px;background:#f7fbff}.contact-edit>summary::-webkit-details-marker{display:none}.contact-edit[open]>summary{background:#eaf4ff}.contact-edit-form{position:absolute;z-index:30;right:0;top:34px;width:340px;padding:16px;background:#fff;border:1px solid #b9cde0;border-radius:12px;box-shadow:0 16px 38px rgba(15,45,70,.18)}.contact-edit-form label{display:grid;gap:4px;margin-bottom:9px;font-size:11px;font-weight:800}.contact-edit-form input,.contact-edit-form textarea{box-sizing:border-box;width:100%}.contact-edit-actions{display:flex;justify-content:flex-end}.change-log-wrap{display:grid;gap:14px;max-width:1100px;margin:18px auto}.change-log-entry{display:grid;grid-template-columns:120px 1fr;gap:22px;padding:22px;border:1px solid var(--border,#d5e0eb);border-radius:13px;background:var(--card,#fff)}.change-log-version{font-weight:900;color:#1769aa;font-size:15px}.change-log-entry h2{margin:0 0 10px;font-size:18px}.change-log-entry ul{margin:0;padding-left:19px}.change-log-entry li{margin:6px 0;line-height:1.45}body.night-mode .contact-edit>summary{background:#102b44;color:#9fc8ff;border-color:#35506b}body.night-mode .contact-edit-form{background:#0d2438;border-color:#35506b}body.night-mode .change-log-entry{background:#0d2438;border-color:#35506b}@media(max-width:700px){.contact-edit-form{position:fixed;left:16px;right:16px;top:100px;width:auto}.change-log-entry{grid-template-columns:1fr;gap:8px}}

/* V6.3.9 Customer branding visibility hotfix */
/* Customer sign-in only: restore the intended dark product story panel and strong contrast. */
.customer-auth-shell .ez-auth-story{background:radial-gradient(circle at 15% 12%,rgba(30,154,255,.34),transparent 31%),linear-gradient(145deg,#06182b 0%,#0a2b4e 58%,#0c3c65 100%)!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.customer-auth-shell .ez-auth-name{color:#fff!important}.customer-auth-shell .ez-auth-name span{color:#35a8ff!important}.customer-auth-shell .ez-auth-product{color:#d8e9f6!important}.customer-auth-shell .ez-auth-straphline{color:#d7eafb!important}.customer-auth-shell .ez-auth-story h1{color:#fff!important}.customer-auth-shell .ez-auth-story h1 span{color:#55b7ff!important}.customer-auth-shell .ez-auth-story p{color:#d2e4f2!important}.customer-auth-shell .ez-auth-capabilities span{color:#f2f8fd!important;border-color:rgba(139,204,249,.42)!important;background:rgba(255,255,255,.09)!important}
/* Signed-in customer header: override older generic image caps so the EZ-BMS lockup is actually legible. */
.ez-topbar>.ez-topbar-brand.ezcrm-header-brand{min-width:270px!important;width:270px!important;height:64px!important;padding:0 6px!important;overflow:visible!important;flex:0 0 270px!important}
.ez-topbar>.ez-topbar-brand.ezcrm-header-brand>img.ezcrm-header-logo{display:block!important;width:260px!important;max-width:260px!important;height:58px!important;max-height:58px!important;object-fit:contain!important;object-position:left center!important}
@media(max-width:1250px){.ez-topbar>.ez-topbar-brand.ezcrm-header-brand{min-width:220px!important;width:220px!important;flex-basis:220px!important}.ez-topbar>.ez-topbar-brand.ezcrm-header-brand>img.ezcrm-header-logo{width:210px!important;max-width:210px!important}}
@media(max-width:900px){.ez-topbar>.ez-topbar-brand.ezcrm-header-brand{min-width:165px!important;width:165px!important;flex-basis:165px!important}.ez-topbar>.ez-topbar-brand.ezcrm-header-brand>img.ezcrm-header-logo{width:158px!important;max-width:158px!important;height:52px!important;max-height:52px!important}}
@media(max-width:620px){.ez-topbar>.ez-topbar-brand.ezcrm-header-brand{min-width:120px!important;width:120px!important;flex-basis:120px!important}.ez-topbar>.ez-topbar-brand.ezcrm-header-brand>img.ezcrm-header-logo{width:116px!important;max-width:116px!important;height:46px!important;max-height:46px!important}}


/* V6.3.13 compact header utility cluster */
.ez-topbar-right{gap:8px!important}
.ez-topbar-right .message-centre-link,.ez-topbar-right .notification-bell,.ez-topbar-right .theme-toggle.theme-toggle-header{width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:10px!important;background:rgba(255,255,255,.08)!important;color:#fff!important;position:relative!important;overflow:visible!important}
.ez-topbar-right .message-centre-link:hover,.ez-topbar-right .notification-bell:hover{background:rgba(255,255,255,.16)!important}
.ez-topbar-right .topbar-icon-action svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;display:block}
.ez-topbar-right .theme-toggle.theme-toggle-header{background:rgba(5,150,105,.22)!important;border-color:rgba(52,211,153,.55)!important;font-size:19px!important;gap:0!important}
.ez-topbar-right .theme-toggle.theme-toggle-header:hover{background:rgba(5,150,105,.36)!important}
html[data-theme="night"] .ez-topbar-right .theme-toggle.theme-toggle-header{background:rgba(33,150,243,.22)!important;border-color:#55b6ff!important}
.ez-topbar-right .theme-toggle-header .theme-moon{display:none!important}
html[data-theme="night"] .ez-topbar-right .theme-toggle-header .theme-sun{display:none!important}
html[data-theme="night"] .ez-topbar-right .theme-toggle-header .theme-moon{display:inline!important}
.ez-topbar-right .topbar-icon-action::after{content:attr(data-tooltip);position:absolute;top:calc(100% + 9px);left:50%;transform:translateX(-50%) translateY(-2px);padding:6px 9px;border-radius:7px;background:#071b31;color:#fff;border:1px solid rgba(255,255,255,.16);font-size:10px;font-weight:750;line-height:1;white-space:nowrap;opacity:0;pointer-events:none;transition:.12s;z-index:1500;box-shadow:0 8px 20px rgba(0,0,0,.22)}
.ez-topbar-right .topbar-icon-action:hover::after,.ez-topbar-right .topbar-icon-action:focus-visible::after{opacity:1;transform:translateX(-50%) translateY(0)}
.ez-topbar-right .nav-badge,.ez-topbar-right .bell-badge{top:-5px!important;right:-5px!important;min-width:18px!important;height:18px!important;line-height:18px!important;background:#2f8cff!important;color:#fff!important;border:2px solid #0b2b4a!important;box-sizing:content-box!important}
.ez-topbar-right .profile-trigger{height:40px!important;min-height:40px!important;border-radius:10px!important;padding:0 10px 0 5px!important}
@media(max-width:1100px){.ez-topbar-right .message-centre-link,.ez-topbar-right .notification-bell,.ez-topbar-right .theme-toggle.theme-toggle-header{width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important}}
\n\n/* V6.3.14 Global filter and multi-select UI cleanup */
.attendance-dashboard-filters{display:grid!important;grid-template-columns:minmax(210px,1.35fr) minmax(190px,1fr) minmax(145px,.75fr) minmax(175px,1fr) minmax(175px,1fr) auto auto minmax(270px,auto)!important;gap:12px!important;align-items:end!important;padding:16px!important}
.attendance-filter-field{display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important;font-size:12px!important;font-weight:800!important;color:var(--text,#14263d)!important}
.attendance-filter-field>span{display:block!important;line-height:1.2!important}
.attendance-dashboard-filters input[type=search],.attendance-dashboard-filters select,.attendance-employee-filter>summary{box-sizing:border-box!important;width:100%!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0 12px!important;border:1px solid var(--border,#cbd5e1)!important;border-radius:9px!important;background:var(--card,#fff)!important;color:var(--text,#14263d)!important;font:inherit!important;outline:none!important}
.attendance-dashboard-filters input[type=search]:focus,.attendance-dashboard-filters select:focus,.attendance-employee-filter[open]>summary{border-color:#2684ff!important;box-shadow:0 0 0 3px rgba(38,132,255,.13)!important}
.attendance-employee-filter{position:relative!important;min-width:0!important;width:100%!important}.attendance-employee-filter>summary{display:flex!important;align-items:center!important;justify-content:space-between!important;list-style:none!important;cursor:pointer!important}.attendance-employee-filter>summary::-webkit-details-marker{display:none}.attendance-employee-filter>summary i{font-style:normal;color:#52677d}.attendance-employee-menu{top:calc(100% + 6px)!important;left:0!important;right:auto!important;width:max-content!important;min-width:100%!important;max-width:320px!important;box-sizing:border-box!important}
.attendance-dashboard-filters>.btn{height:42px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important}.attendance-dashboard-filters>a.btn{border:1px solid var(--border,#cbd5e1)!important;background:var(--card,#fff)!important;color:var(--text,#14263d)!important;text-decoration:none!important}
.attendance-live-totals{align-self:end!important;justify-self:end!important;margin-left:0!important;height:42px!important;align-items:center!important;white-space:nowrap!important}
.org-multi-field{font-size:12px!important;gap:7px!important}.org-multi-field>span{font-size:12px!important;font-weight:800!important}.org-multi-field>span small{font-weight:500!important;color:#6d7e8f!important;margin-left:5px}.org-multi-dropdown{width:100%!important}.org-multi-dropdown summary{box-sizing:border-box!important;width:100%!important;min-height:44px!important;padding:8px 12px!important;border:1px solid var(--border,#cbd5e1)!important;background:var(--card,#fff)!important;color:var(--text,#14263d)!important}.org-multi-dropdown[open] summary{border-color:#2684ff!important;box-shadow:0 0 0 3px rgba(38,132,255,.13)!important}.org-multi-dropdown summary small{font-size:10px!important;color:#65798c!important;max-width:55%!important}.org-multi-popover{top:50px!important;background:var(--card,#fff)!important;border-color:var(--border,#cbd5e1)!important}.org-multi-popover label:hover{background:rgba(38,132,255,.08)!important;border-radius:6px}.org-multi-popover input[type=checkbox]{accent-color:#0aa47a!important}
.night-mode .attendance-filter-field,.dark-mode .attendance-filter-field,.night-mode .org-multi-field,.dark-mode .org-multi-field{color:#edf6ff!important}.night-mode .attendance-dashboard-filters input[type=search],.night-mode .attendance-dashboard-filters select,.night-mode .attendance-employee-filter>summary,.night-mode .org-multi-dropdown summary,.night-mode .org-multi-popover,.dark-mode .attendance-dashboard-filters input[type=search],.dark-mode .attendance-dashboard-filters select,.dark-mode .attendance-employee-filter>summary,.dark-mode .org-multi-dropdown summary,.dark-mode .org-multi-popover{background:#0d2438!important;color:#edf6ff!important;border-color:#35516a!important}
@media(max-width:1500px){.attendance-dashboard-filters{grid-template-columns:repeat(5,minmax(150px,1fr))!important}.attendance-live-totals{grid-column:span 2;justify-self:start!important}}
@media(max-width:900px){.attendance-dashboard-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}.attendance-live-totals{grid-column:1/-1!important;justify-self:start!important}}
@media(max-width:560px){.attendance-dashboard-filters{grid-template-columns:1fr!important}.attendance-live-totals{grid-column:auto!important;flex-wrap:wrap!important;height:auto!important}}
/* V6.3.16 Manage User workspace restructure */
.user-manage-form{display:block!important}
.user-manage-topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:4px 2px 18px;margin-bottom:18px;border-bottom:1px solid var(--v5-line,#dbe3ee)}
.user-manage-topbar h2{margin:2px 0 3px!important;font-size:22px!important}.user-manage-topbar p{margin:0;color:var(--muted,#64748b);font-size:13px;line-height:1.45}.user-manage-top-actions{display:flex;gap:9px;flex:0 0 auto}
.user-manage-section{margin-bottom:18px!important;padding:20px!important}.user-manage-section-head{align-items:flex-start!important;margin-bottom:18px!important;padding-bottom:13px!important}.user-manage-section-head h2{font-size:17px!important}.user-manage-section-head p{font-size:12px!important;line-height:1.45!important;max-width:680px!important;color:#66778d!important}
.user-manage-fields{gap:17px 20px!important}.user-manage-fields label,.org-multi-field{font-size:11px!important;gap:7px!important}.user-manage-fields label small,.org-multi-dropdown summary small{font-size:11px!important;line-height:1.35!important}.org-hint,.manager-responsibility .muted{font-size:12px!important;line-height:1.5!important}.permission-scope-row label{font-size:12px!important}.permission-scope-row small{display:block;margin-top:6px;font-size:11px!important;line-height:1.45;color:#66778d}.permission-grid{margin-top:16px}.permission-grid-head,.permission-row{min-height:46px}.permission-row strong{font-size:12px}.user-manage-actions{padding:14px 0 2px!important;border-top:1px solid var(--v5-line,#dbe3ee)}
.crm-file{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--v5-line,#e5e7eb)}.crm-file form{margin:0}
body.night .user-manage-section-head p,body.night .permission-scope-row small{color:#a9b8cc!important}
@media(max-width:760px){.user-manage-topbar{align-items:flex-start;flex-direction:column}.user-manage-top-actions{width:100%}.user-manage-top-actions .btn{flex:1;text-align:center}}

/* V6.3.17 — Manage User 3-column basics + manager scope */
.user-manage-fields.three-col{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:17px 20px!important;align-items:start}
.user-manage-fields.three-col>label,.user-manage-fields.three-col>.org-multi-field{min-width:0}
.user-manage-fields.three-col .org-multi-dropdown summary b{font-size:14px!important;font-weight:600!important}
.user-manage-fields.three-col .org-multi-dropdown summary small{font-size:12px!important;line-height:1.35!important}
.manager-responsibility[hidden]{display:none!important}
.manager-responsibility .org-multi-dropdown summary b{font-size:14px!important;font-weight:600!important}
.manager-responsibility .org-multi-dropdown summary small{font-size:12px!important}
@media(max-width:1180px){.user-manage-fields.three-col{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.user-manage-fields.three-col{grid-template-columns:1fr!important}}
/* V6.3.18 Create User parity with Manage User */
.create-user-form{grid-template-columns:1fr!important}.create-user-form>.user-manage-section,.create-user-form>.user-manage-topbar,.create-user-form>.user-manage-actions{grid-column:1/-1}.create-user-form .create-basic-section{width:100%;box-sizing:border-box}.create-user-form .permission-grid{overflow-x:auto}.create-user-form .org-multi-dropdown summary b{font-size:14px!important;font-weight:600!important}.create-user-form .org-multi-dropdown summary small{font-size:12px!important}.create-user-form .user-manage-fields label>input,.create-user-form .user-manage-fields label>select{min-height:44px}

/* V6.3.19 guided user administration */
.user-create-progress,.user-manage-tabs{display:flex;gap:8px;align-items:center;overflow-x:auto;padding:4px 0 16px;margin-bottom:18px;border-bottom:1px solid var(--v5-line,#dbe3ee)}
.user-create-progress button,.user-manage-tabs button{border:1px solid #cbd5e1;background:#f8fafc;color:#475569;border-radius:9px;padding:9px 12px;font-weight:750;white-space:nowrap;cursor:pointer}.user-create-progress button.active,.user-manage-tabs button.active{background:#123f78;color:#fff;border-color:#123f78}.user-create-progress button.complete{border-color:#76a8e6;color:#123f78}.user-create-progress button span{margin-left:4px}.user-create-wizard-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:14px;border-top:1px solid var(--v5-line,#dbe3ee)}
.create-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.create-review-grid>div{border:1px solid #dbe3ee;border-radius:10px;padding:12px;background:#f8fafc}.create-review-grid small{display:block;color:#64748b;font-size:11px;margin-bottom:4px}.create-review-grid strong{font-size:13px;color:#17273e}.unsaved-modal{position:fixed;inset:0;z-index:10000;background:rgba(15,23,42,.48);display:grid;place-items:center;padding:20px}.unsaved-modal[hidden]{display:none}.unsaved-dialog{width:min(520px,100%);background:#fff;border:1px solid #cbd5e1;border-radius:14px;padding:22px;box-shadow:0 24px 70px rgba(15,23,42,.28)}.unsaved-dialog h3{margin:0 0 8px}.unsaved-dialog p{color:#64748b}.unsaved-dialog>div{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}body.night .user-create-progress button,body.night .user-manage-tabs button{background:#17243a;color:#dbe7f7;border-color:#40516b}body.night .user-create-progress button.active,body.night .user-manage-tabs button.active{background:#2563a8;color:#fff}body.night .create-review-grid>div,body.night .unsaved-dialog{background:#142033;border-color:#40516b}body.night .create-review-grid strong,body.night .unsaved-dialog h3{color:#eef5ff}body.night .create-review-grid small,body.night .unsaved-dialog p{color:#a9b8cc}@media(max-width:760px){.create-review-grid{grid-template-columns:1fr}.user-create-wizard-actions{justify-content:stretch;flex-wrap:wrap}.user-create-wizard-actions .btn{flex:1}.user-create-progress button span{display:none}}
/* V6.3.20 Employee Workspace */
.employee-workspace-tabs{scrollbar-width:thin;position:relative}.employee-workspace-tabs button{flex:0 0 auto}.employee-workspace-panel .user-manage-fields{align-items:start}.user-create-progress{scrollbar-width:thin}.user-create-progress button{flex:0 0 auto}
@media(min-width:1180px){.employee-workspace-tabs{flex-wrap:wrap;overflow-x:visible}.employee-workspace-tabs button{padding:8px 10px}}
/* V6.3.21 question-led employee creation */
.wizard-question{display:block;font-size:9px;font-weight:900;letter-spacing:.12em;color:#2563a8;margin-bottom:4px}.wizard-choice-question{grid-column:1/-1;border:1px solid #c9d8ea;border-radius:10px;padding:12px 14px;background:#f7faff}.wizard-choice-question strong{display:block;font-size:13px;color:#17273e;margin-bottom:3px}.wizard-choice-question small{display:block;font-size:10px;color:#64748b}.manager-inline-question{grid-column:1/-1;margin-top:14px;border-color:#9dbbe0;background:#f7faff}.manager-inline-question .user-manage-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-files-card[data-external-manage-panel][hidden]{display:none!important}body.night .wizard-choice-question,body.night .manager-inline-question{background:#142033;border-color:#40516b}body.night .wizard-choice-question strong{color:#eef5ff}body.night .wizard-choice-question small{color:#a9b8cc}@media(max-width:760px){.manager-inline-question .user-manage-fields{grid-template-columns:1fr}}

/* V6.3.23 Create User clarity */
.wizard-help-box{border:1px solid #b8cce5;background:#f7faff;border-radius:11px;padding:13px 15px;margin:0 0 18px}.wizard-help-box strong{display:block;color:#17365d;font-size:13px;margin-bottom:4px}.wizard-help-box p{margin:0;color:#52657d;font-size:12px;line-height:1.55}.wizard-subsection{border-top:1px solid #dbe3ee;margin-top:20px;padding-top:16px}.wizard-subsection h3,.manager-responsibility h3{margin:0 0 4px;color:#17273e;font-size:15px}.wizard-subsection p{margin:0 0 12px;color:#64748b;font-size:11px}.field-explain{display:block;color:#64748b;font-size:10px;line-height:1.45;margin-top:5px}.user-create-step[hidden]{display:none!important}.user-create-step .user-manage-section{margin-bottom:0}.user-create-step label>small{display:block;margin-top:5px;line-height:1.4}.manager-responsibility{margin-top:18px;padding:16px;border:1px solid #9dbbe0;border-radius:11px;background:#f7faff}.manager-responsibility[hidden]{display:none!important}body.night .wizard-help-box,body.night .manager-responsibility{background:#142033;border-color:#40516b}body.night .wizard-help-box strong,body.night .wizard-subsection h3,body.night .manager-responsibility h3{color:#eef5ff}body.night .wizard-help-box p,body.night .wizard-subsection p,body.night .field-explain{color:#a9b8cc}

/* V6.3.24 Create Employee wizard polish */
.create-user-form{gap:0!important}
.create-user-form .user-manage-topbar{margin-bottom:14px!important;padding-bottom:14px!important}
.create-user-progress{margin:0 0 10px!important;padding:10px 0!important;gap:7px!important}
.user-create-actions{display:flex;justify-content:flex-end;align-items:center;gap:9px;padding:11px 0;border-top:1px solid var(--v5-line,#dbe3ee);border-bottom:1px solid var(--v5-line,#dbe3ee)}
.user-create-actions-top{margin:0 0 14px}.user-create-actions-bottom{margin:14px 0 0;border-bottom:0}
.user-create-actions .create-cancel{margin-right:auto}
.user-create-step .user-manage-section{padding:16px 18px!important}
.user-create-step .user-manage-section-head{margin-bottom:12px!important;padding-bottom:10px!important}
.user-create-step .user-manage-section-head h2{font-size:17px!important}.user-create-step .user-manage-section-head p{margin-top:3px!important}
.user-create-step .wizard-help-box{padding:10px 13px;margin-bottom:14px}.user-create-step .wizard-help-box p{line-height:1.4}
.user-create-step .user-manage-fields{gap:13px 18px!important}.user-create-step .user-manage-fields label{gap:5px!important}.user-create-step label>small,.user-create-step .field-explain{margin-top:3px!important}
.user-create-step .wizard-subsection{margin-top:14px;padding-top:12px}.user-create-step .wizard-subsection p{margin-bottom:9px}
.user-create-step .manager-responsibility{margin-top:13px;padding:13px 15px}.user-create-step .manager-responsibility .user-manage-section-head{margin-bottom:10px!important;padding-bottom:9px!important}
.user-create-step .org-multi-popover{max-height:190px;overflow:auto}.user-create-step .org-multi-dropdown[open] .org-multi-popover{padding:10px!important}
.user-create-step .permission-grid{margin-top:12px}
.user-create-step .create-review-grid{gap:9px}.user-create-step .create-review-grid>div{padding:10px 12px}
.btn.danger{background:#b42318;color:#fff;border-color:#b42318}.btn.danger:hover{background:#912018;border-color:#912018}
body.night .user-create-actions{border-color:#40516b}
@media(max-width:760px){.user-create-actions{flex-wrap:wrap}.user-create-actions .btn{flex:1}.user-create-actions .create-cancel{margin-right:0;flex-basis:100%}}


/* V6.3.26 Create User summary + compact organisation/location selectors */
.user-create-step .org-multi-popover{padding:6px!important;max-height:180px!important}
.user-create-step .org-multi-popover label{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;min-height:30px!important;height:auto!important;padding:5px 7px!important;margin:0!important;line-height:1.25!important;font-size:12px!important}
.user-create-step .org-multi-popover label+label{margin-top:2px!important}
.user-create-step .org-multi-popover input[type=checkbox]{flex:0 0 auto!important;width:15px!important;height:15px!important;margin:0!important}
.create-review-simple{max-width:1100px}
.create-review-simple>h3,.create-user-capability-summary h3{margin:0 0 9px;color:#17273e;font-size:15px}
.create-review-list{list-style:none;margin:0;padding:0;border:1px solid #dbe3ee;border-radius:10px;overflow:hidden;background:#fff}
.create-review-list li{display:grid;grid-template-columns:minmax(190px,.45fr) minmax(0,1fr);gap:18px;align-items:start;padding:8px 12px;border-bottom:1px solid #e5eaf0;font-size:12px;line-height:1.4}
.create-review-list li:last-child{border-bottom:0}
.create-review-list li span{color:#64748b;font-weight:650}.create-review-list li strong{color:#17273e;font-weight:750;overflow-wrap:anywhere}
.create-user-capability-summary{margin-top:14px;padding:12px 14px;border:1px solid #b8cce5;border-radius:10px;background:#f7faff}
.create-user-capability-summary p{margin:0;color:#52657d;font-size:12px;line-height:1.55}
body.night .create-review-list{background:#142033;border-color:#40516b}body.night .create-review-list li{border-color:#33465f}body.night .create-review-list li span{color:#a9b8cc}body.night .create-review-list li strong,body.night .create-review-simple>h3,body.night .create-user-capability-summary h3{color:#eef5ff}body.night .create-user-capability-summary{background:#142033;border-color:#40516b}body.night .create-user-capability-summary p{color:#a9b8cc}
@media(max-width:760px){.create-review-list li{grid-template-columns:1fr;gap:2px}}

/* V6.3.27 Platform customer search + change log */
.platform-filter-card{padding:16px 18px;margin:14px 0;}
.platform-filter-grid{display:grid;grid-template-columns:minmax(260px,2fr) repeat(3,minmax(150px,1fr)) auto;gap:12px;align-items:end;}
.platform-filter-grid label,.platform-log-filters label{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:.9rem;}
.platform-filter-grid input,.platform-filter-grid select,.platform-log-filters input{min-height:42px;border:1px solid #aab7c7;border-radius:8px;padding:8px 10px;background:var(--card,#fff);color:inherit;font:inherit;}
.platform-filter-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.platform-results-line{margin:8px 0 12px;font-size:.9rem;color:#5f6f82;}
.platform-log-filters{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr)) auto;gap:12px;align-items:end;}
.platform-log-entry{padding:16px 0;border-bottom:1px solid #d7dee8;}
.platform-log-entry:last-child{border-bottom:0}.platform-log-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:5px}.platform-log-version{font-weight:800;color:#1456a0}.platform-log-date{font-size:.88rem;color:#66768a}.platform-log-entry h3{margin:4px 0 8px}.platform-log-entry ul{margin:0;padding-left:20px}.platform-log-entry li{margin:4px 0}.platform-log-note{padding:12px 14px;border:1px solid #d7dee8;border-radius:8px;background:#f7f9fc;margin:12px 0;}
@media(max-width:900px){.platform-filter-grid,.platform-log-filters{grid-template-columns:1fr 1fr}.platform-filter-actions{grid-column:1/-1}}
@media(max-width:600px){.platform-filter-grid,.platform-log-filters{grid-template-columns:1fr}}
body.night .platform-log-note{background:#172235;border-color:#34445a}body.night .platform-results-line,body.night .platform-log-date{color:#aebbd0}

/* V6.3.28 Create User multi-select zero-gap hotfix */
.user-create-step .org-multi-popover{
  padding:4px!important;
  max-height:180px!important;
  overflow-y:auto!important;
}
.user-create-step .org-multi-popover label,
.user-create-step .org-multi-popover label+label{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  min-height:0!important;
  height:auto!important;
  padding:3px 5px!important;
  margin:0!important;
  line-height:1.2!important;
  font-size:12px!important;
}
.user-create-step .org-multi-popover input[type=checkbox]{
  flex:0 0 15px!important;
  width:15px!important;
  height:15px!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
}
.user-create-step .manager-responsibility .user-manage-fields{
  row-gap:6px!important;
}
/* V6.3.29 compact Planner / Import-Export / Subscription */
.planner-action-dialog{width:min(700px,calc(100vw - 28px));padding:0;border:1px solid var(--border,#cbd8e8);border-radius:16px}.planner-action-shell{padding:18px}.planner-action-dialog .dialog-head{align-items:flex-start;margin:0 0 12px}.planner-action-dialog .dialog-head h2{margin:3px 0 4px}.planner-action-dialog .dialog-close{display:grid!important;place-items:center;width:38px;height:38px;min-width:38px;border:1px solid #b9c9da!important;border-radius:10px!important;background:var(--card,#fff)!important;color:var(--text,#142033)!important;font-size:25px!important;font-weight:700;opacity:1!important}.planner-request-body{display:grid;gap:12px}.planner-request-body label{display:grid;gap:5px;font-weight:750}.planner-request-body input,.planner-request-body select,.planner-request-body textarea{width:100%;box-sizing:border-box;border:1px solid #aebfd2;border-radius:8px;padding:9px 10px;background:var(--card,#fff);color:var(--text,#142033)}.planner-request-dates{display:grid;grid-template-columns:1fr 1fr;gap:12px}.planner-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid var(--border,#dbe3ee)}
.import-export-compact{display:grid;gap:12px}.compact-ie{margin:0!important}.compact-ie .ie-section-head{padding:14px 18px!important}.compact-ie-grid>div{padding:14px 18px!important;min-height:0!important}.compact-ie-grid h3{margin:5px 0 3px}.compact-ie-grid p{margin:0 0 10px}.compact-ie-grid form{display:grid;gap:8px}.compact-ie-grid input[type=file]{padding:8px!important;min-height:40px!important}.compact-ie-grid .btn{min-height:38px!important;padding:8px 12px!important}.subscription-summary{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--border,#dbe3ee);border-radius:12px;overflow:hidden;margin-bottom:14px}.subscription-summary>div{padding:14px 16px;border-right:1px solid var(--border,#dbe3ee);display:grid;gap:3px}.subscription-summary>div:last-child{border-right:0}.subscription-summary span{font-size:.7rem;font-weight:850;letter-spacing:.06em;color:var(--muted,#64748b)}.subscription-summary strong{font-size:1.05rem}.subscription-summary small{color:var(--muted,#64748b)}.subscription-request{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px}.subscription-request>label{display:grid;gap:5px;font-weight:750}.subscription-request input,.subscription-request select,.subscription-request textarea{padding:9px 10px;border:1px solid #aebfd2;border-radius:8px;background:var(--card,#fff);color:var(--text,#142033)}.subscription-request fieldset,.subscription-request label:has(textarea),.subscription-request button{grid-column:1/-1}.subscription-pending{margin:0 16px 16px;padding:12px;border:1px solid var(--border,#dbe3ee);border-radius:9px;background:rgba(37,99,235,.05)}
@media(max-width:800px){.subscription-summary{grid-template-columns:1fr 1fr}.subscription-summary>div{border-bottom:1px solid var(--border,#dbe3ee)}.subscription-request,.planner-request-dates{grid-template-columns:1fr}}

/* V6.3.31 — Import safety, Disaster Recovery metadata and account menu */
.ie-safety-warning{display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important;padding:14px 16px!important;margin:0 0 14px!important;border:1px solid #f0c36a!important;background:#fff9e9!important;border-radius:12px!important}.ie-warning-icon{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f4b740;color:#3d2a00;font-weight:900;font-size:18px}.ie-warning-copy strong{display:block;color:#493500;font-size:14px}.ie-warning-copy p{margin:3px 0!important;font-size:12px!important;line-height:1.4!important;color:#5f5130!important}.ie-warning-copy .ie-responsibility{font-size:11px!important}.ie-backup-link{margin:0!important;white-space:nowrap!important;background:#a96600!important}.dr-build-meta{display:flex;gap:8px;flex-wrap:wrap;margin:-4px 0 14px}.dr-build-meta span{border:1px solid var(--v5-line,#dbe4ef);background:var(--v5-surface,#fff);padding:7px 10px;border-radius:8px;font-size:11px;color:var(--v5-muted,#64748b)}.dr-build-meta b{color:var(--v5-text,#172033);margin-right:4px}
.profile-dropdown.profile-dropdown-v2{width:330px!important;min-width:330px!important;padding:10px!important;border-radius:15px!important;overflow:hidden!important}.profile-menu-head{display:flex;align-items:center;gap:12px;padding:8px 9px 11px}.profile-menu-avatar{width:46px;height:46px;flex:0 0 46px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#dcecff;color:#124f91;font-size:20px;font-weight:850}.profile-menu-head strong{display:block;color:#102a43;font-size:15px;line-height:1.25}.profile-menu-head small{display:block;color:#74839a;font-size:11px!important;margin-top:3px}.profile-menu-divider{height:1px;background:#e3e9f0;margin:3px 4px 6px}.profile-menu-section{margin:5px -10px 5px;padding:8px 18px;background:#f5f7fa;color:#70839b;font-size:9px;font-weight:850;letter-spacing:.16em;text-transform:uppercase}.profile-dropdown.profile-dropdown-v2 a.profile-menu-item{display:grid!important;grid-template-columns:36px minmax(0,1fr) 16px!important;align-items:center!important;gap:10px!important;padding:8px!important;margin:1px 0!important;border-radius:9px!important}.profile-menu-icon{width:34px;height:34px;border-radius:9px;background:#f2f5f9;color:#123d68;display:flex;align-items:center;justify-content:center;font-weight:850;font-size:15px}.profile-menu-copy b{display:block;font-size:12px;line-height:1.2;color:#102a43}.profile-menu-copy small{display:block;font-size:10px!important;line-height:1.3;color:#7a899d;margin-top:2px}.profile-menu-chevron{color:#7f91a8;font-size:22px;line-height:1}.profile-dropdown.profile-dropdown-v2 a.profile-signout{grid-template-columns:36px minmax(0,1fr)!important;margin-top:5px!important}.profile-signout .profile-menu-icon,.profile-signout .profile-menu-copy b{color:#d92d20!important}.profile-signout .profile-menu-icon{background:#fff3f2}.profile-dropdown.profile-dropdown-v2 a.profile-menu-item:hover{padding-left:8px!important;background:#f2f7fd!important}
html[data-theme="night"] .ie-safety-warning{background:#302817!important;border-color:#735b25!important}html[data-theme="night"] .ie-warning-copy strong,html[data-theme="night"] .ie-warning-copy p{color:#f7dfa6!important}html[data-theme="night"] .dr-build-meta span{background:#0d2134!important;border-color:#29455d!important}html[data-theme="night"] .profile-menu-head strong,html[data-theme="night"] .profile-menu-copy b{color:#eef6ff!important}html[data-theme="night"] .profile-menu-head small,html[data-theme="night"] .profile-menu-copy small{color:#a9bfd1!important}html[data-theme="night"] .profile-menu-section{background:#0a1b2b!important;color:#9db5c9!important}html[data-theme="night"] .profile-menu-divider{background:#29455d!important}html[data-theme="night"] .profile-menu-icon{background:#17344c!important;color:#dbeeff!important}
@media(max-width:800px){.ie-safety-warning{grid-template-columns:36px 1fr!important}.ie-backup-link{grid-column:1/-1!important;width:100%!important;text-align:center!important}.profile-dropdown.profile-dropdown-v2{width:min(330px,calc(100vw - 24px))!important;min-width:0!important}}

/* V6.3.33 Support Case Workspace visual containment hotfix */
.case-shell .case-grid{display:grid!important;grid-template-columns:minmax(220px,280px) minmax(420px,1fr) minmax(270px,310px)!important;gap:12px!important;align-items:start!important}
.case-shell .case-left,.case-shell .case-center,.case-shell .case-right{min-width:0!important;width:auto!important;margin:0!important}
.case-shell .case-right{display:flex!important;flex-direction:column!important;gap:10px!important;position:sticky!important;top:84px!important;max-height:calc(100vh - 100px)!important;overflow:auto!important;padding:0 2px 0 0!important}
.case-shell .case-card{display:block!important;border:1px solid var(--v5-line,#dbe4ef)!important;background:var(--v5-surface,#fff)!important;border-radius:12px!important;box-sizing:border-box!important;overflow:visible!important}
.case-shell .case-right>.case-card{width:100%!important;padding:12px!important;margin:0!important;flex:0 0 auto!important}
.case-shell .case-right>.case-card>h2{display:block!important;margin:0 0 10px!important;padding:0 0 8px!important;border-bottom:1px solid var(--v5-line,#e2e8f0)!important;font-size:14px!important}
.case-shell .case-right form{display:block!important;margin:0!important;padding:0!important;border:0!important}
.case-shell .case-right .side-section{display:block!important;border-top:1px solid var(--v5-line,#e2e8f0)!important;margin-top:12px!important;padding-top:10px!important}
.case-shell .case-right label{display:block!important;margin:8px 0 4px!important;font-size:11px!important;font-weight:700!important}
.case-shell .case-right input:not([type="hidden"]),.case-shell .case-right select,.case-shell .case-right textarea{display:block!important;width:100%!important;min-width:0!important;min-height:36px!important;box-sizing:border-box!important;border:1px solid #cbd5e1!important;border-radius:8px!important;background:var(--v5-surface,#fff)!important;color:var(--v5-text,#172033)!important;padding:7px 9px!important;margin:0 0 8px!important;box-shadow:none!important}
.case-shell .case-right textarea{min-height:72px!important;resize:vertical!important}
.case-shell .case-right button{display:block!important;width:100%!important;box-sizing:border-box!important;margin:8px 0 0!important;padding:8px 10px!important}
.case-shell .case-right .kv{border:1px solid var(--v5-line,#e2e8f0)!important;border-radius:8px!important;padding:8px!important;margin-top:8px!important;background:var(--v5-bg,#f4f7fb)!important}
.case-shell .sla-grid{border:1px solid var(--v5-line,#e2e8f0)!important;border-radius:8px!important;padding:9px!important;background:var(--v5-bg,#f4f7fb)!important}
.case-shell .case-left>.case-card,.case-shell .case-center>.case-card{border:1px solid var(--v5-line,#dbe4ef)!important}
html[data-theme="night"] .case-shell .case-right input:not([type="hidden"]),html[data-theme="night"] .case-shell .case-right select,html[data-theme="night"] .case-shell .case-right textarea{border-color:#475569!important;background:#111b2d!important;color:#e8eef8!important}
@media(max-width:1250px){.case-shell .case-grid{grid-template-columns:minmax(210px,240px) minmax(400px,1fr) minmax(250px,280px)!important}}
@media(max-width:980px){.case-shell .case-grid{grid-template-columns:1fr!important}.case-shell .case-right{position:static!important;max-height:none!important;overflow:visible!important}}
/* V6.3.34 Commercial, Pricing & Billing */
.commercial-customer{font-size:14px}.commercial-customer .modern-page-header h1{font-size:30px!important}.commercial-customer .modern-page-header p{font-size:14px!important}.commercial-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.commercial-tabs a{font-size:13px;font-weight:750;padding:9px 13px;border:1px solid #cbd8e6;border-radius:8px;background:#fff;color:#183b67;text-decoration:none}.commercial-summary{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #cbd8e6;border-radius:14px;overflow:hidden;background:#fff;margin-bottom:14px}.commercial-summary>div{padding:16px 18px;border-right:1px solid #d7e1ec}.commercial-summary>div:last-child{border-right:0}.commercial-summary span{display:block;font-size:11px;font-weight:850;letter-spacing:.05em;color:#58708d}.commercial-summary strong{display:block;font-size:20px;color:#102b4e;margin:5px 0}.commercial-summary small{font-size:12px;color:#637991}.commercial-card{background:#fff;border:1px solid #cbd8e6;border-radius:14px;margin-bottom:14px;overflow:hidden;box-shadow:0 5px 18px rgba(16,43,78,.05)}.commercial-head{padding:16px 18px;border-bottom:1px solid #d7e1ec;background:#f8fafc}.commercial-head h2{font-size:18px!important;margin:0 0 4px!important;color:#102b4e!important}.commercial-head p{font-size:12px!important;margin:0!important;color:#637991!important}.commercial-table-wrap{overflow-x:auto}.commercial-table{width:100%;border-collapse:collapse}.commercial-table th{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#58708d;background:#f8fafc;text-align:left;padding:11px 14px;border-bottom:1px solid #d7e1ec}.commercial-table td{font-size:13px;padding:13px 14px;border-bottom:1px solid #e0e7ef;vertical-align:middle}.commercial-table td small{display:block;font-size:11px;color:#637991;margin-top:3px}.commercial-table tfoot td{font-size:14px;background:#f8fafc}.commercial-status{display:inline-block;padding:5px 9px;border-radius:999px;background:#e7f7ee;color:#167445;font-size:11px;font-weight:800}.commercial-lower{display:grid;grid-template-columns:1.35fr .8fr;gap:14px}.commercial-form,.commercial-request{padding:16px 18px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.commercial-form label,.commercial-request label{display:grid;gap:5px;font-size:12px;font-weight:750}.commercial-form input,.commercial-form textarea,.commercial-request input,.commercial-request textarea{font-size:14px;padding:10px 11px;border:1px solid #b9c9da;border-radius:8px}.commercial-form button,.commercial-request button{justify-self:start}.commercial-pending{margin:0 18px 16px;padding:11px 13px;border:1px solid #d8c58a;background:#fff9e8;border-radius:9px;display:grid;gap:4px;font-size:12px}.commercial-admin-card{padding:20px!important}.platform-commercial-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.platform-commercial-kpis .card{padding:16px}.platform-commercial-kpis span,.platform-commercial-kpis small{display:block;color:#8faabd;font-size:11px}.platform-commercial-kpis strong{display:block;font-size:24px;margin:4px 0}.platform-commercial-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,.7fr);gap:16px}.platform-commercial-grid aside{display:grid;align-content:start;gap:16px}.module-pricing-box{border:1px solid #24445c;border-radius:10px;margin:12px 0;background:#0a1d2d}.module-pricing-box summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px}.module-pricing-box summary span:first-child{display:grid;gap:3px}.module-pricing-box summary small{color:#8faabd}.module-pricing-box form{border-top:1px solid #24445c;padding:14px}.commercial-admin-fields{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px}.commercial-admin-fields label,.commercial-admin-form label{display:grid;gap:5px;font-size:12px;font-weight:700}.commercial-admin-fields .span-4{grid-column:1/-1}.check-row{display:flex!important;align-items:center;gap:7px!important}.commercial-admin-form{display:grid;gap:11px}.platform-module-allocation{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0 16px}.platform-module-allocation>div{border:1px solid #24445c;background:#0a1d2d;border-radius:9px;padding:11px;display:grid;grid-template-columns:1fr 90px;gap:8px;align-items:center}.platform-module-allocation small{grid-column:1/-1;color:#8faabd}@media(max-width:1000px){.commercial-summary,.platform-commercial-kpis{grid-template-columns:repeat(2,1fr)}.commercial-lower,.platform-commercial-grid{grid-template-columns:1fr}.commercial-admin-fields,.platform-module-allocation{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.commercial-summary,.platform-commercial-kpis,.commercial-form,.commercial-request,.commercial-admin-fields,.platform-module-allocation{grid-template-columns:1fr}.commercial-summary>div{border-right:0;border-bottom:1px solid #d7e1ec}}
body.night .commercial-tabs a,body.night .commercial-summary,body.night .commercial-card{background:#111d2b;border-color:#33475d;color:#e8f0f7}body.night .commercial-summary strong,body.night .commercial-head h2{color:#fff!important}body.night .commercial-head,body.night .commercial-table th,body.night .commercial-table tfoot td{background:#172536;border-color:#33475d}body.night .commercial-table td{border-color:#2c4055}body.night .commercial-head p,body.night .commercial-summary small,body.night .commercial-summary span,body.night .commercial-table td small{color:#a9bacb!important}

/* V6.3.39 Support Case Workspace layout correction */
.case-shell .case-grid > aside.case-right{
  position:sticky!important;
  top:0!important;
  align-self:start!important;
  max-height:calc(100vh - 24px)!important;
  overflow:auto!important;
  transform:none!important;
}
.case-shell .case-left .customer-detail-grid{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:7px!important;
  margin:8px 0 0!important;
}
.case-shell .case-left .customer-detail-grid > .customer-detail-box{
  display:block!important;
  border:1px solid #dbe4ef!important;
  background:#f8fbff!important;
  border-radius:8px!important;
  padding:8px 10px!important;
  margin:0!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.case-shell .case-left .customer-detail-box > span{
  display:block!important;
  color:#66768d!important;
  font-size:10px!important;
  text-transform:uppercase!important;
  letter-spacing:.03em!important;
  margin:0 0 3px!important;
}
.case-shell .case-left .customer-detail-box > b{
  display:block!important;
  font-size:12px!important;
  font-weight:650!important;
  overflow-wrap:anywhere!important;
}
html[data-theme="night"] .case-shell .case-left .customer-detail-grid > .customer-detail-box,
body.night-mode .case-shell .case-left .customer-detail-grid > .customer-detail-box{
  background:#111b2d!important;
  border-color:#334155!important;
}
@media(max-width:980px){
  .case-shell .case-grid > aside.case-right{position:static!important;max-height:none!important;overflow:visible!important}
}

/* V6.3.40 — Prospect Call Management & Support Case structural alignment */
.prospect-call-core{display:grid;grid-template-columns:1fr 1fr;gap:8px}.prospect-call-core label:nth-child(3),.prospect-call-core label:nth-child(4){grid-column:1/-1}.question-set-fields{border:1px solid #dbe4ef;border-radius:9px;padding:10px;margin:8px 0;background:#f8fbff}.question-set-fields h4{margin:0 0 8px}.required-mark{color:#d92d20}.prospect-history{margin-top:12px;border-top:1px solid #dbe4ef;padding-top:10px}.prospect-history>summary{cursor:pointer;font-weight:800}.prospect-history-item{border:1px solid #dbe4ef;border-radius:9px;padding:10px;margin-top:8px;background:#fff}.history-head{display:flex;justify-content:space-between;gap:10px}.history-head span{font-size:10px;color:#64748b}.history-facts{display:grid;grid-template-columns:95px 1fr;gap:4px 8px;margin-top:8px;font-size:11px}.history-facts span{color:#64748b}.history-answers{margin-top:8px}.history-answers>summary{cursor:pointer;font-size:11px;font-weight:750}.history-answers>div{border-top:1px solid #edf1f5;padding:7px 0}.history-answers span{display:block;font-size:9px;color:#64748b;text-transform:uppercase}.history-answers strong{display:block;font-size:11px}.history-answers p,.history-notes{font-size:11px;margin:3px 0}.prospect-discovery-form textarea{min-height:60px}
/* Case Details belongs to the top workspace row: do not offset it from Customer/Company Information. */
.case-shell .case-grid{align-items:start!important}.case-shell .case-grid>aside.case-right{grid-column:3!important;grid-row:1!important;align-self:start!important;position:relative!important;top:auto!important;inset-block-start:auto!important;margin-top:0!important;transform:translateY(0)!important;max-height:none!important;overflow:visible!important}.case-shell .case-grid>aside.case-left{grid-column:1!important;grid-row:1!important;align-self:start!important}.case-shell .case-grid>.case-center{grid-column:2!important;grid-row:1!important;align-self:start!important}
html[data-theme="night"] .question-set-fields,html[data-theme="night"] .prospect-history-item{background:#111b2d;border-color:#334155}
@media(max-width:980px){.case-shell .case-grid>aside.case-left,.case-shell .case-grid>.case-center,.case-shell .case-grid>aside.case-right{grid-column:1!important;grid-row:auto!important}.prospect-call-core{grid-template-columns:1fr}.prospect-call-core label:nth-child(3),.prospect-call-core label:nth-child(4){grid-column:auto}}
/* V6.3.41 dedicated prospect call workspace */
.prospect-call-workspace{max-width:1250px;margin:0 auto}.prospect-call-company{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.prospect-call-company>div{border:1px solid #dbe5f0;border-radius:10px;padding:12px;background:#f8fbff}.prospect-call-company span{display:block;font-size:11px;text-transform:uppercase;color:#64748b;margin-bottom:4px}.prospect-call-page-form{display:grid;gap:16px}.prospect-call-page-form .card h2,.prospect-call-page-history h2{margin-top:0}.prospect-call-page-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.prospect-call-page-grid label{display:grid;gap:6px}.prospect-call-page-grid .wide{grid-column:1/-1}.question-set-choice{display:grid;gap:6px;max-width:520px;margin-bottom:14px}.prospect-question-card{border-top:1px solid #dbe5f0;padding-top:14px}.prospect-call-actions{display:flex;justify-content:flex-end;gap:10px;margin-bottom:18px}.prospect-call-page-history .prospect-history-item{display:block;border:1px solid #dbe5f0;border-radius:10px;padding:12px;margin-top:10px}.prospect-call-page-history summary{cursor:pointer}.prospect-call-cell{min-width:150px}.prospect-call-cell>.btn{margin-top:6px}.prospect-call-cell .prospect-history{margin-top:8px}html[data-theme="night"] .prospect-call-company>div,html[data-theme="night"] .prospect-call-page-history .prospect-history-item{background:#102235;border-color:#334155}@media(max-width:800px){.prospect-call-company,.prospect-call-page-grid{grid-template-columns:1fr}.prospect-call-page-grid .wide{grid-column:auto}}

/* V6.3.42 Prospect Call workspace - boxed EZ-BMS page standard */
.prospect-call-v2{max-width:1500px;margin:0 auto;padding-bottom:24px}.prospect-call-v2 .page-title-row{margin-bottom:14px}.prospect-call-v2 .page-title-row h1{margin:4px 0 3px}.prospect-section{background:var(--card,#fff);border:1px solid #d8e3ef;border-radius:12px;overflow:hidden;box-shadow:0 1px 2px rgba(15,23,42,.03)}.prospect-section>header{padding:12px 16px;background:#f3f8fe;border-bottom:1px solid #d8e3ef}.prospect-section>header h2{margin:0;font-size:16px}.prospect-section-body{padding:14px 16px}.prospect-details-section{margin-bottom:14px}.prospect-details-section .prospect-call-company{margin:0;padding:14px 16px;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.prospect-details-section .prospect-call-company>div{padding:10px 12px;background:#fff;border:1px solid #d8e3ef;border-radius:8px}.prospect-call-v2 .prospect-call-page-form{display:block}.prospect-call-main-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:14px;align-items:start}.call-details-section{grid-column:1}.discovery-section{grid-column:2;grid-row:1 / span 2}.next-action-section{grid-column:1;margin-top:0}.prospect-call-v2 .prospect-call-page-grid{gap:12px}.prospect-call-v2 label{font-size:12px;font-weight:700;color:#14243b}.prospect-call-v2 input,.prospect-call-v2 select,.prospect-call-v2 textarea{width:100%;border:1px solid #cbd8e7;border-radius:8px;background:#fff;padding:9px 11px;min-height:38px}.prospect-call-v2 textarea{resize:vertical}.prospect-call-v2 .question-set-choice{max-width:none;margin-bottom:10px}.prospect-question-help{padding:9px 11px;border:1px solid #b9d7fb;border-radius:8px;background:#edf6ff;color:#185da7;font-size:12px;margin-bottom:12px}.prospect-question-card{border-top:0;padding-top:4px}.prospect-question-card h3{margin:5px 0 3px}.prospect-question-list{display:grid;gap:9px}.prospect-question-field{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.8fr);gap:12px;align-items:center;padding:9px 10px;border:1px solid #e0e8f1;border-radius:8px;background:#fbfdff}.prospect-question-field>span{display:grid;gap:2px}.prospect-question-field small{font-size:10px;text-transform:uppercase;color:#64748b}.prospect-question-field textarea{min-height:70px}.prospect-call-v2 .prospect-call-actions{padding:14px 0 0;margin-bottom:14px}.prospect-call-v2 .prospect-call-page-history{margin-top:0}.prospect-call-v2 .prospect-history-item{margin:10px 0 0}.prospect-call-v2 .history-facts{margin-top:12px}.prospect-call-v2 .history-answers>div{border:1px solid #e0e8f1;border-radius:8px;padding:10px;background:#fbfdff}html[data-theme="night"] .prospect-section{border-color:#334155;background:#0f2032}html[data-theme="night"] .prospect-section>header{background:#132b42;border-color:#334155}html[data-theme="night"] .prospect-details-section .prospect-call-company>div,html[data-theme="night"] .prospect-call-v2 input,html[data-theme="night"] .prospect-call-v2 select,html[data-theme="night"] .prospect-call-v2 textarea,html[data-theme="night"] .prospect-question-field,html[data-theme="night"] .prospect-call-v2 .history-answers>div{background:#102235;border-color:#334155;color:#e5edf6}@media(max-width:1000px){.prospect-call-main-grid{grid-template-columns:1fr}.call-details-section,.discovery-section,.next-action-section{grid-column:1;grid-row:auto}.prospect-details-section .prospect-call-company{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.prospect-details-section .prospect-call-company,.prospect-call-v2 .prospect-call-page-grid{grid-template-columns:1fr}.prospect-question-field{grid-template-columns:1fr}}

/* V6.3.43 Prospect UI & Call History cleanup */
.prospect-table .prospect-row td{vertical-align:middle;padding-top:10px!important;padding-bottom:10px!important}.prospect-call-cell{min-width:120px!important;width:140px!important}.prospect-call-cell .last-outcome{font-weight:750;white-space:normal}.prospect-crm-actions{min-width:145px!important}.prospect-action-box{display:grid;gap:6px;padding:4px;border:1px solid #dbe5f0;border-radius:10px;background:#f8fbff}.prospect-action-box .btn,.prospect-action-box form,.prospect-action-box button{width:100%;margin:0}.prospect-history-page .page-title-row{display:flex;justify-content:space-between;gap:16px;align-items:end}.prospect-history-list-v2{display:grid;gap:12px}.prospect-history-card{border:1px solid #dbe5f0;border-radius:10px;background:#fbfdff;overflow:hidden}.prospect-history-card-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:12px 14px;border-bottom:1px solid #e4ebf3;background:#f6faff}.prospect-history-card-head h3{margin:2px 0;font-size:15px}.prospect-history-card-head span,.prospect-history-card-head small{font-size:11px;color:#64748b}.prospect-history-actions{display:flex;gap:7px}.prospect-history-detail{padding:12px 14px}.history-answers-v2{margin-top:12px;display:grid;gap:8px}.history-answers-v2 h4{margin:0}.history-answers-v2>div,.history-notes-box{border:1px solid #e0e8f1;border-radius:8px;padding:9px 10px;background:#fff}.history-answers-v2 span,.history-notes-box span{font-size:10px;text-transform:uppercase;color:#64748b}.history-answers-v2 p,.history-notes-box p{margin:4px 0 0;white-space:pre-wrap}html[data-theme="night"] .prospect-action-box,html[data-theme="night"] .prospect-history-card,html[data-theme="night"] .prospect-history-card-head,html[data-theme="night"] .history-answers-v2>div,html[data-theme="night"] .history-notes-box{background:#102235;border-color:#334155}@media(max-width:700px){.prospect-history-page .page-title-row,.prospect-history-card-head{align-items:stretch;flex-direction:column}.prospect-history-actions{flex-wrap:wrap}}

/* V6.3.45 — compact Prospect grid + boxed Prospect Call Questions */
.prospect-table tbody .prospect-row>td{padding:7px 10px!important;vertical-align:middle!important;line-height:1.2!important;height:auto!important;min-height:0!important}
.prospect-table thead th{padding:8px 10px!important;font-size:11px!important}.prospect-table .last-outcome{margin:0!important;line-height:1.15}.prospect-table .prospect-status-badge{padding:3px 7px!important;font-size:11px!important}.prospect-table td[data-col="calls"]{text-align:center;min-width:54px!important}.prospect-table td[data-col="status"]{min-width:105px!important}.prospect-table td[data-col="engagement"]{min-width:120px!important;font-size:12px}.prospect-table td[data-col="call_outcome"]{min-width:125px!important}.prospect-table td[data-col="actions"]{min-width:128px!important;width:128px!important;overflow:visible!important}.prospect-table-wrap{overflow:auto!important}.prospect-crm-actions{position:relative!important;overflow:visible!important}.crm-actions-menu{position:relative;display:inline-block}.crm-actions-trigger{min-width:112px!important;white-space:nowrap;padding:6px 9px!important}.crm-actions-trigger span{margin-left:5px}.crm-actions-dropdown{position:absolute;right:0;top:calc(100% + 5px);z-index:1000;width:175px;padding:6px;background:#fff;border:1px solid #cbd8e6;border-radius:10px;box-shadow:0 12px 30px rgba(15,23,42,.18)}.crm-actions-dropdown a,.crm-actions-dropdown form button{display:block;width:100%;box-sizing:border-box;border:0;background:transparent;text-align:left;padding:9px 10px;border-radius:7px;color:#17365d;font:inherit;text-decoration:none;cursor:pointer}.crm-actions-dropdown a:hover,.crm-actions-dropdown form button:hover{background:#eef5ff;color:#0b63ce}.crm-actions-dropdown form{margin:0}
.pcq-v6345{display:grid;gap:16px}.pcq-card{padding:18px 20px!important;border:1px solid #d8e2ee!important;border-radius:14px!important}.pcq-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.pcq-card-head h2{margin:0 0 3px}.pcq-card-head p{margin:0;color:#64748b}.pcq-add-grid{display:grid;grid-template-columns:minmax(320px,1.4fr) minmax(220px,.75fr) minmax(300px,1.1fr);gap:14px 24px;align-items:start}.pcq-add-grid label,.pcq-edit-grid label{display:grid;gap:6px;font-size:12px;font-weight:750}.pcq-add-grid label>span b{color:#d92d20}.pcq-add-grid input,.pcq-add-grid select,.pcq-add-grid textarea,.pcq-edit-grid input,.pcq-edit-grid select{width:100%;box-sizing:border-box;border:1px solid #bdcde0!important;border-radius:8px!important;background:var(--surface,#fff);padding:9px 11px;min-height:40px}.pcq-add-grid small,.pcq-edit-grid small{color:#64748b;font-weight:500}.pcq-question-field{grid-column:1}.pcq-options-box{grid-column:3;grid-row:1/3;padding:12px 14px;border-radius:10px;background:#f6f9fd}.pcq-options-box textarea{min-height:72px!important;resize:vertical}.pcq-toggle{display:flex!important;align-items:flex-start;gap:10px!important;padding-top:4px}.pcq-toggle input{width:20px!important;height:20px!important;min-height:0!important;margin:0}.pcq-toggle span{display:grid;gap:2px}.pcq-order{max-width:190px}.pcq-add-actions{grid-column:3;display:flex;justify-content:flex-end;gap:10px;align-self:end}.pcq-add-actions .btn.primary{min-width:190px}.pcq-existing-head{align-items:center}.pcq-sample-toggle{border-color:#2f7df4!important;color:#1769e0!important}.pcq-samples{padding:14px;border:1px solid #dbe5f0;border-radius:10px;background:#f8fbff;margin-bottom:14px}.pcq-sample-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.pcq-table-wrap{overflow-x:auto}.pcq-table{width:100%;border-collapse:collapse;border:1px solid #d6e0eb}.pcq-table th,.pcq-table td{padding:9px 12px;border:1px solid #dbe4ee;text-align:left;vertical-align:middle}.pcq-table th{background:#edf4fb;text-transform:uppercase;font-size:11px;letter-spacing:.02em}.pcq-table td:first-child{width:38px}.pcq-table td small{display:block;color:#64748b;margin-top:3px}.pcq-pill{display:inline-block;min-width:34px;text-align:center;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:800}.pcq-pill.yes{background:#dff7e8;color:#087a4b}.pcq-pill.no{background:#eef2f6;color:#526174}.pcq-row-buttons{display:flex;gap:8px}.pcq-row-buttons form{margin:0}.danger-lite{background:#fff0f0!important;color:#d92d20!important;border-color:#ffd0d0!important}.pcq-edit-row td{background:#f8fbff}.pcq-edit-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;align-items:end;padding:5px}.pcq-edit-grid .wide{grid-column:1/-1}.pcq-edit-actions{display:flex;justify-content:flex-end;gap:8px;grid-column:1/-1}
html[data-theme="night"] .crm-actions-dropdown{background:#10263a;border-color:#475569}html[data-theme="night"] .crm-actions-dropdown a,html[data-theme="night"] .crm-actions-dropdown form button{color:#e5edf5}html[data-theme="night"] .crm-actions-dropdown a:hover,html[data-theme="night"] .crm-actions-dropdown form button:hover{background:#173a59}html[data-theme="night"] .pcq-options-box,html[data-theme="night"] .pcq-samples,html[data-theme="night"] .pcq-edit-row td{background:#10263a}html[data-theme="night"] .pcq-table th{background:#183149}html[data-theme="night"] .pcq-table th,html[data-theme="night"] .pcq-table td{border-color:#475569}
@media(max-width:1000px){.pcq-add-grid{grid-template-columns:1fr 1fr}.pcq-options-box{grid-column:auto;grid-row:auto}.pcq-add-actions{grid-column:1/-1}.pcq-edit-grid{grid-template-columns:1fr 1fr}}@media(max-width:680px){.pcq-add-grid,.pcq-edit-grid{grid-template-columns:1fr}.pcq-add-actions,.pcq-edit-grid .wide,.pcq-edit-actions{grid-column:auto}.pcq-card-head{flex-direction:column}.pcq-add-actions{justify-content:stretch}.pcq-add-actions .btn{flex:1}}

/* V6.3.46 Company Archive search clarity */
.company-archive-search{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.company-archive-search input{flex:1;border:2px solid #b9cbe0!important;border-radius:10px!important;padding:12px 14px!important;background:var(--theme-surface,#fff)!important;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.company-archive-search input:focus{outline:none;border-color:#1769e0!important;box-shadow:0 0 0 3px rgba(23,105,224,.12)}
.company-archive-search button{margin:0;min-height:44px;padding:10px 20px}
html[data-theme="night"] .company-archive-search input{background:var(--theme-surface)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important}
@media(max-width:620px){.company-archive-search{align-items:stretch;flex-direction:column}.company-archive-search button{width:100%}}
/* V6.3.49 Platform Manage Customer tabbed workspace */
.customer-title-row{margin-bottom:14px}.customer-header-actions{display:flex;gap:10px;align-items:center}.customer-identity{padding:18px 20px!important;display:grid;grid-template-columns:1.25fr .8fr 1fr 1.3fr;gap:18px;margin-bottom:14px}.customer-identity>div{display:flex;flex-direction:column;gap:4px;min-width:0}.customer-identity strong{font-size:20px;color:#fff}.customer-identity b{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#7895aa}.customer-identity span{color:#dce8f2;white-space:pre-line;overflow-wrap:anywhere}.customer-tabs{display:grid;grid-template-columns:1.05fr 1.55fr .75fr 1fr 1.3fr 1.05fr;gap:6px;padding:6px;background:#0b1d2e;border:1px solid #1d3b53;border-radius:12px;margin-bottom:16px;position:sticky;top:88px;z-index:20}.customer-tabs a{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 10px;border-radius:8px;text-decoration:none;color:#b9cad7;font-weight:750;font-size:13px;text-align:center}.customer-tabs a:hover{background:#102a40;color:#fff}.customer-tabs a.active{background:#2878ff;color:#fff;box-shadow:0 5px 14px #2878ff33}.customer-tabs em{font-style:normal;background:#e53935;color:#fff;border-radius:99px;min-width:20px;height:20px;display:inline-grid;place-items:center;font-size:11px}.customer-summary-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:16px}.customer-summary-grid .card{padding:17px!important}.customer-summary-grid span{display:block;color:#8faabd;text-transform:uppercase;font-size:10px;font-weight:800;letter-spacing:.05em;margin-bottom:8px}.customer-summary-grid strong{font-size:20px;color:#fff;overflow-wrap:anywhere}.customer-content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.customer-content-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-content-grid.billing-grid{grid-template-columns:minmax(280px,.7fr) minmax(0,1.8fr)}.customer-panel{padding:20px!important;border-radius:14px!important}.customer-panel h2{font-size:17px;margin:2px 0 15px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.detail-list{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(0,1.3fr);gap:10px 14px;margin:0}.detail-list dt{color:#7895aa;font-size:12px}.detail-list dd{margin:0;color:#eaf2f8;font-size:13px;white-space:pre-line;overflow-wrap:anywhere}.wide-panel{margin-top:16px}.licensed-list{display:grid;gap:9px}.licensed-list span{padding:8px 10px;border:1px solid #24445c;border-radius:8px;color:#8faabd}.licensed-list span.on{color:#72f0ad;background:#123d2b44}.seat-number{font-size:20px;font-weight:800;margin:20px 0 12px}.seat-bar{height:12px;background:#071a2a;border-radius:99px;overflow:hidden}.seat-bar i{display:block;height:100%;background:#2878ff;border-radius:99px}.invoices-panel{min-width:0}.admin-tools{margin-top:16px}.admin-action-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.admin-action-row form{margin:0}@media(max-width:1150px){.customer-summary-grid{grid-template-columns:repeat(3,1fr)}.customer-content-grid,.customer-content-grid.three{grid-template-columns:1fr 1fr}.customer-content-grid.billing-grid{grid-template-columns:1fr}.customer-tabs{grid-template-columns:repeat(3,1fr)}.customer-identity{grid-template-columns:1fr 1fr}}@media(max-width:700px){.customer-summary-grid,.customer-content-grid,.customer-content-grid.three{grid-template-columns:1fr}.customer-tabs{grid-template-columns:1fr 1fr;position:static}.customer-identity{grid-template-columns:1fr}.customer-header-actions{flex-wrap:wrap}.detail-list{grid-template-columns:1fr}.detail-list dt{margin-top:5px}}
/* V6.3.51 Platform customer support + user administration */
.customer-tabs{grid-template-columns:1fr 1.45fr .72fr .9fr 1.2fr .78fr 1fr}
.support-grid{grid-template-columns:1fr 1.35fr}
.support-user-list{display:grid;gap:8px;margin-top:12px}.support-user-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #24445c;border-radius:9px;background:#081b2b}.support-user-list span:first-child{display:flex;flex-direction:column;gap:2px;min-width:0}.support-user-list small{color:#7895aa;overflow-wrap:anywhere}.user-support-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.password-reset-pop{position:relative}.password-reset-pop>summary{list-style:none;cursor:pointer}.password-reset-pop>summary::-webkit-details-marker{display:none}.password-reset-form{position:absolute;right:0;top:calc(100% + 7px);z-index:60;width:340px;padding:14px;border:1px solid #2c536f;border-radius:11px;background:#0b1d2e;box-shadow:0 18px 45px #0009}.password-reset-form label{display:block}.password-reset-form small{display:block;color:#7895aa;margin:7px 0 11px;line-height:1.35}.password-input-row{display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:6px}.password-input-row input{min-width:0}.password-eye{min-width:58px}@media(max-width:1150px){.customer-tabs{grid-template-columns:repeat(4,1fr)}.support-grid{grid-template-columns:1fr}}@media(max-width:700px){.customer-tabs{grid-template-columns:1fr 1fr}.password-reset-form{position:fixed;left:12px;right:12px;top:25vh;width:auto}}

/* V6.3.54 plan feature cards */
.plan-detail-card{padding:0!important;overflow:hidden}.plan-detail-card summary{list-style:none;cursor:pointer;padding:18px;display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.plan-detail-card summary::-webkit-details-marker{display:none}.plan-detail-card summary span{display:grid;gap:4px}.plan-detail-card summary small{font-weight:800;letter-spacing:.08em}.plan-detail-card summary strong{font-size:1.15rem}.plan-detail-card summary em{font-style:normal;font-size:.88rem;color:#7895aa;font-weight:400}.plan-detail-card summary b{font-size:.78rem;white-space:nowrap}.plan-detail-card[open] summary{border-bottom:1px solid #24445c}.plan-feature-list{display:grid;gap:7px;padding:14px 18px 18px}.plan-feature-list span{padding:7px 9px;border:1px solid #24445c;border-radius:8px;background:#081b2b}

/* V6.3.60 — drag-and-drop Prospect Call Question ordering */
.pcq-drag-col{width:64px;text-align:center!important}.pcq-drag-cell{width:64px;text-align:center!important}.pcq-drag-handle{border:0;background:transparent;color:#64748b;font-size:22px;font-weight:900;line-height:1;cursor:grab;padding:8px 10px;border-radius:8px;letter-spacing:-4px}.pcq-drag-handle:hover{background:#e8f1fb;color:#1769e0}.pcq-drag-handle:active{cursor:grabbing}.pcq-question-row.is-dragging{opacity:.45;background:#eef6ff}.pcq-question-row{transition:background .12s ease,opacity .12s ease}.pcq-order-note{display:grid;gap:5px;max-width:260px;padding:9px 11px;border:1px dashed #bdcde0;border-radius:8px;background:#f8fbff}.pcq-order-note>span{font-size:12px;font-weight:750}.pcq-order-note small{color:#64748b}.pcq-table tbody.order-saved .pcq-question-row{background:#f2fbf6}html[data-theme="night"] .pcq-drag-handle:hover{background:#173a59;color:#7db5ff}html[data-theme="night"] .pcq-order-note{background:#10263a;border-color:#475569}

/* V6.3.61 Prospect Call Outcomes */
.pcq-tabs{display:flex;gap:8px;border-bottom:1px solid #d8e2ee;padding:0 4px}.pcq-tabs a{padding:11px 16px;text-decoration:none;font-weight:800;color:#526174;border-bottom:3px solid transparent}.pcq-tabs a.active{color:#1769e0;border-bottom-color:#1769e0}.outcome-add-grid,.outcome-edit-grid{display:grid;grid-template-columns:minmax(260px,1.5fr) repeat(4,minmax(150px,1fr));gap:14px;align-items:start}.outcome-add-grid label,.outcome-edit-grid label{display:grid;gap:6px;font-size:12px;font-weight:750}.outcome-name input{width:100%;box-sizing:border-box;border:1px solid #bdcde0!important;border-radius:8px!important;padding:9px 11px;min-height:40px}.outcome-add-grid .pcq-add-actions{grid-column:1/-1}.outcome-edit-grid .pcq-edit-actions{grid-column:1/-1}.outcome-table th:not(:first-child):not(:last-child),.outcome-table td:not(:first-child):not(:last-child){text-align:center}.outcome-table td:first-child{width:auto}.call-outcome-help{margin-top:10px;padding:10px 12px;border-radius:8px;background:#f6f9fd;color:#526174;font-size:12px}.required-followup-mark{color:#d92d20;font-weight:800}html[data-theme="night"] .pcq-tabs{border-color:#475569}html[data-theme="night"] .pcq-tabs a{color:#aebdca}html[data-theme="night"] .pcq-tabs a.active{color:#7db5ff;border-bottom-color:#7db5ff}html[data-theme="night"] .call-outcome-help{background:#10263a;color:#c5d2de}@media(max-width:1100px){.outcome-add-grid,.outcome-edit-grid{grid-template-columns:1fr 1fr}.outcome-name{grid-column:1/-1}}@media(max-width:680px){.pcq-tabs{overflow-x:auto}.outcome-add-grid,.outcome-edit-grid{grid-template-columns:1fr}.outcome-name{grid-column:auto}}

/* V6.3.62 Campaign Management call activity drill-down */
.campaign-management-table{min-width:1180px}.campaign-expand-col,.campaign-expand-cell{width:108px;text-align:center!important;padding-left:6px!important;padding-right:6px!important}.campaign-expand-btn{min-width:84px;height:30px;padding:0 10px;border:1px solid var(--theme-border,#cbd8e6);border-radius:7px;background:var(--theme-surface,#fff);color:var(--theme-text,#17324f);font-size:12px;line-height:1;font-weight:700;cursor:pointer;display:inline-flex;gap:6px;align-items:center;justify-content:center;transition:background .15s ease}.campaign-expand-icon{font-size:17px;line-height:1}.campaign-expand-label{white-space:nowrap}.campaign-expand-btn:hover{background:var(--theme-surface-2,#f1f5f9)}.campaign-activity-row>td{padding:0!important;background:var(--theme-surface-2,#f7f9fc)!important}.campaign-activity-panel{margin:8px 12px 12px 48px;border:1px solid var(--theme-border,#ccd8e5);border-radius:10px;background:var(--theme-surface,#fff);overflow:hidden}.campaign-activity-head{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid var(--theme-border,#d7e1ed)}.campaign-activity-head strong{display:block;font-size:14px}.campaign-activity-head small{display:block;margin-top:2px;color:var(--theme-muted,#64748b)}.campaign-activity-scroll{overflow:auto}.campaign-activity-table{width:100%;border-collapse:collapse;min-width:800px}.campaign-activity-table th,.campaign-activity-table td{padding:8px 10px;border:0;border-bottom:1px solid var(--theme-border,#e0e7ef);text-align:left;vertical-align:middle}.campaign-activity-table th{font-size:10px;text-transform:uppercase;letter-spacing:.03em;background:var(--theme-surface-2,#f1f5f9)}.campaign-activity-table tbody tr:last-child td{border-bottom:0}.campaign-outcome-pill{display:inline-block;padding:3px 7px;border:1px solid var(--theme-border,#ccd8e5);border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}.campaign-history-btn{padding:5px 8px!important;white-space:nowrap}.campaign-no-activity{padding:14px}.night-mode .campaign-expand-btn,.dark-mode .campaign-expand-btn,.night-mode .campaign-activity-panel,.dark-mode .campaign-activity-panel{background:var(--theme-surface)!important;color:var(--theme-text)!important}.night-mode .campaign-activity-row>td,.dark-mode .campaign-activity-row>td,.night-mode .campaign-activity-table th,.dark-mode .campaign-activity-table th{background:var(--theme-surface-3)!important}
/* V6.3.64 - editable prospect details and provenance */
.prospect-details-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.prospect-details-edit{padding:7px 12px}.prospect-data-source{display:block;margin-top:5px;font-size:10px;line-height:1.35;color:#64748b;font-weight:600}.prospect-details-edit-form{padding:14px 16px}.prospect-details-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.prospect-details-edit-grid label{display:grid;grid-template-columns:1fr 170px;gap:6px 10px;align-items:center;padding:10px 12px;border:1px solid #d8e3ef;border-radius:8px;background:#fbfdff}.prospect-details-edit-grid label>span{grid-column:1/-1;font-size:11px;text-transform:uppercase;color:#64748b}.prospect-details-edit-grid label>input{grid-column:1/-1}.prospect-details-edit-grid label>small{font-size:10px;text-transform:uppercase;color:#64748b}.prospect-details-edit-grid input,.prospect-details-edit-grid select{width:100%;border:1px solid #cbd8e7;border-radius:8px;background:#fff;padding:8px 10px;min-height:36px}.prospect-details-edit-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}html[data-theme="night"] .prospect-details-edit-grid label,html[data-theme="night"] .prospect-details-edit-grid input,html[data-theme="night"] .prospect-details-edit-grid select{background:#102235;border-color:#334155;color:#e5edf6}@media(max-width:800px){.prospect-details-edit-grid{grid-template-columns:1fr}.prospect-details-edit-grid label{grid-template-columns:1fr}}
/* V6.3.75 — 30-day free trial registration */
.ez-auth-trial{margin-top:20px;text-align:center}.ez-auth-divider{display:flex;align-items:center;gap:12px;color:#8a9aa6;font-size:11px;margin:2px 0 13px}.ez-auth-divider:before,.ez-auth-divider:after{content:"";height:1px;background:#dce6ed;flex:1}.ez-auth-trial-button{display:flex;align-items:center;justify-content:space-between;border:1px solid #15946d;background:#f1fbf7;color:#087655;border-radius:9px;padding:13px 16px;text-decoration:none;font-size:14px;font-weight:800}.ez-auth-trial-button:hover{background:#e7f8f1}.ez-auth-trial small{display:block;color:#7b8b97;margin-top:8px;font-size:10px}.trial-register-shell{min-height:100vh;display:grid;grid-template-columns:minmax(470px,.9fr) minmax(560px,1.1fr);background:#eef4f8}.trial-register-story{display:flex;align-items:center;padding:64px clamp(44px,6vw,90px);color:#fff;background:radial-gradient(circle at 18% 15%,rgba(30,154,255,.30),transparent 31%),linear-gradient(145deg,#06182b 0%,#0a2b4e 58%,#0c3c65 100%)}.trial-register-story-inner{max-width:650px}.trial-kicker{margin:44px 0 12px;color:#59bdff;font-size:12px;font-weight:900;letter-spacing:.16em}.trial-register-story h1{font-size:clamp(38px,4.4vw,62px);line-height:1.04;letter-spacing:-.045em;margin:0 0 20px}.trial-register-story p{color:#c9ddeb;font-size:17px;line-height:1.65}.trial-benefits{display:flex;flex-wrap:wrap;gap:9px;margin-top:30px}.trial-benefits span{border:1px solid rgba(130,196,242,.22);background:rgba(255,255,255,.06);padding:9px 12px;border-radius:8px;font-size:12px}.trial-register-panel{display:flex;align-items:center;justify-content:center;padding:38px}.trial-register-card{width:min(100%,680px);background:#fff;border:1px solid #dbe5ec;border-radius:20px;padding:36px 40px;box-shadow:0 22px 65px rgba(13,43,67,.12)}.trial-register-card h2{font-size:29px;margin:0 0 7px;color:#10263b}.trial-form{display:grid;gap:12px}.trial-form label{display:grid;gap:6px;font-size:12px;font-weight:750;color:#294052}.trial-form input:not([type=checkbox]){width:100%;box-sizing:border-box;border:1px solid #cddae4;border-radius:8px;padding:11px 12px;background:#fff;color:#142b3d;font-size:14px;outline:none}.trial-form input:focus{border-color:#188fe8;box-shadow:0 0 0 3px rgba(24,143,232,.12)}.trial-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.trial-terms{display:flex!important;align-items:flex-start;gap:8px!important;font-weight:500!important;margin-top:4px}.trial-terms input{margin-top:2px}.trial-terms a,.trial-login-link a{color:#087bbd}.trial-login-link{text-align:center;color:#748794;font-size:12px;margin-top:18px}.ez-trial-banner{padding:8px 18px;text-align:center;background:#e9f8f2;border-bottom:1px solid #bde5d5;color:#146b50;font-size:12px}.ez-trial-banner.expired{background:#fff4e6;border-bottom-color:#f0d2a7;color:#8a5718}
@media(max-width:900px){.trial-register-shell{grid-template-columns:1fr}.trial-register-story{display:none}.trial-register-panel{padding:20px}.trial-register-card{padding:28px 24px}}@media(max-width:620px){.trial-grid{grid-template-columns:1fr}}

/* V6.3.79 — Public EZ-BMS website */
.public-site-body{margin:0;background:#061827;color:#eef7ff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh}.public-site-body *{box-sizing:border-box}.public-site-body a{text-decoration:none}.public-nav{height:78px;display:flex;align-items:center;gap:34px;padding:0 clamp(24px,5vw,82px);border-bottom:1px solid rgba(125,190,235,.14);background:rgba(6,24,39,.94);position:sticky;top:0;z-index:50;backdrop-filter:blur(16px)}.public-brand{display:flex;align-items:center;margin-right:auto}.public-brand img{width:142px;height:auto;display:block}.public-nav nav{display:flex;gap:28px}.public-nav nav a,.public-signin{color:#b9cddd;font-size:14px;font-weight:700}.public-nav nav a:hover,.public-signin:hover{color:#fff}.public-nav-actions{display:flex;align-items:center;gap:20px}.public-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:0 24px;border-radius:10px;background:linear-gradient(135deg,#0c8ef4,#22b6ed);color:#fff!important;font-weight:800;box-shadow:0 12px 28px rgba(0,145,239,.2);transition:.2s ease}.public-button:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(0,145,239,.3)}.public-button.small{min-height:42px;padding:0 18px;font-size:13px}.public-hero{min-height:680px;display:grid;grid-template-columns:minmax(0,1fr) minmax(480px,.92fr);gap:5vw;align-items:center;padding:82px clamp(28px,7vw,118px) 92px;overflow:hidden;position:relative}.public-hero:before{content:"";position:absolute;width:620px;height:620px;border-radius:50%;background:radial-gradient(circle,rgba(0,159,245,.16),transparent 68%);right:-120px;top:20px;pointer-events:none}.public-kicker{color:#42baf8;font-size:12px;font-weight:900;letter-spacing:.18em;margin-bottom:16px}.public-hero h1{font-size:clamp(52px,5.4vw,82px);line-height:.98;letter-spacing:-.055em;margin:0;max-width:760px}.public-hero h1 span{color:#35b9f6}.public-lead{font-size:20px;line-height:1.65;color:#adc3d3;max-width:680px;margin:28px 0 30px}.public-hero-actions{display:flex;align-items:center;gap:28px;flex-wrap:wrap}.public-text-link{color:#d9edf9;font-weight:800;font-size:14px}.public-trial-proof{display:flex;gap:24px;flex-wrap:wrap;color:#8faabd;font-size:13px;font-weight:700;margin-top:22px}.public-trial-proof span::first-letter{color:#42d3a1}.public-hero-visual{position:relative;min-height:490px;display:flex;align-items:center}.public-app-window{width:100%;border:1px solid rgba(116,189,235,.24);background:#0b2236;border-radius:18px;box-shadow:0 38px 90px rgba(0,0,0,.42);overflow:hidden;transform:perspective(1200px) rotateY(-4deg) rotateX(1deg)}.public-app-top{height:62px;display:flex;align-items:center;gap:10px;padding:0 18px;border-bottom:1px solid rgba(125,190,235,.13);font-size:13px}.public-app-top>span{color:#6f91a8;margin-left:4px;font-size:10px}.public-app-mark{width:32px;height:32px;border-radius:8px;display:grid;place-items:center;background:linear-gradient(135deg,#0d93f2,#22d1e6);font-weight:900}.public-app-layout{display:grid;grid-template-columns:122px 1fr;min-height:350px}.public-app-side{border-right:1px solid rgba(125,190,235,.12);padding:24px 16px;display:flex;flex-direction:column;gap:22px;color:#7f9eb2;font-size:10px}.public-app-side b{color:#48bdf6}.public-app-main{padding:28px}.public-app-heading{display:flex;justify-content:space-between;align-items:flex-start}.public-app-heading div{display:flex;flex-direction:column;gap:5px}.public-app-heading small{font-size:8px;letter-spacing:.15em;color:#4cbaf3}.public-app-heading strong{font-size:20px}.public-app-heading i{font-style:normal;font-size:9px;color:#48d6a4;border:1px solid rgba(72,214,164,.35);padding:5px 8px;border-radius:99px}.public-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:24px}.public-metrics div,.public-chart-card{background:#0e2a41;border:1px solid rgba(122,190,232,.12);border-radius:10px;padding:14px}.public-metrics small{display:block;color:#7192a8;font-size:8px}.public-metrics b{display:block;font-size:16px;margin:4px 0}.public-metrics span{font-size:8px;color:#46cda0}.public-chart-card{margin-top:12px;height:160px}.public-chart-card>div:first-child{display:flex;justify-content:space-between;font-size:10px}.public-chart-card>div:first-child span{color:#7294aa;font-size:8px}.public-bars{height:105px;display:flex;align-items:flex-end;gap:9px;padding-top:18px}.public-bars i{display:block;flex:1;border-radius:4px 4px 1px 1px;background:linear-gradient(#26b7f4,#0d6ebd)}.public-bars i:nth-child(1){height:36%}.public-bars i:nth-child(2){height:58%}.public-bars i:nth-child(3){height:48%}.public-bars i:nth-child(4){height:82%}.public-bars i:nth-child(5){height:66%}.public-bars i:nth-child(6){height:91%}.public-bars i:nth-child(7){height:76%}.public-float-card{position:absolute;background:#fff;color:#0c2234;border-radius:12px;padding:14px 17px;box-shadow:0 18px 42px rgba(0,0,0,.28);min-width:190px}.public-float-card b,.public-float-card span{display:block}.public-float-card b{font-size:12px}.public-float-card span{font-size:9px;color:#6f8290;margin-top:4px}.public-float-card.one{left:-32px;bottom:28px}.public-float-card.two{right:-18px;top:30px}.public-strip{min-height:76px;border-top:1px solid rgba(125,190,235,.12);border-bottom:1px solid rgba(125,190,235,.12);display:flex;align-items:center;justify-content:center;gap:22px;flex-wrap:wrap;padding:18px 30px;color:#819daf;font-size:11px;font-weight:800;letter-spacing:.08em}.public-strip i{width:4px;height:4px;background:#168de4;border-radius:50%}.public-section{padding:105px clamp(28px,7vw,118px)}.public-section-heading{max-width:790px;margin:0 auto 54px;text-align:center}.public-section-heading.left{text-align:left;margin-left:0}.public-section-heading h2,.public-mobile-copy h2,.public-trial-section h2{font-size:clamp(36px,4vw,58px);line-height:1.05;letter-spacing:-.04em;margin:0 0 20px}.public-section-heading p,.public-mobile-copy>p,.public-trial-section>div>p{color:#9db6c7;line-height:1.75;font-size:17px}.public-intro{background:#081d2f}.public-value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:1240px;margin:auto}.public-value-grid article,.public-module-grid article{border:1px solid rgba(123,190,234,.14);background:#0b2439;border-radius:14px;padding:28px}.public-value-grid article>span{color:#39b8f6;font-weight:900;font-size:11px;letter-spacing:.12em}.public-value-grid h3,.public-module-grid h3{font-size:21px;margin:16px 0 10px}.public-value-grid p,.public-module-grid p{color:#8faabd;line-height:1.65;font-size:14px;margin:0}.public-modules{background:#061827}.public-module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.public-module-grid article{min-height:250px}.public-module-grid article.featured{grid-column:span 2;display:grid;grid-template-columns:70px 1fr;gap:22px;background:linear-gradient(135deg,#0b2b45,#0a2034)}.public-module-grid article>span,.public-module-grid article div>span{font-size:10px;color:#45baf4;font-weight:900;letter-spacing:.15em}.module-icon{width:48px;height:48px;border-radius:11px;background:#0d3552;border:1px solid rgba(74,186,244,.2);display:grid;place-items:center;color:#48c0fa;font-size:22px;margin-bottom:22px}.public-mobile{background:#081d2f;display:grid;grid-template-columns:.7fr 1fr;gap:9vw;align-items:center}.public-phone{width:285px;height:560px;border:8px solid #122b3d;border-radius:42px;background:linear-gradient(180deg,#071b2b,#0b2840);box-shadow:0 35px 70px rgba(0,0,0,.35);padding:50px 22px 22px;position:relative;margin:auto}.phone-notch{position:absolute;width:90px;height:22px;background:#122b3d;border-radius:0 0 14px 14px;top:0;left:50%;transform:translateX(-50%)}.phone-brand{font-weight:900;color:#45bdf7;margin-bottom:46px}.public-phone small{color:#52bdf5;font-size:9px;letter-spacing:.15em}.public-phone h3{font-size:22px;margin:8px 0}.phone-time{font-size:38px;font-weight:800;letter-spacing:-.04em;margin:26px 0}.phone-card{background:#0f304a;border:1px solid rgba(126,193,235,.16);border-radius:14px;padding:18px}.phone-card b,.phone-card span{display:block}.phone-card span{font-size:10px;color:#8aa8ba;margin-top:5px}.phone-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.phone-actions i{font-style:normal;background:#0e2a41;padding:14px 5px;text-align:center;border-radius:9px;font-size:9px;color:#9db5c5}.public-mobile-copy{max-width:700px}.public-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:28px}.public-checks span{padding:14px 16px;background:#0b2a42;border:1px solid rgba(124,192,234,.13);border-radius:9px;color:#c4d8e5;font-size:13px;font-weight:700}.public-checks span:before{content:"✓";color:#41d2a0;margin-right:10px}.public-trial-section{display:grid;grid-template-columns:1fr 390px;gap:70px;align-items:center}.public-trial-card{background:linear-gradient(145deg,#0b2b46,#0b2237);border:1px solid rgba(70,185,245,.22);border-radius:18px;padding:30px;display:grid;gap:12px;box-shadow:0 28px 65px rgba(0,0,0,.2)}.public-trial-card strong{font-size:38px}.public-trial-card>span{color:#9eb6c6;font-size:14px}.public-trial-card .public-button{margin-top:12px}.public-faq{background:#081d2f}.public-faq-grid{max-width:1000px;margin:auto}.public-faq details{border-top:1px solid rgba(128,192,233,.15);padding:22px 4px}.public-faq details:last-child{border-bottom:1px solid rgba(128,192,233,.15)}.public-faq summary{cursor:pointer;font-weight:800;font-size:17px;list-style:none}.public-faq summary::-webkit-details-marker{display:none}.public-faq summary:after{content:"+";float:right;color:#42baf7;font-size:24px}.public-faq details[open] summary:after{content:"−"}.public-faq details p{color:#91acbd;line-height:1.7;max-width:800px}.public-final-cta{padding:70px clamp(28px,7vw,118px);display:flex;align-items:center;justify-content:space-between;gap:40px;background:linear-gradient(120deg,#087bd0,#16a9e7)}.public-final-cta span{font-size:10px;font-weight:900;letter-spacing:.18em}.public-final-cta h2{font-size:clamp(32px,4vw,52px);letter-spacing:-.04em;margin:8px 0}.public-final-cta p{margin:0;color:#d8f3ff}.public-button.light{background:#fff;color:#09253a!important;box-shadow:none}.public-footer{padding:44px clamp(28px,7vw,118px);display:grid;grid-template-columns:1fr auto;gap:24px;border-top:1px solid rgba(125,190,235,.12);background:#04131f}.public-footer img{width:130px}.public-footer p{font-size:11px;color:#7592a6;margin:7px 0}.public-footer-links{display:flex;gap:22px;align-items:center;flex-wrap:wrap}.public-footer-links a{color:#9cb5c6;font-size:12px;font-weight:700}.public-footer>small{grid-column:1/-1;color:#557386;font-size:10px}.public-site-body.login-page-body{background:#061827}
@media(max-width:1050px){.public-nav nav{display:none}.public-hero{grid-template-columns:1fr;padding-top:60px}.public-hero-visual{max-width:720px;width:100%;margin:auto}.public-module-grid{grid-template-columns:repeat(2,1fr)}.public-mobile{grid-template-columns:1fr 1.2fr}.public-trial-section{grid-template-columns:1fr 340px}}
@media(max-width:720px){.public-nav{height:68px;padding:0 18px}.public-brand img{width:112px}.public-signin{display:none}.public-button.small{min-height:38px;padding:0 13px}.public-hero{display:block;padding:54px 22px 64px;min-height:0}.public-hero h1{font-size:48px}.public-lead{font-size:17px}.public-hero-visual{margin-top:54px;min-height:350px}.public-app-window{transform:none}.public-app-layout{grid-template-columns:82px 1fr;min-height:270px}.public-app-side{padding:18px 10px}.public-app-main{padding:18px}.public-metrics{grid-template-columns:1fr}.public-metrics div:nth-child(n+2){display:none}.public-chart-card{height:125px}.public-float-card{display:none}.public-section{padding:72px 22px}.public-value-grid,.public-module-grid{grid-template-columns:1fr}.public-module-grid article.featured{grid-column:auto;display:block}.public-mobile{grid-template-columns:1fr;gap:54px}.public-phone{width:260px;height:520px}.public-checks{grid-template-columns:1fr}.public-trial-section{grid-template-columns:1fr;gap:30px}.public-final-cta{display:block;padding:54px 22px}.public-final-cta .public-button{margin-top:24px}.public-footer{grid-template-columns:1fr;padding:38px 22px}.public-footer-links{gap:16px}.public-strip{justify-content:flex-start;overflow:hidden;flex-wrap:nowrap}.public-strip span{white-space:nowrap}}

/* V6.3.80 — Public website polish */
.public-site-body .public-intro h2,.public-site-body .public-modules h2,.public-site-body .public-mobile h2,.public-site-body .public-faq h2{color:#f4f9fd!important}.public-site-body .public-value-grid h3,.public-site-body .public-module-grid h3,.public-site-body .public-phone h3,.public-site-body .phone-time{color:#eef8ff!important}.public-site-body .public-text-link{color:#176fae;font-weight:850}.public-site-body .public-text-link:hover{color:#064e83}.public-site-body .public-intro,.public-site-body .public-modules,.public-site-body .public-mobile,.public-site-body .public-faq{color:#eef8ff}.public-site-body .public-value-grid article,.public-site-body .public-module-grid article{box-shadow:0 12px 30px rgba(0,0,0,.08);transition:transform .18s ease,border-color .18s ease,background .18s ease}.public-site-body .public-value-grid article:hover,.public-site-body .public-module-grid article:hover{transform:translateY(-2px);border-color:rgba(66,186,248,.34);background:#0c2941}.public-site-body .public-phone{color:#eef8ff}.public-site-body .phone-card b{color:#eef8ff}.public-site-body .public-faq summary{color:#eaf7ff}.public-site-body .public-faq details[open] summary{color:#42baf8}.public-site-body .public-section{padding-top:86px;padding-bottom:86px}.public-site-body .public-section-heading{margin-bottom:42px}.public-site-body .public-final-cta h2{color:#082b49}.public-site-body .public-final-cta p{font-weight:600}.public-site-body .public-footer-links a:hover{color:#fff}
@media(max-width:900px){.public-site-body .public-section{padding-top:64px;padding-bottom:64px}.public-site-body .public-section-heading{margin-bottom:32px}.public-site-body .public-mobile{gap:48px}.public-site-body .public-phone{width:250px;height:500px}.public-site-body .public-final-cta{align-items:flex-start}}

/* V6.3.80 — CRM Companies workspace */
.companies-header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.companies-add-button{background:#079e6d!important;border-color:#079e6d!important}.companies-workspace{padding:18px!important;overflow:visible}.companies-filters{display:grid;grid-template-columns:minmax(280px,1.5fr) minmax(150px,.55fr) minmax(180px,.7fr) auto auto;gap:12px;align-items:end;padding:14px;border:1px solid var(--line,#d7e0e7);border-radius:12px;background:var(--card,#fff);margin-bottom:14px}.companies-filters label{margin:0}.companies-filters label>span{display:block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px;color:var(--muted,#657785)}.companies-filters input,.companies-filters select,.company-add-form input,.company-add-form select,.company-add-form textarea{width:100%;border:1px solid #b9c8d3!important;background:var(--card,#fff)!important;border-radius:8px!important;min-height:42px;padding:9px 11px;color:inherit}.companies-filters input:focus,.companies-filters select:focus,.company-add-form input:focus,.company-add-form select:focus,.company-add-form textarea:focus{outline:2px solid rgba(29,125,240,.2);border-color:#1d7df0!important}.companies-table-head{display:flex;justify-content:space-between;align-items:center;padding:5px 4px 12px;color:var(--muted,#657785)}.companies-table-head b{color:inherit}.companies-table-wrap{border:1px solid var(--line,#d7e0e7);border-radius:12px;overflow:visible}.companies-table{width:100%;border-collapse:separate;border-spacing:0;margin:0}.companies-table th{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted,#657785);padding:12px 14px;border-bottom:1px solid var(--line,#d7e0e7);background:rgba(100,130,150,.05)}.companies-table td{padding:11px 14px;border-bottom:1px solid var(--line,#e3e9ee);vertical-align:middle}.companies-table tbody tr:last-child td{border-bottom:0}.companies-table tbody tr:hover{background:rgba(27,125,240,.035)}.companies-table td:first-child{min-width:240px}.companies-table td small,.companies-table td span{display:block}.companies-table td small{margin-top:3px;color:var(--muted,#71818d);font-size:11px}.company-name-link{font-weight:800}.company-status{display:inline-flex!important;width:max-content}.companies-actions-col{width:90px}.company-row-actions{position:relative}.company-row-actions summary{cursor:pointer;list-style:none;border:1px solid var(--line,#cbd7df);border-radius:7px;padding:7px 9px;text-align:center;font-weight:750;font-size:12px}.company-row-actions summary::-webkit-details-marker{display:none}.company-row-actions>div{position:absolute;right:0;top:calc(100% + 5px);z-index:30;min-width:150px;padding:6px;background:var(--card,#fff);border:1px solid var(--line,#cbd7df);border-radius:9px;box-shadow:0 14px 32px rgba(0,0,0,.15)}.company-row-actions a{display:block;padding:8px 10px;border-radius:6px;color:inherit}.company-row-actions a:hover{background:rgba(27,125,240,.08)}.companies-pagination{display:flex;justify-content:center;align-items:center;gap:14px;padding-top:16px}.companies-empty{padding:42px;text-align:center}.companies-empty b,.companies-empty span{display:block}.companies-empty span{margin-top:5px;color:var(--muted,#71818d)}.company-add-dialog{width:min(760px,calc(100vw - 32px));max-width:760px}.company-add-dialog .workspace-dialog-head p{margin:5px 0 0;color:var(--muted,#71818d)}.company-add-form{display:grid!important;grid-template-columns:1fr 1fr;gap:14px!important}.company-add-form label{margin:0!important}.company-add-wide{grid-column:1/-1}.company-duplicate-override{display:flex!important;align-items:center;gap:9px;padding:10px 12px;border:1px dashed var(--line,#cbd7df);border-radius:8px;font-size:12px;color:var(--muted,#71818d)}.company-duplicate-override input{width:auto!important;min-height:0!important;margin:0}.company-workspace-header,.company-section-nav,.company-workspace-grid .platform-card,.workspace-full-card{border-radius:12px}
@media(max-width:980px){.companies-filters{grid-template-columns:1fr 1fr}.companies-search{grid-column:1/-1}.companies-table-wrap{overflow-x:auto}.companies-table{min-width:760px}}
@media(max-width:650px){.companies-header-actions{width:100%}.companies-header-actions .button,.companies-header-actions button{flex:1}.companies-filters{grid-template-columns:1fr}.companies-search{grid-column:auto}.company-add-form{grid-template-columns:1fr}.company-add-wide{grid-column:auto}}

/* V6.3.81 — Public website contrast, cache-safe styling and navigation alignment */
.public-site-body .public-section-heading h2,
.public-site-body .public-intro .public-section-heading h2,
.public-site-body .public-modules .public-section-heading h2,
.public-site-body .public-mobile-copy h2,
.public-site-body .public-faq .public-section-heading h2{color:#f7fbff!important;-webkit-text-fill-color:#f7fbff!important;opacity:1!important}
.public-site-body .public-value-grid h3,
.public-site-body .public-module-grid h3,
.public-site-body .public-phone h3,
.public-site-body .public-phone .phone-time{color:#f1f8fd!important;-webkit-text-fill-color:#f1f8fd!important;opacity:1!important}
.public-site-body .public-section-heading p,
.public-site-body .public-value-grid p,
.public-site-body .public-module-grid p,
.public-site-body .public-mobile-copy>p,
.public-site-body .public-faq details p{color:#b7cedd!important;opacity:1!important}
.public-site-body .public-nav{align-items:center!important}
.public-site-body .public-nav nav{align-self:stretch;display:flex;align-items:center;gap:28px}
.public-site-body .public-nav nav a{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 4px;line-height:1;color:#b9cddd}
.public-site-body .public-nav nav a:hover,.public-site-body .public-nav nav a:focus-visible{color:#fff}
.public-site-body .public-nav-actions{height:42px;align-items:stretch;gap:10px}
.public-site-body .public-signin{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 17px;border:1px solid rgba(185,205,221,.52);border-radius:10px;background:rgba(255,255,255,.035);color:#e6f2fa!important;line-height:1;font-size:13px;font-weight:800;transition:background .18s ease,border-color .18s ease,color .18s ease}
.public-site-body .public-signin:hover,.public-site-body .public-signin:focus-visible{background:rgba(255,255,255,.10);border-color:#8cccf0;color:#fff!important}
.public-site-body .public-nav-actions .public-button.small{height:42px;min-height:42px;line-height:1}
@media(max-width:1050px){.public-site-body .public-nav nav{display:none}}
@media(max-width:720px){.public-site-body .public-signin{display:none}.public-site-body .public-nav-actions{height:38px}.public-site-body .public-nav-actions .public-button.small{height:38px;min-height:38px}}

/* V6.3.82 — Companies workspace depth + public header balance */
.companies-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 14px}.companies-summary-card{display:grid;gap:4px;padding:15px 17px;border:1px solid var(--line,#d7e0e7);border-radius:12px;background:var(--card,#fff);color:inherit;text-decoration:none;box-shadow:0 3px 12px rgba(15,23,42,.035);transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease}.companies-summary-card:hover{transform:translateY(-1px);border-color:#79afea;box-shadow:0 8px 22px rgba(15,23,42,.07)}.companies-summary-card.active{border-color:#1d7df0;box-shadow:inset 0 0 0 1px #1d7df0}.companies-summary-card span{font-size:10px;text-transform:uppercase;letter-spacing:.07em;font-weight:850;color:var(--muted,#657785)}.companies-summary-card strong{font-size:26px;line-height:1.05}.companies-summary-card small{color:var(--muted,#71818d);font-size:11px}.companies-filters-v2{grid-template-columns:minmax(260px,1.45fr) minmax(125px,.55fr) minmax(155px,.65fr) minmax(150px,.65fr) minmax(140px,.6fr) auto}.companies-filter-actions{display:flex;gap:8px;align-items:center}.companies-filter-actions>*{margin:0!important;white-space:nowrap}.companies-table-v2 td:nth-child(4){min-width:140px}.companies-table-v2 td:nth-child(5){min-width:130px}.companies-table-v2 .company-status+small{margin-top:5px}.company-add-dialog{max-height:min(860px,calc(100vh - 40px));overflow:auto}
.public-site-body .public-nav{display:grid!important;grid-template-columns:minmax(170px,1fr) auto minmax(300px,1fr)!important;column-gap:32px!important}.public-site-body .public-brand{justify-self:start}.public-site-body .public-nav nav{justify-self:center;gap:34px!important}.public-site-body .public-nav-actions{justify-self:end}.public-site-body .public-signin{height:42px!important;min-height:42px!important;background:#079e6d!important;border:1px solid #079e6d!important;color:#fff!important;box-shadow:0 5px 14px rgba(7,158,109,.18)}.public-site-body .public-signin:hover,.public-site-body .public-signin:focus-visible{background:#07875f!important;border-color:#07875f!important;color:#fff!important}.public-site-body .public-nav-actions .public-button.small{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:42px!important;min-height:42px!important;margin:0!important}
@media(max-width:1180px){.companies-filters-v2{grid-template-columns:1fr 1fr 1fr}.companies-search{grid-column:1/-1}.public-site-body .public-nav{grid-template-columns:minmax(150px,1fr) auto minmax(260px,1fr)!important;column-gap:20px!important}.public-site-body .public-nav nav{gap:22px!important}}
@media(max-width:1050px){.public-site-body .public-nav{display:flex!important}.public-site-body .public-nav nav{display:none!important}.public-site-body .public-nav-actions{margin-left:auto}}
@media(max-width:760px){.companies-summary-grid{grid-template-columns:1fr 1fr}.companies-filters-v2{grid-template-columns:1fr}.companies-search{grid-column:auto}.companies-filter-actions{align-items:stretch}.companies-filter-actions>*{flex:1}}
@media(max-width:480px){.companies-summary-grid{grid-template-columns:1fr}}

/* V6.3.83 Companies summary/contact layout */
.companies-summary-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:0 0 14px!important}
.companies-summary-card{display:flex!important;flex-direction:column!important;align-items:flex-start!important;min-width:0;padding:14px 16px!important;border:1px solid var(--line,#d7e0e7)!important;border-radius:12px!important;background:var(--card,#fff)!important;text-decoration:none!important}
.companies-summary-card span,.companies-summary-card strong,.companies-summary-card small{display:block!important;width:100%}
.companies-summary-card strong{margin:3px 0;font-size:25px!important}
.companies-table-v2 th:nth-child(3),.companies-table-v2 td:nth-child(3){min-width:190px}
.companies-table-v2 th:nth-child(4),.companies-table-v2 td:nth-child(4){min-width:135px}
.companies-table-v2 th:nth-child(5),.companies-table-v2 td:nth-child(5){min-width:140px}
.companies-table-v2 th:nth-child(6),.companies-table-v2 td:nth-child(6){min-width:130px}
.company-email-cell,.company-phone-cell{white-space:nowrap}
@media(max-width:900px){.companies-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.companies-table-v2{min-width:1050px}}
@media(max-width:520px){.companies-summary-grid{grid-template-columns:1fr!important}}

/* V6.3.85 Contextual Help */
.context-help-trigger{width:auto!important;min-width:42px;padding:0 9px!important;gap:5px}.context-help-q{display:grid;place-items:center;width:23px;height:23px;border:1.5px solid currentColor;border-radius:50%;font-weight:800;font-size:14px}.context-help-label{font-size:12px;font-weight:700}.context-help-overlay{position:fixed;inset:0;z-index:1180;background:rgba(7,31,51,.08);opacity:0;pointer-events:none;transition:opacity .2s}.context-help-overlay.open{opacity:1;pointer-events:auto}.context-help-drawer{position:fixed;z-index:1190;top:0;right:0;width:min(420px,94vw);height:100vh;background:var(--panel,#fff);border-left:1px solid var(--border,#dbe3ea);box-shadow:-14px 0 36px rgba(7,31,51,.16);transform:translateX(105%);transition:transform .22s ease;display:flex!important;flex-direction:column}.context-help-drawer.open{transform:translateX(0)}.context-help-head{display:flex;align-items:flex-start;justify-content:space-between;padding:18px 18px 15px;border-bottom:1px solid var(--border,#dbe3ea)}.context-help-head strong{display:block;font-size:18px;color:var(--text,#102b3d)}.context-help-head small{display:block;margin-top:3px;color:var(--muted,#657786)}.context-help-head button{border:0;background:transparent;font-size:28px;line-height:1;color:var(--muted,#657786);cursor:pointer}.context-help-body{padding:16px 18px 28px;overflow:auto}.context-help-search{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;border:1px solid var(--border,#dbe3ea);border-radius:10px;padding:5px 5px 5px 11px;background:var(--panel,#fff);margin-bottom:18px}.context-help-search input{border:0!important;box-shadow:none!important;background:transparent!important;min-width:0;padding:8px 2px!important}.context-help-kicker{font-size:11px;font-weight:800;letter-spacing:.08em;color:var(--muted,#657786);margin:4px 0 9px}.context-help-topic{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;border:1px solid var(--border,#dbe3ea);background:var(--panel,#fff);border-radius:10px;padding:12px 13px;margin:0 0 8px;cursor:pointer;color:var(--text,#102b3d)}.context-help-topic:hover{border-color:#6ba9d8;box-shadow:0 3px 12px rgba(7,31,51,.07)}.context-help-topic span{display:flex;flex-direction:column;gap:3px}.context-help-topic small{color:var(--muted,#657786);font-weight:400;line-height:1.35}.context-help-topic>strong{font-size:22px;color:#3182bd}.context-help-full-centre{display:block;margin-top:15px;padding-top:14px;border-top:1px solid var(--border,#dbe3ea);font-weight:700}.context-help-back{border:0;background:transparent;padding:0;margin:0 0 12px;color:#2476b5;font-weight:700;cursor:pointer}.context-help-article-category,.context-help-result small{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#2476b5}.context-help-article-body{line-height:1.58;color:var(--text,#102b3d);margin:12px 0 18px}.context-help-open-guide{display:inline-flex}.context-help-result{display:flex;flex-direction:column;gap:4px;padding:12px 0;border-bottom:1px solid var(--border,#dbe3ea);text-decoration:none;color:var(--text,#102b3d)}.context-help-result span{font-size:13px;color:var(--muted,#657786)}.context-help-result:hover b{color:#2476b5}@media(max-width:760px){.context-help-label{display:none}.context-help-trigger{min-width:38px;padding:0 6px!important}.context-help-overlay{background:rgba(7,31,51,.28)}}


/* V6.3.87 — Header utility alignment */
.ez-topbar-right .context-help-trigger{width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid rgba(47,140,255,.72)!important;border-radius:10px!important;background:#1676e8!important;color:#fff!important;position:relative!important;overflow:visible!important;gap:0!important}
.ez-topbar-right .context-help-trigger:hover{background:#0f68d5!important}
.ez-topbar-right .context-help-q{width:24px!important;height:24px!important;border:1.5px solid currentColor!important;border-radius:50%!important;display:grid!important;place-items:center!important;font-size:14px!important;line-height:1!important;font-weight:850!important}
.ez-topbar-right .profile-trigger{max-width:150px!important}
@media(max-width:1100px){.ez-topbar-right .context-help-trigger{width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important}}

/* V6.3.88 Interactive Contextual Help / Show Me */
.context-help-walkthrough-kicker{margin-top:18px;padding-top:14px;border-top:1px solid var(--border,#dbe3ea)}
.context-help-showme>strong{font-size:12px!important;border:1px solid #3182bd;border-radius:999px;padding:5px 8px;white-space:nowrap}
.ez-help-tour-active .context-help-overlay{display:none!important}
.ez-help-highlight{position:relative!important;z-index:1302!important;outline:4px solid rgba(47,140,255,.32)!important;box-shadow:0 0 0 2px #2f8cff,0 0 0 9999px rgba(7,31,51,.20)!important;border-radius:8px!important}
.ez-help-tour-tip{position:fixed;z-index:1305;width:min(350px,calc(100vw - 24px));background:var(--panel,#fff);color:var(--text,#102b3d);border:1px solid var(--border,#dbe3ea);border-radius:12px;padding:15px;box-shadow:0 14px 38px rgba(7,31,51,.24)}
.ez-help-tour-tip strong{display:block;font-size:16px;margin:3px 0 6px}.ez-help-tour-tip p{margin:0 0 13px;line-height:1.45;color:var(--muted,#657786)}
.ez-help-tour-count{font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#2476b5}.ez-help-tour-actions{display:grid;grid-template-columns:auto 1fr auto auto;gap:7px;align-items:center}

/* V6.3.89 Interactive Help guided-action refinement */
.ez-help-action-target{cursor:pointer!important;animation:ezHelpPulse 1.35s ease-in-out infinite}
.ez-help-tour-action-note{margin:-3px 0 13px;padding:8px 10px;border-radius:8px;background:rgba(47,140,255,.09);color:#1d5f98;font-size:12px;font-weight:750}
@keyframes ezHelpPulse{0%,100%{outline-color:rgba(47,140,255,.45)}50%{outline-color:#2f8cff}}


/* V6.3.89 Interactive Help guided-action refinement */
.ez-help-action-target{cursor:pointer!important;animation:ezHelpPulse 1.35s ease-in-out infinite}
.ez-help-tour-action-note{margin:-3px 0 13px;padding:8px 10px;border-radius:8px;background:rgba(47,140,255,.09);color:#1d5f98;font-size:12px;font-weight:750}
@keyframes ezHelpPulse{0%,100%{outline-color:rgba(47,140,255,.45)}50%{outline-color:#2f8cff}}
