:root{--ecq-primary:#075fca;--ecq-secondary:#11a1da;--ecq-navy:#071f4a;--ecq-bg:#f3f7fc;--ecq-card:#fff;--ecq-border:#dce6f2;--ecq-text:#10213d;--ecq-muted:#687891;--ecq-success:#16a36a;--ecq-warning:#f4a621;--ecq-danger:#e84b5f;--ecq-radius:16px;--ecq-shadow:0 10px 28px rgba(23,54,96,.09)}
body[class*="ecq-"] #wpcontent,body.toplevel_page_ecq-dashboard #wpcontent{background:var(--ecq-bg);min-height:100vh;padding-left:0}
body[class*="ecq-"] #wpbody-content,body.toplevel_page_ecq-dashboard #wpbody-content{padding-bottom:50px}
.wrap[class*="ecq"],body.toplevel_page_ecq-dashboard .wrap{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ecq-text);margin:20px 22px 0}
.wrap[class*="ecq"] *,body.toplevel_page_ecq-dashboard .wrap *{box-sizing:border-box}
.wrap[class*="ecq"] h1,.wrap[class*="ecq"] h2,.wrap[class*="ecq"] h3{color:var(--ecq-text);letter-spacing:-.025em}
.ecq-ui-hero,.ecq-hero,.ecq-ds-hero,.ecq-sc-hero,.ecq-lq-hero,.ecq-ct-hero,.ecq-pr-hero,.ecq-bt-hero,.ecq-rd-hero{position:relative;overflow:hidden;background:linear-gradient(125deg,var(--ecq-navy),var(--ecq-primary) 58%,var(--ecq-secondary));color:#fff!important;border-radius:20px!important;padding:26px 30px!important;margin:0 0 22px!important;box-shadow:0 14px 32px rgba(7,54,119,.2)}
.ecq-ui-hero:after,.ecq-hero:after,.ecq-ds-hero:after,.ecq-sc-hero:after,.ecq-lq-hero:after,.ecq-ct-hero:after,.ecq-pr-hero:after,.ecq-bt-hero:after,.ecq-rd-hero:after{content:"";position:absolute;width:230px;height:230px;border-radius:50%;right:-65px;top:-110px;background:rgba(255,255,255,.1)}
.ecq-ui-hero h1,.ecq-hero h1,.ecq-ds-hero h1,.ecq-sc-hero h1,.ecq-lq-hero h1,.ecq-ct-hero h1,.ecq-pr-hero h1,.ecq-bt-hero h1,.ecq-rd-hero h1{color:#fff!important;font-size:27px!important;font-weight:800!important;margin:0 0 5px!important}
.ecq-ui-hero p,.ecq-hero p,.ecq-ds-hero p,.ecq-sc-hero p,.ecq-lq-hero p,.ecq-ct-hero p,.ecq-pr-hero p,.ecq-bt-hero p,.ecq-rd-hero p{color:#dcecff!important;margin:0!important;font-size:14px}
.ecq-admin-card,.wrap[class*="ecq"] section,.wrap[class*="ecq"] article,.wrap[class*="ecq"] form:not(.inline):not([class=""]),.wrap[class*="ecq"] .ecq-table-wrap,.wrap[class*="ecq"] .ecq-ds-card,.wrap[class*="ecq"] .ecq-sc-card,.wrap[class*="ecq"] .ecq-bt-card{background:var(--ecq-card);border:1px solid var(--ecq-border)!important;border-radius:var(--ecq-radius)!important;box-shadow:var(--ecq-shadow);}
.wrap[class*="ecq"] input[type=text],.wrap[class*="ecq"] input[type=number],.wrap[class*="ecq"] input[type=date],.wrap[class*="ecq"] input[type=time],.wrap[class*="ecq"] input[type=email],.wrap[class*="ecq"] input[type=search],.wrap[class*="ecq"] select,.wrap[class*="ecq"] textarea{border:1px solid #cfdbea!important;border-radius:9px!important;min-height:40px;padding:8px 11px!important;box-shadow:none!important;background:#fff;color:var(--ecq-text)}
.wrap[class*="ecq"] input:focus,.wrap[class*="ecq"] select:focus,.wrap[class*="ecq"] textarea:focus{border-color:var(--ecq-primary)!important;box-shadow:0 0 0 3px rgba(7,95,202,.12)!important}
.wrap[class*="ecq"] button,.wrap[class*="ecq"] .button,.wrap[class*="ecq"] a[class*="save"],.wrap[class*="ecq"] a[class*="open"]{border:0!important;border-radius:9px!important;background:var(--ecq-primary)!important;color:#fff!important;font-weight:700!important;min-height:38px;padding:9px 15px!important;text-decoration:none;cursor:pointer;box-shadow:0 5px 12px rgba(7,95,202,.18)}
.wrap[class*="ecq"] button:hover,.wrap[class*="ecq"] .button:hover{filter:brightness(.94);transform:translateY(-1px)}
.wrap[class*="ecq"] table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border-radius:14px;overflow:hidden}
.wrap[class*="ecq"] th{background:#f5f8fc;color:#536680;text-transform:uppercase;font-size:11px;letter-spacing:.055em;font-weight:800;padding:13px!important;border-bottom:1px solid var(--ecq-border)}
.wrap[class*="ecq"] td{padding:13px!important;border-bottom:1px solid #edf2f8;vertical-align:middle;color:#253752}
.wrap[class*="ecq"] tbody tr:hover td{background:#f8fbff}
.wrap[class*="ecq"] small{color:var(--ecq-muted)}
.ecq-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:18px}.ecq-kpi{background:#fff;border:1px solid var(--ecq-border);border-radius:15px;padding:18px;box-shadow:var(--ecq-shadow);position:relative;overflow:hidden}.ecq-kpi:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--accent,var(--ecq-primary))}.ecq-kpi-top{display:flex;align-items:center;justify-content:space-between;color:var(--ecq-muted);font-size:12px;font-weight:700}.ecq-kpi-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:color-mix(in srgb,var(--accent,var(--ecq-primary)) 12%,white);color:var(--accent,var(--ecq-primary));font-size:18px}.ecq-kpi-value{font-size:32px;font-weight:850;margin:7px 0 2px}.ecq-kpi-sub{font-size:12px;color:var(--ecq-muted)}
.ecq-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.85fr);gap:18px}.ecq-panel{background:#fff;border:1px solid var(--ecq-border);border-radius:16px;box-shadow:var(--ecq-shadow);padding:20px}.ecq-panel-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:15px}.ecq-panel-head h2{margin:0;font-size:18px}.ecq-panel-head a{font-size:12px;text-decoration:none;color:var(--ecq-primary);font-weight:700}.ecq-appt-row{display:grid;grid-template-columns:75px 1.35fr 1fr auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #edf2f8}.ecq-appt-row:last-child{border-bottom:0}.ecq-time{font-weight:800;color:var(--ecq-primary)}.ecq-avatar{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,#dbeaff,#a8d5ff);display:inline-grid;place-items:center;margin-right:9px;color:var(--ecq-primary);font-weight:800}.ecq-person{display:flex;align-items:center}.ecq-status{border-radius:99px;padding:5px 9px;font-size:11px;font-weight:800;background:#e9f6ef;color:#138257}.ecq-status.serving{background:#e8f1ff;color:#075fca}.ecq-status.waiting,.ecq-status.booked{background:#fff4dc;color:#a66a00}.ecq-status.cancelled,.ecq-status.no_show{background:#ffe8ec;color:#c42b43}.ecq-queue-summary{display:grid;place-items:center;text-align:center;padding:8px 0}.ecq-donut{width:164px;height:164px;border-radius:50%;background:conic-gradient(var(--ecq-primary) 0 46%,#16a36a 46% 68%,#f4a621 68% 88%,#e6edf6 88%);position:relative;display:grid;place-items:center}.ecq-donut:after{content:"";position:absolute;width:104px;height:104px;border-radius:50%;background:#fff}.ecq-donut strong{position:relative;z-index:1;font-size:32px}.ecq-donut span{position:absolute;z-index:1;margin-top:48px;font-size:11px;color:var(--ecq-muted)}.ecq-legend{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px;margin-top:18px;text-align:left;font-size:12px}.ecq-dot{width:9px;height:9px;border-radius:50%;display:inline-block;margin-right:6px}
.ecq-quick-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}.ecq-action{background:#fff;border:1px solid var(--ecq-border);border-radius:14px;padding:15px;text-decoration:none;color:var(--ecq-text);font-weight:750;box-shadow:var(--ecq-shadow);display:flex;align-items:center;gap:10px}.ecq-action i{width:36px;height:36px;border-radius:10px;background:#eaf3ff;color:var(--ecq-primary);display:grid;place-items:center;font-size:18px}.ecq-action:hover{border-color:#9dc5f5;color:var(--ecq-primary)}
/* public portal */
.ecq-bp{--p:#075fca!important;--s:#11a1da!important;background:#f4f8fd!important;color:#10213d!important;min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.ecq-bp-head{background:linear-gradient(125deg,#071f4a,#075fca 60%,#11a1da)!important;box-shadow:0 10px 25px rgba(7,47,105,.22)}.ecq-bp-brand{padding:23px 20px!important}.ecq-bp-brand img,.ecq-bp-brand>i{width:62px!important;height:62px!important;border-radius:16px!important;background:#fff!important;padding:8px!important;object-fit:contain}.ecq-bp-brand h1{font-size:25px!important}.ecq-bp main{padding-top:25px!important;padding-bottom:50px!important}.ecq-bp-grid{grid-template-columns:minmax(0,1.55fr) minmax(290px,.75fr)!important;gap:20px!important}.ecq-bp .ecq-panel{border:1px solid #dae6f3!important;border-radius:18px!important;box-shadow:0 13px 32px rgba(28,67,112,.09)!important;padding:24px!important}.ecq-bp .ecq-kicker,.ecq-live-title span,.ecq-product-show>span{color:#075fca!important;letter-spacing:.13em!important;font-size:11px!important;font-weight:850!important}.ecq-bp h2{font-size:22px!important}.ecq-bp h3{font-size:15px!important;margin-top:20px!important}.ecq-bp input,.ecq-bp select,.ecq-bp textarea{border:1px solid #cedceb!important;border-radius:10px!important;min-height:43px!important;padding:9px 11px!important}.ecq-bp input:focus,.ecq-bp select:focus,.ecq-bp textarea:focus{border-color:#075fca!important;box-shadow:0 0 0 3px rgba(7,95,202,.12)!important;outline:0}.ecq-bp .ecq-service{border-radius:12px!important;border:1px solid #d9e4f0!important;padding:12px!important}.ecq-bp .ecq-service:has(input:checked){border-color:#075fca!important;background:#f2f7ff!important;box-shadow:0 0 0 3px rgba(7,95,202,.1)}.ecq-bp .ecq-primary,.ecq-bp #ecq-check{background:#075fca!important;border:0!important;border-radius:10px!important;color:#fff!important;font-weight:800!important;padding:12px 17px!important}.ecq-live-section{margin-bottom:25px!important}.ecq-live-cards{grid-template-columns:repeat(4,minmax(0,1fr))!important}.ecq-live-card{background:#fff!important;color:#10213d!important;border:1px solid #dce7f2!important;border-radius:16px!important;box-shadow:0 10px 25px rgba(20,54,93,.08)!important;position:relative;overflow:hidden}.ecq-live-card:before{content:"";position:absolute;top:0;left:0;right:0;height:5px;background:linear-gradient(90deg,#075fca,#11a1da)}.ecq-live-card .number{font-size:48px!important;color:#075fca!important}.ecq-product-scroll article{border-radius:18px!important;box-shadow:0 14px 30px rgba(0,0,0,.18)!important}.ecq-product-scroll button{background:#fff!important;color:#075fca!important;border:0!important;border-radius:9px!important;font-weight:800!important}
@media(max-width:1100px){.ecq-kpi-grid{grid-template-columns:repeat(2,1fr)}.ecq-dashboard-grid{grid-template-columns:1fr}.ecq-live-cards{grid-template-columns:repeat(2,1fr)!important}.ecq-quick-actions{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.wrap[class*="ecq"],body.toplevel_page_ecq-dashboard .wrap{margin:12px 10px 0}.ecq-kpi-grid{grid-template-columns:1fr}.ecq-appt-row{grid-template-columns:65px 1fr}.ecq-appt-row>div:nth-child(3),.ecq-appt-row>div:nth-child(4){grid-column:2}.ecq-live-cards{grid-template-columns:1fr!important}.ecq-bp-grid{grid-template-columns:1fr!important}.ecq-quick-actions{grid-template-columns:1fr}.ecq-theme-grid{grid-template-columns:repeat(4,1fr)!important}}
.ecq-live-card .num{font-size:48px!important;line-height:1!important;color:#075fca!important;font-weight:900!important;margin:18px 0 4px!important}.ecq-live-card>b{font-size:16px}.ecq-live-card>small{color:#687891!important}.ecq-live-card>span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#687891}

/* Premium SaaS application shell */
body.ecq-saas-active{--ecq-sidebar:#071d45;--ecq-sidebar-2:#082a61;--ecq-topbar:#fff;--ecq-canvas:#f4f7fb;background:var(--ecq-canvas)!important}
body.ecq-saas-active #adminmenumain,body.ecq-saas-active #wpadminbar{display:none!important}
body.ecq-saas-active #wpcontent,body.ecq-saas-active #wpfooter{margin-left:0!important}
body.ecq-saas-active #wpbody-content{padding:0!important;min-height:100vh}
body.ecq-saas-active #wpfooter{display:none!important}
.ecq-saas-shell{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr);background:var(--ecq-canvas);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17243b}
.ecq-saas-sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,var(--ecq-sidebar),var(--ecq-sidebar-2));padding:22px 14px 16px;color:#fff;display:flex;flex-direction:column;z-index:999;box-shadow:10px 0 35px rgba(9,34,77,.14)}
.ecq-saas-brand{display:flex;align-items:center;gap:12px;padding:2px 11px 25px;color:#fff!important;text-decoration:none!important}
.ecq-saas-mark{width:45px;height:45px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#14b8e6,#2563eb);font-size:23px;box-shadow:0 10px 25px rgba(15,159,226,.28)}
.ecq-saas-brand strong{display:block;font-size:21px;line-height:1}.ecq-saas-brand small{display:block;font-size:9px;letter-spacing:.2em;color:#9fc7ff;margin-top:5px}
.ecq-saas-label{font-size:9px;letter-spacing:.16em;font-weight:800;color:#7197cd;padding:8px 13px 9px}
.ecq-saas-sidebar nav{display:flex;flex-direction:column;gap:4px;overflow:auto;padding-right:2px}.ecq-saas-sidebar nav::-webkit-scrollbar{width:4px}.ecq-saas-sidebar nav::-webkit-scrollbar-thumb{background:#ffffff25;border-radius:99px}
.ecq-saas-nav-link{display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:10px;color:#c7daf6!important;text-decoration:none!important;font-weight:650;font-size:13px;transition:.18s ease}
.ecq-saas-nav-link i{width:20px;text-align:center;font-size:16px}.ecq-saas-nav-link:hover{background:#ffffff10;color:#fff!important;transform:translateX(2px)}.ecq-saas-nav-link.active{background:linear-gradient(90deg,#1477e9,#269de9);color:#fff!important;box-shadow:0 8px 20px rgba(13,105,214,.35)}
.ecq-saas-nav-link.secondary:first-of-type{margin-top:12px;position:relative}.ecq-saas-nav-link.secondary:first-of-type:before{content:"INSIGHTS & SETTINGS";position:absolute;top:-17px;left:13px;font-size:8px;letter-spacing:.13em;color:#7197cd}
.ecq-saas-sidebar-foot{margin-top:auto;padding:14px 9px 2px;border-top:1px solid #ffffff14}.ecq-saas-sidebar-foot a{display:flex;gap:10px;align-items:center;color:#c7daf6!important;text-decoration:none;padding:9px;border-radius:9px}.ecq-saas-sidebar-foot a:hover{background:#ffffff10;color:#fff!important}.ecq-saas-sidebar-foot small{display:block;color:#7197cd;font-size:9px;padding:9px}
.ecq-saas-main{min-width:0}.ecq-saas-topbar{height:72px;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid #e3eaf3;display:flex;align-items:center;padding:0 26px;gap:15px;position:sticky;top:0;z-index:100;box-shadow:0 4px 18px rgba(28,53,87,.04)}
.ecq-saas-menu{border:0;background:transparent!important;color:#1f3557!important;box-shadow:none!important;padding:7px!important;font-size:24px!important;min-height:auto!important}.ecq-saas-title span{display:block;font-size:17px;font-weight:800;color:#14243c}.ecq-saas-title small{display:block;color:#8290a4;font-size:11px;margin-top:2px}
.ecq-saas-top-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.ecq-saas-icon-btn{width:38px;height:38px;border:1px solid #e1e8f1;border-radius:10px;display:grid;place-items:center;color:#4d607b!important;text-decoration:none!important;background:#fff;position:relative}.ecq-saas-icon-btn:hover{color:var(--ecq-primary)!important;border-color:#b9d2ef}.ecq-pulse{position:absolute;width:7px;height:7px;border-radius:50%;background:#22c55e;right:7px;top:7px;box-shadow:0 0 0 4px #22c55e22}.ecq-saas-user{display:flex;align-items:center;gap:9px;padding-left:5px}.ecq-saas-user-avatar{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,#dcecff,#b3d9ff);color:#075fca;font-size:18px}.ecq-saas-user strong,.ecq-saas-user small{display:block}.ecq-saas-user strong{font-size:12px}.ecq-saas-user small{font-size:10px;color:#8290a4}
.ecq-saas-content{padding:24px 27px 50px;max-width:1700px;margin:0 auto}.ecq-saas-page{margin:0!important}.ecq-saas-content .update-nag{display:none!important}
.ecq-saas-content .ecq-ui-hero,.ecq-saas-content .ecq-hero,.ecq-saas-content .ecq-ds-hero,.ecq-saas-content .ecq-sc-hero,.ecq-saas-content .ecq-lq-hero,.ecq-saas-content .ecq-ct-hero,.ecq-saas-content .ecq-pr-hero,.ecq-saas-content .ecq-bt-hero,.ecq-saas-content .ecq-rd-hero{border-radius:17px!important;padding:25px 28px!important;background:linear-gradient(112deg,#0b2758,#075fca 62%,#21a8df)!important;box-shadow:0 17px 38px rgba(7,65,143,.18)!important}
.ecq-saas-content .ecq-ui-hero h1,.ecq-saas-content .ecq-hero h1{font-size:25px!important}
.ecq-saas-content .card,.ecq-saas-content .ecq-panel,.ecq-saas-content .ecq-admin-card,.ecq-saas-content section,.ecq-saas-content article{border-color:#e2e9f2!important;box-shadow:0 8px 25px rgba(31,61,99,.065)!important}
.ecq-saas-content .ecq-kpi{border:0;box-shadow:0 8px 25px rgba(31,61,99,.07);padding:19px}.ecq-saas-content .ecq-kpi-value{font-size:30px}.ecq-saas-content .ecq-kpi-icon{border-radius:12px}
.ecq-saas-content .ecq-saas-table-scroll{overflow:auto;border-radius:14px}.ecq-saas-content .ecq-saas-table-scroll>.ecq-saas-table-scroll{overflow:visible}.ecq-saas-content table{min-width:720px}.ecq-saas-content th{background:#f7f9fc!important;color:#617089!important}.ecq-saas-content td{height:58px}.ecq-saas-content tbody tr{transition:.15s}.ecq-saas-content tbody tr:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(27,61,103,.06)}
.ecq-saas-content input[type=text],.ecq-saas-content input[type=number],.ecq-saas-content input[type=date],.ecq-saas-content input[type=time],.ecq-saas-content input[type=email],.ecq-saas-content input[type=search],.ecq-saas-content select,.ecq-saas-content textarea{background:#fbfcfe!important;border-color:#dce5ef!important;min-height:43px!important}.ecq-saas-content label{font-weight:700;color:#42536b;font-size:12px}
.ecq-saas-content button,.ecq-saas-content .button{border-radius:9px!important;transition:.16s ease}.ecq-saas-content button:hover,.ecq-saas-content .button:hover{box-shadow:0 8px 18px rgba(7,95,202,.22)!important}
.ecq-saas-notice{border-radius:12px!important;border:1px solid #cce0f6!important;box-shadow:none!important;margin:0 0 18px!important}
@media(max-width:1100px){.ecq-saas-shell{grid-template-columns:220px minmax(0,1fr)}.ecq-saas-sidebar{padding-left:10px;padding-right:10px}.ecq-saas-content{padding:20px}.ecq-saas-user div{display:none}}
@media(max-width:899px){.ecq-saas-shell{display:block}.ecq-saas-sidebar{position:fixed;left:-270px;width:260px;transition:.22s ease}.ecq-saas-shell.sidebar-open .ecq-saas-sidebar{left:0}.ecq-saas-shell.sidebar-open:after{content:"";position:fixed;inset:0;background:#081a38aa;z-index:900}.ecq-saas-shell.sidebar-open .ecq-saas-sidebar{z-index:999}.ecq-saas-topbar{padding:0 15px}.ecq-saas-content{padding:16px 12px 40px}.ecq-saas-title small{display:none}}
@media(max-width:600px){.ecq-saas-top-actions .ecq-saas-icon-btn:nth-child(2){display:none}.ecq-saas-user{display:none}.ecq-saas-content .ecq-ui-hero,.ecq-saas-content .ecq-hero{padding:21px!important}.ecq-saas-content .ecq-ui-hero h1,.ecq-saas-content .ecq-hero h1{font-size:21px!important}}
.ecq-inline{display:inline-block;margin:2px}.ecq-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px}.ecq-form-grid label{font-weight:700;color:#26364d}.ecq-form-grid input,.ecq-form-grid select,.ecq-form-grid textarea{display:block;width:100%;margin-top:7px;border:1px solid #d8e1ee;border-radius:10px;padding:10px}.ecq-form-grid .wide{grid-column:1/-1}@media(max-width:700px){.ecq-form-grid{grid-template-columns:1fr}}
.ecq-stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.ecq-stat-row>div{padding:12px;border-radius:14px;background:#f4f7fb}.ecq-stat-row strong,.ecq-stat-row small{display:block}.ecq-stat-row strong{font-size:1.25rem;color:var(--ecq-primary,#175cd3)}

/* v14.2 usability spacing */
.ecq-saas-content form,.ecq-saas-content .card-body,.ecq-saas-content .ecq-panel,.ecq-saas-content [class*="card"]{box-sizing:border-box}
.ecq-saas-content input:not([type=checkbox]):not([type=radio]),.ecq-saas-content select,.ecq-saas-content textarea{padding:10px 12px!important;min-height:42px}
.ecq-saas-content .form-group,.ecq-saas-content label,.ecq-saas-content .field,.ecq-saas-content [class*="form-"]{box-sizing:border-box}
.ecq-saas-content form>div,.ecq-saas-content .row>div{padding-top:5px;padding-bottom:5px}
.ecq-saas-content .wrap>[class*="card"],.ecq-saas-content .wrap>section,.ecq-saas-content .wrap>form{padding-left:max(10px,env(safe-area-inset-left));padding-right:max(10px,env(safe-area-inset-right))}

/* v14.3 complete categorized sidebar */
.ecq-saas-sidebar nav{gap:0;padding:0 2px 14px 0}
.ecq-saas-nav-group{padding:0 0 9px;margin:0 0 7px;border-bottom:1px solid rgba(255,255,255,.07)}
.ecq-saas-nav-group:last-child{border-bottom:0;margin-bottom:0}
.ecq-saas-nav-heading{padding:10px 13px 7px;color:#7197cd;font-size:8px;font-weight:850;letter-spacing:.15em;line-height:1.25}
.ecq-saas-nav-group .ecq-saas-nav-link{margin-bottom:3px}
.ecq-saas-nav-link span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ecq-saas-sidebar{width:auto}
@media(max-height:760px){.ecq-saas-nav-link{padding-top:8px;padding-bottom:8px}.ecq-saas-nav-heading{padding-top:8px}}

/* v14.4 instant theme integration */
body.ecq-saas-active.theme-01,.ecq-saas-shell.theme-01{--ecq-primary:#175cd3;--ecq-secondary:#0ea5a8}body.ecq-saas-active.theme-02,.ecq-saas-shell.theme-02{--ecq-primary:#7c3aed;--ecq-secondary:#ec4899}body.ecq-saas-active.theme-03,.ecq-saas-shell.theme-03{--ecq-primary:#047857;--ecq-secondary:#16a34a}body.ecq-saas-active.theme-04,.ecq-saas-shell.theme-04{--ecq-primary:#c2410c;--ecq-secondary:#f59e0b}body.ecq-saas-active.theme-05,.ecq-saas-shell.theme-05{--ecq-primary:#be123c;--ecq-secondary:#7c3aed}body.ecq-saas-active.theme-06,.ecq-saas-shell.theme-06{--ecq-primary:#0369a1;--ecq-secondary:#0891b2}body.ecq-saas-active.theme-07,.ecq-saas-shell.theme-07{--ecq-primary:#4338ca;--ecq-secondary:#2563eb}body.ecq-saas-active.theme-08,.ecq-saas-shell.theme-08{--ecq-primary:#0f766e;--ecq-secondary:#65a30d}body.ecq-saas-active.theme-09,.ecq-saas-shell.theme-09{--ecq-primary:#9f1239;--ecq-secondary:#ea580c}body.ecq-saas-active.theme-10,.ecq-saas-shell.theme-10{--ecq-primary:#4f46e5;--ecq-secondary:#14b8a6}body.ecq-saas-active.theme-11,.ecq-saas-shell.theme-11{--ecq-primary:#1d4ed8;--ecq-secondary:#9333ea}body.ecq-saas-active.theme-12,.ecq-saas-shell.theme-12{--ecq-primary:#166534;--ecq-secondary:#0f766e}body.ecq-saas-active.theme-13,.ecq-saas-shell.theme-13{--ecq-primary:#111827;--ecq-secondary:#374151}body.ecq-saas-active.theme-14,.ecq-saas-shell.theme-14{--ecq-primary:#312e81;--ecq-secondary:#1e1b4b}body.ecq-saas-active.theme-15,.ecq-saas-shell.theme-15{--ecq-primary:#134e4a;--ecq-secondary:#042f2e}body.ecq-saas-active.theme-16,.ecq-saas-shell.theme-16{--ecq-primary:#7f1d1d;--ecq-secondary:#451a03}body.ecq-saas-active.theme-17,.ecq-saas-shell.theme-17{--ecq-primary:#3f0d5e;--ecq-secondary:#701a75}body.ecq-saas-active.theme-18,.ecq-saas-shell.theme-18{--ecq-primary:#0c4a6e;--ecq-secondary:#164e63}body.ecq-saas-active.theme-19,.ecq-saas-shell.theme-19{--ecq-primary:#172554;--ecq-secondary:#1e3a8a}body.ecq-saas-active.theme-20,.ecq-saas-shell.theme-20{--ecq-primary:#365314;--ecq-secondary:#14532d}body.ecq-saas-active.theme-21,.ecq-saas-shell.theme-21{--ecq-primary:#881337;--ecq-secondary:#7c2d12}body.ecq-saas-active.theme-22,.ecq-saas-shell.theme-22{--ecq-primary:#312e81;--ecq-secondary:#115e59}body.ecq-saas-active.theme-23,.ecq-saas-shell.theme-23{--ecq-primary:#3b0764;--ecq-secondary:#581c87}body.ecq-saas-active.theme-24,.ecq-saas-shell.theme-24{--ecq-primary:#18181b;--ecq-secondary:#3f3f46}
.ecq-saas-mark,.ecq-saas-nav-link.active{background:linear-gradient(135deg,var(--ecq-primary,#1477e9),var(--ecq-secondary,#269de9))!important}.ecq-saas-content .ecq-ui-hero,.ecq-saas-content .ecq-hero,.ecq-saas-content .ecq-ds-hero,.ecq-saas-content .ecq-sc-hero,.ecq-saas-content .ecq-lq-hero,.ecq-saas-content .ecq-ct-hero,.ecq-saas-content .ecq-pr-hero,.ecq-saas-content .ecq-bt-hero,.ecq-saas-content .ecq-rd-hero{background:linear-gradient(112deg,var(--ecq-primary,#0b2758),var(--ecq-secondary,#21a8df))!important}.ecq-quick-status.is-error{color:#b42318!important}
/* v14.5 consistent form spacing */
.ecq-app-shell .form-control,.ecq-app-shell .form-select,.ecq-app-shell input[type=text],.ecq-app-shell input[type=email],.ecq-app-shell input[type=number],.ecq-app-shell input[type=date],.ecq-app-shell input[type=time],.ecq-app-shell input[type=tel],.ecq-app-shell input[type=password],.ecq-app-shell textarea,.ecq-app-shell select,.ecq-dashboard .form-control,.ecq-dashboard .form-select,.ecq-dashboard input[type=text],.ecq-dashboard input[type=email],.ecq-dashboard input[type=number],.ecq-dashboard input[type=date],.ecq-dashboard input[type=time],.ecq-dashboard input[type=tel],.ecq-dashboard input[type=password],.ecq-dashboard textarea,.ecq-dashboard select{padding:10px 12px!important;min-height:42px;box-sizing:border-box}.ecq-app-shell form>div,.ecq-app-shell .card-body,.ecq-app-shell .ecq-panel,.ecq-dashboard form>div,.ecq-dashboard .card-body,.ecq-dashboard .ecq-panel,.ecq-dashboard .ecq-ui-card{padding:10px;box-sizing:border-box}.ecq-app-shell label,.ecq-dashboard label{padding-top:4px;padding-bottom:4px}


/* v14.6 wrapper and card spacing repairs */
.ecq-saas-content form,.ecq-saas-content .form-wrapper,.ecq-saas-content .ecq-form-wrapper,.ecq-saas-content [class*="form-wrapper"],.ecq-app-shell form,.ecq-dashboard form{border:0!important;box-shadow:none}
.ecq-saas-content .card,.ecq-saas-content [class*="card"],.ecq-saas-content .ecq-panel,.ecq-saas-content section,.ecq-saas-content article,.ecq-app-shell .card,.ecq-dashboard .card{box-sizing:border-box}
.ecq-saas-content .card-body,.ecq-saas-content .ecq-panel,.ecq-saas-content .ecq-admin-card,.ecq-saas-content .ecq-ui-card,.ecq-app-shell .card-body,.ecq-dashboard .card-body{padding:10px!important}
.ecq-saas-content input:not([type=checkbox]):not([type=radio]),.ecq-saas-content select,.ecq-saas-content textarea,.ecq-app-shell input:not([type=checkbox]):not([type=radio]),.ecq-app-shell select,.ecq-app-shell textarea{padding:10px 12px!important}
.ecq-custom-mark{font-size:22px;line-height:1}

/* v14.9 global theme propagation and icon contrast */
body[class*="ecq"],.ecq-admin,.ecq-dashboard,.ecq-module-wrap,.ecq-saas-app,.ecq-bp,.ecq-doctor-public,.ecq-portal{--ecq-primary:var(--p,#175cd3);--ecq-secondary:var(--s,#0ea5a8)}
.ecq-ui-hero,.ecq-saas-topbar,.ecq-bp-head,.ecq-public-header{background:linear-gradient(135deg,var(--p,#175cd3),var(--s,#0ea5a8))!important}
.ecq-primary,.button-primary,.ecq-admin .btn-primary,.ecq-action:hover{background:var(--p,#175cd3)!important;border-color:var(--p,#175cd3)!important}
.ecq-saas-sidebar .ecq-brand-icon,.ecq-bp-brand>i,.ecq-doctor-mark,.ecq-qr-icon{background:#fff!important;color:var(--p,#175cd3)!important;box-shadow:0 0 0 2px rgba(255,255,255,.55),0 8px 20px rgba(0,0,0,.18)}
.ecq-panel,.ecq-card,.card,.ecq-module-wrap form{padding:10px;box-sizing:border-box}
