﻿:root {
  --brand: #0f766e;
  --brand-dark: #115e59;
  --accent: #b88a44;
  --page: #eef2f1;
  --panel: #ffffff;
  --soft: #f5f7f6;
  --ink: #17211f;
  --muted: #66716d;
  --line: #d9dfdc;
  --danger: #b42318;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
}
.report-shell {
  width: min(1120px, calc(100% - 28px));
  margin: 24px auto;
}
.report-hero,
.report-form > section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 22px 70px rgba(18, 33, 30, .10);
}
.report-hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: clamp(22px, 4vw, 42px);
  margin-bottom: 14px;
}
.report-hero p {
  margin: 0 0 8px;
  color: var(--accent);
  font-weight: 800;
}
.report-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.2;
  letter-spacing: 0;
}
.report-hero span,
.form-note {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.report-hero a,
.report-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.report-form {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
}
.report-form > section {
  padding: 18px;
  display: grid;
  gap: 14px;
  align-content: start;
}
h2 {
  margin: 0 0 4px;
  font-size: 22px;
}
label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}
label span {
  color: var(--muted);
  font-size: 13px;
}
input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
textarea {
  padding-top: 12px;
  resize: vertical;
}
.image-preview {
  display: grid;
  place-items: center;
  min-height: 190px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  overflow: hidden;
}
.image-preview img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
}
.form-note.success { color: var(--brand-dark); font-weight: 800; }
.form-note.error { color: var(--danger); font-weight: 800; }
@media (max-width: 760px) {
  .report-hero,
  .report-form { display: block; }
  .report-hero a { margin-top: 18px; }
  .report-form > section { margin-bottom: 14px; }
}

.file-button { width: 100%; border: 1px solid var(--line); background: var(--soft); padding: 12px 14px; border-radius: 8px; font-weight: 800; cursor: pointer; }
.file-button:hover { border-color: var(--brand); color: var(--brand); }
