/* Host application — Task 1: visual shell only. Flow logic remains unchanged. */
#host-modal [hidden] { display: none !important; }

@media (min-width: 561px) {
  .host-modal {
    display: grid;
    grid-template-columns: minmax(210px, 35%) minmax(0, 65%);
    grid-template-rows: max-content max-content max-content max-content max-content max-content;
    align-items: start;
    padding: 0;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    overflow-x: hidden;
  }

  .host-modal .host-hero {
    grid-column: 1;
    grid-row: 1 / -1;
    height: 100%;
    min-height: 560px;
  }

  .host-modal .host-hero img {
    height: 100%;
    object-position: center;
  }

  .host-modal .host-hero-overlay {
    left: 24px;
    right: 22px;
    bottom: 28px;
    max-width: none;
  }

  .host-modal .host-hero-overlay strong { font-size: 21px; }

  .host-modal .host-flow-header,
  .host-modal .host-steps,
  .host-modal .host-benefits,
  .host-modal .host-flow-status,
  .host-modal .host-application-form,
  .host-modal .host-report,
  .host-modal > #host-success,
  .host-modal > #host-explore-button {
    grid-column: 2;
    margin-left: 28px;
    margin-right: 28px;
  }

  .host-modal .host-flow-header { grid-row: 1; margin-top: 28px; padding-right: 0; }
  .host-modal .host-flow-header h2 { font-size: 32px; }
  .host-modal .host-steps { grid-row: 2; margin-top: 20px; }
  .host-modal .host-benefits { grid-row: 3; margin-top: 20px; }
  .host-modal .host-flow-status { grid-row: 4; margin-top: 14px; }
  .host-modal .host-application-form,
  .host-modal .host-report { grid-row: 5; margin-top: 0; margin-bottom: 28px; }
  .host-modal > #host-success { grid-row: 6; margin-bottom: 14px; }
  .host-modal > #host-explore-button { grid-row: 7; margin-bottom: 28px; }
  .host-modal .host-benefits > div { min-height: 76px; padding: 11px; }
  .host-modal .host-benefits small { font-size: 8px; }
  .host-modal .host-report { min-width: 0; }
}

