#review-widget, #review-widget * {
  box-sizing: border-box;
  font-family: -apple-system, "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #2a3744;
}
#rw-toggle {
  position: fixed; right: 16px; bottom: 16px; z-index: 999999;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: none; border-radius: 999px;
  background: #d30b5a; color: #fff; cursor: pointer;
  box-shadow: 0 8px 24px rgba(211, 11, 90, 0.35);
  font-weight: 600; font-size: 13px;
}
#rw-toggle:hover { background: #b80950; }
#rw-toggle svg { stroke: #fff; width: 18px; height: 18px; }
#rw-toggle span { color: #fff; }

#rw-panel {
  position: fixed; right: 16px; bottom: 16px; z-index: 999999;
  width: 380px; max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  background: #fff; border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  display: flex; flex-direction: column;
  border: 1px solid #e1e9f0; overflow: hidden;
}
#rw-panel[hidden] { display: none; }
.rw-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; background: #0d3e67;
}
.rw-header strong { color: #fff; font-size: 14px; font-weight: 600; }
#rw-close {
  background: transparent; border: none;
  color: #fff; font-size: 22px; line-height: 1;
  cursor: pointer; padding: 0 6px;
}
.rw-row {
  padding: 10px 16px; display: flex; flex-direction: column; gap: 5px;
}
.rw-row label {
  font-size: 11px; color: #76777b;
  text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600;
}
.rw-row textarea {
  resize: vertical; padding: 8px; min-height: 38px;
  border: 1px solid #e1e9f0; border-radius: 6px;
  font-family: inherit; font-size: 14px; color: #2a3744;
  background: #fff;
}
.rw-row textarea:focus { outline: none; border-color: #d30b5a; }
.rw-pill {
  display: inline-block; align-self: flex-start;
  background: #f4f7fa; border-radius: 999px;
  padding: 4px 12px; font-size: 12px; color: #0d3e67; font-weight: 500;
}
.rw-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px 14px; border-top: 1px solid #f4f7fa; gap: 12px;
}
#rw-send {
  padding: 8px 18px; background: #d30b5a; color: #fff;
  border: none; border-radius: 6px; cursor: pointer;
  font-weight: 600; font-size: 14px;
}
#rw-send:hover { background: #b80950; }
#rw-send[disabled] { opacity: 0.6; cursor: not-allowed; }
#rw-msg { font-size: 12px; color: #76777b; flex: 1; }
#rw-msg.ok { color: #1a8a3f; }
#rw-msg.err { color: #d30b5a; }

@media (max-width: 480px) {
  #rw-panel { width: calc(100vw - 16px); right: 8px; bottom: 8px; }
  #rw-toggle { right: 8px; bottom: 8px; }
}
