/* public/assets/portal.css - portal-only additions. The page chrome (nav, hero,
   footer, wordmark, typography) comes from the site's own /styles.css; this file
   styles ONLY what the portal adds: forms, consent rows, tiles, session bar. */

.inq-auth { max-width: 720px; }
/* The dashboard uses the full section width: how the tiles wrap (and where second
   lines fall) is purely a function of the viewport. */
.inq-dashboard { max-width: none; }
.inq-alt { color: var(--grey); margin-top: 12px; }
.inq-alt a, .inq-session a { color: var(--ink); }
.inq-session { color: var(--grey); margin-top: 10px; }
.inq-error { color: #b00020; margin: 0 0 16px; }

.inq-form label { display: block; margin: 16px 0; color: var(--grey); font-size: 0.95rem; }
.inq-form input:not([type="checkbox"]), .inq-form select {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}
.inq-form input:focus, .inq-form select:focus { outline: none; border-color: var(--ink); }
.inq-form button {
  margin-top: 20px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
}
.inq-form button:hover { opacity: 0.85; }
.inq-form hr { border: none; border-top: 1px solid var(--hairline); margin: 28px 0; }

/* Consent rows: checkbox and wording on ONE line, house-inked tick. */
.inq-consent { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); }
.inq-consent input[type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--ink);
}
.inq-consent a { color: var(--ink); }

.inq-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.inq-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
}
.inq-tile:hover { border-color: var(--grey); }
/* The reading-order number fills the top-left quarter, echoing the site's
   numbered cards; the title sits across the bottom half. */
.inq-tile-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 6vw, 88px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--hairline);
}
.inq-tile:hover .inq-tile-num { color: var(--grey); }
.inq-tile-title { display: block; font-size: 1.15rem; line-height: 1.25; }
.inq-tile-desc {
  display: block;
  margin-top: 8px;
  color: var(--grey);
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Example reports: the G, R and C pills. Spans become links when the examples land. */
.inq-reports-h {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.4rem;
  margin: 48px 0 6px;
}
.inq-reports-p { color: var(--grey); margin: 24px 0 0; max-width: 96ch; }
.inq-reports { display: flex; gap: 12px; flex-wrap: wrap; }
.inq-report-btn {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
}
.inq-report-btn:hover { border-color: var(--grey); }
.inq-report-btn strong { color: var(--ink); }
.inq-soon {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--grey);
}

@media (max-width: 720px) {
  .inq-form button { width: 100%; }
  .inq-tile { min-height: 0; }
  .inq-report-btn { width: 100%; justify-content: space-between; }
  .inq-gary-btn { width: 100%; text-align: center; }
}
.inq-eyebrow {
  display: block;
  color: var(--grey);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 10px;
}

.inq-cta-gary { font-weight: 700; }
/* Example-report tiles: same square language on the surface tint. */
.inq-tile-report { background: var(--surface); }
.inq-tile-report .inq-tile-num { color: rgba(14, 14, 14, 0.12); }
.inq-tile-report:hover .inq-tile-num { color: var(--grey); }

/* The CTA tile: same square language on the house ink. */
.inq-tile-form { display: contents; }
button.inq-tile { font: inherit; text-align: left; width: 100%; cursor: pointer; }
.inq-tile-dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.inq-tile-dark .inq-tile-num { color: rgba(255, 255, 255, 0.25); }
.inq-tile-dark:hover { border-color: var(--ink); }
.inq-tile-dark:hover .inq-tile-num { color: rgba(255, 255, 255, 0.4); }
.inq-tile-dark .inq-tile-title { color: var(--white); }
.inq-tile-dark .inq-tile-desc { color: rgba(255, 255, 255, 0.7); }
.inq-tile-notified { cursor: default; }
.inq-gary-form { margin: 0; }
.inq-gary-btn {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 32px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
}
.inq-gary-btn:hover { opacity: 0.85; }
.inq-gary-done {
  background: var(--surface);
  color: var(--grey);
  border: 1px solid var(--hairline);
  cursor: default;
}
.inq-gary-done:hover { opacity: 1; }

@media print { .inq-portal-nav, .site-nav, .site-footer { display: none; } }

/* Portal pages are utility pages, not scroll journeys: keep the site's hero
   entrance but close the dead space between the standfirst and the content. */
.inq-portal .page-hero { padding-bottom: clamp(16px, 2vw, 28px); }
.inq-portal .section { padding-top: clamp(16px, 2vw, 32px); }
