/* "Regional partners" section of the profile edit pages. Separate from the "What others can see" tiles above it. */
.partner-sharing { border-top: 4px solid #0e7490; }
.share-master {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; margin-bottom: 14px; cursor: pointer;
  background: var(--background); border: 1px solid var(--border); border-radius: var(--radius);
}
.share-master-name { display: block; font-size: 1rem; font-weight: 700; color: var(--text); }
.share-master-state { display: block; margin-top: 2px; font-size: 0.8125rem; color: var(--text-secondary); }
.share-master .is-on, .share-master:has(input:checked) .is-off { display: none; }
.share-master:has(input:checked) .is-on { display: inline; color: #0e7490; font-weight: 600; }
.share-master:has(input:checked) { background: rgba(14, 116, 144, 0.07); border-color: #0e7490; }
.share-details[hidden] { display: none; }
.share-details-hint { margin: 0 0 10px; color: var(--text-secondary); font-size: 0.875rem; }
.share-tile .is-not-shared { display: none; }
.share-tile:has(input:not(:checked)) .is-shared { display: none; }
.share-tile:has(input:not(:checked)) .is-not-shared { display: inline; color: #991b1b; font-weight: 600; }
.share-tile:has(input:checked) { background: rgba(14, 116, 144, 0.06); border-color: #0e7490; }
.share-tile:has(input:checked) .is-shared { color: #0e7490; font-weight: 600; }
.profile-edit-form .share-tile .toggle-switch input:checked + .toggle-slider,
.profile-edit-form .share-master .toggle-switch input:checked + .toggle-slider { background: #0e7490; }

/* Requests from partners, shown above the profile form */
.partner-requests { margin: 0 0 20px; padding: 18px 20px; border: 1px solid #0e7490; border-left-width: 5px; border-radius: var(--radius); background: rgba(14, 116, 144, 0.06); }
.partner-requests h3 { margin: 0 0 6px; }
.pr-intro { margin: 0 0 14px; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.55; }
.pr-card { padding: 14px 16px; margin-top: 12px; background: var(--background); border: 1px solid var(--border); border-radius: var(--radius); }
.pr-date { color: var(--text-secondary); font-size: 0.8125rem; margin-left: 8px; }
.pr-message { margin: 8px 0; padding: 8px 12px; border-left: 3px solid #0e7490; background: rgba(14, 116, 144, 0.06); white-space: pre-wrap; overflow-wrap: anywhere; }
.pr-none { margin: 8px 0; color: var(--text-secondary); font-size: 0.875rem; }
.pr-label { display: block; margin: 8px 0 4px; font-size: 0.8125rem; font-weight: 600; }
.pr-card textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; font: inherit; background: var(--background); color: var(--text); }
.pr-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }

.pr-asks { margin: 8px 0 0; font-size: 0.9rem; }

.pr-live { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 16px; padding: 12px 16px; border-radius: var(--radius); background: rgba(14, 116, 144, 0.1); border: 1px solid #0e7490; color: var(--text); font-weight: 600; }
.pr-live button { margin-left: auto; }
