/* Scoped profile controls; public directory and facility workflows are unchanged. */
.ase-profile-settings [hidden] { display:none!important; }
.ase-profile-settings .ase-profile-choice { position:relative; min-width:0; margin:0; padding:10px; border:1px solid #dfe6ee; border-radius:12px; background:#f8faff; }
.ase-profile-settings .ase-profile-choice legend { padding:0 4px; font-size:14px; font-weight:650; line-height:1.3; color:#152331; }
.ase-profile-settings .ase-selected-pills { display:flex; flex-wrap:wrap; gap:5px; margin:0 0 8px; }
.ase-profile-settings .ase-selected-pills:empty { display:none; }
.ase-profile-settings .ase-selected-pill { display:inline-flex; align-items:center; gap:3px; max-width:100%; padding:0 2px 0 9px; background:#eaf2ff; color:#184e88; border:1px solid #c2d9f8; border-radius:9px; font-size:13px; font-weight:600; line-height:1.2; }
.ase-profile-settings .ase-selected-pill>span { min-width:0; overflow-wrap:anywhere; padding-block:5px; }
.ase-profile-settings .ase-selected-pill button { flex:none; width:30px; min-height:30px; padding:0; border:0; border-radius:7px; background:transparent; color:#184e88; font-size:20px; line-height:1; text-align:center; cursor:pointer; }
.ase-profile-settings .ase-selected-pill button:hover { background:#d5e5fc; }
.ase-profile-settings .ase-pill-search { position:relative; }
.ase-experience .ase-professional-workspace .ase-pill-search>label { display:block; font-size:12px; color:#536375; font-weight:500; margin:0 0 4px; }
.ase-profile-settings .ase-pill-search-row { display:flex; gap:5px; align-items:stretch; }
.ase-profile-settings .ase-pill-search-row input { flex:1; width:0; }
.ase-profile-settings .ase-pill-search-row button { flex:none; min-height:42px; border:1px solid #cfdae7; padding:7px 10px; border-radius:9px; background:#fff; color:#153d68; font:600 13px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; cursor:pointer; }
.ase-profile-settings .ase-pill-search-row button:disabled { opacity:.5; cursor:default; }
.ase-profile-settings .ase-pill-options { position:absolute; z-index:30; top:100%; left:0; right:0; margin-top:5px; padding:5px; max-height:210px; overflow:auto; overscroll-behavior:contain; background:#fff; border:1px solid #cad8e9; border-radius:10px; box-shadow:0 10px 24px #18365324; animation:ase-panel-in 150ms ease both; }
.ase-profile-settings .ase-pill-option { min-height:38px; display:flex; align-items:center; padding:8px 10px; margin:2px 0; border-radius:7px; font-size:14px; line-height:1.3; overflow-wrap:anywhere; cursor:pointer; color:#152331; }
.ase-profile-settings .ase-pill-option[aria-selected=true] { background:#eef5ff; color:#184e88; font-weight:650; }
.ase-profile-settings .ase-pill-option:hover,.ase-profile-settings .ase-pill-option.is-active { background:#dcecff; outline:1px solid #aacbf5; outline-offset:-1px; }
.ase-experience .ase-professional-workspace .ase-profile-choice :is(.ase-choice-status,.ase-field-note) { font-size:12px; line-height:1.3; margin:6px 0 0; color:#536375; }
.ase-profile-settings .ase-choice-status.is-loading::before { content:''; display:inline-block; width:11px; height:11px; border:2px solid #bcd2ee; border-top-color:#1264cf; border-radius:50%; margin-right:5px; vertical-align:-1px; animation:ase-spin .8s linear infinite; }
.ase-profile-settings .ase-credential-documents { display:grid; gap:9px; }
.ase-profile-settings .ase-credential-actions { display:flex; flex-wrap:wrap; gap:6px; }
.ase-profile-settings .ase-credential-item { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; padding:10px; border:1px solid #dfe6ee; border-radius:10px; margin-top:7px; background:#f8faff; min-width:0; }
.ase-profile-settings .ase-credential-item>div { min-width:0; }
.ase-profile-settings .ase-credential-item strong { font-size:14px; line-height:1.3; overflow-wrap:anywhere; }
.ase-profile-settings .ase-credential-item p { overflow-wrap:anywhere; }
.ase-profile-settings .ase-credential-documents input[type=file] { font-weight:400; }
.ase-profile-settings .ase-credential-documents input[type=file]::file-selector-button { border:0; padding:6px; margin-right:6px; border-radius:6px; background:#edf2f8; color:#153d68; font:inherit; cursor:pointer; }
.ase-profile-settings .ase-credential-documents[aria-busy=true] [data-credential-result]::before { content:''; display:inline-block; width:12px; height:12px; border:2px solid #bcd2ee; border-top-color:#1264cf; border-radius:50%; margin-right:6px; animation:ase-spin .8s linear infinite; }
@media(max-width:620px) {
  .ase-profile-settings .ase-profile-choice { padding:8px; }
  .ase-profile-settings .ase-profile-choice legend { font-size:13px; }
  .ase-profile-settings .ase-selected-pill { font-size:12px; padding-left:7px; }
  .ase-profile-settings .ase-pill-option { font-size:13px; min-height:42px; }
  .ase-profile-settings .ase-pill-options { max-height:190px; }
  .ase-experience .ase-professional-workspace .ase-credential-documents input[type=file] { font-size:14px; padding:5px; }
}
@media(prefers-reduced-motion:reduce) {
  .ase-profile-settings .ase-pill-options,.ase-profile-settings .ase-choice-status::before,.ase-profile-settings .ase-credential-documents [data-credential-result]::before { animation:none!important; }
}
