.psfr-share-kit{--pssk-blue:#0B7AE1;--pssk-ink:#122033;--pssk-text:#45566a;--pssk-muted:#728195;--pssk-border:#dfe7ee;box-sizing:border-box;width:100%;color:var(--pssk-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.psfr-share-kit *{box-sizing:border-box}.pssk-header{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:28px;align-items:start;padding:34px 36px 28px;border-bottom:1px solid var(--pssk-border);background:#fff}.pssk-brand{display:block;margin-bottom:8px;color:var(--pssk-blue);font-size:11px;line-height:1;letter-spacing:.16em;font-weight:850}.pssk-header h2{margin:0 0 8px!important;color:var(--pssk-ink)!important;font-size:38px!important;line-height:1!important;letter-spacing:-.035em!important}.pssk-header p{margin:0!important;color:#627387!important;font-size:15px!important;line-height:1.55!important}.pssk-photo-rule{padding:18px 20px;border:1px solid #d7e8f8;border-radius:14px;background:#f0f7fe}.pssk-photo-rule strong,.pssk-photo-rule span{display:block}.pssk-photo-rule strong{margin-bottom:4px;color:#0B7AE1;font-size:14px}.pssk-photo-rule span{color:#5d7084;font-size:13px;line-height:1.45}.pssk-notice{margin:18px 36px 0;padding:12px 15px;border:1px solid #f1d8a5;border-radius:10px;background:#fff9eb;color:#79591c;font-size:13px;font-weight:650}.pssk-tabs{display:flex;gap:8px;padding:18px 36px 0;background:#fff}.psfr-share-kit .pssk-tabs button{appearance:none!important;display:flex!important;align-items:center!important;gap:7px!important;margin:0!important;padding:11px 15px!important;border:1px solid #d9e2ea!important;border-radius:10px 10px 0 0!important;background:#f6f8fa!important;color:#405268!important;font:750 13px/1.1 inherit!important;box-shadow:none!important;cursor:pointer!important;text-transform:none!important}.psfr-share-kit .pssk-tabs button small{font-size:10px;font-weight:600;color:#8795a4}.psfr-share-kit .pssk-tabs button.is-active{border-color:#0B7AE1!important;background:#0B7AE1!important;color:#fff!important}.psfr-share-kit .pssk-tabs button.is-active small{color:#dfefff}.pssk-status{margin:0 36px;padding:10px 0;color:#68798c;font-size:12px;font-weight:650}.pssk-status.is-ready{color:#16825a}.pssk-status.is-error{color:#b04444}.pssk-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(340px,.85fr);gap:26px;padding:0 36px 36px;background:#fff}.pssk-main,.pssk-side{min-width:0}.pssk-preview-pane{display:none}.pssk-preview-pane.is-active{display:block}.pssk-preview-head{display:flex;align-items:baseline;justify-content:space-between;gap:18px;margin-bottom:10px}.pssk-preview-head strong{font-size:16px;color:#1d3044}.pssk-preview-head span{font-size:12px;color:#7b8998}.pssk-canvas-wrap{display:flex;align-items:center;justify-content:center;min-height:320px;padding:18px;border:1px solid #e1e8ef;border-radius:16px;background:#f4f7fa;overflow:hidden}.pssk-canvas-wrap canvas{display:block;width:100%;height:auto;max-width:100%;border-radius:10px;background:#fff}.pssk-canvas-wrap--square canvas{width:min(680px,100%)}.pssk-canvas-wrap--story{min-height:520px}.pssk-canvas-wrap--story canvas{width:min(360px,100%)}.pssk-caption-large{width:100%;min-height:360px;padding:20px;border:1px solid #dce5ed;border-radius:14px;background:#fbfcfd;color:#27394c;font:500 16px/1.6 inherit;resize:vertical;outline:none}.pssk-caption-large:focus{border-color:#0B7AE1;box-shadow:0 0 0 3px rgba(11,122,225,.1)}.pssk-side{display:grid;gap:18px;align-content:start}.pssk-side section{border:1px solid #e1e8ef;border-radius:14px;background:#fbfcfd;padding:18px}.pssk-side h3{margin:0 0 12px!important;color:#213449!important;font-size:16px!important;line-height:1.2!important}.pssk-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.psfr-share-kit .pssk-thumbs button{appearance:none!important;display:flex!important;min-width:0!important;flex-direction:column!important;align-items:stretch!important;margin:0!important;padding:8px!important;border:1px solid #dce5ed!important;border-radius:10px!important;background:#fff!important;color:#31465c!important;box-shadow:none!important;text-align:left!important;cursor:pointer!important;text-transform:none!important}.psfr-share-kit .pssk-thumbs button.is-active{border-color:#0B7AE1!important;box-shadow:inset 0 0 0 1px #0B7AE1!important}.pssk-thumbs canvas{display:block;width:100%;height:86px;object-fit:contain;border-radius:6px;background:#f2f6f9}.pssk-thumbs button:nth-child(2) canvas{height:86px}.pssk-thumbs button:nth-child(3) canvas{height:86px}.pssk-thumbs strong{margin-top:7px;font-size:11px}.pssk-thumbs span{margin-top:2px;color:#8492a1;font-size:9px}.pssk-caption-card>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.psfr-share-kit .pssk-caption-card button{appearance:none!important;margin:0!important;padding:7px 10px!important;border:1px solid #d4dfe8!important;border-radius:8px!important;background:#fff!important;color:#33485e!important;font:750 11px/1 inherit!important;box-shadow:none!important;cursor:pointer!important}.pssk-caption-card textarea{display:block;width:100%;min-height:150px;margin-top:10px;padding:13px;border:1px solid #e0e7ed;border-radius:9px;background:#fff;color:#3b4f64;font:500 13px/1.5 inherit;resize:vertical}.pssk-action-grid,.pssk-social-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pssk-social-grid{grid-template-columns:repeat(4,1fr);margin-top:8px}.psfr-share-kit .pssk-actions button{appearance:none!important;min-height:42px!important;margin:0!important;padding:10px 11px!important;border:1px solid #d4dee7!important;border-radius:9px!important;background:#fff!important;color:#30455a!important;font:750 11px/1.2 inherit!important;box-shadow:none!important;cursor:pointer!important;text-transform:none!important;white-space:normal!important}.psfr-share-kit .pssk-actions button:hover,.psfr-share-kit .pssk-actions button:focus-visible{border-color:#0B7AE1!important;color:#0B7AE1!important;outline:2px solid rgba(11,122,225,.12)!important;outline-offset:1px!important}.psfr-share-kit .pssk-actions button.pssk-primary{border-color:#0B7AE1!important;background:#0B7AE1!important;color:#fff!important}.psfr-share-kit .pssk-actions button.pssk-primary:hover,.psfr-share-kit .pssk-actions button.pssk-primary:focus-visible{color:#fff!important;filter:brightness(.96)}
@media(max-width:1100px){.pssk-header{grid-template-columns:1fr}.pssk-layout{grid-template-columns:1fr}.pssk-side{grid-template-columns:1fr 1fr}.pssk-format-section{grid-column:1/-1}.pssk-thumbs canvas{height:125px}.pssk-canvas-wrap--story canvas{width:min(420px,100%)}}
@media(max-width:700px){.pssk-header{padding:26px 18px 20px}.pssk-header h2{font-size:32px!important}.pssk-tabs{overflow:auto;padding:14px 18px 0}.psfr-share-kit .pssk-tabs button{flex:0 0 auto!important}.pssk-status{margin:0 18px}.pssk-layout{padding:0 18px 24px;gap:18px}.pssk-side{grid-template-columns:1fr}.pssk-format-section{grid-column:auto}.pssk-thumbs{grid-template-columns:1fr 1fr 1fr}.pssk-thumbs canvas{height:82px}.pssk-action-grid{grid-template-columns:1fr}.pssk-social-grid{grid-template-columns:1fr 1fr}.pssk-canvas-wrap{padding:10px;min-height:220px}.pssk-canvas-wrap--story{min-height:420px}.pssk-notice{margin:14px 18px 0}}

/* Fundraiser-only preview enlargement. */
.psfr-share-preview[hidden]{display:none!important}
.psfr-share-preview{position:fixed;inset:0;z-index:1000100;display:flex;align-items:center;justify-content:center;padding:18px}
.psfr-share-preview-backdrop{position:absolute;inset:0;border:0!important;background:rgba(15,27,42,.78)!important;cursor:zoom-out}
.psfr-share-preview-dialog{position:relative;display:flex;flex-direction:column;max-width:min(1120px,100%);width:100%;max-height:calc(100dvh - 36px);overflow:hidden;padding:18px;background:#fff;border-radius:18px;box-shadow:0 25px 100px rgba(0,0,0,.2)}
.psfr-share-preview-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 14px}
.psfr-share-preview-head strong{font-size:18px;color:#122033}
.psfr-share-preview-head button{padding:8px 13px!important;margin:0!important;border:1px solid #d7e0e9!important;border-radius:9px!important;background:#fff!important;color:#25394d!important;cursor:pointer!important}
.psfr-share-preview-stage{display:flex;align-items:center;justify-content:center;min-height:0;flex:1;overflow:auto;padding:14px;background:#f3f7fb;border-radius:12px}
.psfr-share-preview-stage img{display:block;max-width:100%;max-height:calc(100dvh - 225px);width:auto;height:auto;object-fit:contain;border-radius:9px}
.psfr-share-preview-actions{display:flex;justify-content:flex-end;padding-top:14px}
.psfr-share-preview-actions button{padding:12px 18px!important;border-radius:9px!important;border:1px solid #0b7ae1!important;background:#0b7ae1!important;color:#fff!important;font-weight:700!important;cursor:pointer!important}
.psfr-share-kit .pssk-canvas-wrap[data-psfr-preview-format]{cursor:zoom-in}
.psfr-share-kit .psfr-preview-button{margin:8px 0 0;padding:8px 12px;border:1px solid #dbe4eb;border-radius:8px;background:#fff;color:#315275;cursor:pointer}
body.psfr-share-preview-open{overflow:hidden!important}
@media(max-width:700px){.psfr-share-preview{padding:9px}.psfr-share-preview-dialog{max-height:calc(100dvh - 18px);padding:12px}.psfr-share-preview-stage img{max-height:calc(100dvh - 205px)}}

/* Simple, format-specific photo-framing controls in the existing large preview. */
.psfr-share-preview-stage img{cursor:grab;touch-action:none;user-select:none;-webkit-user-drag:none;max-height:calc(100dvh - 345px)}
.psfr-share-preview-stage img:active{cursor:grabbing}
.psfr-share-frame-tools{padding:13px 5px 4px;border-top:1px solid #e4ebf2;margin-top:12px}
.psfr-share-frame-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}
.psfr-share-frame-head strong{font-size:14px;line-height:1.4;color:#1f3449}
.psfr-share-frame-head span{font-size:12px;line-height:1.45;color:#687b8d;max-width:560px}
.psfr-share-frame-fields{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.psfr-share-frame-fields label{display:flex;align-items:center;gap:10px;flex:1 1 240px;color:#43566a;font-size:13px;font-weight:700}
.psfr-share-frame-fields label span{font-variant-numeric:tabular-nums;min-width:39px;color:#0b7ae1}
.psfr-share-frame-fields input[type=range]{width:clamp(100px,15vw,205px);accent-color:#0b7ae1;cursor:pointer}
.psfr-share-frame-fields button{appearance:none!important;min-height:36px!important;margin:0!important;padding:8px 12px!important;border:1px solid #d7e2ec!important;border-radius:8px!important;background:#fff!important;color:#28425b!important;font:700 12px/1.3 inherit!important;cursor:pointer!important;text-transform:none!important}
.psfr-share-frame-fields [data-psfr-frame-save]{background:#eff7ff!important;border-color:#b5d7f5!important;color:#076ec4!important}
.psfr-share-frame-tools p{margin:8px 0 0!important;color:#718396;font-size:12px;line-height:1.4;min-height:17px}
@media(max-width:700px){.psfr-share-frame-head{display:block}.psfr-share-frame-head span{display:block;margin-top:3px}.psfr-share-frame-fields{gap:7px}.psfr-share-frame-fields label{flex-basis:100%}.psfr-share-preview-stage img{max-height:calc(100dvh - 385px)}}
