:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #667085;
  --line: #d9e0e8;
  --surface: #ffffff;
  --panel: #eef3f7;
  --accent: #166b5f;
  --accent-dark: #104d46;
  --warning: #9a5b00;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f7f8fa;
}

.shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 32px auto;
}

.workspace {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: calc(100vh - 64px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.panel {
  padding: 28px;
  background: var(--panel);
  border-right: 1px solid var(--line);
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: white;
  background: var(--accent);
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 22px;
  line-height: 1.15;
}

h2 {
  font-size: 24px;
  line-height: 1.2;
}

p,
dd {
  color: var(--muted);
}

.facts {
  margin: 34px 0 0;
}

.facts div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

dt {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-dark);
}

dd {
  margin: 4px 0 0;
}

.form {
  padding: 30px;
}

.form-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 28px;
}

button {
  min-width: 150px;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  color: white;
  background: var(--accent);
  font-weight: 800;
  cursor: pointer;
}

button:hover {
  background: var(--accent-dark);
}

fieldset {
  margin: 0 0 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

legend {
  padding: 0 8px;
  color: var(--accent-dark);
  font-weight: 800;
}

.grid,
.upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
  background: white;
}

textarea {
  margin-top: 16px;
  resize: vertical;
}

.dropzone {
  min-height: 118px;
  justify-content: center;
  padding: 18px;
  border: 1px dashed #9aa8b6;
  border-radius: 8px;
  background: #fbfcfd;
}

.dropzone span {
  font-size: 15px;
  color: var(--ink);
}

@media (max-width: 860px) {
  .shell {
    width: 100%;
    margin: 0;
  }

  .workspace {
    grid-template-columns: 1fr;
    min-height: 100vh;
    border: 0;
  }

  .panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .form-header,
  .grid,
  .upload-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  button {
    width: 100%;
  }
}
