.intro h1 {
  font-size: 20px;
  margin: 0 0 5px;
  padding:0;
  color:#dd4814;
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
}
button {
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 6px 12px;
  min-height: 30px;
  font-weight: bold;
  font-size:13px;
  cursor: pointer;
}
.primary {
  background: #000;
  color: #fff;
}
.secondary {
  background: #fff;
  border-color: #cfd5da;
  color: #30363b;
}
.secondary:hover {
  background: #f4f6f8;
}
.file-btn {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfd5da;
  border-radius: 7px;
  background: #fff;
  color: #30363b;
  font-weight: bold;
  font-size:13px;
  margin:0;
  padding: 2px 10px;
  cursor: pointer;
}
.encoding {
  max-width: 168px;
}
.editor {
  position: relative;
  width: 100%;
  max-width: 100%;
  border: 1px solid #cfd5da;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.editor:focus-within {
  box-shadow: inset 0 0 0 1px var(--blue), 0 0 0 3px rgba(23, 105, 170, 0.12);
}
.nums {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 46px;
  box-sizing: border-box;
  padding: 13px 8px 13px 0;
  overflow: hidden;
  text-align: right;
  color: #9aa4b2;
  background: #f8fafc;
  border-right: 1px solid #edf0f3;
  font: 13px/20px Consolas, "Courier New", monospace;
  white-space: pre;
  user-select: none;
}
textarea {
  display: block;
  width: calc(100% - 46px);
  max-width: calc(100% - 46px);
  min-width: 0;
  height: 320px;
  min-height: 160px;
  margin-left: 46px;
  resize: vertical;
  padding: 13px 14px;
  border: 0;
  background: transparent;
  font: 13px/20px Consolas, "Courier New", monospace;
  color: #202124;
  outline: none;
  tab-size: 2;
  white-space: pre;
  overflow: auto;
}
textarea:focus {
  box-shadow: none;
}
.meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
}
.result {
  width: 100%;
  max-width: 100%;
  height: 320px;
  overflow: auto;
  border: 1px solid #cfd5da;
  border-radius: 8px;
  background: #fff;
}
.result pre {
  margin: 0;
  padding: 13px 14px;
  min-height: 100%;
  width: max-content;
  min-width: 100%;
  box-sizing: border-box;
  white-space: pre;
  font: 13px/20px Consolas, "Courier New", monospace;
  color: #202124;
}
.empty {
  color: var(--muted);
  padding: 16px;
  font-size: 13px;
}
.options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  margin: 18px 0;
  padding: 14px;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
}
.options label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  min-width: 0;
}
.status {
  min-height: 22px;
  font-size: 13px;
  margin-top: 8px;
  overflow-wrap: anywhere;
  color: #287346;
}
@media (max-width: 760px) {
.grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 17px;
}
.options label {
  max-width: 100%;
  min-width: 0;
}
#modeWrap,#indentWrap {
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}
}
