/* One CRM frame for every product. Namespaced to leave marketing and auth layouts alone. */
body:has(.crm-shell){margin:0;background:#000817!important;color:#edf3ff;font:14px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}
.crm-shell,.crm-shell *{box-sizing:border-box}
.crm-shell{--crm-sidebar-width:256px;min-height:100dvh;padding-left:var(--crm-sidebar-width)}
.crm-shell .crm-sidebar{position:fixed;inset:0 auto 0 0;z-index:100;width:var(--crm-sidebar-width);height:100dvh;display:flex;flex-direction:column;gap:0;padding:26px 16px 16px;background:#061126!important;border-right:1px solid #23324e;color:#edf3ff;overflow:hidden}
.crm-brand-row{display:flex;align-items:center;justify-content:space-between;padding:0 12px}
.crm-shell .crm-brand{display:flex;align-items:center;gap:10px;color:#f4f7ff!important;font-size:29px;font-weight:650;letter-spacing:-1.4px;text-decoration:none;line-height:1.2}
.crm-brand-mark{display:grid;place-items:center;width:32px;height:34px;background:#0022ee;color:white;font:italic 28px Georgia,serif;clip-path:polygon(0 20%,100% 0,100% 80%,0 100%)}
.crm-shell .crm-product-label{font-size:9px;font-weight:600;letter-spacing:1.4px;text-transform:uppercase;color:#91a7cb!important;margin:19px 12px 20px;line-height:1.6}
.crm-company{display:flex;align-items:center;gap:11px;background:#0c1c36;border:1px solid #2b3c5c;border-radius:9px;padding:13px 11px;margin:0 4px 15px}
.crm-avatar{display:inline-grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:8px;background:#1c3767;color:#dce9ff;font-size:11px;font-weight:700;letter-spacing:.3px}
.crm-company>div,.crm-account>div{flex:1;min-width:0}
.crm-shell .crm-company strong,.crm-shell .crm-account strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;color:#edf4ff!important}
.crm-shell .crm-company small,.crm-shell .crm-account small{display:block;color:#96aaca!important;font-size:10px;margin-top:4px;overflow-wrap:anywhere}
.crm-navigation{flex:1;overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:0 4px 14px;scrollbar-width:thin;scrollbar-color:#2b4166 transparent}
/* Keep the menu usable on short laptop windows and mobile landscape. */
@layer aurtiv-dashboard {
.crm-shell .crm-content .vcrm-panel:has(>.industry-toolbar){padding:16px!important}
.crm-shell .crm-content .industry-toolbar{margin:0 0 12px!important;gap:12px!important}
.crm-shell .crm-content .table-view-panel:not([open]){margin:4px 0!important}
.crm-shell .crm-content .table-view-panel:not([open])>summary{padding-block:8px!important;min-height:0!important}
.crm-shell .crm-content .owner-pulse{padding:20px!important}
.crm-shell .crm-content .owner-pulse-heading{margin-bottom:16px!important;gap:16px!important}
.crm-shell .crm-content .owner-pulse-heading h2{font-size:24px!important;line-height:1.2!important}
.crm-shell .crm-content .owner-pulse-heading p{font-size:13px!important;line-height:1.5!important}
.crm-shell .crm-content .booking-info span{color:#536783!important}
.crm-shell .crm-content .salon-steps span{color:#6f4359!important}
.crm-shell .crm-content .hotel-status.clean{color:#24663f!important}
.crm-shell .crm-content .hotel-status.dirty{color:#795018!important}
.crm-shell .crm-content .hos-flow span{color:#315569!important}
.crm-shell .crm-content :is(.field-service-site-bar,.fleet-site-bar,.equipment-rental-site-bar){padding:16px!important;gap:16px!important;border:1px solid #dce3f0!important;border-radius:16px!important;background:#fff!important}
.crm-shell .crm-content .edu-list-tools>span{color:#536783!important}
.crm-shell .crm-sidebar{overflow:hidden!important}
.crm-shell .crm-sidebar>.crm-navigation{flex:1 1 0!important;overflow-y:auto!important;overflow-x:hidden!important;min-height:0!important;overscroll-behavior:contain}
.crm-shell .crm-sidebar>:not(.crm-navigation){flex-shrink:0!important}
.crm-shell .crm-content :is(.re-finance-workspace,.industry-workflow-workspace)>header{padding:20px;border:1px solid #dce3f0!important;border-radius:20px;background:linear-gradient(110deg,#f0ecff,#f8f7ff)!important;color:#14264b!important}
.crm-shell .crm-content :is(.re-finance-workspace,.industry-workflow-workspace)>header :is(h1,h2){font-size:28px!important;line-height:1.2!important;margin:8px 0!important;color:#14264b!important}
.crm-shell .crm-content :is(.re-finance-workspace,.industry-workflow-workspace)>header p{font-size:13px!important;margin:8px 0 0!important;color:#536783!important}
.crm-shell .crm-content .re-finance-toolbar{padding:16px;border:1px solid #dce3f0;border-radius:14px;background:#fff!important}
.crm-shell .crm-content [data-campaign]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px!important;align-items:start!important}
.crm-shell .crm-content [data-campaign]>label{display:grid;gap:8px;min-width:0}
.crm-shell .crm-content [data-campaign]>:is(label:has([name="body"]),label:has([name="subject"]),[role="status"]){grid-column:1/-1}
@media(max-width:700px){.crm-shell .crm-content [data-campaign]{grid-template-columns:minmax(0,1fr)!important}}
.crm-shell .crm-content .section-tabs .section-tab{font-size:12px!important;line-height:1.4!important;min-height:42px;padding:10px 14px!important;border:1px solid #dce3f0!important;border-radius:9px;white-space:nowrap}
@media(max-width:900px){
 .crm-shell .crm-content .owner-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 .crm-shell .crm-content .owner-kpi{min-width:0!important;padding:14px!important;overflow-wrap:anywhere}
 .crm-shell .crm-content .industry-detail-toolbar p{flex:1 1 100%!important;width:100%!important}
 .crm-shell .crm-content .industry-detail-toolbar{align-items:flex-start!important}
 .crm-shell .crm-content :is(.metrics,.metric-grid,.cards,.rs-metrics,.hotel-stat-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 .crm-shell .crm-content :is(.metric,.metric-card,.rs-metric){min-width:0!important;padding:16px!important;overflow-wrap:anywhere}
 .crm-shell .crm-content :is(.page-heading,.vcrm-heading,.auto-heading,.rs-heading,.dashboard-page-heading,.page-head,.page-header,.dashboard-hero){min-height:0!important;gap:16px!important;align-items:flex-start!important}
 .crm-shell .crm-content :is(.page-heading,.vcrm-heading,.auto-heading,.rs-heading,.dashboard-page-heading,.page-head,.page-header,.dashboard-hero)>div{flex:0 1 auto!important;min-width:0!important;max-width:100%!important}
}
.crm-shell .crm-content .industry-overview>.page-heading{padding:18px 20px!important;margin:0!important;gap:12px!important}
.crm-shell .crm-content .industry-overview>.page-heading h1{font-size:28px!important;line-height:1.15!important;margin:6px 0!important}
.crm-shell .crm-content .industry-overview>.page-heading p{font-size:13px!important;margin:4px 0!important}
.crm-shell .crm-content .industry-overview>.page-heading small{font-size:11px!important}
.crm-shell .crm-content .ops-owner-top h2{font-size:24px!important;line-height:1.2!important}
.crm-shell .crm-content .ops-owner-pulse{margin:0!important}
.crm-shell .ops-owner-pulse{border-radius:20px;padding:clamp(18px,2vw,28px);margin:16px 0}
.crm-shell .ops-owner-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:18px}
.crm-shell .ops-owner-top>div>span{font-size:10px;font-weight:800;letter-spacing:.12em}
.crm-shell .ops-owner-top h2{font-size:clamp(24px,2.4vw,32px);line-height:1.2;margin:8px 0}
.crm-shell .ops-owner-top p{font-size:12px;line-height:1.6;margin:0;max-width:580px}
.crm-shell .ops-owner-count{display:flex;gap:12px;align-items:center;border:1px solid #dce3f0;border-radius:14px;padding:12px 16px}
.crm-shell .ops-owner-count strong{font-size:28px;line-height:1}
.crm-shell .ops-owner-count small{font-size:11px;max-width:100px}
.crm-shell .ops-owner-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:12px}
.crm-shell .ops-owner-kpi{display:flex;flex-direction:column;justify-content:space-between;gap:12px;min-width:0;padding:18px;border:1px solid #dce3f0;border-radius:14px;background:#f6f8fe!important}
.crm-shell .ops-owner-kpi span{font-size:12px;font-weight:650;color:#536783!important}
.crm-shell .ops-owner-kpi strong{font-size:26px;font-variant-numeric:tabular-nums;color:#14264b!important;overflow-wrap:anywhere}
.crm-shell .ops-owner-kpi small,.crm-shell .ops-owner-note{font-size:11px;line-height:1.6;color:#536783!important;overflow-wrap:anywhere}
.crm-shell .ops-owner-note{margin:16px 0 0}
.crm-shell .industry-detail-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 16px;border:1px solid #dce3f0;border-radius:14px;background:#fff!important}
.crm-shell .industry-detail-toolbar p{margin:0;font-size:12px;flex:1}
html[data-workspace-theme="light"] body .crm-shell .crm-content .section-tabs .section-tab:is(.active,[aria-selected="true"]){background:#4d43df!important;color:#fff!important;border-color:#4d43df!important}
.crm-shell .crm-content :is(.page-heading,.vcrm-heading,.auto-heading,.rs-heading,.dashboard-page-heading,.page-head,.page-header,.dashboard-hero){background:linear-gradient(110deg,#f0ecff,#f8f7ff)!important;color:#14264b!important;border-color:#dce3f0!important}
.crm-shell .crm-content :is(.page-heading,.vcrm-heading,.auto-heading,.rs-heading,.dashboard-page-heading,.page-head,.page-header,.dashboard-hero) :is(h1,h2){color:#14264b!important}
.crm-shell .crm-content :is(.page-heading,.vcrm-heading,.auto-heading,.rs-heading,.dashboard-page-heading,.page-head,.page-header,.dashboard-hero) p{color:#536783!important}
.crm-shell :is(.owner-pulse,.ops-owner-pulse){background:#fff!important;color:#14264b!important;border-color:#dce3f0!important;box-shadow:0 12px 32px #09153a0a!important}
.crm-shell :is(.owner-pulse-heading h2,.ops-owner-pulse h2,.owner-pulse-attention strong,.ops-owner-count strong){color:#14264b!important}
.crm-shell :is(.owner-pulse-eyebrow,.ops-owner-top>div>span){color:#3654af!important}
.crm-shell :is(.owner-pulse-heading p,.owner-pulse-attention span,.owner-pulse-trust,.ops-owner-top p,.ops-owner-count small,.ops-owner-note){color:#536783!important}
.crm-shell :is(.owner-pulse-attention,.ops-owner-count){background:#f0f3ff!important;border-color:#dce3f0!important}
html[data-workspace-theme="light"] body .crm-shell .crm-sidebar .crm-intelligence-dock .crm-intel-dock-link{background:#4d43df!important;color:#fff!important;border-color:#4d43df!important}
html[data-workspace-theme="light"] body .crm-shell .crm-sidebar .crm-intelligence-dock .crm-intel-dock-link :is(span,strong,svg,.crm-icon){color:inherit!important}
.crm-shell .crm-sidebar .crm-nav-search input{background:transparent!important;border:0!important;box-shadow:none!important;outline:none!important}
.crm-shell .crm-sidebar .crm-nav-search:focus-within{outline:2px solid #2149f5!important;outline-offset:2px}
@media (max-height:760px) and (min-height:420px){
 .crm-shell .crm-content :is(.page-heading,.vcrm-heading,.auto-heading,.rs-heading,.dashboard-page-heading,.page-head,.page-header,.dashboard-hero){padding:20px!important;gap:16px!important;min-height:0!important;margin-bottom:16px!important}
 .crm-shell .crm-content :is(.page-heading,.vcrm-heading,.auto-heading,.rs-heading,.dashboard-page-heading,.page-head,.page-header,.dashboard-hero) h1{font-size:clamp(26px,2.4vw,34px)!important;line-height:1.15!important}
 .crm-shell .crm-sidebar{padding-block:12px!important}
 .crm-shell .crm-product-label{margin-block:6px!important}
 .crm-shell .crm-company{padding:8px!important;margin-bottom:8px!important}
 .crm-shell .crm-company strong,.crm-shell .crm-account strong{white-space:nowrap!important;text-overflow:ellipsis;overflow:hidden}
 .crm-shell .crm-company small{display:none!important}
 .crm-shell .crm-nav-search{padding:0 10px!important;min-height:38px!important;margin-bottom:8px!important}
 .crm-shell .crm-nav-search input{min-height:36px!important}
 .crm-shell .crm-intelligence-dock{padding:6px 4px!important}
 .crm-shell .crm-intel-dock-link{min-height:44px!important;padding:8px 12px!important}
 .crm-shell .crm-account{padding:8px 6px 0!important;margin-top:6px!important}
 .crm-shell .crm-account small{font-size:10px!important;line-height:1.4!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
 .crm-shell .crm-navigation{min-height:160px!important}
}
@media (max-height:419px){
 .crm-shell .crm-sidebar{overflow-y:auto!important}
 .crm-shell .crm-navigation{flex:none!important;overflow-y:visible!important}
}
}
.crm-nav-group{color:#8097b9;font-size:9px;font-weight:650;text-transform:uppercase;letter-spacing:1.7px;padding:17px 11px 9px}
.crm-shell a.crm-nav-link{display:flex;align-items:center;gap:12px;position:relative;min-height:44px;padding:11px 12px;margin:3px 0;border:1px solid transparent;border-radius:7px;color:#afc1df!important;font-size:12px;font-weight:500;line-height:1.5;text-decoration:none;transition:background .15s,color .15s}
.crm-nav-link span{flex:1;min-width:0}
.crm-shell a.crm-nav-link:hover{background:#101f39;color:#fff!important}
.crm-shell a.crm-nav-link.is-active{background:#19305c;color:#fff!important;border-color:#2e4b7e}
.crm-active-dot{width:5px;height:5px;border-radius:50%;background:#88adff}
.crm-icon{display:block;width:18px;height:18px;flex:0 0 18px}
.crm-account{display:flex;align-items:center;gap:10px;margin-top:10px;border-top:1px solid #263753;padding:18px 6px 0}
.crm-avatar-user{border-radius:50%;background:#203b68;color:#dce9ff}
.crm-shell .crm-icon-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;min-height:36px;padding:8px;background:transparent!important;border:1px solid transparent;border-radius:7px;color:#b5c8e9!important;cursor:pointer}
.crm-shell .crm-icon-button:hover{background:#19305c!important;color:white!important;border-color:#354d75}
.crm-workspace{min-width:0}
.crm-shell .crm-topbar{position:sticky;top:0;z-index:30;height:76px;padding:0 32px;background:#061126!important;border-bottom:1px solid #243551;display:flex;align-items:center;justify-content:space-between;gap:20px}
.crm-page-context,.crm-topbar-actions{display:flex;align-items:center;gap:16px;min-width:0}
.crm-breadcrumb{display:flex;align-items:center;gap:13px;font-size:12px;min-width:0}
.crm-breadcrumb>span{color:#8fa5c6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:260px}
.crm-breadcrumb>b{font-weight:400;color:#526989}
.crm-shell .crm-breadcrumb>strong{font-weight:600;color:#e8f0ff!important;white-space:nowrap}
.crm-workspace-status{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:11px;color:#8fa5c6}
.crm-workspace-status i{width:5px;height:5px;background:#87adff;border-radius:50%}
.crm-all-products{display:flex;align-items:center;gap:7px;font-size:11px;text-decoration:none;white-space:nowrap;color:#c4d5f3!important}
.crm-all-products .crm-icon{width:14px;height:14px;flex-basis:14px}
.crm-shell main.crm-content{width:100%;max-width:1600px;min-width:0;margin:0 auto;padding:34px 32px 100px;background:#000817!important}
.crm-shell :is(.page-heading,.page-head,.rs-heading,.heading){margin:0 0 28px;gap:20px}
.crm-shell :is(.page-heading,.page-head,.rs-heading,.heading) h1{font-size:clamp(26px,2.8vw,38px);letter-spacing:-1.1px;line-height:1.15}
.crm-shell :is(.metric-card,.metric,.card,.rs-metric){background:#0b1930!important;border:1px solid #293b59!important;border-radius:12px;padding:20px;min-width:0}
.crm-shell :is(.metric-card,.metric,.card,.rs-metric) strong{color:#edf4ff!important}
.crm-shell :is(.panel,.rs-panel,.info-card){background:#08152a!important;border:1px solid #293b59!important;border-radius:12px;min-width:0;overflow:hidden}
.crm-shell :is(.rs-stage,.rs-order,.rs-table-card,.rs-caution){background:#10213b!important;border-color:#293b59!important}
.crm-shell :is(.hospital-notice,.note,.notice,.reservation-card,.hotel-detail){background:#10213b!important;border-color:#293b59!important;color:#c2d0e6!important}
.crm-shell .reservation-card .dates span{background:#1a3155;color:#bdd1ef}
.crm-shell :is(.rs-metric>span,.rs-stage span,.rs-order-lines div,.rs-table-glyph,.rs-panel-head a,.rs-settings a,.card>span){color:#a9bfdf!important}
.crm-shell :is(h2,h3){letter-spacing:-.3px;line-height:1.35}
.crm-shell :is(.panel-header,.panel-h,.rs-panel-head,.rs-panel-foot,.panel-footer){background:#0c1b33!important;border-color:#293b59!important}
.crm-shell :is(.rs-table-wrap,.table-wrap,.table-scroll){max-width:100%;overflow-x:auto}
.crm-shell :is(td,th){border-color:#263750!important}
.crm-shell th{background:#0c1b33!important;color:#a4b9d9!important}
.crm-shell td{color:#c2d0e6!important}
.crm-shell tbody tr:hover{background:#10213e!important}
.crm-shell .crm-toggle,.crm-shell .crm-close,.crm-backdrop{display:none}
.crm-shell :is(a,button):focus-visible{outline:2px solid #9bbdff!important;outline-offset:3px}
@media(min-width:901px) and (max-width:1200px){.crm-shell{--crm-sidebar-width:238px}.crm-workspace-status{display:none}.crm-breadcrumb>span{max-width:190px}.crm-shell .crm-topbar{padding-inline:24px}.crm-shell main.crm-content{padding:28px 24px 90px}}
@media(max-width:900px){
 .crm-shell{padding-left:0}
 .crm-shell .crm-sidebar{width:min(290px,calc(100vw - 48px));transform:translateX(-100%);visibility:hidden;transition:transform .2s ease,visibility .2s;z-index:200}
 .crm-shell.is-open .crm-sidebar{transform:translateX(0);visibility:visible}
 .crm-shell .crm-toggle,.crm-shell .crm-close{display:inline-flex}
 .crm-shell .crm-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:190;border:0;border-radius:0;width:100%;height:100dvh;background:#000a!important;padding:0;cursor:pointer}
 body:has(.crm-shell.is-open){overflow:hidden}
 body:has(.crm-shell.is-open) #veyora-copilot-root{visibility:hidden!important}
 .crm-shell .crm-topbar{height:65px;padding:0 16px;gap:12px}
 .crm-page-context{gap:10px;flex:1}
 .crm-breadcrumb{display:block;min-width:0}
 .crm-breadcrumb>span{display:block;max-width:none;font-size:9px;max-width:45vw}
 .crm-breadcrumb>b{display:none}
 .crm-breadcrumb>strong{display:block;max-width:48vw;overflow:hidden;text-overflow:ellipsis;font-size:12px}
 .crm-topbar-actions{gap:10px}
 .crm-workspace-status{display:none}
 .crm-shell main.crm-content{padding:26px 18px 100px}
 .crm-shell :is(.page-heading,.page-head,.rs-heading,.heading){align-items:flex-start;flex-wrap:wrap}
 .crm-shell :is(.page-actions,.actions,.rs-actions){flex-wrap:wrap}
 .crm-shell :is(.metric-grid,.cards,.rs-metrics,.hotel-stat-grid){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:420px){.crm-all-products{display:none}.crm-shell .crm-topbar{padding-inline:10px}.crm-shell main.crm-content{padding:24px 14px 100px}.crm-shell :is(.metric-card,.metric,.card,.rs-metric){padding:16px}.crm-breadcrumb>span{max-width:63vw}.crm-breadcrumb>strong{max-width:63vw}}
@media(prefers-reduced-motion:reduce){.crm-shell .crm-sidebar,.crm-shell .crm-nav-link{transition:none}}
