:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #203c38;
  background: #f8faf7;
  font-synthesis: none;
  line-height: 1.5;
  --green: #21654c;
  --muted: #687973;
  --border: #dce4de;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a,
textarea {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
}
button {
  font: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #9acbb1;
  outline-offset: 4px;
}
.topbar {
  max-width: 1280px;
  margin: auto;
  padding: 25px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.brand {
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: -0.6px;
}
.brand .light {
  margin-left: -5px;
}
.light {
  font-weight: 400;
  color: var(--muted);
}
.brand-icon {
  display: grid;
  place-items: center;
  background: #214f3d;
  color: white;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font: 700 19px monospace;
  margin-right: 5px;
}
.local {
  font-size: 12px;
  color: #516c5e;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot {
  width: 6px;
  height: 6px;
  background: #4c966e;
  border-radius: 50%;
}
main {
  max-width: 1184px;
  margin: auto;
  padding: 0 28px;
}
.intro {
  padding: 48px 0 34px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.9px;
  font-weight: 650;
  color: #60786a;
}
.eyebrow span {
  margin: 0 10px;
  color: #b4c3b8;
}
h1 {
  font-size: clamp(36px, 4.3vw, 53px);
  line-height: 1.12;
  letter-spacing: -2.2px;
  font-weight: 550;
  margin: 20px 0 18px;
}
h1 span {
  color: #58866c;
}
.intro > p {
  color: #62756a;
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}
.badges {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 23px;
  font-size: 11px;
  color: #597365;
}
.workspace {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  overflow: hidden;
  box-shadow: 0 8px 28px #264a3710;
}
.editor-pane {
  padding: 24px;
  border-right: 1px solid var(--border);
}
.result-pane {
  padding: 24px;
  background: #fdfefc;
}
.pane-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
}
h2 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}
.step {
  color: #91a498;
  font: 11px monospace;
  margin-right: 9px;
}
.tiny {
  font-size: 9px;
  letter-spacing: 0.7px;
  color: #7d8b82;
}
.version {
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 9px;
  letter-spacing: 0.8px;
  padding: 3px 6px;
  color: #6d8175;
}
.dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px dashed #b9cdbd;
  border-radius: 7px;
  background: #f6faf5;
  padding: 23px 12px;
}
.dropzone.dragover {
  background: #e5f4e7;
  border-color: var(--green);
}
.file-icon {
  font: 20px monospace;
  color: #72957a;
  border: 1px solid #c5d7c7;
  background: white;
  border-radius: 5px;
  padding: 10px 6px;
}
.dropzone strong {
  font-size: 13px;
  font-weight: 550;
}
.dropzone p {
  font-size: 12px;
  color: var(--muted);
  margin: 3px 0 0;
}
.text-button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--green);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-button:hover {
  color: #0d3024;
}
.editor-toolbar {
  display: flex;
  justify-content: space-between;
  margin: 20px 0 9px;
  font-size: 11px;
  color: var(--muted);
}
#xml {
  display: block;
  width: 100%;
  height: 204px;
  resize: vertical;
  min-height: 150px;
  border: 1px solid var(--border);
  border-radius: 6px 6px 0 0;
  background: #fbfcfa;
  padding: 14px;
  font:
    11px/1.7 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  color: #254e3e;
  white-space: pre;
  overflow: auto;
  outline: none;
}
#xml:focus {
  border-color: #75a587;
  box-shadow: 0 0 0 2px #75a58720;
}
#xml::placeholder {
  color: #98a89c;
}
.editor-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 6px 6px;
  font-size: 9px;
  color: #849287;
}
#document-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.actions {
  display: flex;
  gap: 17px;
  align-items: center;
  margin-top: 19px;
}
.primary {
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
  border-radius: 6px;
  padding: 11px 16px;
  font-size: 12px;
  display: flex;
  gap: 35px;
  align-items: center;
}
.primary:hover {
  background: #184c39;
}
.actions > span {
  font-size: 10px;
  color: #829087;
}
.examples {
  margin-top: 21px;
  padding-top: 17px;
  border-top: 1px solid #edf1eb;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.examples > span {
  font-size: 8px;
  letter-spacing: 1px;
  color: #91a093;
}
.examples button {
  background: #f6f8f4;
  border: 1px solid #e4eae0;
  border-radius: 4px;
  color: #5d7363;
  padding: 5px 7px;
  font-size: 9px;
}
.examples button:hover {
  background: #e6eee2;
  border-color: #adbfaf;
}
#result {
  min-height: 275px;
  padding: 20px 8px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.result-symbol {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #dbe6d9;
  background: #f3f7f0;
  color: #84a07f;
  border-radius: 50%;
  font-size: 28px;
  margin-bottom: 9px;
}
#result h3 {
  font-size: 17px;
  font-weight: 550;
  margin: 10px 0 8px;
}
#result p {
  font-size: 12px;
  color: #819083;
  line-height: 1.8;
  margin: 0;
  max-width: 330px;
}
#result[data-state="valid"] .result-symbol {
  color: #246449;
  background: #e7f4e8;
  border-color: #bbd4bb;
}
#result[data-state="invalid"] .result-symbol,
#result[data-state="error"] .result-symbol {
  color: #ad4a38;
  background: #fcf0e9;
  border-color: #eed0bf;
}
#result[data-state="invalid"],
#result[data-state="error"] {
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  padding: 12px 0 22px;
}
#result[data-state="invalid"] h3,
#result[data-state="error"] h3 {
  color: #8d4031;
}
.issue-list {
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
  width: 100%;
  max-height: 270px;
  overflow: auto;
}
.issue-list li {
  padding: 11px;
  background: #fff7f1;
  border: 1px solid #efddd0;
  border-radius: 5px;
  margin-bottom: 8px;
  font-size: 11px;
  color: #805545;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.issue-list strong {
  display: block;
  color: #a04b36;
  font:
    10px ui-monospace,
    monospace;
  margin-bottom: 4px;
}
.coverage {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 11px;
  color: #6b8070;
}
.coverage h3 {
  font-size: 11px;
  color: #49644f;
  margin: 0 0 13px;
  font-weight: 600;
}
.coverage div {
  margin: 8px 0;
}
.check,
.unchecked {
  display: inline-block;
  margin-right: 9px;
  width: 12px;
  color: #4c875e;
}
.unchecked {
  color: #99a398;
}
.coverage hr {
  border: 0;
  border-top: 1px solid #edf0e9;
  margin: 15px 0;
}
.coverage p {
  font-size: 10px;
  color: #8a9589;
  margin: 17px 0 0;
}
.notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  padding: 35px 0 44px;
}
.note-number {
  font-size: 9px;
  letter-spacing: 1px;
  color: #7e9382;
}
.notes h3 {
  font-size: 12px;
  font-weight: 600;
  margin: 10px 0 8px;
}
.notes p {
  font-size: 11px;
  color: #7b8a7e;
  line-height: 1.9;
  margin: 0;
}
.notes a {
  text-decoration-color: #b6c8b7;
  text-underline-offset: 3px;
}
footer {
  max-width: 1184px;
  margin: auto;
  border-top: 1px solid var(--border);
  padding: 18px 28px 24px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #859387;
}
footer > span:first-child {
  font-weight: 600;
}
footer .light {
  margin-left: 8px;
}
@media (min-width: 1500px) {
  .intro {
    padding-top: 60px;
  }
}
@media (max-width: 760px) {
  .topbar {
    padding: 18px 20px;
  }
  .local {
    font-size: 10px;
  }
  .brand {
    font-size: 19px;
  }
  main {
    padding: 0 18px;
  }
  .intro {
    padding: 33px 0 27px;
  }
  h1 {
    letter-spacing: -1.4px;
  }
  .intro > p {
    font-size: 13px;
  }
  .desktop {
    display: none;
  }
  .badges {
    gap: 9px 17px;
    font-size: 10px;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .editor-pane {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .editor-pane,
  .result-pane {
    padding: 20px;
  }
  .actions {
    gap: 12px;
  }
  .actions > span {
    font-size: 9px;
  }
  .examples {
    gap: 8px;
  }
  .notes {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 3px;
  }
  .notes p {
    max-width: 460px;
  }
  .notes h3 {
    margin: 5px 0;
  }
  footer {
    padding: 16px 20px;
    gap: 15px;
    flex-wrap: wrap;
  }
  #result {
    min-height: 220px;
  }
}
