@media screen{
dialog.share-dialog{width:min(980px,calc(100% - 24px));max-height:calc(100dvh - 24px)}
.share-dialog .share-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.85fr);align-items:start;gap:22px;padding:20px}
.share-dialog .share-stage{position:sticky;top:85px;background:#e8eeea;padding:15px;border-radius:14px;min-height:260px}
.share-dialog .share-stage canvas{max-height:65dvh;max-width:100%;object-fit:contain}
.share-dialog .share-controls{display:grid;gap:16px;min-width:0}.share-dialog fieldset{margin:0;min-width:0;border:0;padding:0}
.share-dialog .share-models{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.share-dialog .share-models button{min-width:0;padding:8px 5px;font-size:11px;min-height:44px}.share-dialog .share-swatch{height:48px;max-width:100%;margin-bottom:7px}
.share-dialog .share-sources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.share-dialog .share-sources button{font-size:11px;min-width:0;padding:10px 4px}
.share-dialog .share-extra{border:1px solid var(--mt-border,#dfe8e1);border-radius:11px;padding:12px;margin-top:12px;background:var(--mt-surface,#fff)}.share-extra>summary{font-size:12px;cursor:pointer;font-weight:600;line-height:1.6}.share-extra[open]>summary{margin-bottom:14px}.share-extra .field{font-size:12px;display:grid;gap:8px}.share-extra .share-check{margin-top:12px;font-size:12px;min-height:32px;gap:9px;display:flex;align-items:center}
.share-dialog .share-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:sticky;bottom:0;background:var(--mt-background,#f5f7f5);padding:12px 0 0;z-index:4}.share-dialog .share-actions button{min-height:44px;font-size:12px;white-space:normal;padding:10px;border-radius:10px}.share-dialog .share-actions .primary{background:var(--mt-primary,#b5e2cd);color:var(--mt-onPrimary,#263b30)}
.share-dialog .share-message{font-size:12px;margin:0;line-height:1.5;min-height:0}.share-message:empty{display:none}
@media(max-width:650px){.share-dialog .share-layout{grid-template-columns:1fr;padding:14px;gap:16px}.share-dialog .share-stage{position:static;min-height:0;padding:10px}.share-dialog .share-stage canvas{max-height:38dvh}.share-dialog .share-controls{gap:12px}.share-dialog .share-actions{bottom:0;padding:12px 0 max(8px,env(safe-area-inset-bottom));margin-bottom:-10px}.share-dialog .share-swatch{height:36px}.share-dialog .share-extra{margin-top:10px}}
}
.share-dialog .share-swatch::before{top:18px;bottom:4px}.share-dialog .share-swatch::after{bottom:9px;height:6px}.share-dialog .share-swatch.compact::before{top:25px}.share-dialog .share-swatch.stripe::before{top:7px}.share-dialog .share-swatch.score::before{top:13px}.share-dialog .share-swatch.free::before{top:7px}
