:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #18211d;
  background: #f4f6f5;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
}

button,
a {
  font: inherit;
}

.site-header {
  min-height: 74px;
  padding: 14px clamp(18px, 5vw, 64px);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  color: #f8fbf9;
  background: #17372d;
  border-bottom: 4px solid #d3a632;
}

.site-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #17372d;
  background: #f4ce64;
  border-radius: 6px;
}

.site-header h1,
.state-panel h2,
.site-header p,
.state-panel p {
  margin: 0;
}

.site-header h1 {
  font-size: 18px;
  line-height: 1.25;
}

.eyebrow {
  margin-bottom: 4px !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: #617169;
}

.site-header .eyebrow {
  color: #bed0c8;
}

.session-state {
  font-size: 13px;
  font-weight: 650;
}

main {
  width: min(720px, calc(100% - 36px));
  margin: clamp(40px, 9vh, 96px) auto;
}

.state-panel {
  padding: clamp(22px, 5vw, 38px) 0;
  border-top: 1px solid #cad2ce;
  border-bottom: 1px solid #cad2ce;
}

.state-panel h2 {
  font-size: 22px;
  line-height: 1.3;
}

.state-panel > p {
  margin-top: 8px;
  color: #59645f;
}

.panel-heading,
.proof-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.panel-heading {
  padding-bottom: 26px;
  border-bottom: 1px solid #d7ddda;
}

.proof-row {
  padding: 30px 0;
}

.proof-status {
  font-size: 17px;
  font-weight: 680;
}

.primary-button,
.approval-link,
.icon-button {
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.primary-button,
.approval-link {
  min-height: 44px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 720;
  text-decoration: none;
  color: #fff;
  background: #176c51;
}

.primary-button:hover,
.approval-link:hover {
  background: #11553f;
}

.primary-button:disabled {
  cursor: wait;
  color: #66716c;
  background: #d7ddda;
}

.icon-button {
  width: 40px;
  height: 40px;
  font-size: 21px;
  color: #31443b;
  background: transparent;
}

.icon-button:hover {
  background: #e3e9e6;
}

.approval-link {
  width: 100%;
  background: #2e4f85;
}

.approval-link:hover {
  background: #233f6d;
}

.decision-details {
  margin: 26px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #d7ddda;
}

.decision-details div {
  min-width: 0;
  padding: 18px 0;
}

.decision-details dt {
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #617169;
}

.decision-details dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.notice {
  min-height: 24px;
  margin: 18px 0 0;
  font-size: 14px;
  color: #52605a;
}

.notice-error {
  color: #a13232;
}

[hidden] {
  display: none !important;
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .session-state {
    grid-column: 2;
  }

  .proof-row {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button {
    width: 100%;
  }

  .decision-details {
    grid-template-columns: 1fr;
  }
}
