/* Scoped to the new contribution tools; the existing TOP remains unchanged. */
.rp-shell{padding:36px 0 64px}.rp-shell h1{font-size:clamp(1.7rem,4vw,2.5rem);line-height:1.45}.rp-shell h2{font-size:1.4rem}.rp-shell p,.rp-shell li{line-height:1.85}.rp-shell :where(input,select,textarea){max-width:100%;font:inherit;border:1px solid #b7cadb;border-radius:8px;padding:10px 12px;background:#fff;color:#243c50}.rp-shell :where(input:not([type=checkbox]):not([type=radio]),textarea){width:100%}.rp-shell textarea{min-height:110px;resize:vertical}.rp-shell label{display:block;font-weight:700;margin:18px 0 7px}.rp-shell fieldset{min-width:0;border:1px solid #cbdce8;border-radius:12px;padding:18px;margin:24px 0}.rp-shell legend{font-weight:700;padding:0 8px}.rp-shell button:not(.button){font:inherit;border:1px solid #90b4d0;border-radius:7px;background:#f1f7fc;padding:9px 14px;color:#135780;cursor:pointer}.rp-shell .rp-status{white-space:pre-line;overflow-wrap:anywhere;padding:15px;border-left:4px solid #438dbb;background:#eff7fd;min-height:50px}.rp-shell .rp-status:empty{display:none}.rp-shell .rp-muted{font-size:.9rem;color:#526b7c}.rp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}.rp-card{border:1px solid #d3e2ec;border-radius:14px;padding:22px;background:#fff}.rp-card h2,.rp-card h3{margin-top:0}.rp-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:22px 0}.rp-step{border:1px solid #cbdce8;border-radius:12px;padding:20px;margin:20px 0;min-width:0}.rp-step img,.rp-photo{display:block;max-width:100%;height:auto;border-radius:10px}.rp-form{max-width:800px}.rp-shell [hidden]{display:none!important}.rp-shell :focus-visible,[data-device-picker] :focus-visible{outline:3px solid #1d6fb0;outline-offset:3px}.rp-shell .rp-check{display:flex;gap:10px;align-items:flex-start;font-weight:400}.rp-check input{flex:0 0 auto;width:20px;height:20px;margin-top:4px}.rp-shell dl{display:grid;grid-template-columns:minmax(90px,auto) 1fr;gap:10px}.rp-shell dd{margin:0;overflow-wrap:anywhere}.rp-shell .rp-danger{border-color:#bf6565;color:#8a2525}.rp-shell pre{white-space:pre-wrap;overflow-wrap:anywhere}.rp-shell .rp-history{padding-left:24px}.rp-shell a{overflow-wrap:anywhere}.rp-shell .rp-plain{white-space:pre-line}.rp-shell .rp-name{font-weight:700}.rp-shell .rp-badge{display:inline-block;border-radius:6px;background:#e9f3fa;color:#24577c;padding:3px 8px;font-size:.85rem}.rp-shell .rp-source{font-size:.9rem}.rp-shell .rp-editor-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.rp-shell hr{border:0;border-top:1px solid #d3e2ec;margin:32px 0}
[data-device-picker]{position:relative;margin:14px 0}[data-device-picker] [data-device-results]{list-style:none;margin:6px 0;padding:0;border:1px solid #bfd3e3;border-radius:8px;max-height:260px;overflow:auto;background:#fff}[data-device-results] li{border-bottom:1px solid #e0ebf3}[data-device-picker] [data-device-results] button{display:block;width:100%;text-align:left;border:0;border-radius:0;padding:12px;background:#fff;color:#175477;font:inherit;cursor:pointer}[data-device-picker] [data-device-results] button:hover{background:#edf7ff}[data-device-selection]{font-size:.9rem;line-height:1.65;overflow-wrap:anywhere}[data-device-query]{max-width:100%}.rp-shell .rp-inline-fields{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.rp-inline-fields>div{flex:1 1 200px}
@media(max-width:600px){.rp-shell{padding:24px 0 44px}.rp-shell fieldset,.rp-step,.rp-card{padding:15px}.rp-actions>.button{width:100%;text-align:center}.rp-shell dl{grid-template-columns:1fr;gap:5px}.rp-shell dt{font-weight:700}.rp-shell dd{margin-bottom:12px}.rp-shell .rp-editor-heading{align-items:start}.rp-shell .rp-check{font-size:.95rem}}
.community-outcome{margin:14px 0;padding:14px 16px;background:#f0f7fc;border-radius:10px;border:1px solid #d1e3ef;overflow-wrap:anywhere}.community-outcome[data-outcome=solved]{background:#edf8f2;border-color:#bdddcf}.community-entry-device,.community-entry-configuration{font-size:.95rem;line-height:1.8;overflow-wrap:anywhere}.community-entry-configuration{padding-left:12px;border-left:3px solid #d1e3ef}.community-helpful-reply{border-left:4px solid #4f9b77}.community-device-picker [data-device-results]{margin-bottom:12px}.community-device-picker [data-device-clear]{min-height:42px}

.rp-owner-review {
  max-width: 800px;
  margin: 24px 0 30px;
  padding: 20px;
  border: 1px solid #cbdce8;
  border-radius: 12px;
  background: #f5f9fd;
  overflow-wrap: anywhere;
}
.rp-owner-review h2 { margin: 0 0 8px; }
.rp-owner-review p { margin: 0 0 10px; }
.rp-owner-review .rp-actions { margin: 14px 0 0; }
.rp-owner-review .rp-owner-review-feedback { margin: 0; }
.rp-owner-review-feedback:not(:empty) { padding-top: 10px; }
.rp-guide-action-note { margin-top: -8px; }
.rp-verify-card, .rp-proposal-auth {
  padding: clamp(16px, 4vw, 30px);
  border: 1px solid #c6d9ea;
  border-radius: 14px;
  background: #f6faff;
  scroll-margin-top: 24px;
}
.rp-verify-card {
  max-width: 36rem;
  margin-inline: auto;
}
.rp-verify-card-inline { margin: 20px 0 0; }
.rp-verify-card :is(h1, h3), .rp-proposal-auth h3 { margin: 0 0 16px; }
.rp-verify-card h1 { font-size: clamp(1.45rem, 4vw, 2rem); }
.rp-verify-form label { margin: 0 0 4px; }
.rp-shell .rp-verify-help { margin: 0 0 10px; line-height: 1.55; }
.rp-shell .rp-otp-input {
  display: block;
  min-height: 56px;
  margin-bottom: 14px;
  border-color: #70899e;
  font-size: clamp(1.5rem, 6vw, 1.9rem);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: .2em;
  text-align: center;
}
.rp-shell .rp-otp-input[aria-invalid="true"] { border-color: #a4372c; }
.rp-shell .rp-verify-note { margin: 0 0 14px; line-height: 1.6; }
.rp-shell .rp-flow-action, .rp-proposal-auth button[type="submit"] {
  display: flex;
  width: 100%;
  min-height: 50px;
  justify-content: center;
  text-align: center;
  white-space: normal;
}
.rp-shell .rp-flow-action:disabled, .rp-proposal-auth button[type="submit"]:disabled {
  opacity: .65;
  cursor: not-allowed;
}
.rp-shell .rp-flow-status { min-height: 0; margin: 12px 0 0; }
.rp-shell .rp-flow-status:empty {
  display: block;
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
}
.rp-verify-recovery { margin-top: 18px; padding-top: 12px; border-top: 1px solid #cadceb; }
.rp-verify-recovery summary { cursor: pointer; font-size: .93rem; font-weight: 700; }
.rp-verify-recovery p { margin: 7px 0; font-size: .9rem; }
.rp-verify-recovery a { display: inline-block; padding-block: 5px; }
.rp-proposal-flow { max-width: 800px; margin: 26px 0; scroll-margin-top: 24px; }
.rp-proposal-steps { margin: 0 0 14px; padding-inline-start: 1.35rem; }
.rp-proposal-auth { max-width: 36rem; margin-top: 22px; }
.rp-shell :is([data-owner-refresh], [data-guide-publish], [data-repair-withdraw]) { min-height: 44px; }
.rp-shell :is([data-owner-refresh], [data-guide-save], [data-guide-publish], [data-repair-withdraw]):disabled {
  opacity: .6;
  cursor: not-allowed;
}
.rp-owner-confirm {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 24px;
  border: 1px solid #b7cadb;
  border-radius: 12px;
  color: #243c50;
  background: #fff;
  box-shadow: 0 12px 40px #172b4d29;
  overflow: auto;
}
.rp-owner-confirm::backdrop { background: #172b4d70; }
.rp-owner-confirm h2 { margin: 0 0 12px; }
.rp-owner-confirm .rp-actions { margin: 18px 0 0; }
.rp-owner-confirm button { min-height: 44px; }
@media (max-width: 600px) {
  .rp-owner-review, .rp-owner-confirm { padding: 16px; }
  .rp-owner-review .rp-actions, .rp-owner-confirm .rp-actions { align-items: stretch; flex-direction: column; }
  .rp-owner-review .rp-actions a { display: block; padding: 10px 0; text-align: center; }
  .rp-shell [data-guide-publish] { width: 100%; }
}
