.pry-tools {
  --pry-gold: #0f5fc4;
  --pry-gold2: #1877f2;
  --pry-surface: #f5f8fc;
  --pry-line: #d9e1ec;
}

.pry-tools-hero {
  padding: 52px 0 30px;
  background: radial-gradient(circle at 85% 15%, rgba(24, 119, 242, .16), transparent 30%), linear-gradient(135deg, #f5f8fc, #fff);
}

.pry-tools-section { padding-top: 30px; }
.pry-tool-cards { align-items: stretch; grid-auto-rows: 1fr; margin-top: 0; }
.pry-tool-card { display: flex; flex-direction: column; align-self: stretch; height: 100%; min-height: 100%; margin: 0 !important; color: #111114; cursor: pointer; }
.pry-tool-card .pry-card-link { margin-top: auto; color: #1877f2; font-weight: 800; }
.pry-tool-card:hover { color: #111114; border-color: #1877f2; transform: translateY(-3px); box-shadow: 0 18px 45px rgba(24,119,242,.13); }
.pry-tool-tab svg, .pry-tool-card svg { background: #e8f1fe; stroke: #1877f2; }
.pry-primary { background: #1877f2; color: #fff !important; }
.pry-primary:hover { background: #0f5fc4; }
.pry-field input:focus, .pry-builder textarea:focus { outline-color: rgba(24, 119, 242, .2); }

@media (max-width: 767px) {
  .pry-tools-hero { padding: 38px 0 24px; }
  .pry-tools-section { padding-top: 24px; }
}

.pry-faq { max-width: 920px; margin: 64px auto 0; }
.pry-faq > h2 { margin-bottom: 24px; text-align: center; font-size: clamp(28px, 4vw, 40px); }
.pry-faq-list { border-top: 1px solid #d9e1ec; }
.pry-faq details { border-bottom: 1px solid #d9e1ec; background: #fff; }
.pry-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 4px; cursor: pointer; font-size: 18px; font-weight: 750; list-style: none; }
.pry-faq summary::-webkit-details-marker { display: none; }
.pry-faq summary span { color: #1877f2; font-size: 25px; transition: transform .2s; }
.pry-faq details[open] summary span { transform: rotate(45deg); }
.pry-faq details > div { padding: 0 45px 22px 4px; }
.pry-faq details p { margin: 0; color: #5f6570; font-size: 17px; line-height: 1.7; }
@media (max-width: 767px) {
  .pry-faq { margin-top: 46px; }
  .pry-faq summary { padding: 18px 16px; font-size: 17px; }
  .pry-faq details > div { padding: 0 16px 20px; }
}

/* UTM form hierarchy and controls */
.pry-builder-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid #d9e1ec; }
.pry-builder-intro h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); }
.pry-privacy { padding: 8px 12px; border-radius: 999px; background: #e9f7ef; color: #187645; font-size: 13px; font-weight: 700; white-space: nowrap; }
.pry-field label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pry-field label code { padding: 4px 8px; border: 1px solid #cbdcf4; border-radius: 6px; background: #e8f1fe; color: #0f5fc4; font: 700 12px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; }
.pry-tools .pry-field input:not([type="checkbox"]):not([type="radio"]) { box-sizing: border-box; height: 48px; min-height: 48px; padding-top: 0 !important; padding-bottom: 0 !important; line-height: 48px; }
.pry-parameter-section { margin-top: 30px; }
.pry-parameter-section + .pry-parameter-section { padding-top: 28px; border-top: 1px solid #d9e1ec; }
.pry-section-title { margin-bottom: 20px; }
.pry-section-title h3 { margin: 0 0 5px; font-size: 20px; }
.pry-section-title p { margin: 0; color: #696970; font-size: 14px; }
.pry-options { padding: 0; border: 1px solid #d9e1ec; border-radius: 12px; background: #fff; overflow: hidden; }
.pry-options summary { padding: 16px 18px; margin: 0; color: #0f5fc4; }
.pry-option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 18px; padding: 0 18px 18px; }
.pry-option-grid label { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 14px; }
.pry-option-grid input[type="checkbox"] { position: static !important; z-index: auto !important; width: 18px !important; height: 18px !important; margin: 1px 2px 0 0 !important; padding: 0 !important; opacity: 1 !important; appearance: auto !important; accent-color: #1877f2; cursor: pointer; flex: 0 0 18px; }
.pry-result { margin-top: 30px; padding: 24px; border-radius: 14px; background: #fff; border: 1px solid #cbdcf4; }
.pry-result > label { margin-bottom: 12px; font-size: 18px; }
.pry-result > div { gap: 14px; }
.pry-result .pry-primary { min-width: 150px; min-height: 52px; padding: 14px 24px; box-shadow: 0 6px 14px rgba(24,119,242,.2); }
.pry-clear-button { display: inline-flex; margin-top: 12px; padding: 10px 4px; color: #5f6570; text-decoration: none; }
.pry-clear-button:hover { color: #b42318; }
.pry-secondary { color: #0f5fc4; border-color: #a9c7ed; }
.pry-actions { gap: 12px; }
.pry-actions button { min-height: 48px; padding: 12px 20px; }
button.pry-primary { padding: 14px 24px !important; background: #1877f2 !important; color: #fff !important; }
button.pry-primary:hover { background: #0f5fc4 !important; }
button.pry-secondary { padding: 12px 20px !important; background: #fff !important; color: #0f5fc4 !important; border: 1px solid #a9c7ed !important; }
button.pry-clear-button { min-height: 44px; padding: 11px 18px !important; background: transparent !important; color: #5f6570 !important; border: 1px solid #cfd5dd !important; border-radius: 10px; box-shadow: none !important; text-decoration: none; }
button.pry-clear-button:hover { color: #b42318 !important; border-color: #e2a9a3 !important; background: #fff7f6 !important; }
.pry-tools .pry-result button.pry-clear-button[data-utm-clear] { display: flex !important; width: 100% !important; height: 48px !important; min-height: 48px !important; margin: 12px 0 0 !important; padding: 0 18px !important; align-items: center !important; justify-content: center !important; border-radius: 10px !important; line-height: 1 !important; text-align: center !important; }

/* Keyword combiner: visible controls, calm icons and consistent spacing. */
.pry-keyword-intro { margin-bottom: 26px; }
.pry-keyword-intro p { margin: 7px 0 0; color: #696970; font-size: 14px; line-height: 1.5; }
.pry-keyword-group label { padding-right: 38px; margin-bottom: 10px; line-height: 1.35; }
.pry-keyword-group textarea { padding: 15px 16px; line-height: 1.45; }
.pry-tools .pry-builder button.pry-remove-group { top: -5px !important; right: 0 !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 32px !important; min-width: 32px !important; height: 32px !important; min-height: 32px !important; padding: 0 !important; border: 0 !important; border-radius: 8px !important; background: transparent !important; color: #7a818c !important; box-shadow: none !important; line-height: 1 !important; }
.pry-tools .pry-builder button.pry-remove-group:hover { background: #f2f4f7 !important; color: #b42318 !important; transform: none !important; }
.pry-remove-group .dashicons { width: 20px; height: 20px; font-size: 20px; line-height: 20px; }
.pry-keyword-controls { margin-top: 32px; }
.pry-keyword-controls fieldset { padding: 17px 18px; }
.pry-keyword-controls legend { padding: 0 7px; }
.pry-keyword-controls label { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; line-height: 1.4; cursor: pointer; }
.pry-keyword-controls input[type="radio"], .pry-keyword-controls input[type="checkbox"] { position: static !important; z-index: auto !important; display: block !important; width: 18px !important; height: 18px !important; margin: 1px 0 0 !important; padding: 0 !important; opacity: 1 !important; appearance: auto !important; accent-color: #1877f2; cursor: pointer; flex: 0 0 18px; }
.pry-keyword-controls fieldset:focus-within { border-color: #8ab6ec; box-shadow: 0 0 0 3px rgba(24,119,242,.1); }
.pry-tools .pry-builder button { box-sizing: border-box; line-height: 1 !important; }
.pry-tools .pry-builder button.pry-primary { display: inline-flex; align-items: center; justify-content: center; height: 52px !important; padding: 0 24px !important; }
.pry-tools .pry-builder button.pry-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px !important; padding: 0 20px !important; }
.pry-tools .pry-builder [data-add-group] { margin-top: 18px; background: transparent !important; }
.pry-tools .pry-builder [data-add-group]:hover { background: #e8f1fe !important; }
.pry-builder button:disabled { cursor: not-allowed !important; opacity: .45; box-shadow: none !important; transform: none !important; }
.pry-builder a.pry-secondary { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 20px; border: 1px solid #a9c7ed; border-radius: 10px; background: #fff; color: #0f5fc4; font-weight: 800; line-height: 1; }
.pry-builder a.pry-secondary.is-disabled { pointer-events: none; cursor: not-allowed; opacity: .45; }
.pry-result { position: relative; }
.pry-result-title { align-items: center; gap: 12px; }
.pry-result-title strong { margin-left: auto; }
.pry-tools .pry-builder button.pry-clear-button[data-keywords-clear] { display: inline-flex; align-items: center; justify-content: center; width: 38px !important; min-width: 38px !important; height: 38px !important; min-height: 38px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 9px; background: transparent !important; color: #69717d !important; box-shadow: none !important; }
.pry-tools .pry-builder button.pry-clear-button[data-keywords-clear]:hover { background: #fff1f0 !important; color: #b42318 !important; }
.pry-clear-button .dashicons { width: 20px; height: 20px; font-size: 20px; line-height: 20px; }
.pry-actions { margin-top: 16px; gap: 12px; }
@media (max-width: 767px) {
  .pry-keyword-group label { margin-bottom: 9px; }
  .pry-keyword-controls { margin-top: 26px; }
  .pry-result-title { flex-wrap: wrap; }
  .pry-result-title strong { margin-left: 0; }
  .pry-result-title .pry-clear-button { margin-left: auto !important; }
}
@media (max-width: 767px) {
  .pry-builder-intro { align-items: flex-start; flex-direction: column; }
  .pry-field label { align-items: flex-start; }
  .pry-tools .pry-field input:not([type="checkbox"]):not([type="radio"]) { font-size: 16px; }
  .pry-option-grid { grid-template-columns: 1fr; }
  .pry-result { padding: 18px; }
  .pry-result .pry-primary { width: 100%; }
  .pry-actions button { width: 100%; }
}