/* Stepper states for Task 2. */
.host-steps span.is-active { color: var(--terracotta); }
.host-steps span.is-active b { background: var(--terracotta); border-color: var(--terracotta); color: white; }
.host-steps span.is-complete { color: #6f8a74; }
.host-steps span.is-complete b { background: #6f8a74; border-color: #6f8a74; color: white; }
.host-steps span.is-complete b::after { content: '✓'; font-size: 10px; }
.host-steps span.is-complete b { font-size: 0; }
.host-steps span.is-upcoming { color: #b7aea8; }
.host-steps span.is-upcoming b { background: transparent; border-color: #d9cec8; color: #a99e98; }
.host-steps span[aria-current="false"] { opacity: .78; }

/* Task 3: form hierarchy and source guidance. */
.host-application-form {
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 3px;
}
.host-application-form label {
  color: var(--ink);
  letter-spacing: .02em;
}
.host-application-form input {
  background: var(--paper);
  border-radius: 2px;
}
.host-application-form input[name="instagramUrl"],
.host-application-form input[name="officialWebsiteUrl"] { margin-bottom: 2px; }
.host-application-form .form-note {
  background: #f1e2de;
  border-left: 3px solid var(--terracotta);
  padding: 9px 10px;
  color: #6f514b;
  margin: 5px 0 4px;
}
.host-application-form .host-submit { width: 100%; margin-top: 8px; }
@media (min-width: 561px) {
  .host-application-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
  }
  .host-application-form > label[for="host-name"],
  .host-application-form > input[name="name"],
  .host-application-form > label[for="host-email"],
  .host-application-form > input[name="email"],
  .host-application-form > .form-note,
  .host-application-form > .host-submit { grid-column: 1 / -1; }
  .host-application-form > label[for="host-instagram"] { grid-column: 1; }
  .host-application-form > input[name="instagramUrl"] { grid-column: 1; }
  .host-application-form > label[for="host-website"] { grid-column: 2; grid-row: 5; }
  .host-application-form > input[name="officialWebsiteUrl"] { grid-column: 2; grid-row: 6; }
}
@media (max-width: 560px) {
  .host-application-form { padding: 16px; }
}

@media (max-width: 560px) {
  .host-modal { display: block; max-height: calc(100vh - 24px); overflow-y: auto; overflow-x: hidden; }
  .host-modal .host-hero { height: 118px; }
  .host-modal .host-hero-overlay { left: 20px; right: 20px; bottom: 16px; }
  .host-modal .host-hero-overlay strong { font-size: 18px; }
  .host-modal .host-flow-header,
  .host-modal .host-steps,
  .host-modal .host-benefits,
  .host-modal .host-flow-status,
  .host-modal .host-application-form,
  .host-modal .host-report,
  .host-modal > #host-success,
  .host-modal > #host-explore-button { margin-left: 20px; margin-right: 20px; }
  .host-modal .host-flow-header { margin-top: 20px; }
  .host-modal .host-flow-header h2 { font-size: 28px; }
}

.host-modal > #host-explore-button {
  width: calc(100% - 56px);
  margin-top: 0;
}

@media (max-width: 560px) {
  .host-modal > #host-explore-button {
    width: calc(100% - 40px);
    margin-bottom: 28px;
  }
}

.host-modal .host-report textarea {
  width: 100%;
  min-height: 120px;
  height: auto;
  resize: vertical;
  display: block;
}

.host-modal .host-report {
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
}

.host-modal .host-report .consent-check {
  width: 100%;
  display: flex !important;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.45;
  white-space: normal;
}

.host-modal .host-report .consent-check input {
  flex: 0 0 auto;
  width: auto;
  margin-top: 3px;
}

.host-modal .host-report .consent-check span {
  min-width: 0;
}

/* Task 4: readable report hierarchy. */
.report-summary-card {
  background: var(--ink);
  color: white;
  padding: 18px 20px;
  margin-bottom: 14px;
  border-radius: 3px;
}
.report-card-kicker {
  color: #f1c8bf;
  font-size: 9px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin: 0 0 7px;
}
.report-summary-card strong { display: block; font-family: var(--serif); font-size: 21px; line-height: 1.2; font-weight: 500; }
.report-summary-detail { margin: 10px 0 0; color: #f5e5df; font-size: 11px; line-height: 1.45; }
.report-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.report-card { background: var(--ivory); border: 1px solid var(--line); padding: 14px; min-width: 0; }
.report-card-icon { display: block; color: var(--terracotta); font-size: 17px; margin-bottom: 7px; }
.report-card h4,.report-card h5 { color: var(--ink); margin: 0 0 7px; font-size: 11px; }
.report-card h5 { margin-top: 12px; font-size: 9px; text-transform: uppercase; letter-spacing: .8px; color: var(--terracotta); }
.report-card p,.report-card li { color: var(--muted); font-size: 10px; line-height: 1.45; }
.report-card p { margin: 0; }
.report-card ul { margin: 0; padding-left: 16px; }
.report-card-fit { grid-column: 1 / -1; }
.report-card-wide { grid-column: 1 / -1; }
.report-card li strong { color: var(--ink); font-size: 11px; }
.report-card li span { color: var(--muted); }
.report-disclaimer { margin-top: 13px; }
.report-sources { color: var(--muted); }
.report-next-step { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid var(--line); }

/* Task 5: clear interest area. */
.host-report > label[for="host-offer"] { display: block; color: var(--ink); font-size: 12px; margin-top: 4px; }
.host-report > #host-offer { margin-top: 1px; }
.host-report > .form-note { margin: 2px 0 4px; }
.host-report > #host-interest-button { width: 100%; margin-top: 5px; }

@media (max-width: 560px) {
  .report-card-grid { grid-template-columns: 1fr; }
  .report-card-fit { grid-column: auto; }
}
