/*----------------------------------------------------------------
	Global
----------------------------------------------------------------*/
html, body {
  height: 100%;
}

body {
  position: relative;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  background: #fff;
}

body.lock {
  overflow: hidden;
}

/*----------------------------------------------------------------
	Wrapper etc
----------------------------------------------------------------*/
.wrapper {
  position: relative;
  overflow: hidden;
}

.container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.js-focus-visible :focus:not(.focus-visible) {
  outline: none;
  border-color: transparent;
}

/*----------------------------------------------------------------
    Reset Style
----------------------------------------------------------------*/
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  outline: none;
}

ul li,
ol li {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  font-size: inherit;
}

a,
a:visited {
  text-decoration: none;
}

img {
  vertical-align: top;
}

input,
button,
textarea {
  font-family: inherit;
}

input[type=text],
input[type=email],
input[type=tel],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type=number],
input[type=number]:hover,
input[type=number]:focus {
  appearance: none;
  -moz-appearance: textfield;
}

input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
  display: none;
}

.service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: start;
  gap: 0 30px;
  padding: 30px 84px;
  color: #585858;
  font-size: 16px;
  font-weight: 500;
  background-color: #fff;
}
.service__col {
  display: flex;
  flex-direction: column;
}
.service__col:first-of-type {
  justify-content: space-between;
}
.service__set {
  max-width: 660px;
  margin-bottom: 44px;
}
.service__set:last-child {
  margin: 0;
}
.service__groupe {
  margin-bottom: 16px;
}
.service__groupe:last-child {
  margin-bottom: 0;
}
.service__title {
  font-size: 44px;
  font-weight: 600;
}
.service__parametr {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 600;
}
.service__usage {
  margin-bottom: 8px;
}
.service__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 12px;
}
.service__btns--base {
  margin: 0;
}
.service__btn {
  display: inline-block;
  flex-grow: 0;
  padding: 13px 16px;
  color: #fff;
  font-size: 16px;
  text-transform: capitalize;
  border-radius: 8px;
  background: #585858;
  cursor: pointer;
  transition: background 0.2s;
}
.service__btn:hover {
  background: #807e7e;
}
.service__row {
  margin-bottom: 8px;
}
.service__row:last-child {
  margin: 0;
}
.service__label {
  display: block;
  margin-bottom: 5px;
}
.service__input, .service__logs {
  display: block;
  width: 100%;
  min-height: 45px;
  padding: 13px 12px;
  border-radius: 8px;
  border: 1px solid #585858;
}
.service__input--dark, .service__logs--dark {
  background: #D9D9D9;
}
.service__logs {
  min-height: 420px;
  font-weight: 400;
  resize: none;
}
.service__biofeedback-widget {
  display: flex;
  align-items: stretch;
  gap: 20px;
  height: 500px;
  padding: 12px 0 12px 12px;
}
.service__y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service__chart-container {
  flex-grow: 1;
  position: relative;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}
.service__chart-filling {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: var(--chart-height, 0%);
  border-radius: 16px 16px 0 0;
  background-color: #585858;
  transition: height 0.3s ease;
}
.service__chart-value-label {
  min-width: 188px;
  padding: 16px;
  font-size: 44px;
  font-weight: 700;
  text-align: center;
  border-radius: 28px 28px 0 0;
  background-color: #fff;
}

/* Disabled/read-only visual hints (used by View mode) */
.service__input:disabled,
.service__input[readonly],
.service__logs:disabled,
.service__logs[readonly],
select:disabled,
select[readonly] {
  background: #bdbdbd;
  color: #555;
  border-color: #9b9b9b;
  opacity: 0.85;
}

.service__btn:disabled {
  background: #a0a0a0;
  cursor: not-allowed;
}