* {
  box-sizing: border-box;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  margin: 25px auto;
  padding: 0 20px;
  max-width: 720px;
  color: #222;
  background: #fff;
}

header {
  text-align: center;
  margin-bottom: 18px;
}

h1 {
  font-weight: bold;
  color: #e87ea1;
  margin: 0.4em 0;
}

h1 a {
  font-weight: bold;
  color: #e87ea1;
  text-decoration: none;
}

h1 a:hover {
  color: #d65380;
}

.bold {
  font-weight: bold;
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.subtitle {
  color: #555;
  font-size: 0.92rem;
  margin-top: 0;
  margin-bottom: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

form {
  margin-bottom: 22px;
  padding: 16px;
  background-color: #c8e7f5;
  display: block;
  width: 100%;
  max-width: 560px;
  border-radius: 4px;
  border: 1px solid #9ecbe0;
  box-shadow: 5px 5px #7f8c8d;
}

input {
  display: block;
  margin-bottom: 12px;
  padding: 8px 10px;
  width: 100%;
  border: 1px solid #aaa;
  border-radius: 3px;
  font-size: 16px;
  background: #fff;
}

input:focus {
  outline: 2px solid #008080;
  border-color: #008080;
}

.button_row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

button {
  font-size: 14px;
  font-weight: 600;
  border-radius: 3px;
  background-color: #ececec;
  border: 1px solid #666;
  box-shadow: 2px 2px teal;
  cursor: pointer;
  padding: 6px 12px;
  min-height: 34px;
  color: #222;
}

button.primary_btn {
  background-color: #f6d2e0;
}

button:hover {
  background-color: #f9b9d0;
}

button:active {
  box-shadow: none;
  transform: translate(1px, 1px);
}

#status_toast {
  min-height: 20px;
  font-size: 0.85rem;
  color: #006666;
  margin-bottom: 8px;
  font-weight: 600;
}

.response_holder {
  margin-bottom: 20px;
}

.full_response {
  border: 1px solid #777;
  padding: 16px 20px;
  background: #fff;
  box-shadow: 5px 5px #888888;
  border-radius: 4px;
  max-width: 560px;
}

.card_header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

p.response_input {
  font-weight: bold;
  font-size: 1.08rem;
  margin: 0 0 6px 0;
}

.mode_badge {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 3px;
  background: #eef7fb;
  border: 1px solid #b5d9ea;
  color: #2c5d73;
  margin-bottom: 10px;
}

p.response_text {
  line-height: 1.55;
  margin: 6px 0 0 0;
  color: #222;
}

.card_actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.icon_btn {
  font-size: 13px;
  padding: 4px 8px;
  min-height: 28px;
  box-shadow: 1px 1px teal;
}

footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
  color: #888;
}

footer a {
  color: #666;
  text-decoration: none;
}

footer a:hover {
  color: #e87ea1;
  text-decoration: underline;
}

footer .sep {
  margin: 0 6px;
  color: #ccc;
}
