/* RULE: Export is the ribbon's one primary; its shared overlay keeps quiet choices and explicit focus rings. WHY: C7 and DESIGN.md sections 2 through 4 require brand hierarchy without native button chrome. Use [data-ribbon="export"] because control() is shared by every ribbon action and needs no new className. */ .sheet-ribbon-tabs-actions [data-ribbon="export"] { border: 0; background: transparent; font: inherit; color: inherit; border: 1px solid var(--lp-primary); background: var(--lp-primary); color: var(--lp-surface); font-size: var(--lp-fs-xs); /* The border replaces one pixel of the inherited padding on each side; height stays shared. */ padding: 0 4px; } .sheet-ribbon-tabs-actions [data-ribbon="export"]:hover:not(:disabled), .sheet-ribbon-tabs-actions [data-ribbon="export"][aria-expanded="true"]:not(:disabled) { border-color: var(--lp-primary-hover); background: var(--lp-primary-hover); color: var(--lp-surface); } .sheet-ribbon-tabs-actions [data-ribbon="export"]:disabled { border-color: transparent; background: transparent; color: var(--lp-muted); cursor: not-allowed; } .sheet-ribbon-tabs-actions [data-ribbon="export"]:focus-visible { outline: 2px solid var(--lp-blue-deep); outline-offset: 2px; } .sheet-ribbon-tabs-actions [data-ribbon="export"] .sheet-ribbon-label, .sheet-ribbon-tabs-actions [data-ribbon="export"] .sheet-ribbon-icon { color: inherit; } [data-overlay-kind="sheet-export"].sheet-ribbon-pop-portal { gap: 4px; padding: 4px; } [data-overlay-kind="sheet-export"] .sheet-ribbon-item { border: 0; background: transparent; font: inherit; color: inherit; font-size: var(--lp-fs-xs); color: var(--lp-ink); padding: 4px 8px; } [data-overlay-kind="sheet-export"] .sheet-ribbon-item:hover { background: var(--lp-surface-2); } [data-overlay-kind="sheet-export"] .sheet-ribbon-item.is-on { background: var(--lp-blue-tint); } [data-overlay-kind="sheet-export"] .sheet-ribbon-item:focus-visible { outline: 2px solid var(--lp-blue-deep); outline-offset: 2px; } [data-overlay-kind="sheet-export"] .sheet-ribbon-export-caption { padding: 4px 8px; border-bottom: 1px solid var(--lp-line); font-size: var(--lp-fs-2xs); color: var(--lp-muted); } [data-overlay-kind="sheet-export"] .sheet-ribbon-export-separator { border-top: 1px solid var(--lp-line); margin: 4px 0; }