/* Permanent page sharing. QR canvases keep a four-module quiet zone. */
.floating-tools:has(.share-floating){overflow:visible;flex-wrap:wrap}
.share-floating{position:absolute;right:0;bottom:calc(100% + 12px);width:176px;color:var(--ink,#18324c)}
.share-floating-card{padding:13px 12px 9px;background:#fff;border:1px solid var(--line,#d8e2eb);border-radius:12px;box-shadow:0 6px 26px #15395614;display:flex;flex-direction:column;align-items:center;gap:3px}
.share-floating-card>strong{font-size:14px;font-weight:600;letter-spacing:.04em}
.share-qr-picture{display:grid;place-items:center;aspect-ratio:1;background:#fff;color:#526a7b;overflow:hidden;font-size:12px;line-height:1.6;text-align:center}
.share-qr-picture img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated}
.share-floating-card .share-qr-picture{width:150px;height:150px}
.share-floating-note{font-size:11px;color:#6a7f90}
.floating-tools .share-floating-card button{height:auto;width:auto;min-width:0;min-height:32px;padding:3px 5px;border:0;color:#1f5885;font-size:12px;box-shadow:none}
.floating-tools .share-mobile-toggle{display:none}
.share-content-control{display:inline-flex;flex-wrap:wrap;gap:7px;align-items:center;margin:5px 0}
.share-editor-open{margin:0 0 18px;padding:13px 16px;border:1px solid var(--line,#d8e2eb);border-radius:8px;background:#f6f9fc}
.share-editor-open>p{margin:4px 0 0;color:var(--muted,#63798b);font-size:12px;line-height:1.65}
.share-manager-explainer{padding:16px 18px;background:#f2f7fb;border-left:3px solid #457ca6;margin-bottom:22px}
.share-manager-explainer strong{font-size:15px;color:#224f73}
.share-manager-explainer p{margin:5px 0 0;line-height:1.7;font-size:13px;color:#536f84}
.share-manager-search{display:flex;gap:12px;align-items:center;margin:0 0 18px}
.share-manager-search label{flex-shrink:0;font-size:13px}
.share-manager-search input{flex:1;max-width:560px!important}
.share-manager-search>span{margin-left:auto;font-size:12px;color:#647b8d;white-space:nowrap}
.share-records{display:grid;gap:18px}
.share-record{display:grid;grid-template-columns:172px minmax(0,1fr);gap:24px;padding:20px;border:1px solid var(--line,#d8e2eb);border-radius:10px;background:#fff}
.share-record[hidden]{display:none}
.share-manager [hidden]{display:none!important}
.share-record-code{display:flex;flex-direction:column;gap:12px;align-items:center;padding-top:2px}
.share-record-code .share-qr-picture{width:172px;height:172px;border:1px solid #e3eaf0;border-radius:5px}
.share-record-main{min-width:0}
.share-record-heading{display:flex;align-items:flex-start;gap:12px;justify-content:space-between;margin-bottom:14px}
.share-record-heading h3{margin:0;font-size:16px!important;line-height:1.6;overflow-wrap:anywhere}
.share-badge{flex-shrink:0;padding:4px 9px;background:#f0f3f6;border-radius:5px;font-size:11px;color:#627687;white-space:nowrap}
.share-badge.is-open{color:#2b685a;background:#eaf6f0}
.share-fixed-link{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:12px 14px;background:#f7f9fc;border-radius:6px}
.share-fixed-link label{grid-column:1;font-size:11px;color:#637c90}
.share-fixed-link a{grid-column:1;overflow-wrap:anywhere;line-height:1.7;font-size:12px;color:#205b88}
.share-fixed-link button{grid-column:2;grid-row:1 / 3;align-self:center}
.share-record-details{display:grid;grid-template-columns:1fr 1fr;gap:14px 24px;margin:17px 0}
.share-record-details>div{min-width:0}
.share-record-details dt{font-size:11px;color:#718799;margin-bottom:4px}
.share-record-details dd{margin:0;font-size:13px;line-height:1.65;color:#2c4c65;overflow-wrap:anywhere}
.share-record-details dd>a{color:#205b88}
.share-record-details dd>small{display:block;font-size:11px;color:#738797;margin-top:2px}
.share-warning{display:block;color:#9e6223;font-size:12px}
.share-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.share-record-note{font-size:12px;color:#8c642e;line-height:1.8;margin:12px 0 0}
.share-editor{margin-top:20px;padding:19px 0 0;border-top:1px solid #dae4ed}
.share-editor h4{font-size:15px;margin:0 0 15px}
.share-editor .form-grid{grid-template-columns:1fr}
.share-editor .field{margin-bottom:0}
.share-editor .summary{line-height:1.7}
.share-target-preview{display:grid;gap:5px;padding:13px 15px;margin:15px 0;background:#f1f7f3;border-radius:6px;overflow-wrap:anywhere}
.share-target-preview>span{font-size:12px;color:#5f7869}
.share-target-preview>strong{font-size:13px;color:#305f47}
.share-inline-error{padding:12px 14px;color:#994435;background:#fff2ee;font-size:13px;line-height:1.8;border-radius:6px}
.share-empty p{max-width:560px;margin:8px auto;font-size:13px;line-height:1.8}
.share-qr-failed{padding:16px}
.share-copy-fallback{position:fixed;left:-9999px;top:0}
.share-image-dialog{width:min(920px,calc(100vw - 32px));max-height:calc(100dvh - 40px);box-sizing:border-box;border:1px solid #d5e2ec;border-radius:16px;padding:24px;background:#fff;color:#183f60;overflow:auto;box-shadow:0 20px 80px #102a4338}
.share-image-dialog::backdrop{background:#0b254166}
.share-image-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}
.share-image-dialog h2{margin:0;font-size:20px}
.share-image-dialog>p{font-size:14px;line-height:1.8;color:#526d82;margin:16px 0}
.share-image-dialog .share-image-preview{display:block;width:100%;height:auto;border:1px solid #dce6ed;border-radius:10px;margin:0 0 20px;box-sizing:border-box;-webkit-touch-callout:default;user-select:auto}
.share-image-dialog button:focus-visible{outline:3px solid #2778b8;outline-offset:3px}
@media(max-width:600px){.share-image-dialog{padding:16px}.share-image-dialog h2{font-size:17px}.share-image-dialog>p{font-size:13px}}
.floating-tools .share-mobile-toggle{color:#18324c!important;background:#fff!important}
.share-landing{max-width:700px;margin:50px auto 90px;padding:40px;background:#fff;border:1px solid var(--line,#d8e2eb);border-radius:12px}
.share-eyebrow{font-size:12px;color:#62819a}
.share-landing h1{font-size:28px;margin:13px 0 16px;color:#183f60}
.share-landing p{color:#5a7387;line-height:1.9;margin-bottom:25px}
@media(max-width:1100px){.share-record{gap:18px;grid-template-columns:144px minmax(0,1fr);padding:17px}.share-record-code .share-qr-picture{width:144px;height:144px}.share-record-heading{display:block}.share-badge{display:inline-block;margin-top:7px}}
@media(max-width:760px){.floating-tools:has(.share-floating){padding-top:0}.share-floating{position:static;width:auto}.floating-tools .share-mobile-toggle{display:flex;gap:5px;align-items:center;justify-content:center;width:auto;height:42px;min-height:42px;padding:0 10px;border:0;border-right:1px solid var(--line,#d8e2eb);font-size:12px;white-space:nowrap}.share-mobile-toggle svg{width:18px;height:18px;fill:currentColor}.share-floating-card{display:none;position:absolute;right:0;bottom:calc(100% + 10px);width:176px;box-sizing:border-box}.share-floating.is-expanded .share-floating-card{display:flex}.share-record{grid-template-columns:minmax(0,1fr);gap:16px;padding:16px}.share-record-code{flex-direction:row;justify-content:flex-start;gap:18px}.share-record-code .share-qr-picture{width:140px;height:140px}.share-record-heading{display:flex}.share-record-heading h3{font-size:15px!important}.share-badge{margin-top:0}.share-manager-search{flex-wrap:wrap;gap:9px}.share-manager-search label{width:100%}.share-manager-search input{flex-basis:100%}.share-manager-search>span{margin-left:0}.share-fixed-link{grid-template-columns:minmax(0,1fr)}.share-fixed-link button{grid-column:1;grid-row:auto;justify-self:start;margin-top:6px}.share-record-details{grid-template-columns:1fr;gap:12px}.share-manager-explainer{padding:13px 14px}.share-landing{margin:20px 0 50px;padding:26px 20px}.share-landing h1{font-size:22px}.share-content-control{gap:6px}.share-editor-open{padding:12px}}
@media(max-height:620px) and (min-width:761px){.share-floating-card .share-qr-picture{width:116px;height:116px}.share-floating{width:145px}.share-floating-card{padding:10px 8px}.share-floating-note{font-size:10px}}
