:root {
  font:
    16px/1.55 "Inter",
    system-ui,
    sans-serif;
  color: #142d29;
  background: #f4f7f5;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
header {
  max-width: 64rem;
  margin: auto;
  padding: 1.25rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-size: 1.2rem;
  font-weight: 720;
  letter-spacing: -0.04em;
}
.brand span {
  display: inline-grid;
  place-items: center;
  color: white;
  background: #136654;
  border-radius: 0.65rem;
  width: 2rem;
  height: 2rem;
  margin-right: 0.4rem;
}
main {
  width: min(90%, 38rem);
  margin: clamp(1rem, 8vh, 6rem) auto;
  padding: clamp(1.25rem, 5vw, 3rem);
  border-radius: 1.2rem;
  background: white;
  border: 1px solid #d5dfda;
  box-shadow: 0 16px 50px #13362a0c;
}
h1 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  letter-spacing: -0.045em;
  line-height: 1.15;
}
p,
small {
  color: #465e55;
  overflow-wrap: anywhere;
}
form,
#share {
  margin-top: 1.6rem;
}
label {
  display: block;
  font-weight: 600;
  margin: 0.9rem 0 0.4rem;
}
input:not([type="file"]) {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #acbfb5;
  border-radius: 0.45rem;
  background: #fff;
  font: inherit;
  color: inherit;
}
button {
  font: inherit;
  background: #126450;
  color: white;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.6rem 1rem;
  font-weight: 620;
  cursor: pointer;
}
form > button,
#share button {
  margin-top: 1rem;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.quiet {
  background: #e8efeb;
  color: #254b3f;
}
button:focus-visible,
input:focus-visible,
.drop:focus-within {
  outline: 3px solid #48a78f;
  outline-offset: 3px;
}
.drop {
  position: relative;
  display: grid;
  gap: 0.3rem;
  place-content: center;
  text-align: center;
  min-height: 10rem;
  background: #f0f7f3;
  border: 2px dashed #91b5a4;
  border-radius: 0.85rem;
  cursor: pointer;
}
.drop.over {
  background: #d9f1e3;
}
.drop input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
progress {
  width: 100%;
  accent-color: #126450;
}
.job {
  margin-top: 1rem;
  overflow-wrap: anywhere;
}
.job small {
  display: block;
}
#message:empty {
  display: none;
}
#message {
  color: #8b3a22;
}
#selection {
  font-size: 0.9rem;
}
