body { margin: 0; font-family: "Open Sans", Arial, sans-serif; background: #f3f3f3; }
.notice { max-width: 680px; margin: 60px auto; padding: 24px 32px; background: #fff; border-radius: 8px; line-height: 1.6; }

.timer-bar {
  position: sticky; top: 0; z-index: 10;
  background: #19b394; color: #fff; text-align: center;
  font-weight: 600; padding: 10px; font-size: 16px;
}

.chat { border: 1px solid #d6d6d6; border-radius: 8px; background: #fff; display: flex; flex-direction: column; }
.chat-log { height: 380px; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-form { display: flex; gap: 8px; border-top: 1px solid #e5e5e5; padding: 10px; }
.chat-form textarea { flex: 1; resize: none; font: inherit; padding: 8px; border: 1px solid #ccc; border-radius: 6px; }
.chat-form button { padding: 0 20px; border: 0; border-radius: 6px; background: #19b394; color: #fff; font-weight: 600; cursor: pointer; }
.chat-form button:disabled { background: #9adbcb; cursor: default; }

.msg { max-width: 85%; padding: 8px 12px; border-radius: 10px; line-height: 1.5; white-space: pre-wrap; }
.msg .who { display: block; font-size: 12px; font-weight: 600; opacity: 0.7; margin-bottom: 2px; }
.msg.user { align-self: flex-end; background: #e3f6f1; }
.msg.bot { align-self: flex-start; background: #f1f1f1; }
.msg.waiting { font-style: italic; opacity: 0.7; }

.transcript { max-height: 460px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid #d6d6d6; border-radius: 8px; background: #fff; }
.transcript .placeholder { color: #a00; }

.chat-area { max-width: 900px; margin: 0 auto 40px; padding: 0 16px; }
