/* Sathivo safety centre and user-initiated reporting */
.sathivo-safety-dialog{box-sizing:border-box;width:min(480px,calc(100vw - 24px));max-height:min(88dvh,720px);overflow:auto;border:1px solid #e9c9dc;border-radius:20px;background:#fffafd;color:#332536;padding:0;box-shadow:0 18px 70px rgba(56,18,45,.2)}
.sathivo-safety-dialog::backdrop{background:rgba(32,15,30,.68);backdrop-filter:blur(3px)}
.sathivo-safety-form{display:grid;gap:13px;padding:clamp(17px,4vw,25px)}
.sathivo-safety-form h2{font:800 clamp(1.3rem,4vw,1.7rem)/1.25 var(--sans,system-ui,sans-serif);color:#512848;letter-spacing:-.02em;margin:0}
.sathivo-safety-form p{font-size:.83rem;line-height:1.65;color:#6f5b6e;margin:0}
.sathivo-safety-form label{display:grid;gap:7px;color:#493444;font-weight:750;font-size:.79rem}
.sathivo-safety-form select,.sathivo-safety-form textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid #d7baca;border-radius:11px;background:white;color:#332536;font:400 16px/1.5 var(--sans,system-ui,sans-serif)}
.sathivo-safety-form textarea{min-height:100px;resize:vertical}
.sathivo-safety-form select:focus-visible,.sathivo-safety-form textarea:focus-visible{outline:3px solid #edb9d8;outline-offset:2px}
.sathivo-safety-form .sathivo-safety-fineprint{font-size:.72rem;color:#766676;background:#f8edf3;padding:10px 12px;border-radius:10px}
.sathivo-safety-feedback{color:#ac2c5d!important}
.sathivo-safety-dialog-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.sathivo-safety-dialog-actions .button{font-size:.83rem;min-height:43px}
.sathivo-safety-block-confirm{background:#b13c65}
.sathivo-safety-panel{padding:18px 19px;margin:17px 0;border:1px solid #f0d5e2;border-radius:17px;background:linear-gradient(110deg,#fff8fb,#f7f1ff)}
.sathivo-safety-panel h2,.sathivo-safety-panel h3{font:800 1rem/1.4 var(--sans,system-ui,sans-serif);color:#4d2c4a;margin:0 0 6px}
.sathivo-safety-panel p{margin:0 0 10px;color:#765e71;font-size:.83rem;line-height:1.6}
.sathivo-safety-panel a{color:#7e3568;text-decoration:underline;text-underline-offset:3px;font-weight:750;font-size:.81rem}
.sathivo-first-meeting{margin:14px 0;border:1px solid #f0d8e7;border-radius:14px;background:#fff7fb;padding:13px 17px}
.sathivo-first-meeting summary{font-weight:800;cursor:pointer;color:#6d3058;font-size:.83rem;list-style-position:inside}
.sathivo-first-meeting ul{margin:11px 0 8px 0;padding-left:23px;display:grid;gap:7px;font-size:.79rem;color:#6a5264;line-height:1.55}
.sathivo-first-meeting p{font-size:.75rem;color:#7b6678;margin:7px 0 0}
.sathivo-first-meeting a{color:#7e3568;text-decoration:underline;text-underline-offset:3px}
.sathivo-chat-help{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:12px 14px;background:#fff9fc;border:1px solid #f0d8e7;border-radius:12px}
.sathivo-chat-help strong{font-size:.77rem;color:#53344e}
.sathivo-chat-help a{font-size:.76rem;color:#8f3c73;text-decoration:underline;text-underline-offset:3px}
.sathivo-safety-center{display:grid;gap:16px;margin:20px 0 26px;padding:22px;border:1px solid #eecfe3;border-radius:22px;background:linear-gradient(130deg,#fff8fb,#f6edff);box-shadow:0 10px 30px rgba(110,35,87,.05)}
.sathivo-safety-center h2{font:800 clamp(1.45rem,3vw,1.9rem)/1.25 var(--sans,system-ui,sans-serif);margin:0;color:#592c54}
.sathivo-safety-center>p{font-size:.86rem;color:#766073}
.sathivo-safety-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.sathivo-safety-tile{padding:18px;border:1px solid #eed8e6;background:#fff;border-radius:16px;min-width:0}
.sathivo-safety-tile h3{font:800 1rem/1.35 var(--sans,system-ui,sans-serif);margin:0 0 9px;color:#562f50}
.sathivo-safety-tile ul{display:grid;gap:7px;margin:0;padding-left:20px;font-size:.82rem;line-height:1.6;color:#685a67}
.sathivo-safety-tile p{color:#6f5f70;font-size:.82rem;line-height:1.6;margin:0 0 10px}
.sathivo-safety-tile a{font-weight:750;color:#8d376c;text-decoration:underline;text-underline-offset:3px}
.sathivo-safety-badge{display:inline-block;background:#fff;color:#99417b;font-weight:800;letter-spacing:.08em;font-size:.66rem;border-radius:999px;border:1px solid #f0d4e3;padding:6px 11px;width:fit-content}
.sathivo-profile-safety-actions{display:flex;flex-wrap:wrap;gap:9px;margin:13px 0;align-items:center}
.sathivo-profile-safety-actions .button{min-height:41px;font-size:.78rem}
.sathivo-profile-safety-actions .sathivo-help-link{font-size:.78rem;font-weight:750;text-decoration:underline;text-underline-offset:3px;color:#8b3a6a}
@media(max-width:640px){.sathivo-safety-grid{grid-template-columns:1fr}.sathivo-safety-center{padding:16px 13px;border-radius:17px}.sathivo-safety-tile{padding:15px}.sathivo-safety-dialog-actions{display:grid;grid-template-columns:1fr}.sathivo-safety-dialog-actions .button{width:100%}.sathivo-first-meeting{padding:12px 13px}}

/* Do not show controls until the booking participant is authenticated. */
.safety-actions[hidden],.sathivo-first-meeting[hidden]{display:none!important}

/* Companion detail: quiet Share link above, one dedicated Safety action row under trust. */
body.sathivo-2d .detail-copy .sathivo-profile-share-row{
  display:flex;justify-content:flex-start;align-items:center;
  margin:4px 0 13px;gap:8px;
}
body.sathivo-2d .detail-copy .sathivo-profile-share-button{
  appearance:none;display:inline-flex;align-items:center;justify-content:center;
  min-height:40px;padding:9px 13px;
  border:1px solid #e5c9d9;border-radius:10px;
  background:#fff8fc;color:#80405f;
  box-shadow:none;font:750 .8rem/1.3 var(--sans,system-ui,sans-serif);
  cursor:pointer;
}
body.sathivo-2d .detail-copy .sathivo-profile-share-button:hover{
  background:#fcebf5;border-color:#d7a6c2;
}
body.sathivo-2d .detail-copy .sathivo-profile-share-button:focus-visible,
body.sathivo-2d .detail-copy .sathivo-profile-safety-actions :is(a,button):focus-visible{
  outline:3px solid #df91ba;outline-offset:3px;
}
body.sathivo-2d .detail-copy .sathivo-profile-safety-tools{
  box-sizing:border-box;min-width:0;margin:14px 0 22px;padding:15px 16px;
  background:#fffafd;border:1px solid #ead8e4;border-radius:15px;
}
body.sathivo-2d .detail-copy .sathivo-profile-safety-heading{
  margin:0 0 11px;color:#613c56;
  font:800 .87rem/1.4 var(--sans,system-ui,sans-serif);
}
body.sathivo-2d .detail-copy .sathivo-profile-safety-actions{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;
  align-items:stretch;margin:0;
}
body.sathivo-2d .detail-copy .sathivo-profile-safety-actions :is(a,button),
body.sathivo-2d:not(.home-2d) .detail-copy .sathivo-profile-safety-actions .button{
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  min-width:0;width:100%;min-height:43px;padding:9px 8px;
  border:1px solid #dfc9d6;border-radius:10px;
  background:#fff;color:#6a3c56;
  box-shadow:none;
  font:750 .76rem/1.35 var(--sans,system-ui,sans-serif);
  text-align:center;text-decoration:none;white-space:normal;
  cursor:pointer;
}
body.sathivo-2d .detail-copy .sathivo-profile-safety-actions .sathivo-help-link{
  background:#f9eef9;color:#703f83;border-color:#e4d4eb;
}
body.sathivo-2d .detail-copy .sathivo-profile-safety-actions #sathivo-no-id{display:none}
body.sathivo-2d:not(.home-2d) .detail-copy .sathivo-profile-safety-actions .button:hover,
body.sathivo-2d .detail-copy .sathivo-profile-safety-actions a:hover{
  transform:none;box-shadow:none;background:#f9eef5;border-color:#d5aac3;
}
body.sathivo-2d .detail-copy .sathivo-profile-safety-actions :is(a,button):disabled{
  opacity:.55;cursor:default;
}
body.sathivo-2d .detail-copy .sathivo-profile-safety-tools .sathivo-safety-feedback{
  font-size:.75rem;margin:9px 0 0;color:#806079;line-height:1.5;
}
body.sathivo-2d .detail-copy .sathivo-profile-safety-tools .sathivo-safety-feedback:empty{
  display:none;
}
@media(max-width:1040px){
  body.sathivo-2d .detail-copy .sathivo-profile-safety-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.sathivo-2d .detail-copy .sathivo-profile-safety-actions .sathivo-help-link{grid-column:1/-1}
}
@media(max-width:540px){
  body.sathivo-2d .detail-copy .sathivo-profile-safety-tools{margin:13px 0 18px;padding:13px 12px;border-radius:13px}
  body.sathivo-2d .detail-copy .sathivo-profile-safety-actions{gap:8px}
  body.sathivo-2d .detail-copy .sathivo-profile-safety-actions :is(a,button),
  body.sathivo-2d:not(.home-2d) .detail-copy .sathivo-profile-safety-actions .button{min-height:44px;font-size:.75rem}
}
@media(max-width:345px){
  body.sathivo-2d .detail-copy .sathivo-profile-safety-actions{grid-template-columns:1fr}
  body.sathivo-2d .detail-copy .sathivo-profile-safety-actions .sathivo-help-link{grid-column:auto}
}

@media (max-width: 700px) {
  .legal-header .legal-top-links {
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 2px;
  }
}
