.msg { max-width: 640px; }
.msg-desc { font-size: 13.5px; color: #5b6b56; margin: 0 0 16px; }
.msg > label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: #27331f; margin-bottom: 12px; }
.msg input, .msg select {
  padding: 9px 11px; font-size: 14.5px; border: 1px solid #d9e0d4; border-radius: 6px; background: #fff; color: #27331f;
}
.msg input:focus, .msg select:focus { outline: 2px solid #19616a; outline-offset: 1px; }

.msg-panel { display: flex; flex-direction: column; gap: 12px; padding: 14px; background: #f3f4f8; border: 1px solid #d9e0d4; border-radius: 6px; margin-bottom: 14px; }
.msg-panel-title { font-size: 13.5px; font-weight: 700; color: #27331f; margin: 0; }
.msg-panel label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: #27331f; }
.msg-panel input, .msg-panel select { padding: 9px 11px; font-size: 14.5px; border: 1px solid #d9e0d4; border-radius: 6px; background: #fff; }
.msg-panel input:focus, .msg-panel select:focus { outline: 2px solid #19616a; outline-offset: 1px; }

.msg-row2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.msg-row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.msg-check-row { display: flex; flex-wrap: wrap; gap: 14px; }
.msg-check {
  flex-direction: row !important; align-items: center; gap: 6px !important; font-weight: 700;
}
.msg-check input[type="checkbox"] { width: auto; padding: 0; }

.msg-section { border-top: 1px solid #d9e0d4; margin-top: 4px; padding-top: 12px; }
.msg-section-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: #5b6b56; margin: 0 0 10px; }

.msg-out { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.msg-cmd {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 12px; background: #f3f4f8; border: 1px solid #d9e0d4; border-radius: 6px;
}
.msg-cmd code { font-family: ui-monospace, monospace; font-size: 13.5px; color: #19616a; font-weight: 700; word-break: break-all; }
.msg-cmd span { font-size: 12.5px; color: #5b6b56; }

.msg-hint { font-size: 12.5px; color: #5b6b56; margin: 4px 0 0; }
.msg-note { margin-top: 16px; font-size: 13px; color: #5b6b56; }

@media (max-width: 480px) {
  .msg-row2, .msg-row3 { grid-template-columns: 1fr; }
}
