:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f8f2dd;
  color: #191714;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(247, 209, 84, 0.35), transparent 32rem),
    linear-gradient(135deg, #fffaf0 0%, #f8f2dd 55%, #d9edf2 100%);
}

.shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 48px;
}

.hero {
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.panel {
  margin: 16px 0;
  padding: 18px;
  border: 1px solid rgba(25, 23, 20, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.86);
  box-shadow: 0 12px 36px rgba(25, 23, 20, 0.08);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}

textarea,
input[type="url"],
input[type="file"] {
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(25, 23, 20, 0.18);
  border-radius: 8px;
  background: #fff;
  color: #191714;
  font: inherit;
}

textarea,
input[type="url"] {
  padding: 11px 12px;
}

textarea {
  resize: vertical;
}

input[type="file"] {
  padding: 10px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

button {
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  background: #191714;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.status,
.muted {
  color: #5a544a;
}

.download {
  display: inline-flex;
  margin-top: 4px;
  font-weight: 800;
  color: #084f5a;
}

.result-wrap {
  display: grid;
  gap: 10px;
}

.result {
  min-height: 88px;
  max-height: 300px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 12px;
  border-radius: 8px;
  background: #f1ead4;
}

.copy {
  justify-self: start;
}

a {
  color: #084f5a;
}
