/* S68-T26: sibling of Format Cells; the kit shell owns appear and reduced motion. */ .lp-dialog:has(.sheet-paste-special) { width: min(600px, calc(100vw - 32px)); } .lp-dialog-body:has(.sheet-paste-special) { color: var(--lp-ink); } /* The body footer has Excel's Paste Link, OK and Cancel, including independent disabling. */ .lp-dialog:has(.sheet-paste-special) > .lp-dialog-actions { display: none; } .sheet-paste-special { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; font-size: var(--lp-fs-sm); } .sheet-paste-special-group { border: 0; margin: 0; padding: 0; min-width: 0; } .sheet-paste-special-group legend { padding: 0 0 8px; font-weight: 600; color: var(--lp-ink); } .sheet-paste-special-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px 16px; } /* Excel's Operation group fills by column: None, Add, Subtract, then Multiply, Divide. */ .sheet-paste-special-grid.is-operation { grid-auto-flow: column; grid-template-rows: repeat(3, auto); } .sheet-paste-special-option { display: flex; align-items: flex-start; gap: 8px; min-width: 0; cursor: pointer; line-height: var(--lp-lh); } .sheet-paste-special-option input { flex: none; margin: 3px 0 0; accent-color: var(--lp-primary); } .sheet-paste-special-option input:focus-visible { outline: 2px solid var(--lp-primary); outline-offset: 2px; } .sheet-paste-special-reason { margin: 0; min-height: 2lh; font-size: var(--lp-fs-2xs); line-height: var(--lp-lh); color: var(--lp-muted); } .sheet-paste-special-actions, .sheet-paste-special-confirm { display: flex; align-items: center; gap: 8px; } .sheet-paste-special-actions { justify-content: space-between; } .sheet-paste-special-actions button:disabled { opacity: 0.5; cursor: not-allowed; }