/* googleimport/google-import.css: the Google Drive chooser (estilo-google-import), on the spacing scale. Its blocks are spaced by the table Fiesta's rst-stack uses (DESIGN.md, "The stack"): the disclosure, then the Choose button --rst-sp-4 under it (text sits that far clear of the button under it), Cancel --rst-sp-2 under Choose while both show (a button under another action, as the door's card has it, chrome.css), and the status line --rst-sp-3 under whatever is above it. Margins, not a column gap: the script shows and hides the buttons and fills the status, and a hidden button or an empty status then takes no space at all, where a gap would still fall beside an empty one. The buttons keep their own width. */ [estilo-google-import] { display: flex; flex-direction: column; align-items: flex-start; } [estilo-google-import] > * { margin-block: 0; } [estilo-google-import] > noscript > p { margin-block: 0; } [estilo-google-import] > * + * { margin-block-start: var(--rst-sp-3); } [estilo-google-import] > * + [data-google-choose-wrap] { margin-block-start: var(--rst-sp-4); } [estilo-google-import] > [data-google-choose-wrap]:not([hidden]) + [data-google-cancel-wrap] { margin-block-start: var(--rst-sp-2); } [estilo-google-import] > [data-google-status]:empty { margin-block-start: 0; }