/* Shared person form: two balanced columns, compact tabs and a separate photo box. */
#manager-app .manager-specialist-editor .desktop-panel-head { min-height:0; padding:24px 24px 12px; border:0; }
#manager-app .manager-specialist-editor .desktop-panel-head :is(h1,h2) { margin:0; font-size:18px; font-weight:600; line-height:1.4; }
#manager-app .manager-specialist-editor .manager-specialist-tabs { margin:0 24px; padding:0; gap:6px; border:0; }
#manager-app .manager-specialist-editor .manager-specialist-tabs > button { padding:7px 12px; min-height:32px; border:0; border-radius:999px; background:#f3f4f6; color:#475467; font-size:12px; font-weight:500; line-height:1.4; }
#manager-app .manager-specialist-editor .manager-specialist-tabs > button[aria-selected="true"] { background:#eef2ff; color:#2f6bff; }
#manager-app .manager-specialist-editor [data-specialist-panel="data"] { padding:24px; }
#manager-app .manager-specialist-editor .desktop-form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 20px; }
#manager-app .manager-specialist-editor .desktop-form-grid > label { grid-column:auto; gap:6px; font-size:12px; line-height:1.4; }
#manager-app .manager-specialist-editor .desktop-form-grid > label:has(.manager-specialist-phone-control) { grid-column:auto; }
#manager-app .manager-specialist-editor .desktop-form-grid > .is-wide,
#manager-app .manager-specialist-editor .desktop-form-grid > .desktop-specialist-avatar-editor { grid-column:1 / -1; }
#manager-app .manager-specialist-editor .desktop-form-grid :is(input:not([type="checkbox"]):not([type="file"]),select,textarea) { box-sizing:border-box; min-height:40px; height:auto; padding:9px 12px; border:1px solid #cbd5e1; border-radius:6px; background:#fff; font:inherit; font-size:14px; line-height:1.4; color:#344054; }
#manager-app .manager-specialist-editor .desktop-form-grid textarea { width:100%; min-height:76px; resize:vertical; }
#manager-app .manager-specialist-editor .manager-specialist-phone-control { box-sizing:border-box; height:40px; min-height:40px; border-radius:6px; }
#manager-app .manager-specialist-editor .manager-specialist-phone-control input { border:0; border-radius:0; }
#manager-app .manager-specialist-editor .manager-specialist-phone-prefix { min-width:5.5rem; }
#manager-app .manager-specialist-editor .desktop-specialist-avatar-editor { margin-top:0; padding:16px; border:1px solid #e5eaf2; border-radius:8px; background:#f7f8fa; gap:10px; }
#manager-app .manager-specialist-editor .desktop-specialist-avatar-editor > label { font-size:12px; font-weight:600; color:#344054; }
#manager-app .manager-specialist-editor .manager-specialist-avatar-row { gap:12px; }
#manager-app .manager-specialist-editor .manager-specialist-avatar-row .desktop-avatar { width:40px; height:40px; flex:0 0 40px; font-size:13px; }
#manager-app .manager-specialist-editor .manager-specialist-avatar-row > input[type="file"] { min-height:40px; border-radius:6px; background:#fff; }
@media(max-width:600px) {
 #manager-app .manager-specialist-editor .desktop-panel-head { padding:20px 16px 12px; }
 #manager-app .manager-specialist-editor .manager-specialist-tabs { margin-inline:16px; }
 #manager-app .manager-specialist-editor [data-specialist-panel="data"] { padding:20px 16px; }
}
@media(max-width:420px) {
 #manager-app .manager-specialist-editor .desktop-form-grid { grid-template-columns:minmax(0,1fr); }
 #manager-app .manager-specialist-editor .desktop-form-grid > label { grid-column:1 / -1; }
}
#manager-app .manager-specialist-editor [data-specialist-profession][hidden] { display:none !important; }

#manager-app .manager-specialist-editor .desktop-form-grid .manager-specialist-phone-control > select.manager-specialist-phone-prefix { min-height:0; height:auto; margin:0; align-self:stretch; width:5.5rem; min-width:5.5rem; flex:0 0 5.5rem; padding:9px 28px 9px 10px; padding-right:28px !important; background-position:right 8px center !important; border:0; border-right:1px solid #e5eaf2; border-radius:0; background:#fff; color:#344054; }
#manager-app .manager-specialist-editor .manager-specialist-phone-control > input { text-align:left; }

/* Keep the save action available on every person tab. */
#manager-app .manager-specialist-editor > .desktop-panel-head { display:flex; align-items:center; justify-content:space-between; gap:16px; }
#manager-app .manager-specialist-editor > .desktop-panel-head > div { min-width:0; }
#manager-app .manager-specialist-editor > .desktop-panel-head :is(h1,h2) { overflow-wrap:anywhere; }
#manager-app .manager-specialist-editor .manager-specialist-save { flex:0 0 auto; margin:0 0 0 auto; min-height:40px; padding:9px 16px; border:1px solid #2f6bff; border-radius:6px; background:#fff; color:#2f6bff; font:inherit; font-size:13px; font-weight:600; white-space:nowrap; }
#manager-app .manager-specialist-editor .manager-specialist-save:hover { background:#eef4ff; }
#manager-app .manager-specialist-editor .desktop-form-grid .manager-specialist-phone-control > input[type="tel"] { min-height:0; height:auto; align-self:stretch; flex:1 1 auto; width:0; min-width:0; margin:0; border:0; border-radius:0; box-shadow:none; }
#manager-app .manager-specialist-editor .desktop-form-grid .manager-specialist-phone-control > :is(input,select):focus-visible { outline:none; }
#manager-app .manager-specialist-editor .manager-specialist-phone-control:focus-within { border-color:#2f6bff; outline:2px solid #eaf0ff; outline-offset:1px; }

/* Give specialist data rows enough breathing room without changing the columns. */
#manager-app .manager-specialist-editor [data-specialist-panel="data"] > .desktop-form-grid {
  row-gap:28px;column-gap:24px;align-items:start;
}
#manager-app .manager-specialist-editor [data-specialist-panel="data"] > .desktop-form-grid > label { gap:8px; }
#manager-app .manager-specialist-editor [data-specialist-panel="data"] .desktop-specialist-avatar-editor { margin-bottom:8px; }
#manager-app .manager-specialist-editor [data-specialist-panel="data"] .manager-specialist-bio-field { margin-top:8px; }
@media(max-width:600px) {
  #manager-app .manager-specialist-editor [data-specialist-panel="data"] > .desktop-form-grid { row-gap:24px; }
}
