* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f4f7f8;
  color: #102033;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.settings-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  min-height: 100vh;
}

.settings-panel {
  border-right: 1px solid #d8e2e8;
  background: #f8fbfc;
}

.settings-header,
.settings-section {
  padding: 18px;
  border-bottom: 1px solid #d8e2e8;
}

.eyebrow {
  margin: 0 0 4px;
  color: #08756f;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
}

h1 {
  font-size: 22px;
}

h2 {
  margin-bottom: 16px;
  font-size: 16px;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 750;
}

input,
select {
  width: 100%;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid #cbd8e2;
  border-radius: 5px;
  background: #fff;
  color: #102033;
  font: inherit;
}

input[type="checkbox"] {
  width: 17px;
  min-width: 17px;
  min-height: 17px;
  padding: 0;
}

input[type="color"] {
  height: 30px;
  padding: 3px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.switch-row {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.switch-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.preview-shell {
  padding: 48px 32px;
  overflow: auto;
}

.preview {
  width: min(1180px, 100%);
  min-height: 260px;
  padding: 34px;
  border: 1px solid #dbe4ea;
  border-radius: 10px;
  background: #fff;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 860px) {
  .settings-shell {
    grid-template-columns: 1fr;
  }

  .settings-panel {
    border-right: 0;
  }

  .preview-shell {
    padding: 22px;
  }
}


.settings-section select,
.settings-section input {
  font-size: 14px;
}

.settings-section input[type="color"] {
  min-height: 34px;
}
