/* R3: only the pane clips. Every projected chart retains its document pixel size. */ .sheet-ribbon-tabs-actions [data-ribbon="export"] { border: 0; background: transparent; font: inherit; color: var(--lp-muted); padding: 0 4px; font-size: var(--lp-fs-xs); } .sheet-ribbon-tabs-actions [data-ribbon="export"]:hover:not(:disabled), .sheet-ribbon-tabs-actions [data-ribbon="export"][aria-expanded="true"] { background: var(--lp-wash); color: var(--lp-ink); } .sheet-ribbon-tabs-actions [data-ribbon="export"]:focus-visible { outline: 2px solid var(--lp-blue-deep); outline-offset: 2px; } [data-overlay-kind="sheet-export"].sheet-ribbon-pop-portal { gap: 4px; padding: 8px; min-width: 160px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 64px); overflow-y: auto; } [data-overlay-kind="sheet-export"] .sheet-ribbon-item { border: 0; background: transparent; font: inherit; color: var(--lp-ink); padding: 8px; font-size: var(--lp-fs-xs); text-align: left; cursor: pointer; } [data-overlay-kind="sheet-export"] .sheet-ribbon-item:hover:not(:disabled) { background: var(--lp-wash); } [data-overlay-kind="sheet-export"] .sheet-ribbon-item:focus-visible { outline: 2px solid var(--lp-blue-deep); outline-offset: 1px; } [data-overlay-kind="sheet-export"] button:disabled { opacity: .5; cursor: not-allowed; } .sheet-ribbon-export-caption { font-size: var(--lp-fs-2xs); color: var(--lp-muted); padding: 4px 8px; max-width: 280px; } .sheet-export-print { display: flex; flex-direction: column; gap: 8px; width: 320px; max-width: 100%; } .sheet-export-print fieldset { border: 0; padding: 0 8px 8px; margin: 0; min-width: 0; } .sheet-export-print legend { font-size: var(--lp-fs-xs); color: var(--lp-ink); padding: 4px 0; } .sheet-export-sheets { display: flex; flex-direction: column; gap: 8px; max-height: 120px; overflow-y: auto; } .sheet-export-print .sheet-chart-setting { grid-template-columns: 96px minmax(0,1fr); padding: 0 8px; } .sheet-export-pages { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; padding: 0 8px; } .sheet-export-pages label,.sheet-export-csv { display: flex; flex-direction: column; gap: 4px; font-size: var(--lp-fs-xs); } .sheet-export-pages input,.sheet-export-csv select { min-width: 0; width: 100%; height: 36px; box-sizing: border-box; border: 1px solid var(--lp-line); background: var(--lp-surface); color: var(--lp-ink); border-radius: var(--lp-r-sm); font: inherit; padding: 4px 8px; } .sheet-export-pages input:focus-visible,.sheet-export-csv select:focus-visible { outline: 2px solid var(--lp-blue-deep); outline-offset: 1px; } .sheet-export-error { font-size: var(--lp-fs-xs); color: var(--lp-red-deep); padding: 4px 8px; max-width: 320px; } .sheet-export-chart-host { position: fixed; left: -10000px; top: 0; font-family: Inter, sans-serif; pointer-events: none; } .sheet-chart-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: var(--cg-z-editor); } .sheet-chart-pane { position: absolute; overflow: hidden; pointer-events: none; } .sheet-chart-pane .sheet-chart-anchor { flex: none; } /* C11 chart settings use the shared modal, with one scrolling content area. */ .sheet-chart-dialog { max-height: calc(100dvh - 32px); display: flex; flex-direction: column; overflow: hidden; } .sheet-chart-dialog .sheet-chart-panel { overflow-y: auto; overflow-x: hidden; min-height: 0; display: flex; flex-direction: column; gap: 16px; } .sheet-chart-dialog .lp-dialog-head, .sheet-chart-dialog .lp-dialog-actions, .sheet-chart-section-tabs { flex: 0 0 auto; } .sheet-chart-section-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 16px; border-bottom: 1px solid var(--lp-line); } .sheet-chart-quiet { border: 0; background: transparent; font: inherit; color: inherit; padding: 8px; border-radius: var(--lp-r-sm); cursor: pointer; font-size: var(--lp-fs-xs); } .sheet-chart-quiet[aria-selected="true"] { color: var(--lp-blue-deep); background: var(--lp-blue-tint); } .sheet-chart-quiet:hover { background: var(--lp-wash); } .sheet-chart-quiet:focus-visible { outline: 2px solid var(--lp-blue-deep); outline-offset: 2px; } .sheet-chart-quiet:disabled { opacity: .5; cursor: not-allowed; } .sheet-chart-settings { display: flex; flex-direction: column; gap: 16px; min-width: 0; } .sheet-chart-setting { display: grid; grid-template-columns: 128px minmax(0,1fr); gap: 8px; align-items: center; font-size: var(--lp-fs-xs); min-width: 0; } .sheet-chart-setting input, .sheet-chart-setting select, .sheet-chart-series-row input, .sheet-chart-series-row select { width: 100%; min-width: 0; height: 36px; box-sizing: border-box; border: 1px solid var(--lp-line); border-radius: var(--lp-r-sm); background: var(--lp-surface); color: var(--lp-ink); font: inherit; padding: 4px 8px; font-size: var(--lp-fs-xs); font-variant-numeric: tabular-nums; } .sheet-chart-setting input:focus-visible, .sheet-chart-setting select:focus-visible, .sheet-chart-series-row input:focus-visible { outline: 2px solid var(--lp-blue-deep); outline-offset: 1px; } .sheet-chart-check { display: flex; align-items: center; gap: 8px; font-size: var(--lp-fs-xs); } .sheet-chart-check input { width: 16px; height: 16px; accent-color: var(--lp-blue-deep); } .sheet-chart-series-row { display: grid; grid-template-columns: 24px minmax(64px,1fr) 104px 48px 56px; gap: 8px; min-width: 0; align-items: center; } .sheet-chart-preview { border-top: 1px solid var(--lp-line); padding-top: 8px; min-width: 0; } .sheet-chart-preview summary { cursor: pointer; font-size: var(--lp-fs-xs); } .sheet-chart-preview .sheet-chart-drawing { height: 280px; margin-top: 8px; } .sheet-chart .sheet-chart-plot { padding: 32px 12px 12px; } .sheet-chart-drawing { display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 0; min-width: 0; color: var(--lp-ink); overflow: hidden; font-variant-numeric: tabular-nums; } .sheet-chart-title { flex: 0 0 28px; font-size: var(--lp-fs-sm); font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .sheet-chart-drawing .sheet-chart-svg { flex: 1 1 auto; width: 100%; height: auto; min-height: 0; overflow: hidden; } .sheet-chart-legend { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 4px 16px; max-height: 44px; overflow: auto; font-size: var(--lp-fs-xs); order: 2; padding: 4px 0; } .sheet-chart-legend span { display: inline-flex; align-items: center; gap: 4px; min-width: 0; max-width: 100%; overflow-wrap: anywhere; } .sheet-chart-legend i { width: 12px; height: 12px; flex: 0 0 12px; background: var(--chart-color); opacity: var(--chart-opacity); } .legend-top .sheet-chart-legend { order: 0; } .legend-right { display: grid; grid-template-columns: minmax(0,1fr) minmax(64px,24%); grid-template-rows: auto minmax(0,1fr); } .legend-right .sheet-chart-title { grid-column: 1 / -1; } .legend-right .sheet-chart-legend { grid-column: 2; grid-row: 2; flex-direction: column; flex-wrap: nowrap; max-height: 100%; } .legend-right .sheet-chart-svg { grid-column: 1; grid-row: 2; height: 100%; } .legend-font-small .sheet-chart-legend { font-size: var(--lp-fs-2xs); } .legend-font-large .sheet-chart-legend { font-size: var(--lp-fs-sm); } .sheet-chart-label-svg { font-size: var(--lp-fs-xs); fill: var(--lp-ink); font-family: inherit; } .axis-small .sheet-chart-label-svg { font-size: var(--lp-fs-2xs); } .axis-large .sheet-chart-label-svg { font-size: var(--lp-fs-sm); } .sheet-chart-mark { fill: var(--chart-fill); stroke: var(--chart-color); stroke-width: 1.5; fill-opacity: var(--chart-opacity); } .sheet-chart-mark.style-outline { fill: var(--lp-surface); stroke-width: 2; } .sheet-chart-mark.sheet-chart-path { fill: none; stroke-width: 2; } .sheet-chart-track { fill: var(--lp-line); stroke: var(--lp-muted); stroke-width: 1; } .sheet-chart-needle { stroke: var(--lp-ink); stroke-width: 2; } .sheet-chart-grid { stroke: var(--lp-line); stroke-width: 1; } .sheet-chart-grid.minor { stroke-dasharray: 2 4; opacity: .6; } .sheet-chart-empty { margin: auto; padding: 16px; font-size: var(--lp-fs-xs); color: var(--lp-muted); } @media (max-width: 560px) { .sheet-chart-setting { grid-template-columns: 96px minmax(0,1fr); } .sheet-chart-series-row { grid-template-columns: 24px minmax(64px,1fr) 88px; } .sheet-chart-dialog .sheet-chart-fields { grid-template-columns: 96px minmax(0,1fr); } } /* C10: a wide in-flow navigation with one bounded section and a pinned action row. */ .sheet-binding-panel { flex: 0 1 600px; width: 600px; max-width: 100%; min-width: 0; } .sheet-binding-panel .sheet-binding-head, .sheet-binding-panel .sheet-binding-scroll, .sheet-binding-panel .sheet-binding-actions { padding: 16px; } .sheet-binding-panel .sheet-binding-scroll { overflow-x: hidden; } .sheet-binding-panel .sheet-binding-body { gap: 16px; width: 100%; } .sheet-binding-panel .sheet-binding-rail { gap: 4px; } .sheet-binding-panel .sheet-binding-section, .sheet-binding-panel .sheet-field, .sheet-binding-panel .sheet-field-row, .sheet-binding-panel .sheet-scope { min-width: 0; max-width: 100%; box-sizing: border-box; } .sheet-binding-panel .sheet-binding-section { gap: 16px; } .sheet-binding-panel .sheet-field-row { flex-wrap: wrap; gap: 8px; } .sheet-binding-panel .sheet-field select, .sheet-binding-panel .sheet-field input, .sheet-binding-panel .sheet-scope > select, .sheet-binding-panel .cg-fsel { min-width: 0; width: 100%; max-width: 100%; box-sizing: border-box; } .sheet-binding-panel .sheet-period-note, .sheet-binding-panel .sheet-notice, .sheet-binding-panel .sheet-binding-title, .sheet-binding-panel .sheet-step-driver { overflow-wrap: anywhere; } .sheet-source-path { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; min-width: 0; } .sheet-source-path legend { margin-bottom: 8px; color: var(--lp-muted); font-size: var(--lp-fs-2xs); } .sheet-step-driver { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: var(--lp-fs-xs); } .sheet-step-driver .sheet-field select, .sheet-step-driver .cg-fsel, .sheet-drag .lp-btn { height: calc(var(--lp-fs-xs) * var(--lp-lh-tight) + 12px); line-height: var(--lp-lh-tight); } .sheet-drag .lp-btn { align-self: flex-start; gap: 8px; } .sheet-drag .lp-btn > svg { flex: 0 0 auto; } .sheet-binding-panel .sheet-binding-actions button:disabled, .sheet-binding-panel select:disabled { opacity: 0.55; cursor: not-allowed; } @media (max-width: 1100px) { .sheet-binding-panel { flex-basis: 520px; width: 520px; } } @media (max-width: 760px) { .sheet-binding-panel { flex: 1 1 100%; width: 100%; } .sheet-binding-panel .sheet-binding-body { flex-direction: column; } .sheet-binding-panel .sheet-binding-rail { flex: 0 0 auto; flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--lp-line); padding: 0 0 8px; } }