/* Independent, responsive export preview. No app-wide selector overrides. */
.rm-share-dialog{padding:0;border:1px solid #45523f;border-radius:20px;background:#171e18;color:#eef0e9;width:min(1000px,calc(100% - 32px));max-width:1000px;max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 24px 100px #0009;overscroll-behavior:contain}
.rm-share-dialog::backdrop{background:#071009cc;backdrop-filter:blur(7px)}
.rm-share-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:26px 30px 20px;border-bottom:1px solid #34452e}
.rm-share-head h2{font-size:29px;margin:7px 0 0;letter-spacing:-1px}.rm-share-head .eyebrow{font-size:9px;letter-spacing:1.6px}
.rm-share-close{width:44px;min-height:44px;flex-shrink:0;border:1px solid #45523f;border-radius:50%;background:#222d23;color:#eef0e9;font-size:26px;line-height:1}
.rm-share-body{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(280px,.88fr);gap:30px;padding:26px 30px 28px}
.rm-share-preview-column{min-width:0;align-self:start}.rm-share-preview{border:1px solid #45523f;box-shadow:0 10px 28px #0004;line-height:0;overflow:hidden;border-radius:5px}.rm-share-preview svg{display:block;width:100%;height:auto;}
.rm-share-pages{display:flex;align-items:center;justify-content:center;gap:18px;margin:14px 0 0;font-size:12px;color:#aeb9a7}.rm-share-pages button{border:1px solid #45523f;background:#202b20;color:#eef0e9;border-radius:8px;width:44px;font-size:20px}
.rm-share-controls{min-width:0;align-self:start}.rm-share-controls fieldset{padding:0;margin:0 0 23px;border:0;min-width:0}.rm-share-controls legend{font-weight:700;font-size:13px;margin-bottom:12px;color:#eef0e9}.rm-share-styles{display:grid;gap:9px}
.rm-share-style{display:flex;align-items:center;gap:13px;padding:10px 13px;min-width:0;width:100%;border:1px solid #45523f;background:#1d281e;border-radius:10px;text-align:left;color:#eef0e9}.rm-share-style[aria-pressed=true]{border-color:#c9ee8e;background:#283524;box-shadow:inset 0 0 0 1px #c9ee8e}.rm-share-style strong{display:block;font-size:13px}.rm-share-style small{display:block;color:#b4c0aa;font-size:11px;margin-top:3px;line-height:1.45}
.rm-share-swatch{position:relative;display:grid;place-items:center;flex-shrink:0;width:44px;height:50px;border-radius:5px;font-size:29px;font-weight:800;letter-spacing:-2px}.rm-share-swatch span{position:absolute;right:5px;top:0;font-size:17px}.rm-share-swatch-signal{background:#111912;color:#c9ee8e}.rm-share-swatch-studio{background:#f3eee4;color:#a53d22}.rm-share-swatch-blueprint{background:#112f5a;color:#bce6ff}
.rm-share-extras label{display:flex;gap:10px;align-items:center;min-height:44px;font-size:12px;color:#b4c0aa}.rm-share-extras input{width:19px;height:19px;flex-shrink:0;accent-color:#c9ee8e}.rm-share-privacy{font-size:11px;line-height:1.65;color:#b4c0aa;padding:12px 14px;border:1px solid #34452e;border-radius:9px;margin:0 0 18px}.rm-share-export{display:grid;gap:9px}.rm-share-export button{width:100%;min-height:48px}.rm-share-status{min-height:40px;font-size:12px;line-height:1.6;color:#c9ee8e;margin:13px 0}.rm-share-hint{font-size:11px;line-height:1.65;color:#a4af9e}.rm-share-back{margin-top:0;font-size:12px}.rm-share-dialog :focus-visible{outline:2px solid #c9ee8e;outline-offset:4px}.rm-share-fallback{position:fixed;inset:0;z-index:1000;margin:auto}
@media(max-width:680px){.rm-share-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:15px}.rm-share-head{padding:20px 18px 16px}.rm-share-head h2{font-size:25px}.rm-share-head .eyebrow{font-size:8px}.rm-share-body{grid-template-columns:minmax(0,1fr);padding:18px;gap:23px}.rm-share-preview-column{width:min(100%,380px);margin:auto}.rm-share-styles{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.rm-share-style{flex-direction:column;gap:8px;padding:12px 6px;text-align:center}.rm-share-style small{display:none}.rm-share-controls fieldset{margin-bottom:18px}.rm-share-controls legend{font-size:13px}.rm-share-back{min-height:44px}.rm-share-hint{margin-bottom:max(8px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.rm-share-dialog{scroll-behavior:auto}}
