/* Law filter and chart presentation. Business visibility and input state stay with existing scripts. */
.law-design-page #conditionObj.sidebar-menu > .jufa-treeview > a > .icon-xiala {
  flex-basis: 15px;
}
.law-design-page #conditionObj.sidebar-menu > .jufa-treeview > a > .icon-xiala::before {
  width: 15px;
  height: 8.5px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 8.5'%3E%3Cpath fill='%23666666' d='M.2 0H1.65Q1.75 0 1.82.075L7.355 5.7Q7.5 5.848 7.645 5.7L13.18.075Q13.25 0 13.35 0H14.8Q15 0 15 .2V.25Q15 .32 14.94 .39L7.65 8.41Q7.5 8.59 7.35 8.41L.06 .39Q0 .32 0 .25V.2Q0 0 .2 0Z'/%3E%3C/svg%3E") center / 15px 8.5px no-repeat;
}
.law-design-page #waitObj.srhing {
  background-color: #f5f5f8;
}

/* Keep the law-list loading image consistent across branch base styles. */
.law-design-page #waitObj.srhing img[src*="waitobj_new_8.gif"] {
  width: 130px;
  height: auto;
}

.law-design-page .law_search_form_title {
  box-sizing: border-box;
  min-height: 50px;
  padding: 15px 16px;
  border-bottom-color: #ededed;
  background-color: #fff;
}
.law-design-page .law_search_form_title .search_form_title_capture {
  color: #333;
  font-size: 16px;
  font-weight: 600;
}
.law-design-page .law_search_form_title .search_form_title_total {
  min-width: 0;
  margin-left: 60px;
  color: #666;
  font-size: 14px;
  line-height: 20px;
}
.law-design-page #lawSearchFormTitleTotal,
.law-design-page #lawSearchFormTitleUnit {
  color: #e03333;
  font-size: 16px;
  font-weight: 600;
}
.law-design-page .law_search_form_title .search_form_title_actions {
  flex: 0 0 auto;
}
/* Template SVG and its data-driven visibility remain in lawSearch.css. */
.law-design-page #lawSearchFormWrap {
  border-radius: 0 0 4px 4px;
  background-color: #fff;
}
.law-design-page #lawSearchFormWrap .search-form-layout {
  padding-right: 16px;
  padding-left: 16px;
}
.law-design-page #lawSearchFormWrap .search-form-layout[data-layout="basic"] > .search-form-body {
  gap: 0;
}
.law-design-page #lawSearchFormWrap .search-form-layout[data-layout="basic"] > .search-form-body > .search-form-item,
.law-design-page #lawSearchFormWrap .law-search-form-pair-item > .search-form-item {
  box-sizing: border-box;
  min-height: 40px;
  padding-top: 4px;
  padding-bottom: 4px;
}
.law-design-page #lawSearchFormWrap .search-form-label {
  width: 88px;
  margin-right: 10px;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  line-height: 32px;
}
.law-design-page #lawSearchFormWrap .search-form-item > .search-form-body {
  min-width: 0;
  flex: 1 1 auto;
}
.law-design-page #lawSearchFormWrap .custom-checkbox {
  margin-right: 20px;
}
.law-design-page #lawSearchFormWrap .custom-checkbox:last-child {
  margin-right: 0;
}
.law-design-page #lawSearchFormWrap .custom-checkbox .checkbox-label {
  font-size: 14px;
}
.law-design-page #lawSearchFormWrap .custom-checkbox .checkbox-icon {
  font-size: 14px;
  margin-right: 8px;
}
.law-design-page #lawSearchFormWrap .custom-checkbox:not(.is-disabled):not(:hover) .icon-icon-weixuanzhongxiang2 {
  color: #e5e5e5;
}
.law-design-page #lawSearchFormWrap .custom-checkbox .icon-icon-weixuanzhongxiang1,
.law-design-page #lawSearchFormWrap .custom-checkbox .checkbox-label.checked,
.law-design-page #lawSearchFormWrap .custom-checkbox:not(.is-disabled):hover .checkbox-label,
.law-design-page #lawSearchFormWrap .custom-checkbox:not(.is-disabled):hover .checkbox-icon {
  color: #0a5de7;
}
/* Only the form row is highlighted; existing disabled/permission behavior remains. */
.law-design-page #lawSearchFormWrap .search-form-layout[data-layout="basic"] > .search-form-body > .search-form-item:hover,
.law-design-page #lawSearchFormWrap .law-search-form-pair-item > .search-form-item:hover {
  background-color: #f1f6fe;
}
.law-design-page #lawSearchFormSlideDown {
  width: 170px;
  height: 22px;
  color: #0a5de7;
  font-size: 14px;
  line-height: 22px;
}
.law-design-page #lawSearchFormSlideDown > .iconfont {
  margin-left: 4px;
  font-size: 12px;
}

