#failurePage .failure-overview-card .table-wrap{overflow-x:auto!important}
#failurePage .failure-overview-card .station-failure-table{width:100%!important;min-width:1120px!important;table-layout:fixed!important}
#failurePage .station-failure-table th,#failurePage .station-failure-table td{text-align:center;white-space:normal!important;overflow-wrap:anywhere;vertical-align:top}
#failurePage .station-failure-table th:nth-child(1),#failurePage .station-failure-table td:nth-child(1){width:15%;text-align:right}
#failurePage .station-failure-table th:nth-child(2),#failurePage .station-failure-table td:nth-child(2){width:8%}
#failurePage .station-failure-table th:nth-child(3),#failurePage .station-failure-table td:nth-child(3){width:13%}
#failurePage .station-failure-table th:nth-child(4),#failurePage .station-failure-table td:nth-child(4){width:14%}
#failurePage .station-failure-table th:nth-child(5),#failurePage .station-failure-table td:nth-child(5),#failurePage .station-failure-table th:nth-child(6),#failurePage .station-failure-table td:nth-child(6){width:25%}
#failurePage .station-failure-table th:nth-child(5),#failurePage .station-failure-table th:nth-child(6){text-align:center}
#failurePage .failure-category-cell{padding:8px!important;text-align:right!important}
#failurePage .failure-category-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:6px;min-width:0;text-align:right}
#failurePage .failure-category-item{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0;padding:5px 7px;border:1px solid var(--line);border-radius:8px;background:var(--surface-raised);line-height:1.45}
#failurePage .failure-category-name{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:11px;font-weight:700}
#failurePage .failure-category-count{flex:none;min-width:22px;padding:1px 5px;border-radius:999px;background:var(--surface);color:var(--blue);font-size:10px;font-variant-numeric:tabular-nums;text-align:center}
#failurePage .station-failure-table td:nth-child(5) .failure-category-count{color:var(--teal)}
#failurePage .failure-category-empty{grid-column:1/-1;color:var(--muted);font-size:11px}
#failurePage #failureMetaGrid{display:none!important}
#failurePage .failure-analysis-card .table-wrap{overflow-x:auto!important}
#failurePage .failure-analysis-card .data-table{min-width:1000px!important}
#failurePage .failure-analysis-card .data-table td{white-space:normal!important;overflow-wrap:anywhere}
@media(max-width:760px){
  #failurePage .failure-overview-card .station-failure-table{display:block!important;width:100%!important;min-width:0!important;table-layout:auto!important}
  #failurePage .failure-overview-card .station-failure-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  #failurePage .failure-overview-card .station-failure-table tbody{display:grid;gap:9px;width:100%}
  #failurePage .failure-overview-card .station-failure-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--surface-raised)}
  #failurePage .failure-overview-card .station-failure-table tbody td{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0;padding:9px 10px;border-bottom:1px dashed var(--line);text-align:right!important;font-size:11px!important}
  #failurePage .failure-overview-card .station-failure-table tbody td{width:100%!important;max-width:none!important}
  #failurePage .failure-overview-card .station-failure-table tbody td:before{flex:none;color:var(--muted);font-size:9px;font-weight:800}
  #failurePage .failure-overview-card .station-failure-table tbody td:nth-child(1){grid-column:1/-1}
  #failurePage .failure-overview-card .station-failure-table tbody td:nth-child(1):before{content:'المان'}
  #failurePage .failure-overview-card .station-failure-table tbody td:nth-child(2):before{content:'تعداد خرابی'}
  #failurePage .failure-overview-card .station-failure-table tbody td:nth-child(3):before{content:'مجموع زمان رفع'}
  #failurePage .failure-overview-card .station-failure-table tbody td:nth-child(1){grid-column:1/-1;font-weight:900}
  #failurePage .failure-overview-card .station-failure-table tbody td:nth-child(4):before{content:'میانگین زمان رفع خرابی'}
  #failurePage .failure-overview-card .station-failure-table tbody td:nth-child(5):before{content:'نوع خرابی'}
  #failurePage .failure-overview-card .station-failure-table tbody td:nth-child(6):before{content:'گروه خرابی'}
  #failurePage .failure-overview-card .station-failure-table tbody td:nth-child(5),#failurePage .failure-overview-card .station-failure-table tbody td:nth-child(6){display:block!important;grid-column:1/-1}
  #failurePage .failure-overview-card .station-failure-table tbody td:nth-child(5):before,#failurePage .failure-overview-card .station-failure-table tbody td:nth-child(6):before{display:block;margin-bottom:7px}
  #failurePage .failure-overview-card .station-failure-table tbody td:nth-child(n+4){overflow-wrap:anywhere;line-height:1.6}
  #failurePage .failure-overview-card .station-failure-table .failure-category-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  #failurePage .failure-overview-card .station-failure-table tbody tr td[colspan]{grid-column:1/-1}
}

