.masthead {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  padding: 14px 28px;
  display: flex; align-items: center; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 750; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; border-radius: 7px; background: var(--signal); display: inline-grid; place-items: center; color: var(--deep); font-family: var(--display); font-size: 11px; font-weight: 800; transform: rotate(-3deg); }
.page-heading { padding-left: 20px; border-left: 1px solid var(--line); }
.masthead h1 { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: 0; }
.masthead .sub { color: var(--ink-faint); font-size: 13px; }
.masthead nav { margin-left: auto; display: flex; gap: 18px; font-size: 14px; }
.masthead nav a { color: var(--accent); text-decoration: none; }
.masthead nav a:hover { text-decoration: underline; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 24px 28px 80px; }

.step { margin-bottom: 26px; }
.step > h2 {
  font-size: 13px; text-transform: uppercase; letter-spacing: .07em;
  color: var(--ink-faint); margin-bottom: 10px; font-weight: 650;
}
.panel {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.row { display: flex; gap: var(--gap); flex-wrap: wrap; align-items: flex-end; }
.col { display: flex; flex-direction: column; gap: 6px; }
.grow { flex: 1 1 240px; }
.hidden { display: none !important; }
.muted { color: var(--ink-faint); font-size: 13px; }
.mono { font-family: var(--mono); font-size: 13px; }
#report-actions { margin-bottom: 14px; }
.admin-panel { margin-top: 20px; }
.js-motion body:not(.home-page):not(.app-page) .panel { transform: translateY(18px); transition: transform .65s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease; }
.js-motion body:not(.home-page):not(.app-page) .panel.motion-in { transform: none; }
.js-motion body:not(.home-page):not(.app-page) .panel:hover { box-shadow: 0 18px 38px rgba(0,0,0,.08); }
.js-motion body:not(.home-page) .faq-item { transform: translateY(18px); }
.js-motion body:not(.home-page) .faq-item.motion-in { transform: none; }

@media (max-width: 760px) {
  .masthead { padding: 12px 16px; flex-wrap: wrap; }
  .page-heading { display: none; }
  .masthead nav { width: 100%; margin-left: 0; padding-top: 10px; border-top: 1px solid var(--line-soft); overflow-x: auto; }
  .wrap { padding: 22px 16px 60px; }
  .build-icons { display: grid; grid-template-columns: repeat(2, 1fr); }
  .row { align-items: stretch; }
  .col, .grow { width: 100%; }
  input[type=text], input[type=number], select { width: 100%; min-width: 0; }
  .guide-row, .upload-split { flex-direction: column; }
  .upload-left { flex-basis: auto; }
  .panel { padding: 16px; }
}
