/* Herald · Webhook — app tweaks. Base in glass-core.css (Meta frosted
   kit; rows/cards inherit the frosted-iridescent surface + electric
   per-app accent). The Confirm screen is a deliberate, unmissable
   gate: nothing leaves the device until Enter is pressed here. */

.wh-foot {
  flex-shrink: 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  padding: 6px 10px 2px;
}

/* ---- Confirm gate ---- */
.wh-confirm {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 18px 16px;
  justify-content: center;
}
.wh-c-label {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.2px;
}
.wh-c-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.wh-c-k {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #0b1020;
  background: var(--app-accent, #5b8cff);
}
.wh-c-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  word-break: break-all;
}
.wh-c-body {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  color: var(--text-muted);
  background: var(--frost-1);
  border: 1px solid var(--frost-border);
  border-radius: 12px;
  padding: 9px 12px;
  max-height: 96px;
  overflow: hidden;
  word-break: break-all;
  white-space: pre-wrap;
}
.wh-c-body.empty { font-style: italic; opacity: 0.7; }

.wh-c-result {
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  padding: 10px 12px;
  word-break: break-word;
}
.wh-c-result.ok {
  color: var(--up, #6affb4);
  background: rgba(106, 255, 180, 0.12);
  border: 1px solid rgba(106, 255, 180, 0.4);
}
.wh-c-result.warn {
  color: #ffd166;
  background: rgba(255, 209, 102, 0.12);
  border: 1px solid rgba(255, 209, 102, 0.4);
}
.wh-c-result.err {
  color: var(--danger, #ff5e7a);
  background: rgba(255, 94, 122, 0.12);
  border: 1px solid rgba(255, 94, 122, 0.4);
}

.wh-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 700;
  color: #0b1020;
  background: linear-gradient(135deg,
    var(--app-accent, #5b8cff),
    color-mix(in srgb, var(--app-accent, #5b8cff) 70%, #ffffff));
  border: 1px solid var(--frost-border);
  border-radius: 16px;
  padding: 16px 18px;
  margin-top: 4px;
  cursor: pointer;
  transition: box-shadow 160ms ease, transform 120ms ease;
}
.wh-send .wh-send-k {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(11, 16, 32, 0.18);
  font-size: 15px;
}
.wh-send:focus,
.wh-send.focused {
  outline: none;
  box-shadow:
    0 0 0 2px var(--focus-ring),
    0 0 26px var(--aa-glow, rgba(91, 140, 255, 0.55));
  transform: translateY(-1px);
}
.wh-send.done { filter: saturate(0.6) brightness(0.9); }
.wh-send[disabled] { opacity: 0.7; cursor: default; }

.wh-c-hint {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}
