.prw {
  box-sizing: border-box;
  width: min(100%, 1120px);
  margin: 3rem auto;
  padding: 2.5rem 0;
  color: #20201d;
  border-top: 2px solid #cf6a2c;
}
.prw-heading { max-width: 720px; margin-bottom: 1.75rem; }
.prw-heading h2 { margin: 0 0 .55rem; font-size: 2.5rem; line-height: 1.13; letter-spacing: 0; }
.prw-heading p { margin: 0; color: #4e514c; line-height: 1.55; }
.prw-form { max-width: 100%; }
.prw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.3rem; }
.prw-field { display: flex; flex-direction: column; min-width: 0; gap: .35rem; }
.prw-field-wide { grid-column: 1 / -1; }
.prw-field label, .prw-challenge span:first-child { font-size: .91rem; font-weight: 650; }
.prw-required { color: #b74c21; padding-left: .15rem; }
.prw-field input:not([type=file]), .prw-field textarea, .prw-challenge input {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: .65rem .75rem;
  color: #20201d;
  background: #fff;
  border: 1px solid #aeb8b5;
  border-radius: 3px;
  font: inherit;
}
.prw-field textarea { min-height: 100px; resize: vertical; }
.prw-country-control { position: relative; }
.prw-field .prw-country-control input { padding-right: 3.25rem; }
.prw-country-toggle {
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  width: 2.75rem;
  padding: 0;
  border: 0;
  border-left: 1px solid #d8d7d2;
  border-radius: 0 2px 2px 0;
  background: #fff;
  color: #4e514c;
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.prw-country-toggle:hover { color: #97451f; background: #fff3e8; }
.prw-country-toggle:focus-visible { outline: 2px solid #297773; outline-offset: 1px; }
.prw-country-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 3px);
  left: 0;
  right: 0;
  max-height: 15rem;
  overflow-y: auto;
  border: 1px solid #aeb8b5;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 5px 14px #20201d24;
}
.prw-country-menu[hidden] { display: none; }
.prw-country-option { display: flex; justify-content: space-between; gap: .8rem; padding: .58rem .75rem; cursor: pointer; }
.prw-country-option:hover, .prw-country-option[aria-selected=true] { background: #fff3e8; }
.prw-country-code { flex: none; color: #6b6c66; font-size: .8rem; }
.prw-country-empty { padding: .7rem .75rem; color: #60645e; }
.prw-field .prw-logo-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.prw-dropzone {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 96px;
  padding: 1rem 1.2rem;
  border: 2px dashed #b4a79b;
  border-radius: 4px;
  background: #fffdf9;
  color: #20201d;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.prw-dropzone:hover, .prw-dropzone.prw-dragover { border-color: #a94e23; background: #fff3e8; }
.prw-dropzone:focus-visible { outline: 2px solid #297773; outline-offset: 2px; }
.prw-dropzone[aria-invalid=true] { border-color: #b74c21; }
.prw-upload-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 3px;
  background: #f4e1d2;
  color: #97451f;
  font-size: 1.6rem;
  line-height: 1;
}
.prw-dropzone-copy { display: flex; flex-direction: column; min-width: 0; gap: .15rem; }
.prw-dropzone-title { font-weight: 650; }
.prw-dropzone-action { color: #9b4821; font-size: .9rem; text-decoration: underline; text-underline-offset: 2px; }
.prw-logo-selected { display: flex; align-items: center; gap: .5rem; max-width: 100%; padding: .55rem .7rem; background: #eff5ef; border: 1px solid #b6cabc; border-radius: 3px; }
.prw-logo-selected[hidden] { display: none; }
.prw-logo-filename { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: .9rem; }
.prw-remove-logo { flex: none; width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: 3px; background: transparent; color: #7d3b24; font: inherit; font-size: 1.45rem; line-height: 1; cursor: pointer; }
.prw-remove-logo:hover { background: #f6e7e0; }
.prw-remove-logo:focus-visible { outline: 2px solid #297773; outline-offset: 1px; }
.prw-field input:focus, .prw-field textarea:focus, .prw-challenge input:focus {
  outline: 2px solid #297773;
  outline-offset: 1px;
}
.prw-field [aria-invalid=true], .prw-challenge [aria-invalid=true] { border-color: #b74c21; }
.prw-hint { margin: 0; color: #60645e; font-size: .82rem; }
.prw-error { display: none; color: #a83d20; font-size: .82rem; line-height: 1.35; }
.prw-error:not(:empty) { display: block; }
.prw-verification { display: grid; gap: .8rem; margin-top: 1.5rem; }
.prw-check { display: flex; align-items: flex-start; gap: .55rem; max-width: 760px; line-height: 1.4; }
.prw-check input { flex: none; width: 19px; height: 19px; margin: .1rem 0 0; accent-color: #bd5c28; }
.prw-challenge { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.prw-challenge input { width: 90px; min-height: 38px; }
.prw-question { font-weight: 750; color: #7d3b24; }
.prw-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 1.4rem; }
.prw-actions button { min-height: 46px; padding: .65rem 1.4rem; color: #fff; background: #a94e23; border: 1px solid #8b3d1d; border-radius: 3px; font: inherit; font-weight: 700; cursor: pointer; }
.prw-actions button:hover { background: #883f20; }
.prw-actions button:disabled { opacity: .55; cursor: wait; }
.prw-status { margin: 0; color: #226b64; line-height: 1.4; }
.prw-status[data-error=true] { color: #a83d20; }
.prw-failure-art { width: min(100%, 340px); margin-top: 1rem; }
.prw-failure-art[hidden] { display: none; }
.prw-failure-art img { display: block; width: 100%; height: auto; }
.prw-success {
  box-sizing: border-box;
  width: min(100%, 760px);
  margin: 2rem auto 5rem;
  padding: 0 1.5rem;
  color: #20201d;
  text-align: center;
}
.prw-success img { display: block; width: 100%; max-width: 660px; height: auto; margin: 0 auto 1rem; }
.prw-success h1 { margin: 0 0 1rem; font-size: 2.25rem; line-height: 1.2; letter-spacing: 0; }
.prw-success p { max-width: 620px; margin: 0 auto 1.5rem; color: #4e514c; line-height: 1.55; }
.prw-success a { display: inline-block; color: #97451f; font-weight: 700; text-underline-offset: 3px; }
.prw-success a:focus-visible { outline: 2px solid #297773; outline-offset: 3px; }
.prw-progress {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .9rem;
  padding: 1rem;
  background: #fff9efcf;
  color: #713419;
  font: inherit;
  font-weight: 700;
  text-align: center;
}
.prw-progress[hidden] { display: none; }
.prw-progress-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 4px solid #e8c9b1;
  border-top-color: #a94e23;
  border-radius: 50%;
  animation: prw-spin .8s linear infinite;
}
@keyframes prw-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .prw-progress-spinner { animation-duration: 2s; }
}
.prw-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 680px) {
  .prw { margin: 2rem auto; padding: 1.6rem .9rem; }
  .prw-heading h2 { font-size: 1.7rem; }
  .prw-success { margin: 1.5rem auto 3rem; padding: 0 1rem; }
  .prw-success h1 { font-size: 1.75rem; }
  .prw-grid { grid-template-columns: minmax(0, 1fr); }
  .prw-dropzone { min-height: 88px; padding: .85rem; gap: .7rem; }
}