/* The two view buttons keep their original navigation handlers. */
.law-design-page .law-view-tabs {
  box-sizing: border-box;
  width: calc(100% - 262px);
  display: flex;
  align-items: stretch;
  min-height: 46px;
  margin: 15px 0 0;
  padding: 0;
  background: transparent;
}
.law-design-page .law-view-tabs .law-view-tab {
  box-sizing: border-box;
  position: static;
  display: inline-flex;
  flex: 0 0 154px;
  align-items: center;
  justify-content: center;
  float: none;
  width: 154px;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-right: 1px solid #ededed;
  border-bottom: 1px solid #ededed;
  border-radius: 0;
  background: #fafafa;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
  cursor: pointer;
}
.law-design-page .law-view-tabs .law-view-tab:first-child {
  border-radius: 4px 0 0 0;
}
.law-design-page .law-view-tabs .law-view-tab.active {
  border-bottom-color: #fff;
  background-color: #fff;
  color: #0a5de7;
  font-weight: 600;
}
.law-design-page .law-view-tabs .law-view-tab > i {
  display: inline-block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0 6px 0 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
}
.law-design-page .law-view-tabs .law-view-tab > i::before {
  content: "";
}
.law-design-page .law-view-tab[data-law-view="list"] > i {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201097%201024%22%3E%3Cpath%20d%3D%22M920.1664%20899.584s57.4464%206.3488%2063.744-51.0976l-146.2784-182.4256a258.56%20258.56%200%200%200%2066.0992-146.1248%20260.0448%20260.0448%200%201%200-286.8736%20230.0928%20258.56%20258.56%200%200%200%20157.0304-32.768l146.2784%20182.3744z%20m-475.648-430.08a202.24%20202.24%200%201%201%20402.0736%2044.2368%20202.24%20202.24%200%200%201-402.1248-44.1856z%22%20fill%3D%22%23538DEE%22%20%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M55.1936%20155.136c0%2017.664%2014.336%2032%2032%2032h495.36v-64H87.1936a32%2032%200%200%200-32%2032zM55.1936%20384.6144c0%2017.664%2014.336%2032%2032%2032h224.4096v-64H87.1936a32%2032%200%200%200-32%2032zM55.1936%20614.0416c0%2017.664%2014.336%2032%2032%2032h224.4096v-64H87.1936a32%2032%200%200%200-32%2032zM55.1936%20843.52c0%2017.664%2014.336%2032%2032%2032h495.36v-64H87.1936a32%2032%200%200%200-32%2032z%22%20fill%3D%22%23666666%22%20%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
}
.law-design-page .law-view-tab[data-law-view="chart"] > i {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201024%201024%22%3E%3Cpath%20d%3D%22M512%20962.56c-245.76%200-450.56-199.68-450.56-450.56s204.8-450.56%20450.56-450.56%20450.56%20199.68%20450.56%20450.56-199.68%20450.56-450.56%20450.56z%20m0-834.56c-209.92%200-384%20168.96-384%20384s168.96%20378.88%20384%20378.88%20378.88-168.96%20378.88-378.88-168.96-384-378.88-384z%22%20fill%3D%22%23666666%22%20%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M286.72%20522.24c15.36%200%2030.72%2015.36%2030.72%2030.72v107.52c0%2015.36-15.36%2030.72-30.72%2030.72s-30.72-15.36-30.72-30.72v-107.52c0-15.36%2015.36-30.72%2030.72-30.72zM435.2%20450.56c15.36%200%2030.72%2015.36%2030.72%2030.72v179.2c0%2015.36-15.36%2030.72-30.72%2030.72s-30.72-15.36-30.72-30.72V481.28c0-15.36%2015.36-30.72%2030.72-30.72zM588.8%20322.56c15.36%200%2030.72%2015.36%2030.72%2030.72v307.2c0%2015.36-15.36%2030.72-30.72%2030.72s-30.72-15.36-30.72-30.72v-307.2c0-15.36%2015.36-30.72%2030.72-30.72zM737.28%20450.56c15.36%200%2030.72%2015.36%2030.72%2030.72v179.2c0%2015.36-15.36%2030.72-30.72%2030.72s-30.72-15.36-30.72-30.72V481.28c0-15.36%2015.36-30.72%2030.72-30.72z%22%20fill%3D%22%23538DEE%22%20%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
}

