/* Mount with assets/feedback.js. Uses the site tokens when style.css is present. */
.hsr-site-notice {
  background: var(--blue-s, #e6f0fc);
  border-bottom: 1px solid var(--line, #dce5ef);
  color: var(--ink, #0b1f3a);
  font: 14px/1.45 var(--b, "Inter", system-ui, sans-serif);
}

.hsr-site-notice-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.hsr-site-notice-text {
  margin: 0;
  flex: 1;
  color: var(--muted, #4a5b73);
}

.hsr-site-notice-link {
  font-weight: 600;
  color: var(--blue, #0b63ce);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hsr-site-notice-link:hover {
  color: var(--blue-d, #084ea3);
}

.hsr-site-notice-dismiss {
  flex: none;
  border: 0;
  background: transparent;
  color: var(--muted, #4a5b73);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  min-height: 36px;
}

.hsr-site-notice-dismiss:hover {
  color: var(--ink, #0b1f3a);
  background: rgba(255, 255, 255, 0.55);
}

.hsr-site-notice-dismiss:focus-visible {
  outline: 3px solid var(--blue, #0b63ce);
  outline-offset: 2px;
}

@media (min-width: 720px) {
  .hsr-site-notice-in {
    align-items: center;
    padding: 10px 20px;
  }
}

.hsr-feedback {
  --hsr-fb-bg: var(--bg, #f3f7fb);
  --hsr-fb-card: var(--card, #fff);
  --hsr-fb-ink: var(--ink, #0b1f3a);
  --hsr-fb-muted: var(--muted, #4a5b73);
  --hsr-fb-line: var(--line, #dce5ef);
  --hsr-fb-blue: var(--blue, #0b63ce);
  --hsr-fb-blue-d: var(--blue-d, #084ea3);
  --hsr-fb-blue-s: var(--blue-s, #e6f0fc);
  box-sizing: border-box;
  width: 100%;
  max-width: 720px;
  margin: 0;
  color: var(--hsr-fb-ink);
  background: var(--hsr-fb-card);
  border: 1px solid var(--hsr-fb-line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 1px 2px rgba(11, 31, 58, 0.06), 0 24px 48px -28px rgba(11, 31, 58, 0.35);
  font: 16px/1.5 var(--b, "Inter", system-ui, sans-serif);
  color-scheme: light;
}

.hsr-feedback *,
.hsr-feedback *::before,
.hsr-feedback *::after {
  box-sizing: border-box;
}

.hsr-feedback-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--hsr-fb-blue-s);
  color: var(--hsr-fb-blue-d);
  font: 600 13px/1 var(--b, "Inter", system-ui, sans-serif);
}

.hsr-feedback-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hsr-fb-blue);
}

.hsr-feedback-title {
  margin: 0 0 18px;
  color: var(--hsr-fb-ink);
  font-family: var(--h, "Space Grotesk", system-ui, sans-serif);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hsr-feedback-form {
  margin: 0;
}

.hsr-feedback-status {
  margin: 0 0 14px;
  border-radius: 12px;
  padding: 12px 14px;
  font: 600 14px/1.45 var(--b, "Inter", system-ui, sans-serif);
}

.hsr-feedback-status:focus {
  outline: 3px solid var(--hsr-fb-blue);
  outline-offset: 2px;
}

.hsr-feedback-status.is-error {
  color: #8b1e1e;
  background: #fdecec;
  border: 1px solid #f2c4c4;
}

.hsr-feedback-status.is-success {
  color: var(--hsr-fb-blue-d);
  background: var(--hsr-fb-blue-s);
  border: 1px solid transparent;
}

.hsr-feedback-status.is-pending {
  color: var(--hsr-fb-ink);
  background: var(--hsr-fb-bg);
  border: 1px solid var(--hsr-fb-line);
}

.hsr-feedback fieldset {
  min-inline-size: 0;
  margin: 0 0 14px;
  border: 0;
  padding: 0;
}

.hsr-feedback legend,
.hsr-feedback label {
  display: block;
  margin: 0 0 6px;
  color: var(--hsr-fb-ink);
  font-weight: 600;
  font-size: 14px;
}

.hsr-feedback-req,
.hsr-feedback-opt {
  color: var(--hsr-fb-muted);
  font-weight: 500;
  font-size: 13px;
}

.hsr-feedback-field {
  margin: 0 0 14px;
}

.hsr-feedback-control {
  display: block;
  width: 100%;
  margin: 0;
  border: 1.5px solid var(--hsr-fb-line);
  border-radius: 12px;
  background: #fff;
  color: var(--hsr-fb-ink);
  font: 16px/1.4 var(--b, "Inter", system-ui, sans-serif);
}

.hsr-feedback input.hsr-feedback-control,
.hsr-feedback select.hsr-feedback-control {
  height: 52px;
  padding: 0 14px;
}

.hsr-feedback textarea.hsr-feedback-control {
  min-height: 140px;
  padding: 12px 14px;
  resize: vertical;
}

.hsr-feedback-control:focus {
  border-color: var(--hsr-fb-blue);
  outline: 0;
}

.hsr-feedback-control:focus-visible {
  border-color: var(--hsr-fb-blue);
  outline: 3px solid var(--hsr-fb-blue);
  outline-offset: 2px;
}

.hsr-feedback-control[aria-invalid="true"] {
  border-color: #b3261e;
}

.hsr-feedback-hint {
  margin: 6px 0 0;
  color: var(--hsr-fb-muted);
  font-size: 13px;
  line-height: 1.45;
}

.hsr-feedback-error {
  margin: 6px 0 0;
  color: #8b1e1e;
  font: 600 13px/1.4 var(--b, "Inter", system-ui, sans-serif);
}

.hsr-feedback-scale {
  display: grid;
  grid-template-columns: repeat(5, minmax(44px, 1fr));
  gap: 8px;
}

.hsr-feedback-scale label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  border: 1.5px solid var(--hsr-fb-line);
  border-radius: 12px;
  background: #fff;
  color: var(--hsr-fb-ink);
  font: 700 16px/1 var(--h, "Space Grotesk", system-ui, sans-serif);
  cursor: pointer;
}

.hsr-feedback-scale input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.hsr-feedback-scale label:has(input:checked) {
  border-color: var(--hsr-fb-blue);
  background: var(--hsr-fb-blue-s);
  color: var(--hsr-fb-blue-d);
}

.hsr-feedback-scale label:has(input:focus-visible) {
  outline: 3px solid var(--hsr-fb-blue);
  outline-offset: 2px;
}

.hsr-feedback-scale-hint {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 0;
  color: var(--hsr-fb-muted);
  font-size: 13px;
}

.hsr-feedback-turnstile:not([hidden]) {
  min-height: 65px;
  margin: 0 0 16px;
}

.hsr-feedback-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hsr-feedback-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
  border: 0;
  border-radius: 14px;
  background: var(--hsr-fb-blue);
  color: #fff;
  font: 700 16px/1 var(--b, "Inter", system-ui, sans-serif);
  cursor: pointer;
}

.hsr-feedback-submit:hover {
  background: var(--hsr-fb-blue-d);
}

.hsr-feedback-submit:focus-visible {
  outline: 3px solid var(--hsr-fb-blue);
  outline-offset: 2px;
}

.hsr-feedback-submit:disabled,
.hsr-feedback-submit[aria-busy="true"] {
  opacity: 0.72;
  cursor: wait;
}

@media (min-width: 1024px) {
  .hsr-feedback {
    padding: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hsr-feedback,
  .hsr-feedback * {
    transition: none;
  }
}
