[data-care-standard-host][hidden],.care-dashboard-studio [hidden]{display:none!important}
.care-dashboard-studio{--cdb-ink:var(--ui-ink,var(--text,#29313d));--cdb-muted:var(--ui-muted,var(--muted,#636b77));--cdb-line:var(--ui-line,var(--border,#e4e8ee));--cdb-surface:var(--ui-surface,var(--surface,#fff));--cdb-soft:var(--ui-soft,var(--surface-alt,#f0f3f7));--cdb-accent:var(--ui-accent,var(--accent,#4975bd));color:var(--cdb-ink);min-width:0;margin-bottom:20px}
.care-dashboard-studio[data-dashboard-theme=ocean]{--cdb-accent:#397bc0}.care-dashboard-studio[data-dashboard-theme=forest]{--cdb-accent:#327f5f}.care-dashboard-studio[data-dashboard-theme=iris]{--cdb-accent:#7960b3}.care-dashboard-studio[data-dashboard-theme=rose]{--cdb-accent:#bb5675}
html[data-workspace-mode=night] .care-dashboard-studio[data-dashboard-theme=ocean]{--cdb-accent:#88bbed}html[data-workspace-mode=night] .care-dashboard-studio[data-dashboard-theme=forest]{--cdb-accent:#86c9a4}html[data-workspace-mode=night] .care-dashboard-studio[data-dashboard-theme=iris]{--cdb-accent:#c3acf0}html[data-workspace-mode=night] .care-dashboard-studio[data-dashboard-theme=rose]{--cdb-accent:#eda5bc}
.care-dashboard-studio .cdb-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 18px;border:1px solid var(--cdb-line);border-radius:14px;background:var(--cdb-surface);margin-bottom:20px}.care-dashboard-studio .cdb-toolbar>div:first-child{flex:1;min-width:min(260px,100%)}.care-dashboard-studio .cdb-toolbar label{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:650}.care-dashboard-studio .cdb-toolbar select{width:auto;max-width:100%;min-height:38px}.care-dashboard-studio [data-dashboard-save-status]{margin:6px 0 0;color:var(--cdb-muted);font-size:11px}
.care-dashboard-studio .cdb-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.care-dashboard-studio .btn{min-height:36px;font-size:12px;white-space:normal}.care-dashboard-studio .btn[aria-pressed=true]{border-color:var(--cdb-accent);background:color-mix(in srgb,var(--cdb-accent) 12%,var(--cdb-surface));color:var(--cdb-ink)}
.care-dashboard-studio [data-dashboard-action=customize].btn-primary{background:var(--ui-active,var(--cdb-accent));border-color:var(--ui-active,var(--cdb-accent));color:var(--ui-on-active,#fff);font-weight:650}
.care-dashboard-studio .cdb-custom-heading{padding:8px 0 22px}.care-dashboard-studio .cdb-custom-heading>p:first-child{font-size:11px;color:var(--cdb-accent);font-weight:700;letter-spacing:.08em;text-transform:uppercase}.care-dashboard-studio .cdb-custom-heading h1{font-size:clamp(24px,3vw,36px);line-height:1.2;letter-spacing:-.035em;margin:8px 0 10px;overflow-wrap:anywhere}.care-dashboard-studio .cdb-custom-heading p{color:var(--cdb-muted);font-size:13px;line-height:1.6;margin:4px 0}
.care-dashboard-studio .cdb-customizer,.care-dashboard-studio .cdb-widget{padding:22px;border:1px solid var(--cdb-line);border-radius:18px;background:var(--cdb-surface);min-width:0;box-shadow:var(--ui-shadow,0 4px 20px #26313d04)}.care-dashboard-studio .cdb-customizer{border-top:3px solid var(--cdb-accent);margin:0 0 24px;background:linear-gradient(145deg,color-mix(in srgb,var(--cdb-accent) 4%,var(--cdb-surface)),var(--cdb-surface) 48%)}
.care-dashboard-studio .cdb-section-head{display:flex;gap:18px;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.care-dashboard-studio h2{font-size:18px;margin:0;letter-spacing:-.02em;overflow-wrap:anywhere}.care-dashboard-studio h3{font-size:15px;margin:0 0 8px}.care-dashboard-studio .cdb-section-head p,.care-dashboard-studio .cdb-arrange>p,.care-dashboard-studio .cdb-history>p{font-size:12px;line-height:1.6;color:var(--cdb-muted);margin:5px 0}
.care-dashboard-studio .cdb-customizer{padding:14px 18px}.care-dashboard-studio .cdb-customizer>.cdb-section-head{align-items:center;margin-bottom:6px}.care-dashboard-studio .cdb-layout-instructions{color:var(--cdb-muted);font-size:12px;line-height:1.5;margin:6px 0 10px}.care-dashboard-studio .cdb-layout-settings{border-top:1px solid var(--cdb-line);font-size:12px}.care-dashboard-studio .cdb-layout-settings>summary{padding:10px 0;cursor:pointer;font-weight:600;color:var(--cdb-ink)}.care-dashboard-studio .cdb-layout-settings[open]>.cdb-controls-grid{margin-top:12px}.care-dashboard-studio .cdb-layout-settings>summary:focus-visible{outline:2px solid var(--cdb-accent);outline-offset:3px}.care-dashboard-studio .cdb-resume-editor{margin:6px 0}
.care-dashboard-studio .cdb-controls-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:14px;margin-bottom:18px}.care-dashboard-studio :is(.cdb-controls-grid,.cdb-metric-picker)>label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;line-height:1.5}.care-dashboard-studio :is(input:not([type=checkbox]),select){min-width:0;width:100%;min-height:42px;border:1px solid var(--cdb-line);border-radius:9px;padding:9px 11px;background:var(--cdb-surface);color:var(--cdb-ink);font:inherit}.care-dashboard-studio input[type=checkbox]{accent-color:var(--cdb-accent);width:16px;height:16px;flex-shrink:0;margin:2px 0 0}
.care-dashboard-studio .cdb-arrange{border-top:1px solid var(--cdb-line);padding-top:20px;margin-top:20px}.care-dashboard-studio .cdb-arrange-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--cdb-line);padding:13px 0}.care-dashboard-studio .cdb-arrange-row>span{min-width:0;flex:1}.care-dashboard-studio .cdb-arrange-row strong{font-size:13px;overflow-wrap:anywhere}.care-dashboard-studio small{display:block;color:var(--cdb-muted);font-size:11px;line-height:1.55}.care-dashboard-studio .cdb-arrange-row>div{display:flex;flex-wrap:wrap;gap:6px}.care-dashboard-studio .cdb-arrange>button{margin-top:16px}
.care-dashboard-studio .cdb-widget-editor{padding:20px;margin-top:22px;border:1px solid color-mix(in srgb,var(--cdb-accent) 35%,var(--cdb-line));border-radius:14px;background:var(--cdb-soft)}.care-dashboard-studio fieldset{min-width:0;border:1px solid var(--cdb-line);border-radius:10px;padding:14px;margin:0 0 18px}.care-dashboard-studio legend{font-size:12px;font-weight:700;padding:0 6px;color:var(--cdb-ink)}.care-dashboard-studio .cdb-metric-options{max-height:360px;overflow:auto;scrollbar-width:thin;padding-right:5px;margin-top:12px}.care-dashboard-studio .cdb-metric-options fieldset{background:var(--cdb-surface);margin-bottom:10px}.care-dashboard-studio .cdb-metric{display:flex;align-items:flex-start;gap:10px;padding:9px 4px;cursor:pointer;border-bottom:1px solid var(--cdb-line)}.care-dashboard-studio .cdb-metric:last-child{border-bottom:0}.care-dashboard-studio .cdb-metric strong{display:block;font-size:13px;line-height:1.5}.care-dashboard-studio .cdb-metric small{margin-top:3px}.care-dashboard-studio .cdb-metric:has(input:checked){background:color-mix(in srgb,var(--cdb-accent) 7%,var(--cdb-surface));border-radius:6px}
.care-dashboard-studio .cdb-departments{max-height:240px;overflow:auto;scrollbar-width:thin;background:var(--cdb-surface)}.care-dashboard-studio .cdb-check{display:inline-flex;gap:8px;align-items:flex-start;font-size:12px;line-height:1.6;margin:6px 20px 6px 0;font-weight:500}.care-dashboard-studio .cdb-switches{display:flex;flex-wrap:wrap;margin-bottom:16px}.care-dashboard-studio .cdb-note{color:var(--cdb-muted);font-size:12px;line-height:1.65;overflow-wrap:anywhere}.care-dashboard-studio .cdb-error{color:var(--ui-link,var(--cdb-ink));font-size:12px;font-weight:600;line-height:1.65;overflow-wrap:anywhere}.care-dashboard-studio .cdb-save-error{padding:14px 18px;border:1px solid var(--cdb-line);border-left:3px solid var(--cdb-accent);border-radius:10px;margin:12px 0;background:var(--cdb-soft)}.care-dashboard-studio .cdb-save-error p{font-size:13px;line-height:1.6}.care-dashboard-studio .cdb-save-error button{margin-right:8px}
.care-dashboard-studio .cdb-history{border-top:1px solid var(--cdb-line);padding-top:18px;margin-top:20px}.care-dashboard-studio .cdb-history>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--cdb-line);font-size:12px}.care-dashboard-studio [data-dashboard-preview]{margin-top:16px;padding-top:12px;min-width:0}.care-dashboard-studio [data-dashboard-preview]:not(:empty){border-top:1px solid var(--cdb-line)}
.care-dashboard-studio .cdb-widget-grid{--cdb-grid-columns:3;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}.care-dashboard-studio .cdb-width-one{grid-column:span 1}.care-dashboard-studio .cdb-width-two{grid-column:span 2}.care-dashboard-studio .cdb-width-full{grid-column:1/-1}.care-dashboard-studio .cdb-widget>header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px;padding-bottom:12px;margin-bottom:8px;border-bottom:1px solid var(--cdb-line)}.care-dashboard-studio .cdb-widget>header h2{font-size:15px;line-height:1.5;flex:1 1 120px}.care-dashboard-studio .cdb-widget>header>div{display:flex;flex-wrap:wrap;gap:6px}.care-dashboard-studio .cdb-widget>header button{min-height:36px;font-size:11px;padding:5px 9px}.care-dashboard-studio .cdb-unavailable{padding:16px;border:1px dashed var(--cdb-line);border-radius:10px;background:var(--cdb-soft);font-size:13px;line-height:1.65}.care-dashboard-studio .cdb-unavailable button{margin-top:12px}.care-dashboard-studio .cdb-empty{grid-column:1/-1;padding:36px 24px;text-align:center;border:1px dashed var(--cdb-line);border-radius:16px;background:var(--cdb-surface)}.care-dashboard-studio .cdb-empty p{color:var(--cdb-muted);font-size:13px;line-height:1.7;max-width:650px;margin:14px auto 20px}
.care-dashboard-studio .cdb-card-layout-tools{display:flex;align-items:center;gap:8px;margin-top:12px;padding-top:8px;border-top:1px solid var(--cdb-line);font-size:11px;color:var(--cdb-muted)}.care-dashboard-studio .cdb-resize-handle{margin-left:auto;width:44px;height:44px;min-width:44px;padding:0;font-size:24px;cursor:nwse-resize}.care-dashboard-studio .cdb-move-handle{cursor:grab;min-height:40px!important}.care-dashboard-studio :is(.cdb-move-handle,.cdb-resize-handle){touch-action:none;user-select:none;-webkit-user-select:none}.care-dashboard-studio .is-layout-dragging{opacity:.45;outline:2px dashed var(--cdb-accent);outline-offset:3px}.care-dashboard-studio .is-layout-resizing{outline:2px solid var(--cdb-accent);outline-offset:3px}.care-dashboard-studio[data-dashboard-gesture] .cdb-widget{user-select:none}.care-dashboard-studio .cdb-drag-preview{position:fixed;z-index:120;pointer-events:none;width:max-content;max-width:240px;padding:12px 16px;border:1px solid var(--cdb-accent);border-radius:12px;background:var(--cdb-surface);color:var(--cdb-ink);box-shadow:var(--ui-shadow,0 8px 30px #0002);font-size:13px;overflow-wrap:anywhere}.care-dashboard-studio .cdb-layout-status{color:var(--cdb-ink);font-size:12px;line-height:1.5;min-height:18px}.care-dashboard-studio .cdb-width-help{display:none}.care-dashboard-studio .cdb-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.care-dashboard-studio :is(button,input,select):focus-visible{outline:2px solid var(--cdb-accent);outline-offset:3px}
@media(max-width:1100px){.care-dashboard-studio .cdb-widget-grid{--cdb-grid-columns:2;grid-template-columns:repeat(2,minmax(0,1fr))}.care-dashboard-studio .cdb-width-two{grid-column:1/-1}.care-dashboard-studio .cdb-toolbar{align-items:flex-start;flex-direction:column}}
@media(max-width:640px){.care-dashboard-studio .cdb-widget-grid{--cdb-grid-columns:1;grid-template-columns:1fr}.care-dashboard-studio .cdb-width-one,.care-dashboard-studio .cdb-width-two{grid-column:1/-1}.care-dashboard-studio .cdb-section-head,.care-dashboard-studio .cdb-arrange-row{flex-direction:column;align-items:stretch}.care-dashboard-studio .cdb-customizer,.care-dashboard-studio .cdb-widget{padding:16px}.care-dashboard-studio .cdb-widget-editor{padding:12px}.care-dashboard-studio .cdb-toolbar label{flex-direction:column;align-items:flex-start}.care-dashboard-studio .cdb-toolbar select{width:100%}.care-dashboard-studio .cdb-width-help{display:inline}.care-dashboard-studio .cdb-resize-handle{cursor:ns-resize}}
@media print{.care-dashboard-studio :is(.cdb-card-layout-tools,.cdb-drag-preview){display:none!important}}
@media print{.care-dashboard-studio .cdb-toolbar,.care-dashboard-studio .cdb-customizer,.care-dashboard-studio .cdb-save-error,.care-dashboard-studio .cdb-widget>header button{display:none!important}.care-dashboard-studio .cdb-widget-grid{display:block}.care-dashboard-studio .cdb-widget{margin-bottom:20px;break-inside:avoid;box-shadow:none}}
@media print{
 body.care-dashboard-printing :is(.crm-sidebar,.crm-topbar,.crm-backdrop,#veyora-copilot-root,#toast,dialog,.skip,.workspace-entry-status){display:none!important}
 body.care-dashboard-printing{--ui-bg:#fff;--ui-surface:#fff;--ui-soft:#f4f4f4;--ui-ink:#171717;--ui-muted:#454545;--ui-line:#d5d5d5;background:#fff!important;color:#171717!important}
 body.care-dashboard-printing :is(.crm-shell,.crm-workspace){display:block!important;grid-template-columns:1fr!important;position:static!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;overflow:visible!important;background:#fff!important}
 body.care-dashboard-printing #content{padding:0!important;width:100%!important;max-width:none!important;background:#fff!important;overflow:visible!important}
 body.care-dashboard-printing .care-dashboard-studio{margin:0;--cdb-ink:#171717;--cdb-muted:#454545;--cdb-line:#d5d5d5;--cdb-surface:#fff;--cdb-soft:#f4f4f4}
 body.care-dashboard-printing .dashboard-chart{--dc-ink:#171717;--dc-muted:#454545;--dc-line:#d5d5d5;--dc-surface:#fff;--dc-soft:#f4f4f4;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 body.care-dashboard-printing .dashboard-chart :is(.dc-data,.dc-basis){display:block!important;break-inside:auto}
 body.care-dashboard-printing .dashboard-chart :is(.dc-data,.dc-basis)::details-content{content-visibility:visible!important;height:auto!important}
 body.care-dashboard-printing .dashboard-chart summary{list-style:none}
 body.care-dashboard-printing .dashboard-chart .dc-data-scroll{max-height:none;overflow:visible}
 body.care-dashboard-printing .dashboard-chart table{white-space:normal}
 body.care-dashboard-printing .dashboard-chart :is(th,td){white-space:normal!important;overflow-wrap:anywhere}
}
/* A resized tile owns its whole outer rectangle. Its grip stays at the corner;
   the readable body reflows and scrolls without trapping page scrolling. */
.care-dashboard-studio .cdb-widget-grid{grid-template-columns:repeat(12,minmax(0,1fr))}.care-dashboard-studio .cdb-width-one{grid-column:span 4}.care-dashboard-studio .cdb-width-two{grid-column:span 8}.care-dashboard-studio .cdb-widget[data-dashboard-span]{grid-column:span var(--cdb-card-span,4)}
.care-dashboard-studio .cdb-widget{position:relative;box-sizing:border-box}.care-dashboard-studio .cdb-sized{display:flex;flex-direction:column;min-height:280px;overflow:hidden}.care-dashboard-studio .cdb-sized>header{flex:0 0 auto}.care-dashboard-studio .cdb-sized>[data-dashboard-figure]{flex:1 1 0;min-height:0;overflow:auto;overscroll-behavior:auto;scrollbar-gutter:stable}.care-dashboard-studio .cdb-sized .dashboard-chart{height:100%;min-height:0;display:flex;flex-direction:column}.care-dashboard-studio .cdb-sized .dashboard-chart>:is(.dc-period,.dc-note,.dc-data,.dc-basis){flex:0 0 auto}.care-dashboard-studio .cdb-sized .dc-visual{flex:1 1 0;min-height:100px;height:auto!important;overflow:visible}.care-dashboard-studio .cdb-sized .dc-visual:has(.dc-tall){flex:0 0 auto}.care-dashboard-studio .cdb-sized .dc-tall{max-height:none;overflow:visible}.care-dashboard-studio .cdb-sized .dc-visual>.dc-kpis{min-height:100%;margin:0}.care-dashboard-studio .cdb-sized .dc-kpi{display:flex;flex-direction:column;justify-content:center}.care-dashboard-studio .cdb-sized>.cdb-card-layout-tools{flex:0 0 auto;min-height:44px;padding-right:44px}.care-dashboard-studio .cdb-resize-handle{position:absolute;right:8px;bottom:8px;margin:0}.care-dashboard-studio .cdb-widget:dir(rtl)>.cdb-card-layout-tools{padding-right:0;padding-left:44px}.care-dashboard-studio .cdb-widget:dir(rtl) .cdb-resize-handle{right:auto;left:8px;cursor:nesw-resize}
@media(max-width:1100px){.care-dashboard-studio .cdb-width-one{grid-column:span 6}.care-dashboard-studio .cdb-width-two{grid-column:1/-1}.care-dashboard-studio .cdb-widget[data-dashboard-span]{grid-column:span var(--cdb-medium-span,6)}}
@media(max-width:640px){.care-dashboard-studio .cdb-widget-grid{grid-template-columns:1fr}.care-dashboard-studio :is(.cdb-width-one,.cdb-width-two,.cdb-widget[data-dashboard-span]){grid-column:1/-1}}
@media print{.care-dashboard-studio .cdb-sized{height:auto!important;min-height:0;overflow:visible;display:block}.care-dashboard-studio .cdb-sized>[data-dashboard-figure]{overflow:visible;display:block}.care-dashboard-studio .cdb-sized .dashboard-chart{display:block;min-height:0}.care-dashboard-studio .cdb-sized .dc-visual{height:auto!important;min-height:0}}

/* Finite native geometry uses external CSS classes under the workspace CSP. */
.care-dashboard-studio .cdb-widget-grid{container-type:inline-size}
.care-dashboard-studio .cdb-widget.cdb-height-280{height:280px}
.care-dashboard-studio .cdb-widget.cdb-height-300{height:300px}
.care-dashboard-studio .cdb-widget.cdb-height-320{height:320px}
.care-dashboard-studio .cdb-widget.cdb-height-340{height:340px}
.care-dashboard-studio .cdb-widget.cdb-height-360{height:360px}
.care-dashboard-studio .cdb-widget.cdb-height-380{height:380px}
.care-dashboard-studio .cdb-widget.cdb-height-400{height:400px}
.care-dashboard-studio .cdb-widget.cdb-height-420{height:420px}
.care-dashboard-studio .cdb-widget.cdb-height-440{height:440px}
.care-dashboard-studio .cdb-widget.cdb-height-460{height:460px}
.care-dashboard-studio .cdb-widget.cdb-height-480{height:480px}
.care-dashboard-studio .cdb-widget.cdb-height-500{height:500px}
.care-dashboard-studio .cdb-widget.cdb-height-520{height:520px}
.care-dashboard-studio .cdb-widget.cdb-height-540{height:540px}
.care-dashboard-studio .cdb-widget.cdb-height-560{height:560px}
.care-dashboard-studio .cdb-widget.cdb-height-580{height:580px}
.care-dashboard-studio .cdb-widget.cdb-height-600{height:600px}
.care-dashboard-studio .cdb-widget.cdb-height-620{height:620px}
.care-dashboard-studio .cdb-widget.cdb-height-640{height:640px}
.care-dashboard-studio .cdb-widget.cdb-height-660{height:660px}
.care-dashboard-studio .cdb-widget.cdb-height-680{height:680px}
.care-dashboard-studio .cdb-widget.cdb-height-700{height:700px}
.care-dashboard-studio .cdb-widget.cdb-height-720{height:720px}
.care-dashboard-studio .cdb-widget.cdb-height-740{height:740px}
.care-dashboard-studio .cdb-widget.cdb-height-760{height:760px}
.care-dashboard-studio .cdb-widget.cdb-height-780{height:780px}
.care-dashboard-studio .cdb-widget.cdb-height-800{height:800px}
.care-dashboard-studio .cdb-widget.cdb-height-820{height:820px}
.care-dashboard-studio .cdb-widget.cdb-height-840{height:840px}
.care-dashboard-studio .cdb-widget.cdb-height-860{height:860px}
.care-dashboard-studio .cdb-widget.cdb-height-880{height:880px}
.care-dashboard-studio .cdb-widget.cdb-height-900{height:900px}
.care-dashboard-studio .cdb-widget.cdb-height-920{height:920px}
.care-dashboard-studio .cdb-widget.cdb-height-940{height:940px}
.care-dashboard-studio .cdb-widget.cdb-height-960{height:960px}
.care-dashboard-studio .cdb-widget.cdb-span-3{grid-column:span 3}
.care-dashboard-studio .cdb-widget.cdb-span-4{grid-column:span 4}
.care-dashboard-studio .cdb-widget.cdb-span-5{grid-column:span 5}
.care-dashboard-studio .cdb-widget.cdb-span-6{grid-column:span 6}
.care-dashboard-studio .cdb-widget.cdb-span-7{grid-column:span 7}
.care-dashboard-studio .cdb-widget.cdb-span-8{grid-column:span 8}
.care-dashboard-studio .cdb-widget.cdb-span-9{grid-column:span 9}
.care-dashboard-studio .cdb-widget.cdb-span-10{grid-column:span 10}
.care-dashboard-studio .cdb-widget.cdb-span-11{grid-column:span 11}
.care-dashboard-studio .cdb-widget.cdb-span-12{grid-column:span 12}
.care-dashboard-studio .cdb-kpi-card.cdb-sized{min-height:400px}.care-dashboard-studio .cdb-kpi-card .dc-kpi{padding:12px}.care-dashboard-studio .cdb-kpi-card .dc-kpi strong{margin:6px 0}
@media(max-width:1100px){.care-dashboard-studio .cdb-widget.cdb-span-3{grid-column:span 6}.care-dashboard-studio .cdb-widget.cdb-span-4{grid-column:span 6}.care-dashboard-studio .cdb-widget.cdb-span-5{grid-column:span 6}.care-dashboard-studio .cdb-widget.cdb-span-6{grid-column:span 6}.care-dashboard-studio .cdb-widget.cdb-span-7{grid-column:span 7}.care-dashboard-studio .cdb-widget.cdb-span-8{grid-column:span 8}.care-dashboard-studio .cdb-widget.cdb-span-9{grid-column:span 9}.care-dashboard-studio .cdb-widget.cdb-span-10{grid-column:span 10}.care-dashboard-studio .cdb-widget.cdb-span-11{grid-column:span 11}.care-dashboard-studio .cdb-widget.cdb-span-12{grid-column:span 12}}
@container(max-width:1020px){.care-dashboard-studio .cdb-widget.cdb-span-3{grid-column:span 4}}
@container(max-width:760px){.care-dashboard-studio .cdb-widget.cdb-span-3{grid-column:span 6}.care-dashboard-studio .cdb-widget.cdb-span-4{grid-column:span 6}.care-dashboard-studio .cdb-widget.cdb-span-5{grid-column:span 6}.care-dashboard-studio .cdb-widget.cdb-width-one{grid-column:span 6}}
@container(max-width:500px){.care-dashboard-studio .cdb-widget{grid-column:1/-1!important}.care-dashboard-studio .cdb-width-help{display:inline}.care-dashboard-studio .cdb-resize-handle{cursor:ns-resize}}
@media(max-width:640px){.care-dashboard-studio .cdb-widget[class*="cdb-span-"]{grid-column:1/-1}}
/* Keep card chrome compact and allocate one complete Cartesian canvas from the
   measured remaining body space. The canvas itself never scrolls vertically. */
.care-dashboard-studio .dashboard-chart .dc-period{margin:3px 0 6px;line-height:1.4}.care-dashboard-studio .dashboard-chart .dc-note{margin:4px 0 6px;font-size:11px;line-height:1.45}
.care-dashboard-studio .dashboard-chart :is(.dc-data,.dc-basis){margin-top:4px;padding-top:2px}.care-dashboard-studio .dashboard-chart :is(.dc-data,.dc-basis)>summary{padding:2px 0;line-height:1.4}
.care-dashboard-studio .dashboard-chart .dc-legend{align-items:center;gap:4px 12px;margin:5px 0;font-size:11px;line-height:1.4}.care-dashboard-studio .dashboard-chart .dc-legend li{align-items:center}.care-dashboard-studio .dashboard-chart .dc-legend small{display:inline;margin-inline-start:5px;font-size:10px}.care-dashboard-studio .dashboard-chart .dc-legend .dc-swatch{margin-top:0}
.care-dashboard-studio .cdb-cartesian-card.cdb-sized{min-height:480px}.care-dashboard-studio .cdb-sized .dashboard-chart[data-dashboard-cartesian]{display:flow-root;height:auto;min-height:0}.care-dashboard-studio .cdb-sized [data-dashboard-cartesian] .dc-visual{display:block;height:auto!important;min-height:0;overflow:visible}.care-dashboard-studio .cdb-sized [data-dashboard-cartesian] .dc-visual>.dc-facet{display:block;min-height:0;margin:0}.care-dashboard-studio .cdb-sized [data-dashboard-cartesian] .dc-scroll{display:block;height:240px;min-height:180px;overflow-y:hidden;overflow-x:auto;flex:none}.care-dashboard-studio .cdb-sized .dashboard-chart[data-dashboard-cartesian] .dc-scroll>.dc-svg{display:block;width:100%;height:100%;min-height:0}
@media print{.care-dashboard-studio .cdb-cartesian-card.cdb-sized{min-height:0}.care-dashboard-studio .cdb-sized [data-dashboard-cartesian] .dc-scroll{height:auto!important;min-height:0;overflow:visible}.care-dashboard-studio .cdb-sized .dashboard-chart[data-dashboard-cartesian] .dc-scroll>.dc-svg{height:auto}}
/* Compact card chrome adapts before the plot gives up its readable area. */
.care-dashboard-studio .cdb-chart-card.cdb-sized{min-height:360px}.care-dashboard-studio .cdb-compact-card{padding:12px}.care-dashboard-studio .cdb-widget>header h2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.care-dashboard-studio .cdb-compact-card>header{gap:6px;padding-bottom:6px;margin-bottom:4px}.care-dashboard-studio .cdb-compact-card>header h2{font-size:14px;line-height:1.3}.care-dashboard-studio .cdb-compact-card>header button{min-height:28px;font-size:10px;padding:4px 7px}.care-dashboard-studio .cdb-compact-card .cdb-move-handle{min-height:30px!important}.care-dashboard-studio .cdb-compact-card>.cdb-card-layout-tools{min-height:32px;margin-top:6px;padding-top:4px;font-size:10px}
.care-dashboard-studio .dashboard-chart .dc-supporting{display:flex;flex-wrap:wrap;align-items:flex-start;gap:3px 14px;margin-top:4px}.care-dashboard-studio .dashboard-chart .dc-supporting>details{margin:0;padding:2px 0 0;border-top:1px solid var(--dc-line);font-size:11px}.care-dashboard-studio .dashboard-chart .dc-supporting:has(>details[open]){display:block}.care-dashboard-studio .dashboard-chart .dc-supporting>details[open]{width:100%}.care-dashboard-studio .dashboard-chart .dc-supporting>details>summary{padding:2px 0;line-height:1.35}.care-dashboard-studio .cdb-kpi-card .dc-period{font-size:10px;line-height:1.3;margin:2px 0 4px}.care-dashboard-studio .cdb-kpi-card .dc-kpi strong{font-size:clamp(20px,8cqi,34px)}
.care-dashboard-studio .cdb-sized .dashboard-chart{height:auto;min-height:0;display:flow-root}.care-dashboard-studio .cdb-sized .dc-visual{display:block;flex:none;height:auto!important;min-height:0;overflow:visible}.care-dashboard-studio .cdb-sized .dc-visual>.dc-facet{display:block;flex:none;min-height:0;margin:0}.care-dashboard-studio .cdb-sized [data-dashboard-plot]{min-height:0;max-height:none;box-sizing:border-box}.care-dashboard-studio .cdb-sized [data-dashboard-plot=cartesian],.care-dashboard-studio .cdb-sized [data-dashboard-plot=scatter]{min-height:160px;overflow-y:hidden;overflow-x:auto}.care-dashboard-studio .cdb-sized [data-dashboard-plot=cartesian]>.dc-svg,.care-dashboard-studio .cdb-sized [data-dashboard-plot=scatter]>.dc-svg{height:100%;min-height:0}
.care-dashboard-studio .cdb-sized :is([data-dashboard-plot=horizontal_bar],[data-dashboard-plot=heatmap],[data-dashboard-plot=table]){overflow:auto;max-height:none;overscroll-behavior:auto}.care-dashboard-studio .cdb-sized [data-dashboard-plot=kpi]{min-height:110px;margin:0;overflow:auto;align-items:stretch}.care-dashboard-studio .cdb-sized [data-dashboard-plot=gauge]{overflow:auto;align-items:stretch}.care-dashboard-studio .cdb-sized .dc-gauge{display:flex;flex-direction:column;justify-content:center}.care-dashboard-studio .cdb-sized .dc-gauge>.dc-svg{flex:1 1 auto;min-height:80px;max-height:100%}
.care-dashboard-studio .cdb-sized [data-dashboard-plot=composition]{grid-template-columns:minmax(140px,1fr) minmax(120px,1fr);gap:10px;min-height:160px;overflow:visible}.care-dashboard-studio .cdb-sized .dc-composition>div{height:100%;min-height:0;display:flex;align-items:center;justify-content:center}.care-dashboard-studio .cdb-sized .dc-composition .dc-svg{width:100%;height:100%;max-height:100%;max-width:300px}.care-dashboard-studio .cdb-sized .dc-pie-legend{max-height:100%;margin:0;overflow:auto}.care-dashboard-studio .dc-pie-key{min-width:0;font-size:11px}.care-dashboard-studio .dc-pie-key>summary{font-size:11px}.care-dashboard-studio .dc-pie-key[open]>.dc-pie-legend{max-height:140px}.care-dashboard-studio .dc-facet-choice{border-top:1px solid var(--dc-line);padding-top:4px}.care-dashboard-studio .dc-facet-choice>summary{font-size:11px;padding:3px 0}
.care-dashboard-studio [data-dashboard-density=compact] :is(.dc-axis-label,.dc-value-label,.dc-heat-value){font-size:10px}.care-dashboard-studio [data-dashboard-density=compact] .dc-legend{font-size:10px;margin:3px 0;gap:3px 9px}.care-dashboard-studio [data-dashboard-density=compact] .dc-period{font-size:10px;line-height:1.3;margin:2px 0 4px}.care-dashboard-studio [data-dashboard-density=compact] .dc-note{font-size:10px;margin:3px 0}
@container(max-width:460px){.care-dashboard-studio .cdb-sized [data-dashboard-plot=composition]{grid-template-columns:1fr;grid-template-rows:minmax(120px,1fr) auto}.care-dashboard-studio .cdb-sized .dc-composition .dc-svg{max-width:220px}.care-dashboard-studio .cdb-sized .dc-pie-key[open]>.dc-pie-legend{max-height:100px}}
@media print{.care-dashboard-studio .cdb-sized [data-dashboard-plot]{height:auto!important;max-height:none!important;overflow:visible!important}.care-dashboard-studio .dashboard-chart .dc-supporting{display:block}.care-dashboard-studio .cdb-chart-card.cdb-sized{min-height:0}.care-dashboard-studio .cdb-sized [data-dashboard-plot]>.dc-svg{height:auto!important}}
.care-dashboard-studio .cdb-sized .dashboard-chart[data-dashboard-cartesian] .dc-scroll{min-height:160px}
.care-dashboard-studio .cdb-card-menu{position:relative;font-size:11px}.care-dashboard-studio .cdb-card-menu>summary{cursor:pointer;list-style:none;padding:6px 9px;min-height:30px;border:1px solid var(--cdb-line);border-radius:8px;background:var(--cdb-surface);color:var(--cdb-ink)}.care-dashboard-studio .cdb-card-menu>div{position:absolute;right:0;top:100%;z-index:20;display:grid;gap:5px;min-width:150px;padding:8px;border:1px solid var(--cdb-line);border-radius:10px;background:var(--cdb-surface);box-shadow:var(--ui-shadow,0 8px 24px #0002)}.care-dashboard-studio .cdb-card-menu>div>.btn{width:100%;text-align:left}.care-dashboard-studio .cdb-card-menu>summary:focus-visible{outline:2px solid var(--cdb-accent);outline-offset:2px}.care-dashboard-studio .cdb-undo-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:10px 14px;margin-bottom:12px;background:var(--cdb-soft);border:1px solid var(--cdb-line);border-radius:10px;font-size:12px}.care-dashboard-studio .cdb-removal-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;padding-top:12px;border-top:1px solid var(--cdb-line)}.care-dashboard-studio .cdb-removal-actions>p{flex:1 0 100%;margin:0 0 4px;color:var(--cdb-muted);font-size:12px}
@media print{.care-dashboard-studio :is(.cdb-card-menu,.cdb-undo-bar,.cdb-removal-actions){display:none!important}}

.care-dashboard-studio .cdb-create{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:16px;border:1px solid var(--cdb-line);border-radius:12px;margin:12px 0}.care-dashboard-studio .cdb-create label{display:grid;gap:6px;flex:1 1 220px}.care-dashboard-studio[data-dashboard-editing=true] .cdb-widget{cursor:grab;touch-action:none}.care-dashboard-studio[data-workspace-preserve-view] .cdb-widget :is(button,a,input,select,textarea,summary){cursor:auto}
