:root{
  font-family:Arial,Helvetica,sans-serif;
  background:#f4f6f8;
  color:#172033;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
}

.topbar{
  background:#071f43;
  color:white;
  padding:18px 28px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.topbar h1{
  margin:2px 0 0;
  font-size:24px;
}

.topbar small{
  opacity:.72;
  font-weight:700;
  letter-spacing:.08em;
}

.readonly{
  border:1px solid rgba(255,255,255,.35);
  border-radius:8px;
  padding:8px 12px;
  font-size:12px;
  font-weight:800;
}

main{
  max-width:1500px;
  margin:auto;
  padding:22px;
}

.filters{
  background:white;
  border-radius:12px;
  padding:14px;
  display:flex;
  gap:12px;
  align-items:end;
  flex-wrap:wrap;
  box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.filters label{
  display:flex;
  flex-direction:column;
  gap:5px;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
}

input,
button,
.button{
  min-height:40px;
  border-radius:7px;
  border:1px solid #cfd5df;
  padding:0 12px;
}

button,
.button{
  cursor:pointer;
  background:#075fca;
  color:white;
  border:none;
  font-weight:700;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
}

.secondary{
  background:#edf3fa;
  color:#16467e;
}

#lastUpdate{
  margin-left:auto;
  color:#667085;
  font-size:12px;
}

.title-row{
  margin-top:24px;
}

.title-row h2{
  margin:0;
}

.title-row p{
  margin:4px 0 0;
  color:#667085;
}

.metrics{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  margin:14px 0;
}

.metrics article{
  background:white;
  padding:17px;
  border-radius:12px;
  box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.metrics span{
  display:block;
  color:#667085;
  font-size:11px;
  font-weight:800;
}

.metrics strong{
  display:block;
  margin-top:7px;
  font-size:27px;
}

.card{
  background:white;
  border-radius:12px;
  margin-top:14px;
  box-shadow:0 2px 10px rgba(0,0,0,.05);
  overflow:hidden;
}

.card-head{
  padding:15px 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid #eaecf0;
}

.card-head h3{
  margin:0;
}

.table-wrap{
  overflow:auto;
}

table{
  width:100%;
  border-collapse:collapse;
}

th,
td{
  padding:10px 14px;
  border-bottom:1px solid #eaecf0;
  text-align:left;
  white-space:nowrap;
}

th{
  background:#f8fafc;
  font-size:11px;
  color:#475467;
  text-transform:uppercase;
}

td{
  font-size:13px;
}

td.num,
th.num{
  text-align:right;
}

.good{
  color:#067647;
  font-weight:800;
}

.pending{
  color:#b54708;
  font-weight:800;
}

@media(max-width:900px){
  .metrics{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:520px){
  .metrics{
    grid-template-columns:1fr;
  }

  main{
    padding:12px;
  }
}

/* YOLKA_OPERA_TREND_CHART_R2 */

.trend-card .card-head{
  align-items:flex-start;
}

.trend-card .card-head span{
  display:block;
  margin-top:4px;
  font-size:12px;
  color:#667085;
}

.trend-legend{
  display:flex;
  gap:18px;
  align-items:center;
}

.trend-legend span{
  display:flex!important;
  align-items:center;
  gap:6px;
  margin:0!important;
  font-weight:700;
  color:#475467!important;
}

.trend-legend i{
  width:22px;
  height:3px;
  border-radius:3px;
  display:inline-block;
}

.legend-sar{
  background:#1f5fae;
}

.legend-ped{
  background:#15906d;
}

.trend-chart-wrap{
  width:100%;
  padding:12px 16px 8px;
  overflow-x:auto;
}

.trend-chart{
  width:100%;
  min-width:900px;
  height:320px;
  display:block;
}

.trend-grid{
  stroke:#e5e9f0;
  stroke-width:1;
}

.trend-axis-text{
  fill:#667085;
  font-size:11px;
  font-family:Arial,Helvetica,sans-serif;
}

.trend-day-text{
  fill:#667085;
  font-size:10px;
  font-family:Arial,Helvetica,sans-serif;
  text-anchor:middle;
}

.trend-line-sar{
  fill:none;
  stroke:#1f5fae;
  stroke-width:3;
  stroke-linejoin:round;
  stroke-linecap:round;
}

.trend-line-ped{
  fill:none;
  stroke:#15906d;
  stroke-width:3;
  stroke-linejoin:round;
  stroke-linecap:round;
}

.trend-point-sar{
  fill:white;
  stroke:#1f5fae;
  stroke-width:2;
}

.trend-point-ped{
  fill:white;
  stroke:#15906d;
  stroke-width:2;
}


/* YOLKA_OPERA_AVERAGE_LINE_R4 */

.trend-average-line{
  stroke:#8b5e00;
  stroke-width:2;
  stroke-dasharray:8 6;
}

.trend-average-label{
  fill:#8b5e00;
  font-size:11px;
  font-weight:800;
  font-family:Arial,Helvetica,sans-serif;
}



/* YOLKA_OPERA_PROVIDER_LINES_R2 */

.provider-trend-legend{
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  padding:8px 18px 0;
}

.provider-trend-item{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:12px;
  font-weight:700;
  color:#475467;
}

.provider-trend-item i{
  width:24px;
  height:3px;
  border-radius:4px;
  display:inline-block;
}

.provider-line{
  fill:none;
  stroke-width:2.7;
  stroke-linejoin:round;
  stroke-linecap:round;
}

.provider-config-card input{
  width:100%;
  max-width:280px;
  height:36px;
  border:1px solid #cfd5df;
  border-radius:7px;
  padding:0 10px;
}

.provider-config-card button{
  min-height:34px;
  padding:0 12px;
}

.provider-save-status{
  display:inline-block;
  margin-left:8px;
  font-size:11px;
  color:#067647;
  font-weight:700;
}



/* YOLKA_OPERA_PROVIDER_VIEW_MODES_R3 */

.provider-view-controls{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  padding:12px 18px 4px;
}

.provider-mode-button{
  min-height:34px;
  padding:0 14px;
  border-radius:7px;
  border:1px solid #d0d5dd;
  background:#fff;
  color:#344054;
  font-size:11px;
  font-weight:800;
}

.provider-mode-button.active{
  background:#0b4f8a;
  border-color:#0b4f8a;
  color:#fff;
}

.provider-view-select{
  min-width:210px;
  height:34px;
  margin-left:6px;
  padding:0 10px;
  border:1px solid #d0d5dd;
  border-radius:7px;
  background:#fff;
  color:#344054;
  font-size:12px;
  font-weight:700;
}

.provider-separate-charts{
  display:none;
  grid-template-columns:
    repeat(auto-fit,minmax(420px,1fr));
  gap:12px;
  padding:12px 18px 18px;
}

.provider-separate-active
.provider-separate-charts{
  display:grid;
}

.provider-separate-active
.trend-chart-wrap{
  display:none;
}

.provider-separate-active
.provider-trend-legend{
  display:none;
}

.provider-mini-card{
  border:1px solid #eaecf0;
  border-radius:10px;
  background:#fff;
  overflow:hidden;
}

.provider-mini-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:12px 14px 8px;
}

.provider-mini-head strong{
  font-size:13px;
}

.provider-mini-head span{
  font-size:12px;
  color:#667085;
}

.provider-mini-svg{
  display:block;
  width:100%;
  height:210px;
}

.provider-mini-grid{
  stroke:#eaecf0;
  stroke-width:1;
}

.provider-mini-line{
  fill:none;
  stroke-width:3;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.provider-mini-day{
  fill:#667085;
  font-size:9px;
  text-anchor:middle;
  font-family:Arial,Helvetica,sans-serif;
}

.provider-total-label{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:6px;
  background:#f2f4f7;
  color:#475467;
  font-size:11px;
  font-weight:800;
}

@media(max-width:700px){

  .provider-view-select{
    width:100%;
    margin-left:0;
  }

  .provider-separate-charts{
    grid-template-columns:1fr;
  }
}



/* YOLKA_OPERA_SELECTOR_TOTALS_R4 */

.provider-view-controls
.provider-mode-button{
  display:none!important;
}

.provider-view-controls{
  padding:12px 18px 6px;
}

.provider-view-select{
  min-width:370px;
  height:40px;
  margin-left:0!important;
  padding:0 12px;
  font-size:13px;
  font-weight:800;
  border:1px solid #c7d0dc;
  background:#fff;
}

.provider-mini-head{
  align-items:flex-start;
}

.provider-mini-metrics{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  padding:0 14px 13px;
}

.provider-mini-metrics strong{
  font-size:18px;
  color:#172033;
}

.provider-mini-metrics span{
  font-size:11px;
  font-weight:700;
  color:#667085;
}

.provider-mini-metrics
.provider-pending{
  color:#b54708;
}

.provider-mini-metrics
.provider-done{
  color:#067647;
}

@media(max-width:700px){

  .provider-view-select{
    min-width:0;
    width:100%;
  }
}

