/* Canonical site/editor survey theme. Scoped to avoid changing existing forms. */
.modal.feedback-modal { z-index: 520; }
.feedback-modal .feedback-panel { width: min(680px,calc(100vw - 32px)); max-height: calc(var(--overlay-viewport-height,100dvh) - 32px); padding: 0; overflow: auto; border: 1px solid #cfd3c5; border-radius: 8px; background: #f5f4ef; overscroll-behavior: contain; }
.feedback-header { position: relative; padding: 30px 84px 27px 30px; background: #1b211a; border-bottom: 4px solid #f7df22; color: #fff; }
.feedback-header .eyebrow { color: #f7df22; font-size: 11px; letter-spacing: .15em; margin: 0 0 12px; }
.feedback-header h2 { color: #fff; font-size: clamp(25px,3vw,34px); line-height: 1.12; margin: 0; letter-spacing: -.035em; outline: none; }
.feedback-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; padding: 11px; background: #30372b; color: #fff; border: 1px solid #515b43; border-radius: 5px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; }
.feedback-close svg { width: 22px; height: 22px; pointer-events: none; }
.feedback-body { padding: 26px 30px 30px; color: #606957; font-size: 14px; line-height: 1.6; }
.feedback-body p { margin: 0 0 16px; }
.feedback-lead { font-size: 17px; }
.feedback-body .feedback-duration { background: #eeefdf; border: 1px solid #dbdfca; border-radius: 5px; padding: 12px 16px; color: #343c2c; font-weight: 700; }
.feedback-duration span { color: #857609; margin-right: 7px; }
.feedback-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 25px; flex-wrap: wrap; }
.feedback-actions .button { min-height: 46px; padding: 12px 18px; display: inline-flex; justify-content: center; align-items: center; line-height: 1.3; border-radius: 5px; font-size: 14px; }
.feedback-actions .primary { background: #f7df22; border: 1px solid #d3be10; color: #1b211a; }
.feedback-actions .secondary { background: #fff; color: #4f5944; border: 1px solid #cfd3c5; }
.feedback-questions { display: grid; gap: 16px; margin-bottom: 24px; }
.feedback-question { border: 0; border-bottom: 1px solid #dadfce; padding: 0 0 13px; margin: 0; min-width: 0; }
.feedback-question legend { padding: 0; color: #273021; font-size: 15px; font-weight: 800; }
.feedback-rating-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.feedback-rating-line p { font-size: 12px; margin: 0; max-width: 270px; }
.feedback-stars { display: flex; flex-shrink: 0; }
.feedback-star { padding: 0; width: 36px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: none; border-radius: 4px; color: #8a917e; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; transition: color .15s, transform .15s; }
.feedback-star.is-filled { color: #857509; }
.feedback-star:hover { color: #a38b00; transform: translateY(-2px); background: #f9ed99; }
.feedback-modal :is(button,a,input,textarea):focus-visible { outline: 2px solid #8c7d05; outline-offset: 3px; }
.feedback-clear,.feedback-text-button { padding: 3px 0; border: 0; background: transparent; text-decoration: underline; color: #576146; font-size: 12px; cursor: pointer; }
.feedback-clear[hidden] { display:none; }
.feedback-comment-label { font-size: 14px; color: #2d3727; font-weight: 700; display: flex; justify-content: space-between; margin-bottom: 7px; }
.feedback-comment-label span { color: #68725a; font-weight: 400; font-size: 12px; }
.feedback-body textarea { width: 100%; min-height: 88px; border: 1px solid #cbd2be; border-radius: 5px; padding: 12px; color: #37432d; background: #fff; font: inherit; resize: vertical; }
.feedback-body .feedback-small { font-size: 11px; margin: 5px 0 16px; }
.feedback-consent { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1px solid #dce1ce; background: #fff; border-radius: 5px; color: #48513c; font-size: 12px; }
.feedback-consent input { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: #756801; }
.feedback-consent small { display: block; margin-top: 5px; font-size: 11px; color: #6a735f; }
.feedback-body .feedback-privacy { font-size: 11px; line-height: 1.5; margin: 15px 0 0; }
.feedback-privacy a,.feedback-receipt a { color: #3f4b32; text-decoration: underline; font-weight: 700; }
.feedback-body .feedback-error { color: #982d20; border-left: 3px solid #ad3b29; padding: 10px 12px; margin-top: 16px; background: #fff4ec; }
.feedback-error[hidden] { display: none; }
.feedback-receipt { padding: 18px; border: 1px solid #d4d9c7; border-radius: 5px; background: #fff; font-size: 13px; }
.feedback-receipt strong { color: #2d3727; }
.feedback-receipt label { display:block; font-size:11px; margin-top:12px; }
.feedback-receipt input { width:100%; min-width:0; padding:8px; border:1px solid #d4d9c7; background:#f5f4ef; color:#45513a; border-radius:4px; font-size:12px; }
.feedback-receipt [role=status] { margin-left:10px; font-size:12px; }
.home-site-feedback { border-top: 1px solid #dce0d1; padding-block: clamp(48px,6vw,88px); }
.home-site-feedback .home-section-head { margin-bottom: 24px; }
.feedback-home-intro { color:#606957; max-width: 640px; font-size: 17px; line-height:1.65; }
.feedback-total { color:#313c28; font-weight:700; font-size:13px; margin-top:22px; }
.feedback-selection { color:#707960; font-size:12px; max-width:760px; line-height:1.6; }
.feedback-review-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:26px; }
.feedback-review { margin:0; border:1px solid #d6dccb; border-top:3px solid #dfcb20; border-radius:6px; padding:24px; background:#fff; }
.feedback-review figcaption { display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; align-items:center; color:#2c3625; font-size:13px; }
.feedback-review time { color:#717960; font-size:11px; }
.feedback-review blockquote { font-size:16px; line-height:1.65; color:#414c34; margin:20px 0; white-space:pre-wrap; overflow-wrap:anywhere; }
.feedback-review dl { padding-top:12px; border-top:1px solid #e3e6da; margin:16px 0 0; display:grid; gap:7px; }
.feedback-review dl div { display:flex; gap:8px; justify-content:space-between; font-size:11px; }
.feedback-review dd { margin:0; white-space:nowrap; color:#857509; letter-spacing:1px; }
.feedback-review dt { color:#5d694d; }
.feedback-unfilled { color:#8a917e; }
.feedback-standalone { margin:40px auto; max-width:680px; padding:0 16px; }
.feedback-standalone #siteFeedbackModal { position:static; display:block; padding:0; background:none; }
.feedback-standalone .feedback-modal .feedback-panel { position:static; transform:none; width:100%; max-height:none; }
.feedback-standalone :is(.modal-backdrop,.feedback-close) { display:none; }
@media(max-width:900px) { .feedback-review-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) {
  .feedback-modal .feedback-panel { width:calc(100vw - 20px); max-height:calc(var(--overlay-viewport-height,100dvh) - 20px); }
  .feedback-header { padding:22px 70px 22px 20px; }
  .feedback-close { right:14px; top:14px; }
  .feedback-body { padding:20px; }
  .feedback-rating-line { display:block; }
  .feedback-rating-line p { max-width:none; }
  .feedback-star { width:44px; height:44px; font-size:30px; }
  .feedback-questions { gap:12px; }
  .feedback-actions { gap:8px; }
  .feedback-actions .button { flex:1 1 140px; }
  .feedback-review-grid { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) { .feedback-star { transition:none; } .feedback-star:hover { transform:none; } }
