/* A quiet, nonmodal composer in Anima Mundi's pale-blue vocabulary. */
.content-share-tools{position:relative;z-index:8;display:flex;justify-content:flex-end;align-items:center;gap:12px;margin:18px auto 10px;overflow:visible}
.am-share{position:relative;display:inline-block;max-width:100%;font:400 14px/1.6 'Noto Sans',Arial,sans-serif;color:var(--anima-ink,#184f60);text-align:left}
.am-share[open]{z-index:90}
.water-rights-hero:has(.am-share[open]){overflow:visible;z-index:25}
.water-rights-hero:has(.am-share[open])::after{display:none}
.am-share-trigger{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:8px 15px;border:1px solid #a8cbd7;border-radius:12px;background:#f6fcffb8;color:var(--anima-ink,#184f60);font:500 14px/1.5 'Noto Sans',Arial,sans-serif;list-style:none;cursor:pointer;user-select:none}
.am-share-trigger::-webkit-details-marker{display:none}
.am-share-trigger::marker{content:''}
.am-share-trigger>svg{display:block;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.am-share-chevron{font-size:18px;line-height:1;margin-left:1px;transform:translateY(-2px)}
.am-share[open]>.am-share-trigger{background:#e9f6fb;border-color:#699eaf}
.am-share[open]>.am-share-trigger .am-share-chevron{transform:rotate(180deg) translateY(1px)}
.am-share-panel{position:absolute;top:calc(100% + 9px);left:var(--am-share-left,0px);width:min(390px,calc(100vw - 32px));max-height:min(70vh,620px);box-sizing:border-box;overflow:auto;overscroll-behavior:contain;padding:19px;border:1px solid #9fc4d2;border-radius:16px;background:linear-gradient(125deg,#f5fbfff5,#e9f5fcf5),url('/assets/anima-watercolor.webp') center/cover;box-shadow:0 16px 46px #244f6626;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:#204f60}
.am-share-up>.am-share-panel{top:auto;bottom:calc(100% + 9px)}
.content-share-tools .am-share:not([data-share-ready])>.am-share-panel{left:auto;right:0}
.am-share-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}
.am-share-panel-heading>strong{font-size:16px;font-weight:500;line-height:1.5}
.am-share-close{flex:none;width:32px;height:32px;min-height:32px;padding:0;border:1px solid #b8d4df;border-radius:50%;background:#ffffffa8;color:#285b6c;font:400 24px/1 Arial,sans-serif;cursor:pointer}
.am-share-panel label{display:block;margin:0 0 5px;font-size:14px;font-weight:500;line-height:1.6;color:#204f60}
.am-share-panel .am-share-hint{margin:0 0 10px;max-width:none;font:400 12px/1.7 'Noto Sans',Arial,sans-serif;color:#456b79}
.am-share-panel textarea{display:block;width:100%;min-width:0;box-sizing:border-box;resize:vertical;min-height:112px;max-height:280px;padding:10px 11px;border:1px solid #a7c8d6;border-radius:10px;background:#ffffffca;color:#204f60;font:400 13px/1.65 'Noto Sans',Arial,sans-serif;overflow-wrap:anywhere}
.am-share-copy-actions,.am-share-platforms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:11px}
.am-share-platforms{margin-top:14px;margin-bottom:13px}
.am-share-copy-actions button,.am-share-platforms a,.am-share-native{display:flex;align-items:center;justify-content:space-between;gap:9px;box-sizing:border-box;min-height:42px;margin:0;padding:9px 11px;border:1px solid #a7c8d6;border-radius:10px;background:#ffffffad;color:#204f60;font:500 13px/1.5 'Noto Sans',Arial,sans-serif;text-decoration:none;text-align:left;white-space:normal;cursor:pointer}
.am-share-copy-actions button{justify-content:center;background:#e4f2f8c7;text-align:center}
.am-share-native{justify-content:center;width:100%;margin:0 0 12px;background:#e4f2f8c7;text-align:center}
.am-share-copy-actions button:hover,.am-share-platforms a:hover,.am-share-native:hover,.am-share-close:hover{background:#fff;border-color:#518da2;color:#143f50}
.am-share :is(summary,button,a,textarea):focus-visible{outline:3px solid #3c819b;outline-offset:3px}
.am-share-native:disabled{opacity:.6;cursor:wait}
.am-share-manual{margin-top:13px;padding-top:12px;border-top:1px solid #bfd9e3}
.am-share-manual textarea{min-height:72px;margin-bottom:7px}
.am-share-panel .am-share-status{margin:10px 0 0;max-width:none;min-height:0;font:400 12px/1.7 'Noto Sans',Arial,sans-serif;color:#24596b}
.am-share-status:empty{display:none}
.am-share [hidden]{display:none!important}
@media(max-width:460px){.content-share-tools{margin-top:13px;margin-bottom:7px}.am-share-panel{padding:16px}.am-share-trigger{padding:8px 12px}.am-share-copy-actions,.am-share-platforms{gap:8px}.am-share-panel textarea{font-size:16px;line-height:1.6}.am-share-copy-actions button,.am-share-platforms a,.am-share-native{min-height:44px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.am-share *{animation:none!important;transition:none!important}}
@media print{.content-share-tools,.am-share{display:none!important}}