#failurePage .failure-overview-card .table-wrap{overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
#failurePage .failure-overview-card .station-failure-table{display:block!important;width:100%!important;min-width:0!important;table-layout:auto!important;border-collapse:separate!important}
#failurePage .failure-overview-card .station-failure-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#failurePage .failure-overview-card .station-failure-table tbody{display:grid!important;grid-template-columns:minmax(0,1fr);gap:12px;width:100%}
#failurePage .failure-overview-card .station-failure-table tbody tr{--element-head:#2459a6;--element-head-end:#3975c8;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;min-width:0;overflow:hidden;border:1px solid var(--line)!important;border-radius:13px!important;background:var(--surface-raised)!important;box-shadow:0 5px 15px rgba(15,23,42,.07);cursor:pointer;transition:box-shadow .16s ease,transform .16s ease}
#failurePage #failureOverviewBody tr:nth-child(6n+1){--element-head:#2459a6;--element-head-end:#1e40af}
#failurePage #failureOverviewBody tr:nth-child(6n+2){--element-head:#087c78;--element-head-end:#065f59}
#failurePage #failureOverviewBody tr:nth-child(6n+3){--element-head:#7046c5;--element-head-end:#5b21b6}
#failurePage #failureOverviewBody tr:nth-child(6n+4){--element-head:#a95617;--element-head-end:#85420e}
#failurePage #failureOverviewBody tr:nth-child(6n+5){--element-head:#a83b50;--element-head-end:#8f1739}
#failurePage #failureOverviewBody tr:nth-child(6n){--element-head:#3b4a9e;--element-head-end:#312e81}
#failurePage #failureOverviewBody tr:hover{box-shadow:0 9px 20px rgba(15,23,42,.12);transform:translateY(-1px)}
#failurePage #failureOverviewBody tr:focus-visible{outline:3px solid color-mix(in srgb,var(--element-head) 38%,transparent);outline-offset:2px}
#failurePage #failureOverviewBody tr>td{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;min-width:0;width:auto!important;max-width:none!important;padding:10px 11px!important;border:0!important;border-bottom:1px solid var(--line-soft)!important;text-align:right!important;white-space:normal!important;overflow-wrap:anywhere;color:var(--ink);font-size:12px!important;line-height:1.55}
#failurePage #failureOverviewBody tr>td:before{color:var(--muted);font-size:9px;font-weight:800;line-height:1.4}
#failurePage #failureOverviewBody tr>td:nth-child(1){grid-column:1/-1;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;padding:11px 14px!important;border:0!important;border-bottom:3px solid color-mix(in srgb,var(--element-head-end) 48%,#fff)!important;background:linear-gradient(110deg,var(--element-head),var(--element-head-end))!important;color:#fff!important;font-size:14px!important;font-weight:900!important;text-align:right!important}
#failurePage #failureOverviewBody tr>td:nth-child(1):before{content:'المان';flex:none;padding:4px 8px;border:1px solid rgba(255,255,255,.38);border-radius:99px;background:rgba(255,255,255,.15);color:#fff;font-size:9px}
#failurePage #failureOverviewBody tr>td:nth-child(2){grid-column:1}
#failurePage #failureOverviewBody tr>td:nth-child(3){grid-column:2}
#failurePage #failureOverviewBody tr>td:nth-child(4){grid-column:3}
#failurePage #failureOverviewBody tr>td:nth-child(2):before{content:'تعداد خرابی'}
#failurePage #failureOverviewBody tr>td:nth-child(3):before{content:'مجموع زمان رفع'}
#failurePage #failureOverviewBody tr>td:nth-child(4):before{content:'میانگین زمان رفع'}
#failurePage #failureOverviewBody tr>td:nth-child(2),#failurePage #failureOverviewBody tr>td:nth-child(3),#failurePage #failureOverviewBody tr>td:nth-child(4){align-items:center;min-height:69px;background:color-mix(in srgb,var(--element-head) 5%,var(--surface-raised));font-weight:850;text-align:center!important}
#failurePage #failureOverviewBody tr>td:nth-child(5),#failurePage #failureOverviewBody tr>td:nth-child(6){grid-column:1/-1;display:grid!important;gap:7px;border-bottom:1px solid var(--line-soft)!important;background:var(--surface-raised)}
#failurePage #failureOverviewBody tr>td:nth-child(5):before{content:'نوع خرابی'}
#failurePage #failureOverviewBody tr>td:nth-child(6):before{content:'گروه خرابی'}
#failurePage #failureOverviewBody tr>td:nth-child(1):first-child{color:#fff!important}
html[data-theme] #failurePage #failureOverviewCard #failureOverviewBody>tr>td:first-child{color:#fff!important}
#failurePage #failureOverviewBody tr>td:nth-child(2).metric-number{color:var(--element-head)!important;font-size:16px!important;font-weight:900!important}
#failurePage #failureOverviewBody tr>td:nth-child(5) .failure-category-count{color:var(--teal)!important}
#failurePage #failureOverviewBody tr>td:last-child{border-bottom:0!important}
#failurePage #failureOverviewBody tr:has(td[colspan]){grid-column:1/-1;display:block!important;padding:15px;border-style:dashed!important;background:var(--surface-raised)!important;cursor:default}
#failurePage #failureOverviewBody tr:has(td[colspan])>td{display:block!important;padding:0!important;border:0!important;background:transparent!important;color:var(--muted)!important;text-align:center!important}
#failurePage #failureOverviewBody tr:has(td[colspan])>td:before{display:none}

