.overview-scope{display:flex;align-items:end;gap:24px;margin-bottom:24px;flex-wrap:wrap}.overview-scope>span{font-size:12px;color:var(--color-muted);padding-bottom:12px}.overview-filter{width:420px;max-width:100%}.overview-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.overview-kpi{border:1px solid var(--color-line);padding:24px;display:flex;flex-direction:column;gap:14px;min-width:0;background:#fff}.overview-kpi>span{font-size:12px;color:var(--color-secondary)}.overview-kpi>strong{font-size:34px;font-weight:500;line-height:1.15}.overview-kpi>small{font-size:var(--font-caption);color:var(--color-muted);margin-top:auto}.overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:20px;align-items:stretch}.overview-panel{border:1px solid var(--color-line);min-width:0;background:white;display:flex;flex-direction:column}.overview-panel-head{display:flex;gap:16px;justify-content:space-between;align-items:start;padding:24px;border-bottom:1px solid var(--color-line)}.overview-panel-head h2{font-size:20px}.overview-panel-head p{font-size:var(--font-caption);color:var(--color-muted);margin-top:6px}.overview-panel-head p:empty{display:none}.overview-panel-body{padding:24px;flex:1;min-width:0}.overview-legend{display:flex;gap:20px;font-size:var(--font-caption);color:var(--color-secondary)}.overview-legend span{display:flex;gap:8px;align-items:center}.overview-legend i{width:10px;height:10px;background:#b94320;display:block}.overview-legend .plan{background:#d5c7b9}.overview-columns{display:flex;gap:20px;justify-content:space-around;margin-top:22px}.overview-year{min-width:0;text-align:center;flex:1}.overview-year>strong{display:block;font-size:12px;margin-top:12px}.overview-column-pair{height:160px;display:flex;align-items:end;justify-content:center;gap:8px}.overview-column-pair>div{display:flex;flex-direction:column;align-items:center;gap:6px;width:34px;font-size:var(--font-caption)}.overview-column-pair i{display:block;width:100%;background:#b94320;border-radius:3px 3px 0 0}.overview-column-pair .plan{background:#d5c7b9}.overview-composition{display:flex;gap:32px;justify-content:center;align-items:center;min-height:220px}.overview-composition svg{width:180px;max-width:55%;flex-shrink:0}.overview-composition text{font:20px Geologica,sans-serif;fill:#414042}.overview-composition dl{display:grid;gap:8px}.overview-composition dt{font-size:12px;color:var(--color-muted)}.overview-composition dd{font-size:26px;margin:0 0 12px}.overview-departments{max-height:350px;overflow:auto;padding-right:8px}.overview-dept{display:grid;grid-template-columns:1.3fr 1fr;gap:16px;padding:12px 0;border-bottom:1px solid var(--color-line);font-size:var(--font-caption);align-items:center}.overview-dept:first-child{padding-top:0}.overview-dept small{display:block;margin-top:6px;font-size:var(--font-caption);color:var(--color-muted)}.overview-track{display:block;background:#eee7df;height:8px;border-radius:3px;overflow:hidden}.overview-track>span{display:block;height:100%;background:#b94320}.overview-money{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:28px}.overview-money>div{display:flex;flex-direction:column;gap:14px}.overview-money span{font-size:12px;color:var(--color-muted)}.overview-money strong{font-size:27px;font-weight:500}.overview-effect{display:grid;gap:16px}.overview-effect>div{display:flex;justify-content:space-between;gap:16px;font-size:12px;padding-bottom:12px;border-bottom:1px solid var(--color-line)}.overview-note{font-size:var(--font-caption);color:var(--color-muted);line-height:1.6;margin-top:20px}.overview-quarter{display:grid;gap:24px}.overview-quarter>div{display:grid;grid-template-columns:84px 1fr 40px;gap:16px;align-items:center;font-size:12px}.overview-quarter strong{font-weight:400}.overview-quarter>div>span:last-child{text-align:right}.overview-source{display:flex;gap:24px;justify-content:space-between;align-items:center;padding:16px 0}.overview-source:first-child{padding-top:0}.overview-source:last-child{padding-bottom:0}.overview-source small{display:block;color:var(--color-muted);font-size:var(--font-caption);margin-top:8px}.overview-source>div{min-width:0;overflow-wrap:anywhere}.overview-source>a{flex-shrink:0}.overview-panel .table-scroll{max-height:350px}.overview-panel td{font-size:12px}.overview-panel td small{font-size:var(--font-caption)}
@media(max-width:1100px){.overview-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.overview-grid{grid-template-columns:1fr}.overview-kpis{gap:12px}.overview-kpi{padding:16px}.overview-kpi>strong{font-size:28px}.overview-panel-head,.overview-panel-body{padding:20px}.overview-source{flex-direction:column;align-items:start}.overview-columns{gap:10px}.overview-column-pair{gap:5px}.overview-column-pair>div{width:26px}.overview-money strong{font-size:22px}}

.overview-head{align-items:center;margin-bottom:24px}.overview-head .overview-filter{width:360px}.overview-effect-chart{min-height:150px;gap:20px;margin-bottom:24px}.overview-effect-chart svg{width:145px}.overview-effect-chart .overview-effect{flex:1}.overview-effect-chart .overview-effect>div{font-size:var(--font-caption);padding-bottom:8px}.overview-money{margin-bottom:20px}.overview-effect-chart~.overview-effect>div{font-size:var(--font-caption)}

.overview-product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:24px}.overview-product-card{display:flex;flex-direction:column;gap:20px;min-width:0}.overview-product-card h3{font-size:16px}.overview-product-card>a{margin-top:auto;align-self:start}.overview-product-card p{font-size:12px}.overview-product-metric{display:grid;gap:10px;font-size:12px}.overview-product-metric>div{display:flex;gap:16px;justify-content:space-between}.overview-product-metric small{font-size:var(--font-caption);color:var(--color-muted)}
/* Compact overview: six primary widgets, optional detail below. */
#content:has(>.overview-dashboard){padding:24px}
.overview-dashboard .overview-head{margin-bottom:12px;gap:16px}
.overview-dashboard .overview-head h1{font-size:28px}
.overview-dashboard .overview-head p{margin-top:4px;font-size:12px}
.overview-dashboard .overview-filter{width:280px}
.overview-dashboard .overview-filter select{min-height:36px;padding:8px 12px}
.overview-dashboard>.overview-note{margin:0 0 10px;font-size:var(--font-caption)}
.overview-dashboard .overview-kpis{gap:12px;margin:12px 0 16px}
.overview-dashboard .overview-kpi{padding:16px;gap:8px}
.overview-dashboard .overview-kpi>strong{font-size:28px}
.overview-dashboard .overview-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}
.overview-dashboard .overview-panel-head{padding:14px 16px;gap:12px;min-height:66px}
.overview-dashboard .overview-panel-head h2{font-size:16px;line-height:1.3}
.overview-dashboard .overview-panel-head p{font-size:var(--font-caption);margin-top:4px}
.overview-dashboard .overview-panel-body{padding:14px 16px}
.overview-dashboard .overview-columns{margin-top:10px;gap:10px}
.overview-dashboard .overview-column-pair{height:106px;gap:6px}
.overview-dashboard .overview-column-pair>div{width:26px;font-size:var(--font-caption)}
.overview-dashboard .overview-year>strong{margin-top:8px;font-size:var(--font-caption)}
.overview-dashboard .overview-composition{min-height:150px;gap:16px}
.overview-dashboard .overview-composition svg{width:130px}
.overview-dashboard .overview-composition dd{font-size:22px;margin-bottom:8px}
.overview-dashboard .overview-departments,.overview-dashboard .overview-panel .table-scroll{max-height:170px;overflow:auto}
.overview-dashboard .overview-dept{gap:12px;padding:9px 0;grid-template-columns:1.2fr 1fr}
.overview-dashboard .overview-effect-chart{min-height:90px;margin-bottom:12px;gap:12px}
.overview-dashboard .overview-effect-chart svg{width:88px}
.overview-dashboard .overview-effect{gap:8px}
.overview-dashboard .overview-effect>div{padding-bottom:5px;font-size:var(--font-caption);gap:8px}
.overview-dashboard .overview-money{gap:12px;margin-bottom:12px}
.overview-dashboard .overview-money>div{gap:5px}.overview-dashboard .overview-money span{font-size:var(--font-caption)}.overview-dashboard .overview-money strong{font-size:20px}
.overview-dashboard .overview-quarter{gap:18px;padding:10px 0}
.overview-dashboard .overview-quarter>div{grid-template-columns:72px 1fr 28px;gap:12px;font-size:var(--font-caption)}
.overview-dashboard .overview-panel td,.overview-dashboard .overview-panel th{font-size:var(--font-caption);padding:8px}
.overview-dashboard .overview-panel td small{font-size:var(--font-caption)}
.overview-details summary{cursor:pointer;font-size:var(--font-caption);color:#80543a;padding:8px 0;min-height:32px}
.overview-details[open]>summary{margin-bottom:12px}
.overview-secondary{border-top:1px solid var(--color-line);padding:4px 0}
.overview-dashboard .overview-source{font-size:12px;padding:12px 0}
@media(max-width:1100px){.overview-dashboard .overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-dashboard .overview-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){#content:has(>.overview-dashboard){padding:16px}.overview-dashboard .overview-grid{grid-template-columns:1fr}.overview-dashboard .overview-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-dashboard .overview-filter{width:100%}}

/* Expand controls share one fixed size across dashboard widgets. */
.overview-expand{display:inline-grid;place-items:center;width:32px;height:32px;min-width:32px;min-height:32px;padding:6px;border:1px solid var(--color-line);border-radius:6px;background:#fff;color:#80543a;flex:none;cursor:pointer}
.overview-expand svg{width:18px;height:18px}.overview-expand:hover{background:#fff0e5;border-color:#c66c4b}
.custom-widgets{margin:20px 0}.custom-widgets>h2{font-size:18px;margin-bottom:14px}.widget-actions{display:flex;gap:8px;flex:none}.custom-widgets .overview-panel-body{max-height:310px;overflow:auto}
.widget-editor{display:grid;grid-template-columns:minmax(260px,330px) minmax(0,1fr);gap:24px}.widget-editor-fields{display:flex;flex-direction:column;gap:16px}.widget-editor .field{font-size:12px}.widget-editor .field[hidden]{display:none}.widget-source-controls,.widget-mapping{display:grid;gap:16px}.widget-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.widget-preview{min-width:0;padding:24px;border:1px solid var(--color-line);background:#fffdfb;align-self:start;position:sticky;top:0}.widget-preview h3{font-size:18px;margin:0 0 20px}.widget-preview .custom-widget-table{max-height:280px}.widget-caption,.widget-warning{font-size:var(--font-caption);line-height:1.6;margin:12px 0;color:#70665d}.widget-warning{color:#9b562a}.widget-remove{color:#b13d28;margin-top:8px}.widget-numbers{display:flex;gap:24px;flex-wrap:wrap;padding:16px 0}.widget-numbers>div{display:grid;gap:8px;flex:1}.widget-numbers span{font-size:12px;color:#756b64}.widget-numbers strong{font-size:36px;font-weight:500;overflow-wrap:anywhere}.widget-plot{max-width:100%;overflow:auto}.widget-plot svg{width:100%;display:block}.widget-donut{display:flex;align-items:center;gap:20px}.widget-donut svg{width:150px;flex:none}.widget-legend-list{display:grid;gap:10px;font-size:var(--font-caption);min-width:0}.widget-legend-list>div{display:grid;grid-template-columns:8px 1fr auto auto;gap:8px;align-items:center}.widget-legend-list i{width:8px;height:8px}.custom-widget-table{overflow:auto;max-width:100%}.custom-widget-table td,.custom-widget-table th{padding:10px 12px;font-size:12px;overflow-wrap:anywhere}.custom-widget-table th{white-space:nowrap}.overview-expanded .widget-donut svg{width:260px}.overview-expanded .widget-numbers strong{font-size:56px}#modal.widget-editor-modal .modal-actions>.btn{width:168px;min-width:168px}.widget-editor-modal .modal-actions{gap:12px}
@media(max-width:750px){.widget-editor{grid-template-columns:1fr}.widget-preview{position:static;padding:16px}.widget-donut{flex-direction:column}.widget-numbers strong{font-size:28px}.overview-expanded .widget-donut svg{width:180px}}
.overview-kpi{position:relative}.overview-kpi>.overview-expand{position:absolute;top:12px;right:12px}.overview-kpi>span{padding-right:36px;min-height:32px;display:flex;align-items:center}
#modal.overview-modal{width:min(1120px,calc(100% - 32px));max-height:calc(100dvh - 32px)}
#modal.overview-modal[open]{display:flex;flex-direction:column;overflow:hidden}
#modal.overview-modal #modal-form{display:flex;flex-direction:column;min-height:0;flex:0 1 auto;overflow:hidden}
#modal.overview-modal .modal-head{flex:none;padding:12px 20px;align-items:center;gap:16px}
#modal.overview-modal .modal-head>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;min-width:0}
#modal.overview-modal .modal-head h2{order:0;margin:0;font-size:20px;line-height:1.3;overflow-wrap:anywhere}
#modal.overview-modal #modal-context{order:1;margin:0;font-size:13px;line-height:1.4;font-weight:400;letter-spacing:normal;text-transform:none;color:var(--color-muted)}
#modal.overview-modal #modal-context:empty{display:none}
#modal.overview-modal #modal-close{user-select:none}
#modal.overview-modal .modal-body{overflow:auto;min-height:0;padding:24px;display:block;overscroll-behavior:contain}
#modal.overview-modal:not(.widget-editor-modal) .modal-actions{display:none}
.overview-expanded{display:grid;gap:28px;--overview-bar-height:220px}.overview-expanded-chart{padding:8px 0 0}
.overview-expanded .overview-column-pair{height:250px}.overview-expanded .overview-column-pair>div{width:48px;font-size:13px}
.overview-expanded .overview-composition{min-height:260px}.overview-expanded .overview-composition svg{width:240px}.overview-expanded .overview-composition dd{font-size:32px}
.overview-expanded .overview-departments{max-height:none;overflow:visible}.overview-expanded .overview-dept{font-size:13px}.overview-expanded .overview-dept small{font-size:12px}
.overview-expanded h3{font-size:16px;margin-bottom:16px}.overview-expanded .overview-data{max-height:none;overflow-x:auto}.overview-data th{white-space:nowrap}.overview-data td{font-size:13px;overflow-wrap:anywhere}
@media(max-width:700px){.overview-expanded .overview-composition svg{width:160px}.overview-expanded .overview-column-pair>div{width:28px}#modal.overview-modal .modal-body{padding:16px}.overview-expanded{--overview-bar-height:150px}.overview-expanded .overview-column-pair{height:180px}}

.widget-series span{display:inline-flex;align-items:center;gap:8px}.widget-series i{display:block;width:10px;height:10px}

.widget-dashboard-head,.widget-sources-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.widget-dashboard-head h2,.widget-sources-head h3{margin:0}.widget-sources{border-top:1px solid #e8dfd5;padding-top:20px}.widget-sources-head h3{font-size:15px}.widget-sources-head .btn{min-height:36px;padding:8px 12px;font-size:var(--font-caption)}.widget-source-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.widget-source-tabs button{border:1px solid #e3d8ce;background:#fff;padding:8px 10px;border-radius:8px;font-size:var(--font-caption);max-width:100%;overflow-wrap:anywhere;cursor:pointer}.widget-source-tabs button[aria-pressed=true]{border-color:#bf6040;background:#fff0e5;color:#a43c1d}.widget-source-editor{display:grid;gap:16px}.widget-range{border:1px solid #e8dfd5;border-radius:10px;padding:12px}.widget-range summary{cursor:pointer;font-size:12px}.widget-range[open]{display:grid;gap:12px}.widget-range[open] summary{margin-bottom:12px}.widget-range>.widget-two{margin-bottom:12px}.widget-detach{font-size:var(--font-caption);min-height:36px;justify-self:start}.widget-editor [hidden]{display:none!important}.widget-product-picker{display:grid;gap:12px}.widget-source-data{margin-bottom:20px}.widget-source-data h3{font-size:13px}.widget-editor{grid-template-columns:minmax(300px,380px) minmax(0,1fr)}
@media(max-width:750px){.widget-editor{grid-template-columns:1fr}.widget-dashboard-head{flex-wrap:wrap}}

:root{--chart-plan:#00504e;--chart-fact:#f04923;--chart-blue:#2d617c}
.widget-origin-links{display:flex;flex-wrap:wrap;gap:10px 16px;font-size:var(--font-caption)}.widget-origin-footer{padding:12px 16px;border-top:1px solid #eee7df}.widget-origin summary,.widget-data-details summary{cursor:pointer;font-size:12px;padding:8px 0;color:#56575c}.widget-origin[open] summary{margin-bottom:8px}.widget-data-details{border-top:1px solid #e8dfd5;padding-top:12px}.widget-data-details[open]>summary{margin-bottom:16px}.widget-data-details section+section{margin-top:24px}.overview-kpi .widget-origin-links,.overview-kpi .widget-origin{margin-top:12px;font-size:var(--font-caption)}
.overview-panel[data-chart]{--widget-accent:#f04923}
.overview-panel[data-chart=composition],.overview-panel[data-chart=economy]{--widget-accent:#00504e}
.overview-panel[data-chart=departments],.overview-panel[data-chart=quality]{--widget-accent:#2d617c}

.overview-panel[data-chart] .overview-track>span{background:var(--widget-accent)}
.overview-legend i.plan,.overview-column-pair i.plan{background:var(--chart-plan)}.overview-legend i:not(.plan),.overview-column-pair i.fact{background:var(--chart-fact)}



.overview-expanded[data-chart=departments]{--widget-accent:#2d617c}.overview-expanded[data-chart=quarters]{--widget-accent:#f04923}.overview-expanded[data-chart] .overview-track>span{background:var(--widget-accent,#00504e)}

/* Viewing surface: typography and space separate content. */
#modal.overview-modal:not(.widget-editor-modal){border:0}
#modal.overview-modal:not(.widget-editor-modal) .modal-head{background:transparent;border:0;padding:16px 24px 8px}
#modal.overview-modal:not(.widget-editor-modal) .modal-head h2{color:var(--color-ink);font-weight:500}
#modal.overview-modal:not(.widget-editor-modal) #modal-close{border-color:transparent;background:transparent}
#modal.overview-modal:not(.widget-editor-modal) #modal-close:hover{background:#f3f3f3;color:var(--color-ink)}
#modal.overview-modal:not(.widget-editor-modal) .modal-body{padding-top:8px}
#modal.overview-modal:not(.widget-editor-modal) .overview-expanded{gap:20px}
#modal.overview-modal:not(.widget-editor-modal) .widget-data-details{border:0;padding-top:0}

.widget-view-tools{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.widget-view-tools .btn{min-height:32px;padding:6px 10px;font-size:12px}

.widget-view-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px 20px;flex-wrap:wrap}
.widget-drag-handle{cursor:grab;user-select:none;touch-action:none;font-size:20px!important}
.widget-drag-handle:active{cursor:grabbing}
.custom-widgets .widget-dragging{opacity:.55}
.custom-widgets .widget-drop-target{outline:2px dashed #B94320;outline-offset:3px}
.custom-widgets .widget-drag-handle:focus-visible{outline:2px solid #00504E;outline-offset:2px}

.overview-dept .overview-progress{display:grid;grid-template-columns:minmax(60px,1fr) 52px;align-items:center;gap:12px}
.overview-dept .overview-progress .overview-track{height:14px;border-radius:999px;background:#e6e9eb;overflow:hidden}
.overview-dept .overview-progress .overview-track>span{background:#00504e;border-radius:999px;height:100%;min-width:0}
.overview-dept .overview-progress>strong{text-align:right;font-size:12px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}
.overview-dept:has(.overview-progress){border-bottom-color:#eef0ef;padding-block:8px}
.overview-expanded .overview-dept:has(.overview-progress){grid-template-columns:minmax(0,1.4fr) minmax(180px,1fr);gap:28px}
@media(max-width:600px){.overview-expanded .overview-dept:has(.overview-progress){grid-template-columns:1fr;gap:8px}}

/* A single sortable surface for indicators and charts. */
.dashboard-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.dashboard-controls .field{margin:0}.dashboard-editor-button{height:36px;min-height:36px;border-radius:10px;padding:8px 14px;white-space:nowrap;font-size:12px}
.dashboard-cards{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;margin:16px 0 24px;align-items:stretch}
.dashboard-card-group>.overview-panel{grid-column:span 4;min-width:0;display:flex;flex-direction:column;border:1px solid #e5e7e5;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 2px 6px #18332e03}
.dashboard-card-group>.overview-kpi{grid-column:span 3;min-width:0;padding:18px;display:flex;flex-direction:column;gap:8px;border:1px solid #e5e7e5;border-radius:14px;background:#fff}
.dashboard-cards .overview-kpi>span{padding-right:80px;font-size:12px;min-height:32px}.dashboard-cards .overview-kpi>strong{font-size:30px;letter-spacing:-.8px;font-weight:500;font-variant-numeric:tabular-nums}.dashboard-cards .overview-kpi>.widget-actions{position:absolute;right:12px;top:12px}
.dashboard-cards .overview-panel-head{padding:16px 18px 8px;min-height:76px;border:0;align-items:start}.dashboard-cards .overview-panel-head h2{font-size:15px;line-height:1.4;font-weight:500}.dashboard-cards .overview-panel-head p{font-size:var(--font-caption);color:#777c7a;line-height:1.5}.dashboard-cards .overview-panel-body{padding:12px 18px 18px;flex:1;min-width:0}.dashboard-cards .widget-origin-footer{border:0;margin-top:auto;padding:0 18px 14px}.dashboard-cards .widget-origin-footer a{color:#686e6a;font-size:var(--font-caption);text-decoration:none}.dashboard-cards .widget-origin-footer a:hover{text-decoration:underline;color:#00504e}
.dashboard-cards .overview-expand{border-color:transparent;border-radius:8px;background:transparent;color:#7a807d;flex:none}.dashboard-cards .overview-expand:hover{background:#f0f3f1;color:#00504e}.dashboard-cards .widget-actions{display:flex;gap:8px;flex:none}.dashboard-cards .widget-dragging{opacity:.45}.dashboard-cards .widget-drop-target{outline:2px dashed #00504e;outline-offset:3px}
.dashboard-cards .overview-departments,.dashboard-cards .table-scroll{max-height:200px;overflow:auto}.dashboard-cards .overview-dept{grid-template-columns:minmax(0,1fr) minmax(110px,1fr);gap:12px;font-size:var(--font-caption)}.dashboard-cards .overview-dept:first-child{padding-top:0}.dashboard-cards .overview-dept small{font-size:var(--font-caption);margin-top:4px}.dashboard-cards .overview-progress{grid-template-columns:1fr 42px;gap:8px}.dashboard-cards .overview-progress>strong{font-size:var(--font-caption)}.dashboard-cards .overview-progress .overview-track{height:12px}
.dashboard-cards .overview-column-pair i{border-radius:5px 5px 0 0}.overview-quarter .overview-track{height:12px;border-radius:999px;background:#e6e9eb;overflow:hidden}.overview-quarter .overview-track>span{border-radius:999px}.dashboard-cards .overview-quarter{padding:6px 0}.dashboard-cards .overview-composition{min-height:180px}.dashboard-cards .overview-composition svg{width:132px}.dashboard-cards .overview-composition dd{font-size:24px}.dashboard-cards .overview-effect-chart svg{width:100px}.dashboard-cards .overview-effect-chart{min-height:100px}.dashboard-cards .overview-money{margin-bottom:12px}.dashboard-cards .overview-secondary{margin-top:12px}.dashboard-empty{grid-column:1/-1;padding:32px;text-align:center;border:1px dashed #d4dcd7;border-radius:14px}
.dashboard-manager-top{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}.dashboard-manager-top p{font-size:13px;color:#737873;margin:0}.dashboard-manager-top .btn{flex:none}.dashboard-manager-list{display:grid;gap:8px}.dashboard-manager-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px 16px;border:1px solid #e6e9e6;border-radius:12px}.dashboard-manager-row>div:first-child{min-width:0}.dashboard-manager-row strong{font-size:13px;font-weight:500;display:block}.dashboard-manager-row small{display:block;font-size:var(--font-caption);margin-top:5px;color:#767d77}.dashboard-row-actions{display:flex;gap:8px;align-items:center;flex:none}.dashboard-row-actions .btn{min-height:32px;min-width:96px;padding:6px 10px;font-size:var(--font-caption)}.dashboard-row-actions .overview-expand{position:static}.dashboard-source-picker{display:grid;gap:20px}.dashboard-source-picker [data-dashboard-source-info]{font-size:12px;color:#777}
.widget-editor .widget-sources{border:1px solid #e3e8e4;border-radius:12px;padding:16px}.widget-step-title{font-size:15px;margin:8px 0 0}.widget-editor .widget-preview{border-radius:14px;background:#f9faf9;border-color:#e4e8e4}.widget-preview #widget-preview-chart{background:white;padding:16px;border-radius:12px}.widget-advanced{border:1px solid #e5e7e4;border-radius:10px;padding:12px 16px;font-size:12px}.widget-advanced summary{cursor:pointer}.widget-advanced>div{display:grid;gap:16px;margin-top:16px}.widget-editor .widget-source-tabs button[aria-pressed=true]{background:#edf4f1;border-color:#a4c3b7;color:#00504e}
.widget-progress-list{display:grid;gap:18px;max-height:240px;overflow:auto}.overview-expanded .widget-progress-list{max-height:none}.widget-progress-item>div:first-child{display:flex;justify-content:space-between;gap:16px;font-size:12px;margin-bottom:8px}.widget-progress-item strong{font-weight:500;font-variant-numeric:tabular-nums}.widget-progress-item .overview-progress{display:flex;align-items:center;gap:12px}.widget-progress-item .overview-progress>strong{min-width:52px;text-align:right;font-size:12px}.widget-progress-item .overview-track{flex:1;height:14px;background:#e6e9eb;border-radius:999px;overflow:hidden}.widget-progress-item .overview-track>span{height:100%;background:#00504e;border-radius:999px}
@media(max-width:1250px){.dashboard-card-group>.overview-panel{grid-column:span 6}.dashboard-card-group>.overview-kpi{grid-column:span 6}}
@media(max-width:700px){.dashboard-card-group>.overview-panel,.dashboard-card-group>.overview-kpi{grid-column:1/-1}.dashboard-controls{width:100%;align-items:stretch}.dashboard-controls .overview-filter{flex:1}.dashboard-manager-top,.dashboard-manager-row{align-items:stretch;flex-direction:column;gap:12px}.dashboard-row-actions{justify-content:flex-end}.dashboard-cards{gap:12px}}

.dashboard-cards{display:flex;flex-direction:column}.dashboard-card-group{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;align-items:stretch}.dashboard-card-group[data-size=small] .overview-kpi{min-height:164px}.dashboard-card-group .overview-panel{min-height:300px}.dashboard-card-group .overview-kpi>small{margin-top:auto}.dashboard-card-group .overview-kpi .widget-origin-links a{color:#686e6a;text-decoration:none}
.widget-grabbing,.widget-grabbing *{cursor:grabbing!important;user-select:none!important}
.widget-drag-ghost{position:fixed!important;z-index:1200;pointer-events:none!important;opacity:.78;box-sizing:border-box;overflow:hidden;border:1px solid #8da9a0!important;border-radius:14px!important;background:#fff!important;box-shadow:0 20px 50px #143d3738!important;transform:scale(1.025);transform-origin:center;will-change:transform;display:flex;flex-direction:column}
.widget-drag-ghost .overview-panel-head{border:0;padding:16px 18px 8px;min-height:76px;align-items:start}.widget-drag-ghost .overview-panel-head h2{font-size:15px}.widget-drag-ghost .overview-panel-head p{font-size:var(--font-caption)}.widget-drag-ghost .overview-panel-body{padding:12px 18px 18px;overflow:hidden;flex:1}.widget-drag-ghost .widget-origin-footer{border:0;padding:0 18px 14px}.widget-drag-ghost .overview-departments,.widget-drag-ghost .table-scroll{max-height:200px;overflow:hidden}.widget-drag-ghost.overview-kpi{padding:18px;gap:8px}.widget-drag-ghost.overview-kpi>strong{font-size:30px}.widget-drag-ghost.overview-kpi>.widget-actions{position:absolute;right:12px;top:12px}.widget-drag-ghost.overview-kpi>small{margin-top:auto}
.dashboard-cards .widget-dragging{opacity:.25;outline:1px dashed #aab8b0;outline-offset:2px}.dashboard-cards .widget-drop-target{outline:2px dashed #00504e;outline-offset:4px;background:#f8fbf9}
.widget-editor-fields{gap:12px}.widget-editor .field{gap:5px}.widget-editor .field input,.widget-editor .field select{min-height:36px;height:36px;padding:7px 10px;font-size:12px}.widget-editor .widget-source-editor,.widget-editor .widget-mapping,.widget-editor .widget-source-controls{gap:12px}.widget-editor .widget-sources-head{margin-bottom:12px}.widget-editor .widget-source-tabs{margin-bottom:12px}.widget-editor .widget-range{padding:10px 12px}.widget-editor-modal .modal-actions{display:flex;justify-content:flex-end}

/* Source filter uses the same spacing as other editor fields. */
.widget-filter{margin-top:12px}.widget-filter[open]{display:grid;gap:8px}.widget-filter summary{cursor:pointer}.widget-filter .field{margin:0}.widget-source-editor>.checkbox{margin-top:12px}

#modal.widget-editor-modal .field :is(input:not([type=checkbox]):not([type=radio]),select){height:36px;min-height:36px}

.widget-visible-columns{min-width:0;margin:0;padding:0;border:0;display:grid;gap:12px}.widget-visible-columns legend{font-size:12px;font-weight:600;margin-bottom:12px}.widget-visible-columns>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px 12px}.widget-visible-columns .checkbox{min-height:32px;align-items:center;margin:0}.widget-visible-columns small{font-size:var(--font-caption);line-height:1.5;color:#686662}

/* Shared actions for all widget entry points and product ordering. */
.widget-actions-menu{position:relative;flex:none}.widget-actions-menu>summary{list-style:none}.widget-actions-menu>summary::-webkit-details-marker{display:none}.widget-actions-menu[open]{z-index:35}.widget-menu-list{position:absolute;right:0;top:calc(100% + 8px);display:grid;gap:12px;min-width:216px;padding:16px;border:1px solid var(--color-line);border-radius:12px;background:white;box-shadow:0 8px 32px #18332e22;z-index:35}.widget-menu-list button{min-height:44px;width:100%;padding:8px 12px;border:1px solid var(--color-line);border-radius:8px;background:white;display:flex;align-items:center;justify-content:center;text-align:center;cursor:pointer}.widget-menu-list button:last-child{color:#a43820}.dashboard-card-group>.overview-panel{overflow:visible}.dashboard-card-group>.overview-panel:has(.widget-actions-menu[open]){position:relative;z-index:30}.widget-view-tools{gap:12px}.sheet-delete-actions{display:grid;gap:12px;padding-top:24px}.sheet-delete-actions>.btn{min-height:44px}.product-card>.row{display:flex;align-items:center;gap:12px;min-height:36px}.product-drag-handle{position:static!important}.product-card.widget-dragging{opacity:.55}.product-card.widget-drop-target{outline:2px dashed #B94320;outline-offset:3px}.product-card.widget-drag-ghost{padding:24px}.product-card .product-drag-handle:focus-visible{outline:2px solid #00504E;outline-offset:2px}

/* Equal compact icon controls share one action group and one visual treatment. */
.product-card-header{justify-content:space-between;flex-wrap:nowrap}.product-card-status{display:flex;align-items:center;gap:12px;min-width:0;flex-wrap:wrap}
.product-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex:0 0 auto;margin-left:auto}
.widget-actions,.dashboard-cards .widget-actions{display:flex;align-items:center;gap:12px;flex:none}
.product-card-actions>:is(.product-drag-handle,.product-menu-button),.widget-actions>.overview-expand,.widget-actions-menu>summary{box-sizing:border-box;display:inline-grid;place-items:center;flex:0 0 36px;width:36px;min-width:36px;max-width:36px;height:36px;min-height:36px;max-height:36px;margin:0;padding:0;border:1px solid var(--color-line);border-radius:8px;clip-path:none;background:#fff;color:#80543a;font:inherit;font-size:20px;line-height:1;text-decoration:none;vertical-align:middle;cursor:pointer}
.product-card-actions>:is(.product-drag-handle,.product-menu-button):hover,.widget-actions>.overview-expand:hover,.widget-actions-menu>summary:hover{background:#fff0e5;border-color:#c66c4b;color:#80543a}
.product-card-actions>:is(.product-drag-handle,.product-menu-button):focus-visible,.widget-actions>.overview-expand:focus-visible,.widget-actions-menu>summary:focus-visible{outline:2px solid #00504e;outline-offset:2px}
.product-card-actions>:is(.product-drag-handle,.product-menu-button):disabled,.widget-actions>.overview-expand:disabled{opacity:.5;cursor:default}
.dashboard-cards .overview-kpi>.widget-actions,.widget-drag-ghost.overview-kpi>.widget-actions{top:16px;right:16px}
.dashboard-cards .overview-kpi>span{padding-right:96px;min-height:36px}
.widget-menu-list button{font:inherit;font-size:12px;line-height:20px}
.dashboard-widget-controls{display:flex;gap:12px;align-items:stretch;flex-wrap:wrap}
.dashboard-widget-controls>.dashboard-editor-button{width:180px;min-width:180px;text-align:center;display:flex;align-items:center;justify-content:center}
.dashboard-card-group[data-size=chart]>.overview-panel{height:360px;min-height:360px;max-height:360px}
.dashboard-cards .overview-panel-head{flex:none;min-width:0}
.dashboard-cards .overview-panel-head>div:first-child{min-width:0;flex:1}
.dashboard-cards .overview-panel-head :is(h2,p){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:break-word}
.dashboard-cards .overview-panel-body{min-height:0;overflow:auto;overscroll-behavior:contain}
.dashboard-cards .overview-panel-body :is(.overview-departments,.table-scroll,.widget-progress-list){max-height:none;overflow:visible}
.portfolio-product-group>summary.portfolio-product-head{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none}
.portfolio-product-group>summary.portfolio-product-head::-webkit-details-marker{display:none}
.portfolio-product-group>summary.portfolio-product-head:before{content:'▸';flex:none;color:var(--color-text-secondary)}
.portfolio-product-group[open]>summary.portfolio-product-head:before{content:'▾'}
.portfolio-product-head h2{margin:0}
.portfolio-product-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;padding:16px 0 0}
.summary-product-choice{display:flex;align-items:center;gap:12px;min-height:44px}.summary-product-choice input{width:18px;height:18px;flex:none}
.dashboard-cards .widget-origin-footer{flex:none;min-width:0;max-height:64px;overflow:auto}
.dashboard-cards .custom-widget-table{max-height:none;max-width:100%;width:100%;min-width:0;overflow:visible}
.custom-widget-table table{width:100%;min-width:0;table-layout:auto}
.custom-widget-table :is(td,th){min-width:52px;max-width:none;white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.5}
.custom-widget-table .widget-column-value{width:1%;white-space:nowrap;overflow-wrap:normal}.custom-widget-table .widget-column-text{width:auto;min-width:144px}
@media(max-width:900px){.dashboard-card-group[data-size=chart]>.overview-panel{grid-column:1/-1}}

.widget-kpi-card{position:relative;height:196px;min-height:196px;overflow:visible}
.widget-kpi-card .overview-panel-head{min-height:36px;padding:0;align-items:start}
.widget-kpi-card .overview-panel-head h2{font-size:12px;font-weight:400;margin:0;padding-right:8px}
.widget-kpi-card .overview-panel-head p{display:none}
.widget-kpi-card .overview-panel-body{padding:0;flex:1;overflow:auto}
.widget-kpi-value{display:grid;gap:4px;margin:4px 0}
.widget-kpi-value>strong{font-size:30px;font-weight:500;line-height:1.2;overflow-wrap:anywhere}
.widget-kpi-value>span,.widget-kpi-secondary{font-size:var(--font-caption);line-height:1.5;margin:0}
.widget-kpi-secondary>strong{font-weight:400}
.widget-kpi-card .widget-origin-footer{padding:0;margin-top:8px}
.kpi-editor{display:grid;grid-template-columns:minmax(260px,1fr) minmax(240px,1fr);gap:24px}
.kpi-editor-fields,.kpi-value-fields{display:grid;gap:12px;min-width:0}
.kpi-value-fields{padding:16px;border:1px solid var(--color-line);border-radius:12px}
.kpi-value-fields[hidden]{display:none}
.kpi-source-value{font-size:18px;font-weight:500}
.dashboard-card-group>[data-widget-key]{position:relative}
.widget-resize-handle{position:absolute;right:3px;bottom:3px;width:24px;height:24px;display:grid;place-items:center;border:0;border-radius:6px;background:transparent;color:#a38f80;cursor:nwse-resize;touch-action:none;opacity:.4;z-index:2}
[data-widget-key]:hover>.widget-resize-handle,.widget-resize-handle:focus-visible{opacity:1;background:#fff0e5}
.dashboard-card-group>[data-custom-size=true]{grid-column:span var(--widget-columns)!important;height:var(--widget-height)!important;min-height:var(--widget-height)!important;max-height:var(--widget-height)!important}
@media(max-width:750px){.kpi-editor{grid-template-columns:1fr}.dashboard-card-group>[data-custom-size=true]{grid-column:1/-1!important}}

.widget-kpi-card .widget-origin,.widget-kpi-card .widget-origin-links{margin-top:0}
.widget-kpi-card .widget-origin>summary{padding:0;font-size:var(--font-caption);line-height:16px}
.widget-kpi-card .widget-origin-footer{margin-top:0}

/* Shared indicator editor: stable draft, source values and readable controls. */
.widget-indicator-settings,.widget-cell-settings,.widget-secondary-settings{display:grid;gap:12px;min-width:0}
.widget-indicator-settings[hidden],.widget-cell-settings[hidden],.widget-secondary-settings[hidden],.widget-advanced[hidden],.widget-sources[hidden]{display:none}
.widget-cell-picker details{min-width:0}.widget-cell-grid{max-height:260px;overflow:auto;max-width:100%}
.widget-cell-grid table{width:max-content;border-collapse:separate;border-spacing:8px}
.widget-cell-grid button{min-width:72px;min-height:36px;border:1px solid var(--color-line);border-radius:8px;padding:8px;font:inherit;background:#fff}
.widget-cell-grid button:not(:disabled):hover{border-color:#B94320;background:#fff4eb}
.widget-edit-scope,.widget-period-rule{font-size:13px;line-height:1.5;color:var(--color-text-secondary)}
.widget-kpi-card .overview-panel-head p{display:block;font-size:12px}.widget-kpi-value>span,.widget-kpi-secondary{font-size:13px}
.widget-numbers small{display:block;font-size:14px;font-weight:400;margin-top:8px}
.widget-plot{height:100%;min-height:220px}.widget-plot svg{width:100%;height:100%!important;min-height:220px}
.widget-kpi-card .overview-panel-body{overflow:auto;min-height:0}.widget-kpi-card .widget-origin-footer{padding-bottom:12px}

.widget-kpi-card .overview-panel-head h2{font-size:14px;line-height:1.35;font-weight:500}
.widget-kpi-card .overview-panel-head p{font-size:12px;line-height:1.4;margin:6px 0 0}
.widget-kpi-card .overview-panel-head{flex:none;min-height:52px}
.widget-kpi-card .overview-panel-body{flex:1;min-height:58px;display:flex;flex-direction:column;justify-content:center}
.widget-kpi-card .widget-origin-footer{flex:none;padding:0 0 4px}
.widget-kpi-value>strong{font-size:34px}.widget-kpi-card{height:220px;min-height:220px}
.widget-kpi-card .widget-origin-links a{font-size:12px}
.widget-plot svg{min-width:100%!important}.widget-plot{min-height:180px}

.dashboard-card-group>.widget-kpi-card{grid-column:span 6;height:244px;min-height:244px}
.widget-kpi-card .overview-panel-body{min-height:96px;flex-shrink:0}
.widget-kpi-card .overview-panel-head p{-webkit-line-clamp:1}
@media(max-width:900px){.dashboard-card-group>.widget-kpi-card{grid-column:1/-1}}

@media(max-width:900px){.dashboard-card-group>[data-custom-size=true]{grid-column:1/-1!important}}

/* Categories and legends reflow with the card's available width. */
.widget-donut{flex-wrap:wrap;justify-content:center;gap:16px}
.widget-donut svg{width:clamp(100px,38%,150px);max-width:100%;flex:0 1 150px}
.widget-legend-list{flex:1 1 160px}.widget-legend-list>div{grid-template-columns:8px minmax(0,1fr) auto auto}.widget-legend-list span{overflow-wrap:anywhere}

/* One continuous row flow; precise personal dimensions remain independent. */
.dashboard-card-group{display:flex;flex-wrap:wrap;align-items:stretch;gap:16px;width:100%;min-width:0}
.dashboard-card-group>[data-widget-key]{--widget-default-columns:4;flex:0 0 clamp(min(220px,100%),calc((100% + 16px) * var(--widget-columns,var(--widget-default-columns)) / 12 - 16px),100%);min-width:0;max-width:100%;box-sizing:border-box}
.dashboard-card-group>[data-widget-size="small"]{--widget-default-columns:3}
.dashboard-card-group>.overview-panel{height:360px;min-height:360px}
.dashboard-card-group>.widget-kpi-card{height:244px;min-height:244px}
.dashboard-widget-menu{position:relative;--widget-action-width:160px;--widget-action-height:36px}
.dashboard-widget-menu>summary.btn{display:flex;align-items:center;justify-content:space-between;gap:12px;width:var(--widget-action-width);min-width:var(--widget-action-width);max-width:none;flex-basis:auto;height:var(--widget-action-height);padding:0 16px;font-size:13px;line-height:20px;border:1px solid var(--color-line);border-radius:8px;list-style:none;cursor:pointer}
.dashboard-widget-menu .widget-menu-list{width:var(--widget-action-width);min-width:0;gap:8px;padding:0;border:0;background:transparent;box-shadow:none;z-index:65}
.dashboard-widget-menu .widget-menu-list button{box-sizing:border-box;width:var(--widget-action-width);height:var(--widget-action-height);min-height:var(--widget-action-height);padding:0 16px;font-size:13px;line-height:20px;justify-content:flex-start;text-align:left;color:var(--color-text);box-shadow:0 4px 12px #18332e14}
.widget-edge-resize{position:absolute;z-index:6;touch-action:none;border-radius:4px}
.widget-edge-right{right:0;top:25%;width:9px;height:50%;cursor:ew-resize}
.widget-edge-bottom{bottom:0;left:25%;height:9px;width:50%;cursor:ns-resize}
.widget-edge-resize::after{content:"";position:absolute;border-radius:3px;background:#b74322;opacity:0}
.widget-edge-right::after{width:3px;height:28px;right:2px;top:calc(50% - 14px)}
.widget-edge-bottom::after{height:3px;width:28px;bottom:2px;left:calc(50% - 14px)}
[data-widget-key]:hover>.widget-edge-resize::after,.widget-edge-resize:focus-visible::after{opacity:.65}

@media(max-width:900px){.dashboard-card-group>[data-widget-key]{flex-basis:100%}}
/* Preview-first editor. Shared bindings preserve the previous saved contracts. */
#modal.widget-editor-modal .widget-editor{grid-template-columns:minmax(280px,330px) minmax(0,1fr);align-items:start;gap:24px}
#modal.widget-editor-modal .widget-editor-fields{gap:16px;font-size:14px}
#modal.widget-editor-modal .field{font-size:14px}
#modal.widget-editor-modal .field :is(input:not([type=checkbox]):not([type=radio]),select){font-size:14px;min-height:44px;height:44px;padding:10px 12px}
#modal.widget-editor-modal .widget-preview{position:sticky;top:0;padding:20px;background:#fff;min-width:0}
#modal.widget-editor-modal .widget-preview>label{margin-bottom:16px}
#modal.widget-editor-modal .widget-preview>label>span{font-size:13px;color:#706963}
#modal.widget-editor-modal .widget-preview>label>input{font-size:18px;height:46px}
#modal.widget-editor-modal .widget-preview h3{font-size:14px;font-weight:400;color:#706963;margin:0 0 12px}
.widget-kind-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.widget-kind-buttons button{font:inherit;font-size:14px;min-height:40px;padding:8px;border:1px solid #dcd6d0;border-radius:8px;background:white;color:#414042}
.widget-kind-buttons button[aria-pressed=true]{color:#b94320;background:#fff0e7;border-color:#b94320}
.widget-more-kinds{margin:10px 0 16px;font-size:13px}.widget-more-kinds summary{cursor:pointer}.widget-more-kinds[open]>.widget-kind-grid{margin-top:12px}
.widget-editor .widget-native-type{display:none!important}
.widget-editor .widget-sources{border:0;padding:0}
.widget-editor .widget-sources-head{margin-bottom:12px}.widget-editor .widget-sources-head h3{font-size:14px;font-weight:500}
.widget-editor .widget-source-options,.widget-editor .widget-advanced{border:0;border-top:1px solid #e3ddd7;padding:12px 0;font-size:14px}
.widget-source-options>div{display:grid;gap:16px;margin-top:16px}.widget-source-options .widget-range{border:0;padding:0}
.widget-series-editor{display:grid;gap:12px;margin-top:16px}
.widget-series-title{font-weight:500}.widget-series-entry{border:1px solid #e3ddd7;border-radius:8px;padding:12px;display:grid;gap:8px}
.widget-series-source{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:8px;align-items:end}.widget-series-source>button{height:44px;border:1px solid #ddd5cd;border-radius:8px;background:white}
.widget-series-entry details{font-size:13px}.widget-series-entry details[open]>.field{margin-top:12px}
.widget-axis-columns>div{display:grid;gap:8px;margin-top:12px}.widget-axis-columns{font-size:14px}
.widget-portfolio-choice{font-size:14px}.widget-calculation-data{margin-top:12px;font-size:14px}.widget-calculation-data .custom-widget-table{max-height:240px}
.widget-series-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin:8px 0 16px;font-size:14px}.widget-series-legend>span{display:flex;align-items:center;gap:6px}.widget-series-legend i{width:12px;height:8px;flex:none}
.widget-series-numbers{display:flex;flex-wrap:wrap;gap:20px}.widget-series-numbers>div{display:grid;gap:8px}.widget-series-numbers strong{font-size:32px;font-weight:500}.widget-series-numbers span{font-size:14px}
.widget-horizontal-series{display:grid;gap:16px}.widget-horizontal-group{display:grid;grid-template-columns:minmax(140px,40%) minmax(0,1fr);align-items:center;gap:16px;font-size:14px}.widget-horizontal-group>div{display:grid;gap:8px}.widget-horizontal-row{display:flex;align-items:center;gap:12px}.widget-horizontal-row>span:last-child{min-width:36px;white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}.widget-horizontal-track{display:block;flex:1;background:#eeeae5;border-radius:6px;overflow:hidden;height:12px;min-width:40px}.widget-horizontal-track i{display:block;height:100%;border-radius:6px}
.widget-plot.widget-modern-plot{height:auto;min-height:0;overflow:auto}.widget-plot.widget-modern-plot svg{width:auto!important;min-width:100%!important;height:260px!important;min-height:0}.widget-plot.widget-scatter-plot svg{width:100%!important;height:280px!important}
@media(max-width:850px){#modal.widget-editor-modal .widget-editor{grid-template-columns:1fr}#modal.widget-editor-modal .widget-preview{position:static;grid-row:1}.widget-kind-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
#modal.widget-editor-modal .widget-preview{max-height:calc(100dvh - 190px);overflow:auto}
#modal.widget-editor-modal #widget-preview-chart{max-height:clamp(150px,calc(100dvh - 510px),440px);overflow:auto;overscroll-behavior:contain}
#modal.widget-editor-modal .widget-mapping>.widget-two:has(>label[hidden]){grid-template-columns:1fr}
@media(max-width:850px){#modal.widget-editor-modal .widget-preview{max-height:none}#modal.widget-editor-modal #widget-preview-chart{max-height:280px}}
@media(min-width:651px) and (max-width:950px){#modal.widget-editor-modal .widget-editor{grid-template-columns:minmax(220px,.4fr) minmax(0,.6fr);gap:16px}#modal.widget-editor-modal .widget-preview{position:sticky;grid-row:auto;max-height:calc(100dvh - 190px);padding:16px}#modal.widget-editor-modal #widget-preview-chart{max-height:clamp(150px,calc(100dvh - 510px),440px)}}
@media(max-width:650px){#modal.widget-editor-modal .widget-preview{grid-row:auto}}
