/* Inline manager editor: the same question renderer as applications, inside Contacts. */
.inline-profile-editor{display:block;margin:0 0 28px;padding:24px;background:#fff;border:1px solid var(--rule);border-top:3px solid var(--red)}
.profile-note-summary p{white-space:pre-wrap;overflow-wrap:anywhere}
.inline-profile-editor h2{margin:0 0 10px}
.inline-profile-editor .editor-intro{max-width:72ch;color:var(--ink-2);margin:0 0 24px}
.inline-profile-editor details{border-top:1px solid var(--rule);padding:16px 0}
.inline-profile-editor summary{font:600 var(--text-subheading)/1.4 var(--font-sans);color:var(--navy);cursor:pointer}
.inline-profile-editor .editor-section-body{padding-top:16px;min-width:0}
.inline-profile-editor .field{margin:18px 0}
.inline-profile-editor label,.inline-profile-editor legend{font:600 var(--text-body)/1.5 var(--font-sans);letter-spacing:0;text-transform:none;color:var(--ink)}
.inline-profile-editor .field input,.inline-profile-editor textarea{display:block;width:100%;margin-top:8px;padding:10px 12px;border:1px solid #b6b9bd;border-radius:4px;background:#fff;font:400 var(--text-body)/1.5 var(--font-sans)}
.inline-profile-editor textarea{min-height:112px;resize:vertical}
.inline-profile-editor .field small,.inline-profile-editor .question-help{display:block;font:400 var(--text-control)/1.5 var(--font-sans);color:var(--ink-2);margin:6px 0 12px;max-width:78ch}
.inline-profile-editor .question-section{font:600 var(--text-subheading)/1.4 var(--font-sans);color:var(--navy);margin:26px 0 16px}
.inline-profile-editor .application-choices{border:0;margin:22px 0;padding:0;min-width:0}
.inline-profile-editor .application-choices legend{font-weight:600;margin-bottom:8px}
.inline-profile-editor .question-choice-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 24px}
.inline-profile-editor .application-choices label,.inline-profile-editor .editor-check{display:flex;align-items:center;gap:10px;min-height:40px;padding:6px 0;border:0;background:transparent;box-shadow:none;cursor:pointer;font-weight:400}
/* Override the legacy checked-choice inset bar; the red check marks selection. */
.inline-profile-editor .application-choices label:has(input:checked){border:0;background:transparent;box-shadow:none}
.inline-profile-editor input:is([type=checkbox],[type=radio]){width:18px;height:18px;min-height:0;flex:none;margin:0;accent-color:var(--red)}
.inline-profile-editor .inline-options .question-choice-options{display:flex;gap:24px}
.inline-profile-editor .rating-grid{min-width:0;border:0;margin:24px 0;padding:0}
.inline-profile-editor .rating-grid>legend{font:600 var(--text-body)/1.5 var(--font-sans);color:var(--ink)}
.inline-profile-editor .rating-grid-scroll{overflow-x:auto;border:1px solid var(--rule);border-radius:4px}
.inline-profile-editor .rating-grid table{width:100%;table-layout:fixed;border-collapse:collapse}
.inline-profile-editor .rating-grid th{font:600 var(--text-control)/1.4 var(--font-sans);text-transform:none;letter-spacing:0;overflow-wrap:anywhere}
.inline-profile-editor .rating-grid thead th{background:#edf0f5;color:var(--navy);text-align:center;padding:12px 8px}
.inline-profile-editor .rating-grid thead th:first-child{width:30%;text-align:left}
.inline-profile-editor .rating-grid tbody th{padding:10px 12px;text-align:left;border-top:1px solid var(--rule)}
.inline-profile-editor .rating-grid td{padding:0;border-top:1px solid var(--rule)}
.inline-profile-editor .rating-grid td label{display:flex;justify-content:center;align-items:center;min-height:44px;cursor:pointer}
.inline-profile-editor .rating-grid td label span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.inline-profile-editor .rating-grid td:has(input:checked){background:#f7e9e7}
.inline-profile-editor .rating-grid tbody tr:nth-child(even){background:#f7f8fa}
.inline-profile-editor .editor-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;margin-bottom:10px}
.inline-profile-editor .editor-heading h2{margin:0}
.inline-profile-editor .editor-save-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.inline-profile-editor .editor-save-actions button{width:auto;flex:none}
.profile-visibility-legend{display:flex;flex-wrap:wrap;gap:8px 24px;margin:16px 0 20px;font:400 var(--text-control)/1.5 var(--font-sans);color:var(--ink-2)}
.profile-shared-swatch{display:inline-block;width:20px;height:16px;vertical-align:-3px;margin-right:8px;background:#f0f6fc;border:1px solid #a6bfd9}
.inline-profile-editor .profile-shared-field{background:#f0f6fc;border:1px solid #a6bfd9;padding:14px 16px;margin:18px 0}
.inline-profile-editor .profile-shared-field>.field,.inline-profile-editor .profile-shared-field>.application-choices{margin:0}
.inline-profile-editor .rating-grid tbody tr.profile-shared-row{background:#f0f6fc;outline:1px solid #a6bfd9;outline-offset:-1px}
.inline-profile-editor .editor-record-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.inline-profile-editor .editor-error{color:var(--red);white-space:pre-wrap;margin:12px 0;font-weight:600}
.inline-profile-editor :is(input,textarea,button,summary):focus-visible{outline:2px solid var(--red);outline-offset:3px}
@media(max-width:600px){
  .inline-profile-editor{padding:18px 14px}
  .inline-profile-editor .question-choice-options{grid-template-columns:1fr}
  .inline-profile-editor .rating-grid table,.inline-profile-editor .rating-grid tbody,.inline-profile-editor .rating-grid tr{display:block}
  .inline-profile-editor .rating-grid thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .inline-profile-editor .rating-grid tbody th{display:block}
  .inline-profile-editor .rating-grid td{display:inline-block;width:50%;border:0}
  .inline-profile-editor .rating-grid td label{justify-content:flex-start;gap:8px;padding:6px 10px}
  .inline-profile-editor .rating-grid td label span{position:static;width:auto;height:auto;clip-path:none}
}

.guardian-access-panel>p{max-width:80ch;overflow-wrap:anywhere}
.guardian-access-panel button,.guardian-access-panel .editor-check{min-height:44px}
.guardian-contact-list{list-style:none;padding:0;margin:16px 0}
.guardian-contact-list li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 24px;padding:16px 0;border-bottom:1px solid var(--rule);overflow-wrap:anywhere}
.guardian-contact-list li>div{min-width:0}
.guardian-contact-list p{margin:4px 0 8px}
.guardian-contact-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.guardian-access-panel [role=status]{margin:12px 0}
