:root {
  font-family: Inter, system-ui, sans-serif;
  color: #142033;
  background: #f5f7fb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #eef4fb 0, #fff 100%);
}

main {
  width: min(760px, calc(100% - 28px));
  margin: auto;
  padding: 46px 0;
}

.brand {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 28px;
}

.mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #163a63;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
}

.brand h1 {
  margin: 0;
  font-size: 27px;
}

.brand p {
  margin: 2px 0;
  color: #5b6675;
  font-size: 14px;
}

.card {
  background: #fff;
  border: 1px solid #dde5ef;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 14px 40px #24344d12;
}

.intro {
  font-size: 18px;
  line-height: 1.5;
}

.askrow {
  display: flex;
  gap: 10px;
}

textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  border: 1px solid #cdd7e4;
  border-radius: 14px;
  padding: 14px;
  font: inherit;
}

button {
  border: 0;
  border-radius: 13px;
  background: #163a63;
  color: white;
  font-weight: 700;
  padding: 0 20px;
  min-width: 94px;
  cursor: pointer;
}

button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.answer {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e7edf4;
  line-height: 1.55;
}

.answer.show { display: block; }

.status,
.note,
.last-checked {
  font-size: 12px;
  color: #667085;
}

.status { margin-top: 14px; }

.last-checked {
  margin: 12px 4px 0;
  text-align: center;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9ba7b5;
  margin-right: 7px;
}

.dot.ready { background: #2c9d62; }

@media (max-width: 600px) {
  .askrow { display: block; }

  button {
    width: 100%;
    height: 48px;
    margin-top: 10px;
  }
}