/* Sort and grouping button sizes follow the design without fixing data or selection. */
.law-design-page #jufa-search-list-out {
  margin-top: 0;
  padding: 0;
  border-radius: 0;
}
.law-design-page #jufa-search-list-out > .jufa-sort-wrap {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  margin-top: 0;
  padding: 20px 16px 10px 30px;
  background-color: #fff;
}
.law-design-page #jufa-search-list-out .jufa-sort {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
}
.law-design-page #jufa-search-list-out .jufa-sort > label {
  margin: 0 8px 0 0;
  color: #666;
  font-size: 12px;
  font-weight: 400;
  line-height: 24px;
}
.law-design-page #jufa-search-list-out .law-xgx {
  display: inline-flex;
  align-items: stretch;
  flex-wrap: wrap;
  font-size: 0;
}
.law-design-page #jufa-search-list-out .law-xgx > span[data-t="sort_num"] {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  margin: 0;
  padding: 0 7px;
  border: 1px solid #e3e3e3;
  border-left: 0;
  border-radius: 0;
  background-color: #fff;
  color: #333;
  font-size: 12px;
  line-height: 22px;
  white-space: nowrap;
}
.law-design-page #jufa-search-list-out .law-xgx > span[data-t="sort_num"]:first-of-type {
  border-left: 1px solid #e3e3e3;
}
.law-design-page #jufa-search-list-out .law-xgx > span[data-t="sort_num"].sort_select {
  border-color: #0a5de7;
  background-color: #0a5de7;
  color: #fff;
}
.law-design-page #jufa-search-list-out .law-xgx > span > .iconfont {
  margin-left: 3px;
  color: #666;
  font-size: 12px;
  line-height: 1;
}
.law-design-page #jufa-search-list-out .law-xgx > span.sort_select > .iconfont {
  color: #fff;
}
.law-design-page #jufa-search-list-out .law-xgx > span[data-v="relation_sort"] > .iconfont::before,
.law-design-page #jufa-search-list-out .law-xgx > span[data-v="look_num_sort"] > .iconfont::before {
  content: "\e922";
}
.law-design-page #jufa-search-list-out .group_list {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  float: none;
  margin-left: auto;
}
.law-design-page #jufa-search-list-out .group_list > span {
  margin-right: 8px;
  color: #666;
  font-size: 12px;
  line-height: 24px;
}
.law-design-page #jufa-search-list-out .group_list > button {
  box-sizing: border-box;
  min-height: 24px;
  margin: 0;
  padding: 0 8px;
  border: 1px solid #e3e3e3;
  border-left: 0;
  border-radius: 0;
  background-color: #fff;
  color: #333;
  font-size: 12px;
  line-height: 22px;
  white-space: nowrap;
}
.law-design-page #jufa-search-list-out .group_list > button:first-of-type {
  border-left: 1px solid #e3e3e3;
}
.law-design-page #jufa-search-list-out .group_list > button.active {
  border-color: #0a5de7;
  background-color: #0a5de7;
  color: #fff;
}

/* Match the case chart shell; retain the original visibility and data hooks. */
.law-design-page .tabbar_item_content.vis_search {
  margin-top: 0;
  border-radius: 0;
}
.law-design-page .vis_search .visChart_wrapper {
  height: 317px;
  border-right: 0;
  border-left: 1px solid #efefef;
}
.law-design-page .vis_search .visChart_wrapper .visChart {
  position: absolute !important;
  height: 256px;
}
.law-design-page .vis_search .visChart_topPart {
  position: relative;
  z-index: 1;
}
.law-design-page .vis_search .visChart_detail {
  font-weight: 700;
}
.law-design-page .vis_search .visChart_detail i {
  vertical-align: baseline;
}
.law-design-page .vis_search .map_datalist {
  width: 140px;
  border-radius: 0;
}

/* Case chart assets, with no change to request/empty-state decisions. */
.law-design-page .vis_search .visChart.loading:not(.noData),
.law-design-page .vis_search .visChart_area_wrapper.loading:not(.noData) {
  background-image: url(/static/Public/images/waitobj_new_8.gif);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 115px auto;
}
.law-design-page .vis_search .visChart_area_wrapper.loading {
  min-height: 256px;
}
.law-design-page .vis_search .visChart.noData {
  position: relative;
  background-image: url(/static/Public/images/nodataImg.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 120px auto;
}
.law-design-page .vis_search .visChart_area_wrapper.noData:empty {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  background: url(/static/Public/images/nodataImg.png) center center / 120px auto no-repeat;
}
.law-design-page .vis_search .visChart.noData:not(.loading)::after,
.law-design-page .vis_search .visChart_area_wrapper.noData:empty:not(.loading)::after {
  content: "暂无数据";
  position: absolute;
  top: calc(50% + 60px);
  left: 0;
  width: 100%;
  height: auto;
  clear: none;
  color: #999;
  font-size: 13px;
  line-height: 18px;
  text-align: center;
}
