.pw-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px; /* Rigid adherence to the 12px mobile padding law */
  background-color: #0a0e17; /* Dark slate console hue background canvas */
  color: #f3f4f6;
  font-family: monospace, sans-serif;
  min-height: 100vh;
}

/* Onboarding Header Navigation Row */
.pw-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #1f2937;
  padding-bottom: 12px;
}

.pw-back-link {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.pw-step-indicator {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 700;
}

/* Step Layout Multi-Panels Container */
.pw-step-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: #111827; /* Deep container panel accent tile */
  border: 1px solid #1f2937;
  border-radius: 8px;
  padding: 16px;
}

.pw-step-panel.pw-hidden {
  display: none !important; /* Immediate hot-swap view toggle compatibility */
}

.pw-panel-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-align: left;
}

.pw-panel-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #9ca3af;
  text-align: left;
}

/* Tier Selector Interactive Cards Group */
.pw-tier-card {
  background-color: #0a0e17;
  border: 1px solid #1f2937;
  border-radius: 8px;
  padding: 14px;
  cursor: pointer;
  text-align: left;
  transition: all 0.1s ease;
}

.pw-tier-card:hover {
  border-color: #374151;
}

.pw-tier-card.pw-selected {
  border-color: #3b82f6; /* Blue priority selection highlight token */
  background-color: rgba(59, 130, 246, 0.03);
}

.pw-tier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.pw-tier-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.pw-tier-price {
  font-size: 11px;
  font-weight: 700;
  color: #10b981; /* Validated emerald free seeding tracker token */
}

.pw-tier-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #9ca3af;
}

/* Hyper-Local Compliance Disclosure Notice Box */
.pw-warning-box {
  background-color: rgba(239, 68, 68, 0.03); /* Isolated crimson warning shade */
  border: 1px dashed #ef4444;
  border-radius: 6px;
  padding: 12px;
  text-align: left;
}

.pw-warning-title {
  font-size: 12px;
  font-weight: 700;
  color: #ef4444;
  display: block;
  margin-bottom: 4px;
}

.pw-warning-text {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: #d1d5db;
}

/* Form Management Scroll Fields Stack */
.pw-form-scroll-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 48vh;
  overflow-y: auto; /* Padding drift prevention limits */
  padding-right: 4px;
}

.pw-field-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.pw-field-label {
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pw-text-input {
  height: 44px; /* Rigid adherence to the 44px mobile touch-target law */
  background-color: #1f2937;
  border: 1px solid #374151;
  border-radius: 6px;
  padding: 0 12px;
  color: #ffffff;
  font-size: 14px;
  font-family: inherit;
}

.pw-textarea-input {
  height: 90px;
  background-color: #1f2937;
  border: 1px solid #374151;
  border-radius: 6px;
  padding: 12px;
  color: #ffffff;
  font-size: 14px;
  font-family: inherit;
  resize: none;
}

.pw-text-input:focus, .pw-textarea-input:focus {
  outline: none;
  border-color: #3b82f6;
}

/* Skill Selection Toggles Grid */
.pw-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pw-chip-opt {
  height: 36px; /* High density horizontal selector layout bounds */
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  background-color: #1f2937;
  border: 1px solid #374151;
  color: #d1d5db;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.1s ease;
}

.pw-chip-opt.pw-chip-active {
  background-color: rgba(245, 158, 11, 0.1);
  border-color: #f59e0b; /* Amber action tracking highlight token */
  color: #ffffff;
}

/* Communication Filter Blueprint Architecture Elements */
.pw-flow-blueprint-box {
  background-color: #0a0e17;
  border: 1px solid #1f2937;
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.pw-blueprint-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pw-bp-label {
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
}

.pw-bp-value {
  font-size: 12px;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.4;
}

/* Touch Target Primary Control Buttons */
.pw-full-btn, .pw-secondary-btn {
  height: 44px; /* Strict minimum touch boundary compliance */
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.1s ease;
}

.pw-full-btn {
  background-color: #3b82f6;
  color: #ffffff;
  border: 1px solid transparent;
  width: 100%;
}

.pw-full-btn:hover { background-color: #2563eb; }

.pw-full-btn:disabled {
  background-color: #374151;
  color: #6b7280;
  cursor: not-allowed;
}

.pw-secondary-btn {
  background-color: #1f2937;
  color: #ffffff;
  border: 1px solid #374151;
  padding: 0 16px;
}

.pw-secondary-btn:hover { background-color: #374151; }

.pw-btn-split-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.pw-btn-split-row .pw-full-btn {
  flex: 1;
}

/* Legal Release Checkbox Agreement Interface */
.pw-waiver-agreement-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background-color: #1f2937;
  border: 1px solid #374151;
  border-radius: 6px;
  padding: 12px;
  text-align: left;
}

.pw-gate-checkbox {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  cursor: pointer;
}

.pw-waiver-label {
  font-size: 11px;
  line-height: 1.4;
  color: #9ca3af;
  cursor: pointer;
  user-select: none;
}

/* Mobile-to-Desktop Rigid Column Scaling Layer Constraints */
@media (min-width: 1024px) {
  .pw-container {
    max-width: 480px; /* Lock bounding dimensions to verify multi-device accuracy */
    margin: 0 auto;
    padding: 40px 12px;
  }
}
