:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fb;
  color: #172033;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.panel {
  width: min(100%, 520px);
  background: #ffffff;
  border: 1px solid #d9e0ea;
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 16px 50px rgba(23, 32, 51, 0.08);
}

.brand {
  font-size: 14px;
  font-weight: 700;
  color: #1d6fe9;
  margin-bottom: 10px;
}

h1 {
  font-size: 26px;
  line-height: 1.25;
  margin: 0 0 24px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

textarea {
  width: 100%;
  resize: vertical;
  min-height: 128px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  line-height: 1.45;
}

textarea:focus {
  outline: 3px solid rgba(29, 111, 233, 0.16);
  border-color: #1d6fe9;
}

button,
.download {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  margin-top: 14px;
  display: inline-grid;
  place-items: center;
  background: #1d6fe9;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

button:disabled {
  background: #8fa8cb;
}

.status {
  min-height: 46px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #334155;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.status.error {
  background: #fff1f2;
  color: #be123c;
}

.status.done {
  background: #ecfdf5;
  color: #047857;
}
