/* report.studio-hiati.com — studio palette: black surface, green foreground, purple accent */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/static/fonts/inter-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Helvetica Neue"; font-weight: 700; font-display: swap; src: url("/static/fonts/helvetica-neue-bold.woff2") format("woff2"); }

:root {
  --black: #000;
  --green: #d8f382;
  --purple: #826dee;
  --pink: #ff99dc;
  --red: #ff6a3d;
  --line: rgba(216, 243, 130, 0.28);
  --soft: rgba(216, 243, 130, 0.72);
  --field: #0d0d0d;
  color-scheme: dark;
  /* ALTCHA widget, in our colours */
  --altcha-color-base: var(--field);
  --altcha-color-text: var(--green);
  --altcha-color-border: var(--line);
  --altcha-color-border-focus: var(--purple);
  --altcha-color-error-text: var(--red);
  --altcha-border-radius: 10px;
  --altcha-max-width: 100%;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--black); }
body { margin: 0; background: var(--black); color: var(--green); font: 16px/1.5 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--pink); }

.page { max-width: 760px; margin: 0 auto; padding: 32px 16px 48px; }
.head { margin-bottom: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Helvetica Neue", "Inter", sans-serif; font-weight: 700; letter-spacing: 0.01em; }
.brand img { width: 40px; height: 40px; border-radius: 8px; }
h1 { font-family: "Helvetica Neue", "Inter", sans-serif; font-weight: 700; font-size: clamp(2.2rem, 7vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; margin: 28px 0 12px; }
h2 { font-family: "Helvetica Neue", "Inter", sans-serif; font-size: 2rem; margin: 0 0 8px; }
.lead { color: var(--soft); max-width: 56ch; margin: 0; }

.block { border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin: 0 0 18px; min-width: 0; }
legend { padding: 0 8px; font-family: "Helvetica Neue", "Inter", sans-serif; font-weight: 700; }
.optional, .field em { font-style: normal; font-size: 0.8rem; color: var(--purple); margin-left: 6px; font-weight: 400; }

.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; min-width: 0; }
.field > span { font-size: 0.92rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } .block { padding: 16px 14px; } }

input, textarea, select {
  font: inherit; color: var(--green); background: var(--field); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; width: 100%; min-width: 0;
}
textarea { resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
input::placeholder, textarea::placeholder { color: rgba(216, 243, 130, 0.38); }
input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible, .drop:focus-within { outline: 2px solid var(--purple); outline-offset: 2px; }
[aria-invalid="true"] { border-color: var(--red); }
.error-text { color: var(--red); font-size: 0.85rem; }

.drop { position: relative; display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; padding: 22px 14px;
  border: 1.5px dashed var(--line); border-radius: 12px; cursor: pointer; }
.drop.over { border-color: var(--purple); background: rgba(130, 109, 238, 0.08); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop small { color: var(--soft); font-size: 0.82rem; }
.files { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 6px; }
.files li { display: flex; align-items: center; gap: 10px; justify-content: space-between; border: 1px solid var(--line); border-radius: 10px; padding: 6px 6px 6px 12px; font-size: 0.9rem; }
.files li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files li.bad { border-color: var(--red); color: var(--red); }
.files button { background: none; color: inherit; border: 1px solid var(--line); padding: 4px 10px; font-size: 0.82rem; }

.note { color: var(--soft); font-size: 0.85rem; margin: 0; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.send { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.send altcha-widget { flex: 1 1 260px; }
button { font: inherit; font-weight: 700; color: var(--purple); background: var(--green); border: 0; border-radius: 999px; padding: 12px 26px; cursor: pointer; }
button:hover { background: var(--pink); }
button[disabled] { opacity: 0.55; cursor: progress; }
.status { min-height: 1.5em; margin: 14px 0 0; }
.status.error { color: var(--red); }

.done { border: 1px solid var(--purple); border-radius: 16px; padding: 28px 22px; }
.done p { color: var(--soft); }
.done strong { color: var(--green); }
.foot { margin-top: 40px; color: var(--soft); font-size: 0.85rem; }
.foot a { color: var(--soft); }
