/* Share controls use the Setups sheet and theme tokens. */
.su-detail>.share-open{align-self:flex-end;margin-bottom:calc(-1 * var(--gap-section));position:relative;z-index:1;color:var(--accent);font-weight:700}
.share-sheet.su-small-editor{display:grid;gap:var(--space-4);padding:var(--space-5);width:min(100%,520px);height:auto;max-height:90dvh}
.share-sheet[open]{display:grid}
.share-sheet header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}
.share-sheet h2{font-size:var(--text-lg)}
.share-choice{display:flex;align-items:center;gap:var(--space-4);padding:var(--space-4);border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}
.share-choice>div:last-child{min-width:0}.share-choice strong{overflow-wrap:anywhere}
.share-thumb{width:84px;height:84px;flex:none;border-radius:12px;padding:9px;background:radial-gradient(circle at 80% 0,var(--hs-up-soft),var(--hs-up-soft));color:var(--hs-up);font-size:10px;line-height:1.2;overflow:hidden}
.share-thumb svg{width:18px;height:18px;display:block;margin-bottom:5px}.share-thumb strong{display:block}
.share-switches{display:grid}.share-switches label{display:flex;justify-content:space-between;align-items:center;gap:var(--space-3);min-height:48px;border-top:1px solid var(--border)}
.share-switches input{accent-color:var(--accent);width:22px;height:22px}.share-switches select{font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:8px}
.su-editor.share-sheet .su-button.share-primary{width:100%;background:var(--accent);color:var(--hs-on-accent);font-weight:700;border:0;min-height:50px}
:root .su-editor.share-sheet .su-button.share-primary{color:var(--hs-text)}
.share-sheet [data-status]:empty{display:none}
@media(max-width:600px){.share-sheet.su-small-editor{position:fixed;inset:auto 0 0;width:100%;max-width:none;max-height:min(90dvh,900px);overflow:auto;border-radius:24px 24px 0 0;padding-bottom:calc(var(--space-5) + env(safe-area-inset-bottom))}}