@media(max-width:760px){
  #failurePage .failure-overview-card .station-failure-table tbody{grid-template-columns:minmax(0,1fr);gap:10px}
  #failurePage .failure-overview-card .station-failure-table tbody tr{grid-template-columns:repeat(2,minmax(0,1fr))}
  #failurePage #failureOverviewBody tr>td:nth-child(4){grid-column:1/-1}
  #failurePage #failureOverviewBody tr>td:nth-child(5),#failurePage #failureOverviewBody tr>td:nth-child(6){grid-column:1/-1}
}

#failurePage #failureOverviewBody tr>td:nth-child(5){--category-accent:#087c78}
#failurePage #failureOverviewBody tr>td:nth-child(6){--category-accent:#7046c5}
#failurePage #failureOverviewBody tr>td:nth-child(5):before,#failurePage #failureOverviewBody tr>td:nth-child(6):before{display:inline-flex;align-items:center;width:max-content;max-width:100%;margin:0 0 2px;padding:4px 9px;border-inline-start:3px solid var(--category-accent);border-radius:7px;background:color-mix(in srgb,var(--category-accent) 10%,var(--surface));color:var(--category-accent);font-size:10px;font-weight:900}
#failurePage #failureOverviewBody tr>td:nth-child(5) .failure-category-item,#failurePage #failureOverviewBody tr>td:nth-child(6) .failure-category-item{min-height:35px;padding:7px 9px;border-color:color-mix(in srgb,var(--category-accent) 20%,var(--line));background:color-mix(in srgb,var(--category-accent) 4%,var(--surface-raised))}
#failurePage #failureOverviewBody tr>td:nth-child(5) .failure-category-count,#failurePage #failureOverviewBody tr>td:nth-child(6) .failure-category-count{background:color-mix(in srgb,var(--category-accent) 10%,var(--surface));color:var(--category-accent)!important;font-weight:900}

@media(max-width:760px){
  #failurePage #failureOverviewBody .failure-category-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
