.meter-shell {
  width: 800px;
  max-width: 100%;
  min-height: 600px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e9e9ec;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(0,0,0,.12);
}


.header {
  padding: 22px 26px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}


.header h2 {
  font-size: 21px;
  font-weight: 750;
  margin-bottom:10px !important;
}
.fst-heading{
   font-size: 21px;
  font-weight: 750;
	 margin-bottom:10px !important;
}

.subtitle {
  color: #888;
  font-size: 12px;
  margin-top: 5px;
}


.status-pill {
  font-size: 10px;
  color: #1f1f1f;
  border: 1px solid #eee;
  border-radius: 30px;
  padding: 8px 10px;
  white-space: nowrap;
}


.content { padding: 22px; }


.dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}


.panel {
  padding: 20px;
  border: 1px solid #e9e9ec;
  border-radius: 16px;
  min-width: 0;
}


.label {
  color: #888;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}


.reading {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
}


.db-value {
  font-size: 62px;
  font-weight: 750;
  letter-spacing: -4px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}


.db-unit {
  color: #777;
  font-size: 14px;
}


.level-title {
  font-size: 13px;
  font-weight: 700;
  margin-top: 12px;
}


.level-description {
  color: #888;
  font-size: 11px;
  margin-top: 4px;
}


.progress-track {
  background: #eee;
  height: 8px;
  border-radius: 30px;
  margin-top: 22px;
  overflow: hidden;
}


.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #78d7a8, #f0c467, #ec7272);
  transition: width .15s;
}


.scale {
  display: flex;
  justify-content: space-between;
  color: #999;
  font-size: 10px;
  margin-top: 7px;
}


#waveform, #historyChart {
  display: block;
  width: 100%;
}


#waveform {
  height: 90px;
  margin-top: 12px;
}


#historyChart { height: 115px; }


.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}


.stat {
  border: 1px solid #eee;
  border-radius: 11px;
  padding: 12px;
}


.stat-label {
  color: #888;
  font-size: 10px;
  text-transform: uppercase;
}


.stat-value {
  font-size: 21px;
  font-weight: 750;
  margin-top: 5px;
}


.controls {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}


.btn {
  padding: 11px 13px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}


.btn-black {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, #333, #050505);
  box-shadow: 0 5px 14px rgba(0,0,0,.18);
  transition: .2s;
}


.btn-black:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}


.btn-black:disabled { opacity: .5; }


.btn-light-outline {
  color: #222;
  border: 1px solid #dedee2;
  background: #fff;
}


.btn-light-outline:hover {
  background: #f6f6f6;
  border-color: #bbb;
}


.section-title {
  font-size: 14px;
  font-weight: 750;
  margin: 0;
}


.history-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 15px;
}


.info-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
  color: #1f1f1f;
  font-size: 14px;
}


.info-row strong { color: #222; }


.export-section { margin-top: 28px; }


.export-section .btn {
  width: 100%;
  margin-top: 9px;
}


.message {
  color: #888;
  font-size: 10px;
  line-height: 1.5;
  margin-top: 12px;
  min-height: 15px;
}




@media(max-width: 620px) {
  .dashboard { grid-template-columns: 1fr; }
  .panel { padding: 17px; }
  .db-value { font-size: 56px; }
  
}