.pulse-share-sheet{--ps-ink:#183f4c;--ps-muted:#526c73;box-sizing:border-box;width:min(1060px,calc(100% - 48px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid #dce1d9;border-radius:18px;background:#fdfbf7;color:var(--ps-ink);box-shadow:0 24px 90px #102a3540;font-family:"DM Sans",sans-serif;overflow:hidden}
.pulse-share-sheet::backdrop{background:#102a35b8}
.pulse-share-sheet *{box-sizing:border-box}
.pulse-share-sheet button{font-family:inherit;-webkit-tap-highlight-color:transparent;cursor:pointer}
.pulse-share-sheet button:disabled{cursor:wait;opacity:.5}
.pulse-share-sheet [hidden]{display:none!important}
.pulse-share-sheet :focus-visible{outline:3px solid #3157ff;outline-offset:3px}
.pulse-share-sheet svg{width:20px;height:20px;flex:none;pointer-events:none}
.ps-shell{position:relative;min-width:0}
.ps-close{position:absolute;z-index:3;right:14px;top:14px;display:grid;place-items:center;width:44px;height:44px;padding:11px;border:1px solid #d5ded6;border-radius:50%;background:#fdfbf7ed;color:var(--ps-ink)}
.ps-close svg{width:22px;height:22px}
.ps-body{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(310px,1fr);grid-template-rows:1fr auto;min-width:0;max-height:calc(100dvh - 50px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.ps-art{grid-column:1;grid-row:1/3;display:flex;flex-direction:column;justify-content:center;min-width:0;margin:0;padding:32px;background:#e9ece3}
.ps-preview{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:4/5;min-height:220px;max-height:calc(100dvh - 138px);background:#fcfaf6;box-shadow:0 10px 32px #35494b12}
.ps-art img{display:block;width:100%;height:100%;max-height:calc(100dvh - 138px);object-fit:contain}
.ps-loading{padding:24px;text-align:center;font-size:15px;line-height:1.5;color:var(--ps-muted)}
.ps-art figcaption{margin:14px 0 0;text-align:center;color:var(--ps-muted);font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.ps-options{grid-column:2;grid-row:1;align-self:start;min-width:0;padding:76px 30px 18px}
.ps-eyebrow{margin:0 0 14px;color:var(--ps-muted);font-size:14px;line-height:1.5}
.ps-header h2{margin:0;color:#183b46;font-family:"DM Sans",sans-serif;font-size:clamp(32px,3.5vw,43px);font-weight:450;line-height:1.1;letter-spacing:-.045em;text-wrap:balance}
.ps-intro{margin:18px 0 24px;color:var(--ps-muted);font-size:16px;line-height:1.6}
.ps-caption{border-top:1px solid #d9e1d9;color:var(--ps-muted);font-size:14px;line-height:1.6}
.ps-caption summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;cursor:pointer;list-style:none}
.ps-caption summary::-webkit-details-marker{display:none}
.ps-caption summary svg{width:18px;height:18px;transition:transform .15s ease}
.ps-caption[open] summary svg{transform:rotate(45deg)}
.ps-caption p{margin:0 0 10px;overflow-wrap:anywhere;white-space:pre-line;user-select:text}
.ps-caption button{display:flex;align-items:center;gap:8px;min-height:44px;margin:0 0 10px;padding:8px 0;border:0;background:none;color:var(--ps-ink);font-size:14px;font-weight:550}
.ps-publish{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;padding:11px 0;border:0;border-top:1px solid #d9e1d9;background:none;color:#285d68;font-size:15px;font-weight:550;text-align:left}
.ps-publish svg{width:18px;height:18px}
.ps-footer{grid-column:2;grid-row:2;align-self:end;min-width:0;padding:16px 30px 28px;background:#fdfbf7}
.ps-share{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;padding:13px 16px;border:1px solid #285d68;border-radius:5px;color:#fff;background:#285d68;font-size:16px;font-weight:600;line-height:1.4}
.ps-utilities{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:8px;margin-top:10px}
.ps-utilities button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:48px;padding:10px 8px;border:1px solid #c8d4ce;border-radius:5px;background:transparent;color:var(--ps-ink);font-size:14px;line-height:1.4}
.ps-utilities svg{width:17px;height:17px}
.ps-status{margin:12px 0 0;color:var(--ps-muted);font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.ps-status:empty{display:none}
.ps-copy-buffer{position:fixed;left:0;bottom:0;opacity:0;width:1px;height:1px}
@media(hover:hover){.ps-close:hover,.ps-utilities button:hover{background:#e9eee7}.ps-share:hover{background:#214e58}.ps-publish:hover,.ps-caption button:hover{color:#183f4c;text-decoration:underline;text-underline-offset:4px}}
@media(max-width:700px){
  .pulse-share-sheet{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:18px}
  .ps-body{display:block;max-height:calc(100dvh - 18px);scroll-padding-block:16px 170px}
  .ps-close{top:10px;right:10px}
  .ps-art{padding:22px 22px 18px}
  .ps-preview{min-height:150px;max-height:340px;aspect-ratio:auto;box-shadow:none;background:transparent}
  .ps-art img{width:100%;height:auto;max-height:min(40dvh,340px);object-fit:contain}
  .ps-art figcaption{margin-top:10px}
  .ps-options{padding:22px 20px 10px}
  .ps-eyebrow{display:none}
  .ps-header h2{font-size:30px;line-height:1.15}
  .ps-intro{margin:12px 0 14px;font-size:15px;line-height:1.5}
  .ps-caption summary,.ps-publish{min-height:44px}
  .ps-footer{position:sticky;bottom:0;z-index:2;padding:12px 18px max(12px,env(safe-area-inset-bottom));border-top:1px solid #d6dfd7;background:#fdfbf7;box-shadow:0 -6px 18px #233f4c08}
  .ps-share{min-height:48px;border-radius:6px}
  .ps-utilities{margin-top:8px}
  .ps-utilities button{min-height:44px;padding:8px 6px}
  .ps-status{margin-top:8px;text-align:center;font-size:14px}
}
@media(max-width:359px){.ps-art{padding:18px}.ps-art img{max-height:34dvh}.ps-options{padding:18px 16px 8px}.ps-header h2{font-size:28px}.ps-footer{padding-inline:12px}.ps-utilities{gap:6px}.ps-utilities button{gap:5px}}
@media(prefers-reduced-motion:reduce){.pulse-share-sheet *{transition:none!important;animation:none!important}}
