/* Colors, type, and header match the Travel Advance and Travel Expense forms. */
:root {
  --ink: #1b1b1b;
  --muted: #4a4a4a;
  --wpd-green: #1b5e3b;
  --orange: #f0b429;
  --page: #ececec;
}

* { box-sizing: border-box; }

html { color-scheme: light; }

html, body { margin: 0; padding: 0; }

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--page);
  font-size: 16px;
  line-height: 1.45;
}

.wrap {
  max-width: 1100px;
  margin: 16px auto 48px;
  background: #fff;
  border: 1px solid #bbb;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  padding: 16px 18px 20px;
}

h1 {
  margin: 0 0 4px;
  font-size: 22px;
  letter-spacing: .2px;
  color: var(--wpd-green);
  text-align: center;
}

h2 {
  margin: 20px 0 8px;
  font-size: 16px;
  color: var(--wpd-green);
}

.which ul {
  margin: 0;
  padding-left: 1.2em;
}

.which li { margin: 6px 0; }

.faq details {
  border-top: 1px solid #d0d0d0;
}

.faq details:last-of-type {
  border-bottom: 1px solid #d0d0d0;
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
  padding: 10px 0;
}

.faq details p {
  margin: 0 0 12px;
}

a { color: var(--wpd-green); }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 12px;
}

.form-actions button {
  flex: 1 1 240px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: var(--wpd-green);
  border: 0;
  border-radius: 3px;
  padding: 16px 18px;
  cursor: pointer;
}

.form-actions button:hover { filter: brightness(1.05); }

.form-actions button:focus-visible {
  outline: 2px solid #6aa84f;
  outline-offset: 2px;
}

.form-actions button.is-selected {
  background: #0f3d27;
  box-shadow: inset 0 0 0 3px var(--orange);
}

#form-placeholder {
  margin: 8px 0 0;
  color: var(--muted);
}

#form-frame {
  display: block;
  width: 100%;
  height: calc(100vh - 2rem);
  min-height: 700px;
  border: 1px solid #bbb;
  background: #fff;
}

footer {
  margin-top: 28px;
  padding-top: 12px;
  border-top: 2px solid #222;
  font-size: 14px;
}

footer p { margin: 0 0 6px; }

.policy-line {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 600px) {
  .wrap {
    margin: 0;
    border-left: 0;
    border-right: 0;
  }

  .form-actions button { flex-basis: 100%; }
}

@media print {
  body { background: #fff; }

  .wrap {
    margin: 0;
    border: 0;
    box-shadow: none;
    max-width: none;
  }

  .form-actions,
  .frame-panel,
  iframe {
    display: none !important;
  }

  .faq details { break-inside: avoid; }
}
