/* Scoped permanent Share module; no call, video, composer or existing tab rules. */
.sp-manager{--sp-accent:#f1ad70;--sp-line:#59636a;max-width:64rem;margin:0 auto;padding:0 0 2rem;color:#f4f6f7;overflow-wrap:anywhere}
.sp-manager *,.share-public *{box-sizing:border-box}
.sp-manager h1{font-size:clamp(1.6rem,5vw,2.3rem);line-height:1.18;margin:.3rem 0 .7rem}
.sp-manager h2{font-size:1.35rem}.sp-manager p{line-height:1.5}.sp-eyebrow{font-size:.78rem;letter-spacing:.12em;font-weight:800;color:var(--sp-accent,#b36538);margin:.5rem 0}
.sp-manager-head{padding:1rem 0}.sp-notice:empty{display:none}.sp-notice,.sp-warning{padding:.85rem 1rem;background:#394635;border:1px solid #879176;border-radius:1rem}.sp-warning{background:#413c2f}
.sp-toolbar,.sp-actions{display:flex;gap:.65rem;flex-wrap:wrap;align-items:center;margin:1rem 0}
.sp-manager button,.sp-manager .sp-button{font:inherit;line-height:1.3;padding:.7rem 1rem;min-height:2.75rem;border:1px solid var(--sp-line);border-radius:.8rem;background:#394248;color:#fff;text-decoration:none;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.sp-manager button:disabled{opacity:.55;cursor:not-allowed}.sp-manager button:focus-visible,.sp-manager input:focus-visible,.share-public a:focus-visible,.share-public button:focus-visible{outline:3px solid #efb273;outline-offset:3px}
.sp-manager .sp-primary{background:#f1ad70;color:#241b15;border-color:#f1ad70;font-weight:750}.sp-manager .sp-danger{background:#572b2d;color:#fff;border-color:#b87679}.sp-manager .sp-small{padding:.45rem .7rem;font-size:.9rem}
.sp-manager input:not([type=checkbox]){font:inherit;line-height:1.4;padding:.7rem .8rem;width:100%;min-width:0;max-width:100%;border:1px solid #69747d;border-radius:.65rem;background:#20282d;color:#fff}
.sp-manager input::placeholder{color:#cbd0d4;opacity:1}.sp-manager input[type=checkbox]{width:1.4rem;height:1.4rem;margin:.2rem 0;accent-color:#eeac72;flex:0 0 1.4rem}
.sp-profile-editor{display:grid;gap:.75rem}.sp-group{border:1px solid var(--sp-line);border-radius:1rem;background:#2e363b;padding:0 1rem;margin:.75rem 0}.sp-group>summary{cursor:pointer;padding:1rem 0;font-weight:750;font-size:1.05rem}
.sp-editor-row{display:grid;grid-template-columns:1.5rem minmax(0,1fr);gap:.8rem;padding:.85rem 0;border-top:1px solid #46525a}.sp-editor-row>input{margin-top:1.7rem!important}.sp-editor-value{min-width:0}.sp-editor-value label{display:block;font-size:.95rem;font-weight:650;margin-bottom:.4rem}.sp-editor-value button{margin-top:.5rem}
.sp-editor-photo{width:5rem;height:5rem;object-fit:cover;border-radius:1rem;display:block;margin-top:.6rem}.sp-hint{color:#c7d2d9;font-size:.92rem;line-height:1.5}.sp-custom{display:grid;grid-template-columns:1.5rem minmax(0,1fr);gap:.5rem;margin:1rem 0}.sp-custom>button{grid-column:2}.sp-custom>input:nth-child(3){grid-column:2}
.sp-create{padding:1.2rem;background:#303c43;border-radius:1rem;margin:1.4rem 0}.sp-create>label:first-of-type{display:block}.sp-create input{margin-top:.4rem}.sp-create button{margin:.4rem .5rem .4rem 0}.sp-consent{display:flex;align-items:flex-start;gap:.8rem;margin:1rem 0;line-height:1.45;font-size:.95rem}.sp-consent span{min-width:0}
.sp-link-card{padding:1.1rem;border:1px solid var(--sp-line);border-radius:1rem;margin:1rem 0;background:#2b3338}.sp-link-card h3{margin:.1rem 0}.sp-highlight{border-color:#f1ad70}.sp-link-card>input{font-size:.88rem!important}.sp-nfc-status{font-size:.95rem}.sp-qr{display:block;width:min(18rem,100%);height:auto;margin:1rem auto;background:#fff;border:1rem solid #fff;border-radius:.5rem}
.sp-entry{border-color:#cc9b70!important;background:#37352e!important}.sp-preview{margin:1rem 0;scroll-margin-top:5rem}
/* Shared public/owner preview card. Never inherit dark call-panel geometry. */
.sp-card{--sp-accent:#b35b28;background:#fcf9f3;color:#20373d;border:1px solid #ddd4c7;border-radius:1.6rem;overflow:hidden;text-align:start;box-shadow:0 .8rem 2.5rem #16363c0c}
.sp-card-head{display:flex!important;gap:1.1rem;align-items:center;position:static!important;background:linear-gradient(130deg,#f2e4d1,#f8f5e8);padding:1.7rem!important;border:0!important;min-height:0!important;height:auto!important;max-width:none!important}
.sp-card-head h1{font-size:clamp(1.6rem,6vw,2.5rem);margin:.25rem 0;line-height:1.12;color:#17383c}.sp-card-head p{margin:.35rem 0;line-height:1.4}.sp-card-head>div:last-child{min-width:0}
.sp-avatar{width:5rem;height:5rem;border-radius:1.15rem;object-fit:cover;flex:0 0 5rem;box-shadow:0 .15rem 1rem #17383c1b}.sp-initial{display:grid;place-items:center;background:#1d5354;color:#fff;font-weight:750;font-size:2.5rem}
.sp-card-group{padding:1.15rem 1.5rem;border-top:1px solid #e2dace}.sp-card-group h2{font-size:.8rem;text-transform:uppercase;letter-spacing:.12em;color:#637b7c;margin:.2rem 0 1rem}.sp-value-row{margin:.8rem 0}.sp-field-label{display:block;font-size:.85rem;font-weight:600;color:#52686d;margin-bottom:.25rem}.sp-field-value{display:block;color:#17383c;font-size:1.1rem;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}
.sp-contact-action{display:flex;flex-direction:column;gap:.3rem;background:#e5eee7;border:1px solid #c2d2c6;border-radius:.9rem;text-decoration:none;color:#163c37;padding:.8rem 1rem;min-height:3rem}.sp-contact-action strong{font-size:1.03rem;line-height:1.3}.sp-contact-action small{font-size:.85rem;color:#48655c;overflow-wrap:anywhere}.sp-contact-action:hover{background:#dae9dc}.sp-card-note{font-size:.87rem;padding:0 1.5rem 1rem;color:#687771;line-height:1.5}
.share-public{margin:0;background:#f0f1e9;color:#1c373c;font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;min-height:100vh}.sp-public-head{max-width:44rem;padding:1.25rem 1rem;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:1rem}.sp-brand{font-weight:850;font-size:1.5rem;letter-spacing:-.06em;color:#21484b;text-decoration:none}.sp-brand>span{color:#b35b28}.sp-brand small{font-size:.9rem;letter-spacing:0;font-weight:550}
.sp-public-head select{font:inherit;padding:.45rem;border:1px solid #b5c2b8;background:transparent;border-radius:.65rem;max-width:10rem}.sp-public-main{max-width:44rem;margin:0 auto;padding:0 1rem 2rem}.sp-public-main button{font:inherit;background:#1d5354;color:#fff;border:0;border-radius:.8rem;padding:.75rem 1.25rem;cursor:pointer}.sp-public-footer{text-align:center;color:#6b7c73;font-size:.85rem;padding:1.5rem}.sp-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0)}
[hidden].sp-qr,.share-public [hidden]{display:none!important}
@media(min-width:760px){.sp-profile-editor{grid-template-columns:1fr 1fr;align-items:start}.sp-profile-editor .sp-group{margin:0}.sp-profile-editor .sp-group:last-child{grid-column:1/-1}}
@media(max-width:400px){.sp-card-head{padding:1rem!important;gap:.75rem}.sp-avatar{width:3.5rem;height:3.5rem;flex-basis:3.5rem}.sp-card-group{padding:1rem}.sp-manager .sp-group{padding:0 .7rem}.sp-toolbar>*{flex:1 1 auto}.sp-actions>*{flex:1 1 8rem}}
/* Respect enlarged system text: controls wrap rather than overflow or shrink text. */
.sp-card{min-width:0;overflow-wrap:anywhere}.sp-public-head{flex-wrap:wrap}.sp-public-head>*{min-width:0;max-width:100%}.sp-public-head select{max-width:100%}.sp-brand{overflow-wrap:anywhere}.sp-manager .sp-profile-editor,.sp-manager .sp-create{min-width:0}

/* .65 deliberate public destination selection; no automatic sharing. */
.sp-destinations{border:1px solid var(--sp-line,#59636a);border-radius:16px;padding:clamp(1rem,3vw,1.4rem);margin:1.25rem 0;background:#303c43;color:#f4f6f7}
.sp-destinations>label{display:grid;gap:.5rem;margin:1rem 0;font-weight:650}
.sp-destinations select{box-sizing:border-box;width:100%;max-width:100%;min-width:0;padding:.75rem;border:1px solid #a8b8b1;border-radius:.7rem;font:inherit;background:#fff;color:#173a2c}
.sp-destination-url{overflow-wrap:anywhere;word-break:break-word;font-size:.95em;margin:.7rem 0}
.sp-destination-field{padding:1rem;border-top:1px solid #d8e4de;min-width:0}
.sp-destination-note{display:block;grid-column:1/-1;color:#51665c;overflow-wrap:anywhere}
.sp-destinations button,.sp-destination-field button{white-space:normal;overflow-wrap:anywhere;max-width:100%;height:auto;min-height:44px}

.sp-destinations select:focus-visible{outline:3px solid #efb273;outline-offset:3px}
