.sm-share,.sm-share-dialog{box-sizing:border-box;color:#000;font-family:inherit;line-height:1.5}
.sm-share{padding:22px 24px;border:1px solid #d9e5d2;background:#f5f8f2;border-radius:16px;margin:28px 0}
.sm-share--top{margin:0 0 32px}.sm-share-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;margin-bottom:14px}
.sm-share-heading strong{font-size:20px;color:#000}.sm-share-heading>span{font-size:14px;color:#000}
.sm-share-buttons{display:flex;flex-wrap:wrap;gap:10px}
.sm-share .sm-share-button,.sm-share-dialog .sm-share-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 17px;border:1px solid #709957;border-radius:24px;background:#fff;color:#000!important;text-decoration:none!important;font-family:inherit;font-size:14px;font-weight:600;line-height:1.3;cursor:pointer;box-shadow:none;transition:background .15s,border-color .15s}
.sm-share .sm-share-button:hover,.sm-share-dialog .sm-share-button:hover{background:#e7f0df;border-color:#315f1f}
.sm-share-button:focus-visible,.sm-share-dialog a:focus-visible,.sm-share-dialog button:focus-visible,.sm-share textarea:focus-visible,.sm-share-dialog textarea:focus-visible{outline:3px solid #376920;outline-offset:3px}
.sm-share [hidden]{display:none!important}.sm-share-button svg{flex:none}.sm-share-status{display:block;color:#000;font-size:14px}.sm-share-status:not(:empty){margin-top:12px}
.sm-share textarea,.sm-share-dialog textarea{display:block;box-sizing:border-box;width:100%;min-height:75px;margin:9px 0;padding:12px;border:1px solid #769866;border-radius:8px;font:inherit;color:#000;background:#fff;resize:vertical}
.sm-share-dialog{width:min(600px,calc(100% - 32px));max-height:90dvh;padding:30px;border:1px solid #cbdcbe;border-radius:20px;background:#fff;overflow:auto;box-shadow:0 20px 80px #0004}
.sm-share-dialog::backdrop{background:#07120799}.sm-share-dialog h2{color:#000;font-size:26px;line-height:1.2;margin:0 40px 16px 0}.sm-share-dialog p{color:#000;margin:12px 0;font-size:15px}.sm-share-dialog .sm-share-note{font-size:13px}.sm-share-dialog>img{display:block;max-width:100%;max-height:240px;margin:16px auto;object-fit:contain;border-radius:10px}.sm-share-dialog label{display:block;font-weight:600;margin-top:16px}
.sm-share-dialog .sm-share-close{position:absolute;right:12px;top:12px;width:40px;height:40px;border:1px solid #d9e5d2;border-radius:50%;background:#fff;color:#000;font-size:26px;cursor:pointer}
@media(max-width:540px){.sm-share{padding:18px}.sm-share-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.sm-share .sm-share-button,.sm-share-dialog .sm-share-button{padding:10px;font-size:13px}.sm-share-dialog{padding:22px}.sm-share-heading>span{flex-basis:100%}}

/* Compact header icons. The existing bottom sharing box keeps its original styles. */
.ds-news .sm-share--header{width:fit-content;max-width:100%;padding:0;margin:10px 0 0;border:0;border-radius:0;background:transparent;color:#fff;box-shadow:none;text-align:left}
.ds-news .sm-share--header .sm-share-buttons{display:flex;flex-wrap:wrap;gap:2px}
.ds-news .sm-share--header .sm-share-button{width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#fff!important;box-shadow:none;gap:0}
.ds-news .sm-share--header .sm-share-button>span{display:none}
.ds-news .sm-share--header .sm-share-button svg{width:20px;height:20px}
.ds-news .sm-share--header .sm-share-button:hover{background:rgba(255,255,255,.12);color:#fff!important}
.ds-news .sm-share--header .sm-share-button:focus-visible{outline:2px solid #fff;outline-offset:2px;background:rgba(255,255,255,.12)}
.ds-news .sm-share--header .sm-share-status{color:#fff;font-size:12px}
@media(max-width:760px){.ds-news .sm-share--header{margin-top:6px;text-align:center}.ds-news .sm-share--header .sm-share-buttons{justify-content:center}}
@media print{.ds-news .sm-share--header{display:none}}

@media(max-width:540px){.sm-share [data-sm-channel="copy_post"]{grid-column:1/-1;white-space:normal}}
