/* TripSaver Share V1.0 — self-hosted, no third-party SDK */
.ts-share-v1 { box-sizing:border-box; width:100%; color:#012169; background:#fff; border-block:1px solid #e4e7ed; font-family:inherit; }
.ts-share-v1 *, .ts-share-v1 *::before,.ts-share-v1 *::after {box-sizing:border-box;}
.ts-share-v1 .ts-share-inner {max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px 13px;padding:10px 20px;}
.ts-share-v1.ts-share-footer .ts-share-inner {justify-content:center;padding:17px 20px;}
.ts-share-v1 .ts-share-label {font-size:13px; font-weight:700;white-space:nowrap;display:inline-flex;align-items:center;gap:6px;}
.ts-share-v1 .ts-share-items {display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:center;}
.ts-share-v1 .ts-share-control {appearance:none;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;min-width:42px;padding:0;border:1px solid #dce2ec;border-radius:10px;background:#fff;color:var(--share-colour,#012169);cursor:pointer;text-decoration:none;box-shadow:0 1px 2px #0121690a;transition:background .15s,border-color .15s,transform .15s;font:inherit;}
.ts-share-v1 .ts-share-control svg {width:23px;height:23px;display:block;flex:none;}
.ts-share-v1 .ts-share-control:hover {background:#f4f7fc;border-color:#a6b7d1;transform:translateY(-1px);}
.ts-share-v1 .ts-share-control:focus-visible,.ts-share-dialog :focus-visible {outline:3px solid #012169;outline-offset:3px;}
.ts-share-v1 .ts-share-status {font-size:12px;color:#334155;margin:0;flex:0 0 100%;text-align:right;}
.ts-share-v1 .ts-share-status:empty {display:none;}
.ts-share-v1.ts-share-footer .ts-share-status {text-align:center;}
.ts-share-dialog {position:fixed;inset:0;margin:auto;width:min(440px,calc(100% - 32px));max-height:85vh;overflow:auto;padding:24px;border:1px solid #dce2ec;border-radius:18px;background:white;color:#14223d;box-shadow:0 16px 65px #01216933;z-index:99999;font:inherit;}
.ts-share-dialog::backdrop {background:#071a3a80;}
.ts-share-dialog h2 {font-size:22px;color:#012169;margin:0 0 10px;}
.ts-share-dialog p {font-size:14px;line-height:1.5;margin:0 0 15px;}
.ts-share-dialog input {display:block;width:100%;max-width:100%;padding:10px;border:1px solid #a6b7d1;border-radius:8px;font:inherit;color:#14223d;background:white;}
.ts-share-dialog .ts-share-dialog-actions {display:flex;flex-wrap:wrap;gap:8px;margin-top:15px;}
.ts-share-dialog button,.ts-share-dialog a {display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #012169;border-radius:8px;background:#012169;color:white;padding:8px 13px;font:inherit;font-size:14px;text-decoration:none;cursor:pointer;}
.ts-share-dialog button[data-close] {background:white;color:#012169;}
@media(max-width:680px) {.ts-share-v1 .ts-share-inner {justify-content:center;padding:10px 12px;gap:7px;}.ts-share-v1 .ts-share-label {flex:0 0 100%;justify-content:center;}.ts-share-v1 .ts-share-status{text-align:center;}.ts-share-v1 .ts-share-control {width:44px;height:44px;min-width:44px;}}
@media(prefers-reduced-motion:reduce){.ts-share-v1 .ts-share-control {transition:none;}}

.ts-share-v1.ts-share-top { display:none !important; }
