/* Hidden until JS confirms eligibility / plan message (avoids loading flicker). */
.shipedit-root {
  display: none;
  margin: 1.5rem 0;
  padding: 1.25rem;
  border: 1px solid #d9d3c8;
  border-radius: 8px;
  background: #faf8f5;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
}

.shipedit-root.is-visible {
  display: block;
}

.shipedit-root h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.shipedit-root p {
  margin: 0.4rem 0;
  color: #444;
}

.shipedit-root .shipedit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.shipedit-root button {
  appearance: none;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  font: inherit;
}

.shipedit-root .shipedit-primary {
  background: #0b6e4f;
  color: #fff;
}

.shipedit-root .shipedit-danger {
  background: #9b1c1c;
  color: #fff;
}

.shipedit-root .shipedit-ghost {
  background: #fff;
  border: 1px solid #ccc;
  color: #222;
}

.shipedit-root .shipedit-msg {
  margin-top: 0.75rem;
}

.shipedit-root .shipedit-error {
  color: #9b1c1c;
}

.shipedit-root .shipedit-ok {
  color: #0b6e4f;
}

.shipedit-form {
  margin-top: 0.75rem;
  max-width: 28rem;
}

.shipedit-root form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  width: 100%;
}

.shipedit-root .shipedit-field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.3rem;
  margin: 0;
  width: 100%;
  font-size: 0.9rem;
  color: #222;
}

.shipedit-root .shipedit-field-label {
  display: block;
  font-weight: 500;
  line-height: 1.3;
}

.shipedit-root .shipedit-field input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.5rem 0.65rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font: inherit;
  line-height: 1.4;
}
