.spreadsheet-editor{height:100%;min-height:0;color:var(--basis-ref-body-color);font-family:var(--basis-ds-font-family);font-size:var(--basis-ref-body-size);font-weight:var(--basis-ref-body-weight);background:var(--ds-color-surface,transparent);grid-template-rows:auto minmax(0,1fr);display:grid;overflow:hidden}.spreadsheet-editor-formula-row,.spreadsheet-editor-sheet-tabs,.spreadsheet-editor-footer,.spreadsheet-editor-attribute-controls,.spreadsheet-editor-header-meta{align-items:center;gap:8px;display:flex}.spreadsheet-editor-sticky-header{z-index:5}.spreadsheet-editor-header-meta{min-width:0;margin-left:auto}.spreadsheet-editor-formula-row input,.spreadsheet-editor-inspector input{min-height:32px;color:inherit;background:var(--input-bg,var(--panel-bg));border:1px solid var(--border-color);border-radius:6px;padding:6px 9px}.spreadsheet-editor-tabs{border:0;min-width:0;padding:0}.spreadsheet-editor-sheet-tabs>button:not(.spreadsheet-editor-add-sheet){color:var(--text-secondary);--basis-cursor-kind:pointer;cursor:var(--basis-cursor-pointer,pointer);background:0 0;border:0;border-bottom:2px solid #0000;padding:9px 12px}.spreadsheet-editor-sheet-tabs>button.is-active{color:var(--text-primary);border-bottom-color:var(--accent-color)}.spreadsheet-editor-add-sheet{flex:none}.spreadsheet-editor-sheet{grid-template-rows:auto minmax(0,1fr) auto auto;min-height:0;display:grid}.spreadsheet-editor-content{min-height:0;display:grid}.spreadsheet-editor-content.has-inspector{grid-template-columns:minmax(0,1fr) minmax(320px,420px)}.spreadsheet-editor-content.has-inspector>.spreadsheet-editor-inspector{border-left:1px solid var(--border-color)}.spreadsheet-editor-sheet-tabs{background:var(--panel-bg);border-top:1px solid var(--border-color);min-width:0;padding:2px 12px 0;overflow-x:auto}.spreadsheet-editor-formula-row{border-block:1px solid var(--border-color);padding:8px 12px}.spreadsheet-editor-formula-row strong{text-align:center;width:58px}.spreadsheet-editor-formula-row>span{color:var(--accent-color);font-size:var(--basis-ref-label-size);font-weight:var(--basis-ref-label-weight)}.spreadsheet-editor-formula-row input{font-family:var(--ds-font-family-mono,ui-monospace, monospace);flex:1}.spreadsheet-editor-formula-row input.ds-input{min-width:0;height:auto}.spreadsheet-editor-grid{scrollbar-gutter:stable both-edges;border:0;min-height:0;max-height:none;overflow:auto}.spreadsheet-editor-grid .ds-spreadsheet-table{width:var(--spreadsheet-editor-table-width);table-layout:fixed;min-width:100%}.spreadsheet-editor-grid .ds-spreadsheet-table th,.spreadsheet-editor-grid .ds-spreadsheet-table td{border-right-color:color-mix(in srgb, var(--ct-border,#d9e2f2) 78%, transparent);border-right-style:solid;border-right-width:1px}.spreadsheet-editor-grid .ds-spreadsheet-table th:last-child,.spreadsheet-editor-grid .ds-spreadsheet-table td:last-child{border-right-width:0}.spreadsheet-editor-row-header{z-index:1;color:var(--basis-ref-caption-color);background:var(--panel-bg);font-size:var(--basis-ref-caption-size);font-weight:var(--basis-ref-caption-weight);-webkit-user-select:none;user-select:none;position:sticky;left:0}.spreadsheet-editor-cell-value{font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;justify-content:flex-end;align-items:center;min-height:24px;padding:2px 5px;display:flex;overflow:hidden}.spreadsheet-editor-cell-value.is-imported{box-shadow:inset 3px 0 #2563eb}.spreadsheet-editor-cell-value.is-exported{box-shadow:inset -3px 0 #f59e0b}.spreadsheet-editor-cell-value.is-formula:before{color:var(--basis-ref-caption-color);content:"fx";font-size:var(--basis-ref-caption-size);font-weight:var(--basis-ref-caption-weight);margin-right:auto}.spreadsheet-editor-cell-value.is-error{color:var(--danger-color,#dc2626)}.spreadsheet-editor-cell-value small{margin-left:5px}.spreadsheet-editor-grid .spreadsheet-editor-cell-input.ds-input,.spreadsheet-editor-grid .spreadsheet-editor-cell-input.ds-input:is(:hover,:focus,:focus-visible){width:100%;height:auto;min-height:28px;color:inherit;box-shadow:none;background:0 0;border:0;border-radius:0;outline:0;padding:2px 4px}.spreadsheet-editor-grid .ds-spreadsheet-table__cell.is-focused{box-shadow:inset 0 0 0 1px var(--ct-primary,var(--accent-color))}.spreadsheet-editor-footer{color:var(--basis-ref-caption-color);border-top:1px solid var(--border-color);font-size:var(--basis-ref-caption-size);font-weight:var(--basis-ref-caption-weight);justify-content:flex-end;padding:7px 12px}.spreadsheet-editor-window-controls{align-items:center;gap:5px;margin-right:auto;display:flex}.spreadsheet-editor-window-controls button{color:inherit;border:1px solid var(--border-color);font:inherit;--basis-cursor-kind:pointer;cursor:var(--basis-cursor-pointer,pointer);background:0 0;border-radius:4px;padding:2px 6px}.spreadsheet-editor-window-controls button:disabled{opacity:.45;--basis-cursor-kind:default;cursor:var(--basis-cursor-default,default)}.spreadsheet-editor-warnings{color:#b45309;position:relative}.spreadsheet-editor-warnings[open] ul{z-index:4;width:min(460px,70vw);max-height:180px;color:var(--text-primary);background:var(--panel-bg);border:1px solid var(--border-color);border-radius:6px;margin:0;padding:10px 10px 10px 28px;position:absolute;bottom:18px;right:0;overflow:auto;box-shadow:0 8px 24px #0000002e}.spreadsheet-editor-footer .is-error{color:var(--danger-color,#dc2626)}.spreadsheet-editor-inspector{min-height:0;padding:18px;overflow:auto}.spreadsheet-editor-inspector h3{margin:0 0 16px}.spreadsheet-editor-connections-heading{gap:12px;display:grid}.spreadsheet-editor-connections-heading>div,.spreadsheet-editor-connections-heading h3,.spreadsheet-editor-connections-heading p{overflow-wrap:anywhere;min-width:0}.spreadsheet-editor-connections-heading h3{margin-bottom:4px}.spreadsheet-editor-connections-heading p{color:var(--basis-ref-caption-color);font-size:var(--basis-ref-caption-size);font-weight:var(--basis-ref-caption-weight);line-height:var(--basis-ds-line-height-base);margin:0}.spreadsheet-editor-connections-heading>strong{color:var(--basis-ref-label-color);overflow-wrap:anywhere;background:var(--panel-bg);max-width:100%;font-family:var(--ds-font-family-mono,ui-monospace, monospace);font-size:var(--basis-ref-label-size);font-weight:var(--basis-ref-label-weight);border-radius:5px;justify-self:start;padding:5px 8px}.spreadsheet-editor-attribute-controls{grid-template-columns:120px minmax(0,1fr);align-items:end;margin-top:14px;display:grid}.spreadsheet-editor-attribute-controls label,.spreadsheet-editor-parameters label{gap:5px;display:grid}.spreadsheet-editor-attribute-tree{gap:6px;margin-top:12px;display:grid}.spreadsheet-editor-attribute-tree>p{color:var(--text-secondary);margin:12px 0}.spreadsheet-editor-attribute-error{color:var(--text-secondary);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.spreadsheet-editor-attribute-error p{margin:0}.spreadsheet-editor-attribute-error button{border:1px solid var(--ct-border);min-height:30px;color:var(--text-primary);background:var(--input-bg,var(--panel-bg));--basis-cursor-kind:pointer;cursor:var(--basis-cursor-pointer,pointer);border-radius:6px;padding:0 12px}.spreadsheet-editor-attribute-group{border:1px solid var(--border-color);background:var(--panel-bg);border-radius:8px;overflow:hidden}.spreadsheet-editor-object-row,.spreadsheet-editor-attribute-row{width:100%;color:inherit;text-align:left;--basis-cursor-kind:pointer;cursor:var(--basis-cursor-pointer,pointer);background:0 0;border:0}.spreadsheet-editor-object-row{grid-template-columns:16px minmax(0,1fr) auto auto;align-items:center;gap:7px;padding:10px 11px;display:grid}.spreadsheet-editor-object-row:hover,.spreadsheet-editor-attribute-row:hover{background:color-mix(in srgb, var(--accent-color) 8%, transparent)}.spreadsheet-editor-object-row small,.spreadsheet-editor-object-row>span:last-child,.spreadsheet-editor-attribute-row small{color:var(--basis-ref-caption-color);font-size:var(--basis-ref-caption-size);font-weight:var(--basis-ref-caption-weight)}.spreadsheet-editor-attribute-categories,.spreadsheet-editor-attribute-category+.spreadsheet-editor-attribute-category{border-top:1px solid var(--border-color)}.spreadsheet-editor-attribute-category h4{color:var(--basis-ref-label-color);font-size:var(--basis-ref-label-size);font-weight:var(--basis-ref-label-weight);letter-spacing:.02em;background:color-mix(in srgb, var(--panel-bg) 88%, var(--accent-color));justify-content:space-between;align-items:center;gap:8px;margin:0;padding:7px 11px 7px 28px;display:flex}.spreadsheet-editor-attribute-category h4 small{color:inherit;font-size:inherit;font-variant-numeric:tabular-nums}.spreadsheet-editor-attribute-items{border-top:1px solid color-mix(in srgb, var(--border-color) 72%, transparent)}.spreadsheet-editor-attribute-row{border-bottom:1px solid color-mix(in srgb, var(--border-color) 72%, transparent);--basis-cursor-kind:default;min-height:72px;cursor:var(--basis-cursor-default,default);gap:8px;padding:9px 11px 9px 28px;display:grid}.spreadsheet-editor-attribute-row:last-child{border-bottom:0}.spreadsheet-editor-attribute-main,.spreadsheet-editor-attribute-meta{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.spreadsheet-editor-attribute-meta{grid-template-columns:minmax(0,1fr);align-items:start;gap:6px}.spreadsheet-editor-attribute-main{grid-template-columns:14px minmax(0,1fr) auto}.spreadsheet-editor-attribute-drag-handle{color:var(--text-secondary);--basis-cursor-kind:grab;cursor:var(--basis-cursor-grab,grab);-webkit-user-select:none;user-select:none;touch-action:none;align-self:stretch;place-items:center;display:grid}.spreadsheet-editor-attribute-drag-handle[draggable=true]:active{--basis-cursor-kind:grabbing;cursor:var(--basis-cursor-grabbing,grabbing)}.spreadsheet-editor-attribute-name{gap:2px;min-width:0;display:grid}.spreadsheet-editor-attribute-name strong{overflow-wrap:anywhere}.spreadsheet-editor-attribute-value{color:var(--text-primary);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.spreadsheet-editor-attribute-unit{grid-template-columns:minmax(0,1fr) minmax(72px,104px);align-items:center;gap:6px;min-width:0;display:grid}.spreadsheet-editor-attribute-unit>span,.spreadsheet-editor-attribute-target-unit{color:var(--basis-ref-caption-color);font-size:var(--basis-ref-caption-size);font-weight:var(--basis-ref-caption-weight)}.spreadsheet-editor-attribute-name small{font-family:var(--ds-font-family-mono,ui-monospace, monospace);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.spreadsheet-editor-attribute-row:focus-visible,.spreadsheet-editor-attribute-row:focus-within{outline:2px solid color-mix(in srgb, var(--accent-color) 72%, transparent);outline-offset:-2px}.spreadsheet-editor-attribute-row[aria-disabled=true]{opacity:.6;--basis-cursor-kind:default;cursor:var(--basis-cursor-default,default)}.spreadsheet-editor-attribute-row[aria-disabled=true] .spreadsheet-editor-attribute-drag-handle{--basis-cursor-kind:default;cursor:var(--basis-cursor-default,default)}.spreadsheet-editor-binding-list{gap:8px;margin-top:14px;display:grid}.spreadsheet-editor-binding-list article{border:1px solid var(--border-color);border-radius:7px;grid-template-columns:minmax(76px,auto) 18px minmax(0,1fr) 28px;align-items:center;gap:8px;padding:10px;display:grid}.spreadsheet-editor-binding-target,.spreadsheet-editor-binding-label{min-width:0}.spreadsheet-editor-binding-label{overflow-wrap:anywhere}.spreadsheet-editor-binding-unit{grid-area:2/3;width:min(100%,120px);min-width:0}.spreadsheet-editor-binding-delete{grid-area:1/4/span 2}.spreadsheet-editor-inspector table{border-collapse:collapse;width:100%}.spreadsheet-editor-inspector th,.spreadsheet-editor-inspector td{text-align:left;border-bottom:1px solid var(--border-color);padding:8px}.spreadsheet-editor-parameters{align-content:start;gap:12px;display:grid}.spreadsheet-editor-parameters label{max-width:360px}.spreadsheet-editor-parameter-group{background:var(--panel-bg);border:1px solid var(--border-color);border-radius:8px;gap:10px;padding:12px;display:grid}.spreadsheet-editor-parameter-group h4{margin:0}.spreadsheet-editor-size-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.spreadsheet-editor-size-field{gap:7px;max-width:none}.spreadsheet-editor-size-field>span{color:var(--basis-ref-label-color);font-size:var(--basis-ref-label-size);font-weight:var(--basis-ref-label-weight)}.spreadsheet-editor-size-field input{border-color:var(--ct-border-strong,var(--border-color));background:var(--ct-surface,var(--input-bg,var(--panel-bg)));width:100%;box-shadow:0 1px 2px color-mix(in srgb, var(--text-primary) 8%, transparent);font-variant-numeric:tabular-nums}.spreadsheet-editor-help code{background:var(--panel-bg);border-radius:6px;margin:8px 0;padding:8px 10px;display:block}.spreadsheet-editor-help-dialog .spreadsheet-editor-help{padding:4px 18px 18px}.spreadsheet-editor-help-functions{gap:6px;margin:12px 0;padding-inline-start:20px;display:grid}.spreadsheet-editor-import-unit-popover{z-index:1750;border:1px solid var(--ct-border,#d6e0f2);background:var(--ct-surface,#fff);width:min(284px,100vw - 16px);color:var(--basis-ref-body-color);font-family:var(--basis-ds-font-family);font-size:var(--basis-ref-body-size);font-weight:var(--basis-ref-body-weight);border-radius:10px;gap:12px;padding:14px;display:grid;position:fixed;box-shadow:0 18px 36px #0f235438}.ds-combobox__menu.spreadsheet-editor-import-unit-menu{z-index:1760}.spreadsheet-editor-import-unit-popover:focus-visible{box-shadow:0 18px 36px #0f235438, var(--basis-ds-focus-ring);outline:none}.spreadsheet-editor-import-unit-popover__heading{gap:3px;min-width:0;display:grid}.spreadsheet-editor-import-unit-popover__heading strong,.spreadsheet-editor-import-unit-popover__heading span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.spreadsheet-editor-import-unit-popover__heading strong{color:var(--basis-ref-label-color);font-size:var(--basis-ref-label-size);font-weight:var(--basis-ref-label-weight)}.spreadsheet-editor-import-unit-popover__heading span,.spreadsheet-editor-import-unit-popover>label>span{color:var(--basis-ref-caption-color);font-size:var(--basis-ref-caption-size);font-weight:var(--basis-ref-caption-weight)}.spreadsheet-editor-import-unit-popover>label{gap:6px;display:grid}.spreadsheet-editor-import-unit-popover__actions{justify-content:flex-end;gap:8px;display:flex}
