/* 公司及人員資料表單（app AgentInfoActivity / activity_agent_info.xml） */

#agentSection { margin: 12px 0 4px; }

.agent-tabs { display: flex; border-bottom: 1px solid var(--divider); margin: 4px 0 14px; }
.agent-tab {
  flex: 1; font: inherit; font-size: 15px; padding: 10px 0; background: none;
  border: 0; border-bottom: 2px solid transparent; color: var(--text-secondary); cursor: pointer;
}
.agent-tab.on { color: var(--brand-blue, #0056B3); border-bottom-color: var(--brand-blue, #0056B3); font-weight: 600; }

.cnt { float: right; font-weight: 400; font-size: 12px; color: var(--text-tertiary); }

.district-row { display: flex; gap: 8px; margin-bottom: 6px; }
.district-row .field-input {
  /* flex-basis 0 + width 0：<select> 嘅內在寬度（最長 option）唔可以影響分欄，否則三欄闊度唔一致 */
  flex: 1 1 0; width: 0; min-width: 0; margin-bottom: 0; box-sizing: border-box;
}

.agent-mgr { display: flex; gap: 8px; align-items: center; margin: 6px 0 14px; }
.agent-mgr .field-input { flex: 1; width: auto; min-width: 0; margin-bottom: 0; }
.agent-mgr .secondary-btn { white-space: nowrap; padding: 9px 10px; }

.avatar-preview.sq { border-radius: 8px; }

#agentErr { white-space: pre-line; }
