/* P21-UI-002 经纪人入驻（正式 SPA）：沿会员页 mpr-/mo- 视觉（浅底、细边线、单一蓝色、等宽数字），作用域 .aob-。 */
.aob-root { display: grid; gap: 14px; min-width: 0; max-width: 1180px; color: var(--ink, #18202a); }
.aob-header h3 { margin: 0 0 4px; font-size: 22px; font-weight: 650; }
.aob-header p { margin: 0; color: var(--muted, #6c7683); font-size: 14px; }
.aob-sub { margin: 4px 0 0; color: var(--muted, #6c7683); font-size: 12px; line-height: 1.6; }
.aob-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; overflow-wrap: anywhere; }
.aob-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.aob-panel { padding: 18px 20px; border: 1px solid var(--line, #dce3ea); border-radius: 12px; background: var(--panel, #fff); min-width: 0; }
.aob-panel h4, .aob-h { margin: 0 0 10px; font-size: 15px; }
.aob-body { display: grid; gap: 12px; min-width: 0; }
.aob-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 10px 14px; border: 1px solid; border-radius: 10px; font-size: 13px; }
.aob-notice.info { border-color: #cbd9f2; background: #eef3fc; color: #23457f; }
.aob-notice.ok { border-color: #bfdccb; background: #e9f5ee; color: #1f5a3f; }
.aob-notice.bad { border-color: #efc2c0; background: #fbeceb; color: #7c2626; }
.aob-notice.warn { border-color: #efd3ad; background: #fbf1e3; color: #6f420f; }
.aob-error { margin: 0; padding: 8px 12px; border: 1px solid #efc2c0; border-radius: 8px; background: #fbeceb; color: #7c2626; font-size: 13px; }
.aob-errtext { margin: 4px 0 0; color: #7c2626; font-size: 12px; }
.aob-empty { margin: 0; padding: 18px; border: 1px dashed var(--line, #dce3ea); border-radius: 10px; color: var(--muted, #6c7683); font-size: 13px; text-align: center; }
.aob-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line, #dce3ea); border-radius: 8px; background: #fff; color: var(--ink, #18202a); font: inherit; font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer; text-decoration: none; }
.aob-btn:hover { border-color: #c6d0da; background: var(--panel-muted, #f7f9fb); }
.aob-btn.primary { border-color: var(--blue, #2f64c8); background: var(--blue, #2f64c8); color: #fff; font-weight: 600; }
.aob-btn.primary:hover { background: #244f9f; }
.aob-btn.block { width: 100%; min-height: 40px; }
.aob-btn:disabled { cursor: not-allowed; border-color: var(--line, #dce3ea); background: #e9edf2; color: #8f99a5; }
.aob-link, .aob-back { padding: 0; border: 0; background: none; color: var(--blue, #2f64c8); font: inherit; font-size: 13px; cursor: pointer; text-align: left; }
.aob-link:disabled { color: #8f99a5; cursor: not-allowed; }
.aob-btn:focus-visible, .aob-link:focus-visible, .aob-back:focus-visible, .aob-filter:focus-visible, .aob-tabs button:focus-visible { outline: none; box-shadow: var(--focus, 0 0 0 3px rgba(47, 100, 200, 0.2)); }
.aob-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.aob-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line, #dce3ea); }
.aob-tabs button { margin-bottom: -1px; padding: 8px 14px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted-strong, #465160); font: inherit; font-size: 14px; cursor: pointer; }
.aob-tabs button[aria-selected="true"] { border-bottom-color: var(--blue, #2f64c8); color: var(--blue, #2f64c8); font-weight: 600; }
.aob-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0; }
.aob-filters { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 3px; border: 1px solid var(--line, #dce3ea); border-radius: 10px; background: #f6f8fa; }
.aob-filter { padding: 6px 12px; border: 0; border-radius: 8px; background: none; color: var(--muted-strong, #465160); font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.aob-filter[aria-pressed="true"] { background: #fff; color: var(--ink, #18202a); font-weight: 600; box-shadow: 0 0 0 1px var(--line, #dce3ea); }
.aob-inline { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-strong, #465160); font-size: 13px; }
.aob-inline select, .aob-inline input { min-height: 34px; padding: 4px 10px; border: 1px solid var(--line, #dce3ea); border-radius: 8px; background: #fff; font: inherit; font-size: 13px; color: var(--ink, #18202a); }
.aob-inline input { min-width: 220px; }
.aob-table-wrap { overflow-x: auto; border: 1px solid var(--line, #dce3ea); border-radius: 12px; background: #fff; }
.aob-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.aob-table th, .aob-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-soft, #e8edf2); text-align: left; vertical-align: middle; }
.aob-table th { background: #f6f8fa; color: var(--muted, #6c7683); font-weight: 600; white-space: nowrap; }
.aob-table tbody tr:last-child td { border-bottom: 0; }
.aob-table tr.is-sel td { background: #f5f8fe; }
.aob-row-act { white-space: nowrap; }
.aob-row-act .aob-link + .aob-link { margin-left: 14px; }
.aob-qr-row td { background: #fafbfc; }
.aob-pager { display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: var(--muted, #6c7683); font-size: 13px; }
.aob-pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border: 1px solid; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.aob-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.aob-pill.warn { border-color: #efd3ad; background: #fbf1e3; color: #6f420f; }
.aob-pill.wait { border-color: #cbd9f2; background: #eef3fc; color: #23457f; }
.aob-pill.ok { border-color: #bfdccb; background: #e9f5ee; color: #1f5a3f; }
.aob-pill.bad { border-color: #efc2c0; background: #fbeceb; color: #7c2626; }
.aob-pill.muted { border-color: var(--line, #dce3ea); background: #f1f4f7; color: #465160; }
.aob-dhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.aob-dhead h4 { margin: 0; font-size: 20px; }
.aob-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; align-items: start; }
.aob-col { display: grid; gap: 14px; min-width: 0; }
.aob-act { position: sticky; top: 16px; display: grid; gap: 12px; min-width: 0; }
.aob-dl { display: grid; gap: 8px; margin: 0; }
.aob-dl div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; font-size: 13px; }
.aob-dl dt { color: var(--muted, #6c7683); }
.aob-dl dd { margin: 0; overflow-wrap: anywhere; }
.aob-flag { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 4px; background: #fbf1e3; color: #6f420f; font-size: 12px; }
.aob-next { margin-bottom: 12px; padding: 10px 12px; border: 1px solid #cbd9f2; border-radius: 10px; background: #eef3fc; color: #23457f; font-size: 13px; }
.aob-next b { display: block; color: var(--ink, #18202a); }
.aob-radios { display: grid; gap: 6px; }
.aob-radio { display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px; border: 1px solid var(--line, #dce3ea); border-radius: 8px; font-size: 13px; cursor: pointer; }
.aob-radio.is-on { border-color: var(--blue, #2f64c8); background: #f5f8fe; }
.aob-radio input { margin-top: 3px; }
.aob-radio b { display: block; font-weight: 600; }
.aob-radio small { display: block; color: var(--muted, #6c7683); font-size: 12px; }
.aob-returns { display: grid; gap: 6px; margin: 12px 0 0; padding: 10px 12px; border: 1px solid #efd3ad; border-radius: 10px; background: #fffdf8; }
.aob-returns legend { padding: 0 4px; font-size: 13px; font-weight: 600; color: #6f420f; }
.aob-ret { display: grid; gap: 4px; font-size: 13px; }
.aob-ret input[type="text"] { width: 100%; box-sizing: border-box; min-height: 32px; padding: 4px 8px; border: 1px solid var(--line, #dce3ea); border-radius: 6px; font: inherit; font-size: 13px; }
.aob-check { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: 13px; }
.aob-check input { margin-top: 3px; }
.aob-check small { display: block; color: var(--muted, #6c7683); font-size: 12px; }
.aob-field { display: grid; gap: 6px; margin: 12px 0 10px; font-size: 13px; color: var(--muted-strong, #465160); }
.aob-field > span { font-weight: 600; }
.aob-field textarea, .aob-field input { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid var(--line, #dce3ea); border-radius: 8px; font: inherit; font-size: 14px; color: var(--ink, #18202a); }
.aob-field textarea { min-height: 84px; resize: vertical; }
.aob-field textarea:focus-visible, .aob-field input:focus-visible, .aob-ret input:focus-visible, .aob-inline select:focus-visible, .aob-inline input:focus-visible { outline: none; border-color: var(--blue, #2f64c8); box-shadow: var(--focus, 0 0 0 3px rgba(47, 100, 200, 0.2)); }
.aob-req { color: #7c2626; font-style: normal; }
.aob-create { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.aob-qr { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.aob-qr img { width: 180px; height: 180px; border: 1px solid var(--line, #dce3ea); border-radius: 10px; background: #fff; }
.aob-qr-info { display: grid; gap: 6px; min-width: 0; flex: 1; }
.aob-qr-info code { display: block; padding: 6px 8px; border: 1px solid var(--line, #dce3ea); border-radius: 6px; background: #fff; }
.aob-grant-edit { display: grid; gap: 4px; max-width: 520px; }
.aob-grant-edit .aob-field { margin: 0; }
@media (max-width: 1180px) {
  .aob-cols { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 900px) {
  .aob-cols { grid-template-columns: 1fr; }
  .aob-act { position: static; }
}
/* P21-UI-003 账号准备 */
.aob-fixed { margin: 0 0 8px; padding-left: 18px; color: var(--muted-strong, #465160); font-size: 12px; line-height: 1.7; }
.aob-prep-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
/* P21-UI-006 证件材料与完整性检查 */
.aob-mats { display: grid; gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.aob-mat { padding: 10px 12px; border: 1px solid var(--line-soft, #e8edf2); border-radius: 10px; background: #fafbfc; }
.aob-mat-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.aob-mat-row b { display: block; font-size: 13px; }
.aob-mat-preview { margin-top: 8px; padding: 6px; border: 1px solid var(--line, #dce3ea); border-radius: 8px; background: #fff; }
.aob-mat-preview img { display: block; max-width: 100%; max-height: 320px; margin: 0 auto; object-fit: contain; }
[data-aob-materials] .aob-notice { margin-bottom: 4px; }
/* P21-UI-007 合作协议：沿浅色细边框层级，版本以“更新日志式”细线行呈现 */
.aob-agr-cur { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px 16px; }
.aob-agr-cur b { font-size: 15px; }
.aob-agr-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.aob-agr-list { margin: 12px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-soft, #e8edf2); }
.aob-agr-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 12px 0; border-bottom: 1px solid var(--line-soft, #e8edf2); }
.aob-agr-row .aob-agr-form { grid-column: 1 / -1; }
.aob-agr-main b { font-size: 14px; margin-right: 6px; }
.aob-agr-main .aob-pill { margin-left: 6px; }
.aob-agr-main .aob-mono { color: var(--muted-strong, #465160); }
.aob-agr-form { margin-top: 10px; padding: 12px 14px; border: 1px solid var(--line, #dce3ea); border-radius: 10px; background: #fafbfc; }
.aob-agr-form h4 { margin: 0 0 4px; font-size: 14px; }
.aob-agr-form .aob-field { margin: 8px 0; }
.aob-agr-fields { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0 12px; }
.aob-row-act .aob-link + .aob-link, .aob-row-act .aob-link + .aob-sub, .aob-row-act .aob-sub + .aob-link { margin-left: 14px; }
.aob-file { position: relative; overflow: hidden; display: inline-block; }
.aob-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.aob-file:focus-within { outline: 2px solid rgba(47, 100, 200, 0.35); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 1180px) { .aob-agr-fields { grid-template-columns: 1fr; } }
