.demo-workspace{width:min(900px,100%);margin:0 auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.pcf-app{--pcf-border:#dedede;--pcf-text:#222;--pcf-muted:#555;position:relative;width:100%;aspect-ratio:1.8/1;min-height:410px;background:#fff;color:var(--pcf-text);border:1px solid #ddd;box-shadow:0 3px 16px #00000012;font-family:Arial,Helvetica,sans-serif;overflow:hidden}
.pcf-toolbar{height:48px;display:flex;align-items:center;gap:9px;padding:5px 8px;border-bottom:1px solid #dedede;background:#fff;position:relative;z-index:1}
.pcf-toolbar-actions{display:flex;align-items:center;gap:5px;flex:0 0 auto}
.pcf-tool{width:26px;height:26px;padding:0;border:0;border-radius:50%;display:grid;place-items:center;background:transparent;color:#151515;line-height:1;font-family:Arial,sans-serif;font-size:26px}
.pcf-tool:hover{background:#f0f0f0}.pcf-tool svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pcf-add{font-size:28px;font-weight:300}
.pcf-source{height:31px;min-width:0;flex:1;display:flex;align-items:center;padding:0 10px;border:1px solid #e3e3e3;border-radius:4px;background:#fff;color:#376b91;font-size:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pcf-source:hover{text-decoration:underline}
.pcf-outputs{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:1px;max-width:190px;color:#444;font-size:8px;line-height:1.15;white-space:nowrap}
.pcf-outputs b{font-weight:400;color:#111}
.pcf-content{position:absolute;inset:48px 10px 10px;display:grid;grid-template-columns:104px minmax(0,1fr);gap:8px;min-height:0}
.pcf-list-shell{min-width:0;min-height:0;border:1px solid #e5e5e5;border-radius:4px;background:#fff;overflow:hidden}
.pcf-chart-list,.pcf-data-list{height:100%;overflow-y:auto;overscroll-behavior:contain}
.pcf-chart-list{display:grid;grid-template-rows:repeat(8,minmax(0,1fr));padding:2px 0}
.pcf-row{height:auto;min-height:0;width:100%;display:flex;align-items:center;justify-content:space-between;gap:3px;padding:0 8px 0 10px;border:0;border-left:2px solid transparent;background:#fff;color:#363636;text-align:left;font:10px Arial,Helvetica,sans-serif;white-space:nowrap}
.pcf-row span{font-size:17px;line-height:1;color:#777}
.pcf-row:hover{background:#f7f7f7}.pcf-row.active{border-left-color:#385b89;background:#fafafa;color:#111}
.pcf-data-list{padding:5px 0}
.bubble-row{display:flex;align-items:center;gap:5px;width:100%;min-height:34px;padding:4px 5px;border:0;background:#fff;color:#333;text-align:left;font:9px Arial,Helvetica,sans-serif}
.bubble-row:hover,.bubble-row[aria-selected=true]{background:#f1f5f7}
.bubble-number{width:15px;height:15px;flex:0 0 15px;display:grid;place-items:center;border-radius:50%;background:var(--point-color);color:#fff;font-size:8px}
.bubble-values{font-size:8px;line-height:1.25;min-width:0;overflow-wrap:anywhere}
.pcf-chart{position:relative;min-width:0;min-height:0;border:1px solid #e5e5e5;border-radius:4px;background:#fff;padding:7px}
.pcf-chart canvas{display:block;width:100%;height:100%}
.pcf-dialog-backdrop{position:absolute;inset:0;z-index:5;display:grid;place-items:center;padding:18px;background:rgba(0,0,0,.9)}
.pcf-dialog{width:min(440px,100%);min-height:220px;position:relative;display:flex;flex-direction:column;justify-content:center;padding:34px 28px 26px;background:rgba(18,18,18,.16);color:#fff}
.pcf-dialog-close{position:absolute;top:3px;right:14px;width:34px;height:34px;padding:0;border:0;background:transparent;color:#fff;font:300 36px/1 Arial,sans-serif}
.pcf-sliders{display:grid;gap:17px;width:100%;max-width:310px;margin:5px auto 23px}
.pcf-slider{display:grid;grid-template-columns:18px minmax(0,1fr) 30px;gap:9px;align-items:center;color:#fff;font:12px Arial,sans-serif}
.pcf-slider input{width:100%;height:17px;margin:0;accent-color:#fff;cursor:pointer}
.pcf-slider output{min-width:26px;text-align:right;color:#fff;font:14px Arial,sans-serif}
.pcf-save{align-self:center;width:32px;height:32px;padding:2px;border:0;background:transparent;color:#fff}
.pcf-save svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.demo-workspace [hidden]{display:none!important}
@media(max-width:700px){.demo-workspace{width:100%}.pcf-app{aspect-ratio:auto;min-height:520px;height:min(70vh,640px)}.pcf-toolbar{height:44px;padding-inline:6px;gap:5px}.pcf-content{inset:44px 6px 6px;grid-template-columns:78px minmax(0,1fr);gap:5px}.pcf-row{padding-inline:6px 4px;font-size:9px}.pcf-chart{padding:4px}.pcf-source{font-size:10px;padding-inline:5px}.pcf-outputs{font-size:7px;max-width:96px}.pcf-tool,.pcf-tool svg{width:23px;height:23px}.pcf-dialog{min-height:210px;padding-inline:18px}.bubble-row{min-height:40px;flex-wrap:wrap}.bubble-values{font-size:8px}}
@media(max-width:390px){.pcf-app{min-height:480px}.pcf-content{grid-template-columns:72px minmax(0,1fr)}.pcf-row{font-size:8px;padding-left:5px}.pcf-source{font-size:9px}.pcf-toolbar-actions{gap:1px}}
@media(prefers-reduced-motion:reduce){.pcf-app *{scroll-behavior:auto}}
#pcf-app.pcf-app{padding:16px;background:#f5f5f5}#pcf-app>.pcf-app-header{height:76px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e4e4e4;border-radius:8px;box-shadow:0 2px 4px #0000000d}#pcf-app>.pcf-app-header h3{margin:0;color:#222;font:400 30px Arial,Helvetica,sans-serif}.pcf-toolbar{margin-top:8px;border:1px solid #e4e4e4;border-radius:6px}.pcf-source{display:none}#pcf-app .pcf-content{inset:148px 16px 16px}@media(max-width:700px){#pcf-app.pcf-app{padding:8px}#pcf-app>.pcf-app-header{height:62px;justify-content:flex-start;padding-left:14px}#pcf-app>.pcf-app-header h3{font-size:22px}#pcf-app .pcf-content{inset:122px 8px 8px}}
