/* A product workspace: restyle the original React controls and results. */
.hb-product-a-active .hb-product-a-view { padding: 30px 32px 32px; color: #172846; }
.hb-product-a-view > .advance-breadcrumb-title { min-height: 0; height: auto; padding: 0 0 25px; background: none !important; border: 0; }
.hb-product-a-view > .advance-breadcrumb-title .title { margin: 0 0 9px !important; color: #172846; font-size: 29px; font-weight: 650; line-height: 1.4; letter-spacing: -.5px; }
.hb-product-a-view > .advance-breadcrumb-title .paragraph { max-width: 720px; margin: 0; color: #8594ad; font-size: 12px; line-height: 1.9; }
.hb-product-a-view > .ant-card { min-width: 0; margin: 0 0 22px; border: 1px solid #e6ebf5; border-radius: 16px; background: #fff; box-shadow: none; }
.hb-product-a-view > .ant-card > .ant-card-body { min-width: 0; padding: 24px; }
.hb-product-a-filter > .ant-card-body { display: flex; align-items: center; gap: 40px; }
.hb-product-a-filter > .ant-card-body::before, .hb-product-a-filter > .ant-card-body::after { display: none; }
.hb-product-a-filter-heading { display: flex; flex: 0 0 auto; align-items: center; gap: 13px; }
.hb-product-a-search-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; color: var(--hb-primary); background: #f0f3ff; }
.hb-product-a-search-icon svg { width: 21px; height: 21px; }
.hb-product-a-filter-heading h2, .hb-product-a-list-heading h2 { margin: 0; color: #172846; font-size: 16px; font-weight: 600; line-height: 25px; }
.hb-product-a-filter-heading p, .hb-product-a-list-heading p { margin: 4px 0 0; color: #98a6bc; font-size: 11px; line-height: 18px; }
.hb-product-a-filter form { display: flex; flex: 1; flex-wrap: nowrap; gap: 10px; min-width: 0; }
.hb-product-a-filter .ant-form-item { margin: 0 !important; }
.hb-product-a-filter .ant-form-item:first-child { flex: 1; max-width: 420px; min-width: 0; }
.hb-product-a-active .hb-product-a-view .ant-input, .hb-product-a-drawer .ant-input { min-height: 40px; border-color: #e0e7f3; border-radius: 8px; padding: 8px 12px; background: #fff; color: #42516d; font-size: 12px; box-shadow: none; }
.hb-product-a-active .hb-product-a-view .ant-input::placeholder, .hb-product-a-drawer .ant-input::placeholder { color: #a1aec2; }
.hb-product-a-active .hb-product-a-view .ant-input:hover, .hb-product-a-drawer .ant-input:hover { border-color: var(--hb-primary-border); }
.hb-product-a-active .hb-product-a-view .ant-input:focus, .hb-product-a-drawer .ant-input:focus { border-color: var(--hb-primary-muted); box-shadow: 0 0 0 3px var(--hb-primary-a0d); }
.hb-product-a-active .hb-product-a-view .ant-btn, .hb-product-a-drawer .ant-btn { min-height: 40px; height: auto; padding: 8px 17px; border-color: #e0e7f3; border-radius: 8px; color: #6d7e99; background: #fff; font-size: 12px; line-height: 22px; box-shadow: none; }
.hb-product-a-active .hb-product-a-view .ant-btn:not(:disabled):hover, .hb-product-a-drawer .ant-btn:not(:disabled):hover { color: var(--hb-primary); border-color: var(--hb-primary-border); background: #f8faff; }
.hb-product-a-active .hb-product-a-view .ant-btn-primary:not(.ant-btn-background-ghost), .hb-product-a-drawer .ant-btn-primary { color: #fff; background: var(--hb-primary); border-color: var(--hb-primary); }
.hb-product-a-active .hb-product-a-view .ant-btn-primary:not(.ant-btn-background-ghost):not(:disabled):hover, .hb-product-a-drawer .ant-btn-primary:not(:disabled):hover { background: var(--hb-primary-hover); border-color: var(--hb-primary-hover); color: #fff; }
.hb-product-a-active .hb-product-a-view .ant-btn:disabled, .hb-product-a-drawer .ant-btn:disabled { color: #a6b1c3; background: #f3f5f9; border-color: #e6ebf5; cursor: not-allowed; }
.hb-product-a-active .hb-product-a-view .ant-btn:focus-visible, .hb-product-a-drawer .ant-btn:focus-visible, .hb-product-a-drawer [role="button"]:focus-visible { outline: 3px solid var(--hb-primary-focus); outline-offset: 3px; }
.hb-product-a-results > .ant-card-body { min-height: 470px; }
.hb-product-a-results .hb-product-a-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 16px !important; width: 100%; margin-bottom: 24px; }
.hb-product-a-list-heading { flex: 1; min-width: 200px; }
.hb-product-a-toolbar > .ant-space-item { flex: 0 0 auto; }
.hb-product-a-toolbar .ant-radio-group { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid #edf1f8; border-radius: 9px; background: #f4f6fc; }
.hb-product-a-toolbar .ant-radio-button-wrapper { display: flex; align-items: center; justify-content: center; width: 33px; height: 32px; padding: 0; border: 0 !important; border-radius: 6px !important; color: #98a6bc; background: transparent; line-height: 32px !important; }
.hb-product-a-toolbar .ant-radio-button-wrapper::before { display: none !important; }
.hb-product-a-toolbar .ant-radio-button-wrapper-checked { color: var(--hb-primary) !important; background: #fff !important; box-shadow: 0 1px 4px #1728460a; }
.hb-product-a-toolbar .ant-radio-button-wrapper .anticon { font-size: 16px !important; }
.hb-product-a-toolbar .ant-btn .anticon { font-size: 14px; }
.hb-product-a-toolbar .ant-btn.ml10 { margin-left: 10px; }
.hb-product-a-results .hb-product-a-empty { margin: 0; padding: 42px 16px 55px; }
.hb-product-a-empty > .ant-empty-image, .hb-product-a-empty > .ant-empty-description { display: none; }
.hb-product-a-empty-content { display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 230px; }
.hb-product-a-empty-art { width: 112px; height: 100px; margin-bottom: 19px; }
.hb-product-a-empty-art svg { display: block; width: 100%; height: 100%; }
.hb-product-a-empty h3 { margin: 0 0 10px; color: #526380; font-size: 16px; font-weight: 500; line-height: 25px; }
.hb-product-a-empty p { max-width: 360px; margin: 0; color: #98a6bc; font-size: 12px; line-height: 1.9; }
.hb-product-a-results .ant-card-hoverable { border-color: #e6ebf5; border-radius: 13px !important; box-shadow: none; }
.hb-product-a-results .ant-card-hoverable:hover { border-color: var(--hb-primary-focus); box-shadow: 0 6px 20px #223c7408; }
.hb-product-a-results .ant-card-hoverable > .ant-card-body { padding: 0; }
.hb-product-a-results .ant-card-hoverable .ant-btn-sm { min-height: 27px; padding: 2px 10px; color: var(--hb-primary-muted); border-color: #dce4ff; border-radius: 6px !important; font-size: 11px !important; line-height: 21px; }
.hb-product-a-results .ant-tag { border: 0; border-radius: 5px; padding: 2px 8px; color: var(--hb-primary-muted); background: #f0f3ff; font-size: 10px; }
.hb-product-a-results .ant-switch-checked { background: var(--hb-primary); }
.hb-product-a-results .ant-table-wrapper { min-width: 0; }
.hb-product-a-results .ant-table { color: #526380; font-size: 12px; }
.hb-product-a-results .ant-table-container { overflow: hidden; border: 1px solid #edf1f8 !important; border-radius: 10px; }
.hb-product-a-results .ant-table-thead > tr > th { padding: 14px 16px; color: #8594ad; background: #f7f9ff; border-right: 0 !important; border-bottom-color: #edf1f8; font-size: 11px; font-weight: 500; white-space: nowrap; }
.hb-product-a-results .ant-table-tbody > tr > td { padding: 16px; border-right: 0 !important; border-bottom-color: #edf1f8; }
.hb-product-a-results .ant-table-tbody > tr:hover > td { background: #fafbff; }
.hb-product-a-results .ant-table-tbody .ant-typography { color: var(--hb-primary); font-size: 12px; }
.hb-product-a-results .ant-table-tbody .ant-typography-disabled { color: #b2bdcf; }
.hb-product-a-results .ant-table-placeholder > td { padding: 8px !important; }
.hb-product-a-results .ant-table-placeholder:hover > td { background: #fff !important; }
.hb-product-a-results .ant-pagination { flex-wrap: wrap; gap: 4px; color: #8594ad; font-size: 11px; }
.hb-product-a-results .ant-pagination-item-active { border-color: var(--hb-primary); border-radius: 6px; }
.hb-product-a-results .ant-pagination-item-active a { color: var(--hb-primary); }
.hb-product-a-results .ant-pagination-options .ant-select-selector { border-radius: 6px; border-color: #e0e7f3; font-size: 11px; }
.hb-product-a-drawer .ant-drawer-mask { background: #17284645; }
.hb-product-a-drawer .ant-drawer-content-wrapper { max-width: 100vw; box-shadow: -12px 0 50px #1728460f; }
.hb-product-a-drawer .ant-drawer-content { color: #42516d; background: #fff; font-family: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif; }
.hb-product-a-drawer .ant-drawer-header { min-height: 78px; padding: 22px 28px; border-bottom: 1px solid #edf1f8; }
.hb-product-a-drawer .ant-drawer-title { color: #172846; font-size: 20px; font-weight: 600; }
.hb-product-a-drawer .ant-drawer-extra .anticon-close { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 7px; color: #98a6bc; font-size: 14px; cursor: pointer; }
.hb-product-a-drawer .ant-drawer-extra .anticon-close:hover { background: #f3f6fd; color: var(--hb-primary); }
.hb-product-a-drawer .ant-drawer-body { padding: 25px 28px; }
.hb-product-a-drawer .ant-form-item { margin-bottom: 23px; }
.hb-product-a-drawer .ant-form-item-label { padding-bottom: 8px; }
.hb-product-a-drawer .ant-form-item-label > label { height: auto; color: #526380; font-size: 12px; }
.hb-product-a-drawer .ant-form-item-required::before { font-size: 11px !important; }
.hb-product-a-drawer .ant-form-item-extra { margin-top: 5px; color: #98a6bc; font-size: 11px; line-height: 1.8; }
.hb-product-a-drawer .ant-form-item-explain { font-size: 11px; }
.hb-product-a-drawer .ant-input-status-error { border-color: #ff7875; }
.hb-product-a-drawer .ant-select { width: 100%; min-height: 40px; font-size: 12px; }
.hb-product-a-drawer .ant-select-selector { min-height: 40px; border-color: #e0e7f3 !important; border-radius: 8px; }
.hb-product-a-drawer .ant-select-status-error .ant-select-selector { border-color: #ff7875 !important; }
.hb-product-a-drawer .ant-select-selection-placeholder { color: #a1aec2; }
.hb-product-a-drawer .ant-radio-wrapper { color: #6d7e99; font-size: 12px; }
.hb-product-a-drawer .ant-radio-checked .ant-radio-inner { border-color: var(--hb-primary); background: var(--hb-primary); }
.hb-product-a-drawer a { color: var(--hb-primary); }
.hb-product-a-drawer .node-type-selector { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.hb-product-a-drawer .node-type-card { min-width: 0; width: auto; border-color: #e6ebf5; border-radius: 9px; background: #fff; }
.hb-product-a-drawer .node-type-card.selected { border-color: var(--hb-primary-muted); background: #f5f7ff; }
.hb-product-a-drawer .node-type-card:hover { border-color: var(--hb-primary-border); }
.hb-product-a-drawer .node-type-label { color: #6d7e99; font-size: 11px; white-space: normal; }
.hb-product-a-drawer .node-type-check { background: var(--hb-primary); }
.hb-product-a-drawer .ant-drawer-footer { padding: 16px 28px; border-top: 1px solid #edf1f8; background: #fff; }
.hb-product-a-drawer .ant-drawer-footer > .ant-space { display: flex; justify-content: flex-end; gap: 10px !important; }
@media (max-width: 1300px) {
  .hb-product-a-active .hb-product-a-view { padding: 25px 24px; }
  .hb-product-a-view > .advance-breadcrumb-title .title { font-size: 26px; }
  .hb-product-a-filter > .ant-card-body { gap: 26px; }
  .hb-product-a-view > .ant-card > .ant-card-body { padding: 22px; }
}
@media (max-width: 1100px) {
  .hb-product-a-filter > .ant-card-body { align-items: stretch; flex-direction: column; gap: 20px; }
  .hb-product-a-filter .ant-form-item:first-child { max-width: none; }
  .hb-product-a-toolbar { gap: 12px !important; }
  .hb-product-a-list-heading { flex-basis: 100%; }
  .hb-product-a-toolbar > .ant-space-item:last-child { margin-left: auto; }
}
@media (max-width: 760px) {
  .hb-product-a-active .hb-product-a-view { padding: 22px 16px; }
  .hb-product-a-view > .advance-breadcrumb-title { padding-bottom: 20px; }
  .hb-product-a-view > .advance-breadcrumb-title .title { font-size: 25px; }
  .hb-product-a-view > .advance-breadcrumb-title .paragraph { font-size: 11px; }
  .hb-product-a-view > .ant-card { margin-bottom: 16px; border-radius: 13px; }
  .hb-product-a-view > .ant-card > .ant-card-body { padding: 20px; }
  .hb-product-a-results > .ant-card-body { min-height: 450px; }
  .hb-product-a-filter-heading h2, .hb-product-a-list-heading h2 { font-size: 15px; }
  .hb-product-a-filter form { flex-wrap: wrap; gap: 10px; }
  .hb-product-a-filter .ant-form-item:first-child { flex-basis: 100%; }
  .hb-product-a-filter .ant-form-item:not(:first-child) { flex: 1; }
  .hb-product-a-filter .ant-btn { width: 100%; }
  .hb-product-a-results .hb-product-a-toolbar { gap: 18px 10px !important; margin-bottom: 20px; }
  .hb-product-a-list-heading { min-width: 0; }
  .hb-product-a-toolbar .ant-btn { padding-left: 12px; padding-right: 12px; }
  .hb-product-a-toolbar .ant-radio-button-wrapper { width: 30px; }
  .hb-product-a-toolbar .ant-btn.ml10 { margin-left: 6px; }
  .hb-product-a-results .hb-product-a-empty { padding: 30px 0 35px; }
  .hb-product-a-empty h3 { font-size: 15px; }
  .hb-product-a-empty p { font-size: 11px; }
  .hb-product-a-results .ant-table-cell-fix-left, .hb-product-a-results .ant-table-cell-fix-right { position: static !important; }
  .hb-product-a-results .ant-table-container::before, .hb-product-a-results .ant-table-container::after { display: none; }
  .hb-product-a-drawer .ant-drawer-body { padding: 22px 20px; }
  .hb-product-a-drawer .ant-drawer-header { padding: 20px; min-height: 72px; }
  .hb-product-a-drawer .ant-drawer-footer { padding: 14px 20px; }
  .hb-product-a-drawer .node-type-selector { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hb-product-a-drawer .ant-drawer-footer > .ant-space > .ant-space-item { flex: 1; }
  .hb-product-a-drawer .ant-drawer-footer .ant-btn { width: 100%; }
}
@media (max-width: 420px) {
  .hb-product-a-toolbar .ant-btn.ml10 { width: 36px; min-height: 40px; padding: 8px; }
  .hb-product-a-toolbar .ant-btn.ml10 > span:last-child { display: none; }
  .hb-product-a-empty p { max-width: 220px; }
}
